Messages in this thread | | | From | Bart Van Assche <> | Subject | Re: [PATCH V6] scsi: ufs: Add configfs support for UFS provisioning | Date | Mon, 16 Jul 2018 14:02:52 +0000 |
| |
On Mon, 2018-07-16 at 15:13 +0530, Sayali Lokhande wrote: > + This file shows the current ufs configuration descriptor set in device. > + This can be used to provision ufs device if bConfigDescrLock is 0. > + For more details, refer 14.1.6.3 Configuration Descriptor and > + Table 14-12 - Unit Descriptor configurable parameters from specs for > + description of each configuration descriptor parameter. > + Configuration descriptor buffer needs to be passed in space separated > + format specificied as below: > + echo <bLength> <bDescriptorIDN> <bConfDescContinue> <bBootEnable> > + <bDescrAccessEn> <bInitPowerMode> <bHighPriorityLUN> > + <bSecureRemovalType> <bInitActiveICCLevel> <wPeriodicRTCUpdate> > + <0Bh:0Fh_ReservedAs_0> <bLUEnable> <bBootLunID> <bLUWriteProtect> > + <bMemoryType> <dNumAllocUnits> <bDataReliability> <bLogicalBlockSize> > + <bProvisioningType> <wContextCapabilities> <0Dh:0Fh_ReservedAs_0> > + > /config/XXXX.ufshc/ufs_provision
I think the person who suggested to use configfs expected you to create one configfs attribute per value instead of writing a long list of values into a single configfs attribute.
Bart.
| |