@@ -1604,3 +1604,35 @@ Description:
16041604 prevent the UFS from frequently performing clock gating/ungating.
16051605
16061606 The attribute is read/write.
1607+
1608+ What: /sys/bus/platform/drivers/ufshcd/*/device_lvl_exception_count
1609+ What: /sys/bus/platform/devices/*.ufs/device_lvl_exception_count
1610+ Date: March 2025
1611+ Contact: Bao D. Nguyen <
[email protected] >
1612+ Description:
1613+ This attribute is applicable to ufs devices compliant to the
1614+ JEDEC specifications version 4.1 or later. The
1615+ device_lvl_exception_count is a counter indicating the number of
1616+ times the device level exceptions have occurred since the last
1617+ time this variable is reset. Writing a 0 value to this
1618+ attribute will reset the device_lvl_exception_count. If the
1619+ device_lvl_exception_count reads a positive value, the user
1620+ application should read the device_lvl_exception_id attribute to
1621+ know more information about the exception.
1622+
1623+ The attribute is read/write.
1624+
1625+ What: /sys/bus/platform/drivers/ufshcd/*/device_lvl_exception_id
1626+ What: /sys/bus/platform/devices/*.ufs/device_lvl_exception_id
1627+ Date: March 2025
1628+ Contact: Bao D. Nguyen <
[email protected] >
1629+ Description:
1630+ Reading the device_lvl_exception_id returns the
1631+ qDeviceLevelExceptionID attribute of the ufs device JEDEC
1632+ specification version 4.1. The definition of the
1633+ qDeviceLevelExceptionID is the ufs device vendor specific
1634+ implementation. Refer to the device manufacturer datasheet for
1635+ more information on the meaning of the qDeviceLevelExceptionID
1636+ attribute value.
1637+
1638+ The attribute is read only.
0 commit comments