Re: [PATCH V3 2/3] scsi: ufs: Add ufs provisioning support

From: Christoph Hellwig
Date: Thu Jun 14 2018 - 11:39:23 EST


On Thu, Jun 14, 2018 at 06:33:51PM +0530, Sayali Lokhande wrote:
> A new api ufshcd_do_config_device() is added in driver
> to support UFS provisioning at runtime. Configfs support
> is added to trigger provisioning.
> Device and Unit configurable parameters are parsed from
> vendor specific provisioning data or file and
> passed via configfs node at runtime to provision ufs device.
>
> Signed-off-by: Sayali Lokhande <sayalil@xxxxxxxxxxxxxx>

Please make that code conditionally compiled based on a config option.
For most UFS users there is no need to ever enable it.