Re: [PATCH V6] scsi: ufs: Add configfs support for UFS provisioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2018-07-16 at 15:13 +-0530, Sayali Lokhande wrote:
+AD4- +-		This file shows the current ufs configuration descriptor set in device.
+AD4- +-		This can be used to provision ufs device if bConfigDescrLock is 0.
+AD4- +-		For more details, refer 14.1.6.3 Configuration Descriptor and
+AD4- +-		Table 14-12 - Unit Descriptor configurable parameters from specs for
+AD4- +-		description of each configuration descriptor parameter.
+AD4- +-		Configuration descriptor buffer needs to be passed in space separated
+AD4- +-		format specificied as below:
+AD4- +-		echo +ADw-bLength+AD4- +ADw-bDescriptorIDN+AD4- +ADw-bConfDescContinue+AD4- +ADw-bBootEnable+AD4-
+AD4- +-		+ADw-bDescrAccessEn+AD4- +ADw-bInitPowerMode+AD4- +ADw-bHighPriorityLUN+AD4-
+AD4- +-		+ADw-bSecureRemovalType+AD4- +ADw-bInitActiveICCLevel+AD4- +ADw-wPeriodicRTCUpdate+AD4-
+AD4- +-		+ADw-0Bh:0Fh+AF8-ReservedAs+AF8-0+AD4- +ADw-bLUEnable+AD4- +ADw-bBootLunID+AD4- +ADw-bLUWriteProtect+AD4-
+AD4- +-		+ADw-bMemoryType+AD4- +ADw-dNumAllocUnits+AD4- +ADw-bDataReliability+AD4- +ADw-bLogicalBlockSize+AD4-
+AD4- +-		+ADw-bProvisioningType+AD4- +ADw-wContextCapabilities+AD4- +ADw-0Dh:0Fh+AF8-ReservedAs+AF8-0+AD4-
+AD4- +-		+AD4- /config/XXXX.ufshc/ufs+AF8-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.











[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux