Skip to content

Expose UFSHCD capabilities in sysfs.

Daniil Lunev linux-arm-kernel linux-arm-msm linux-mediatek linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 6 repliesIn review

Changes in v3 from the cover letter

* Expose each capability as an individual node
* Add preleminary CL to align checking for capabilities
* Modify documentation to represent new scheme

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ufs: add function to check CRYPTO capabilitydrivers/ufs/core/ufshcd-crypto.c drivers/ufs/host/ufs-mediatek.c drivers/ufs/host/ufs-qcom-ice.c +2 more+13 -82 replies
2/2ufs: core: print UFSHCD capabilities in controller's sysfs nodeDocumentation/ABI/testing/sysfs-driver-ufs drivers/ufs/core/ufs-sysfs.c+80 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Expose UFSHCD capabilities in sysfs.

The patchset introduces new sysfs nodes, which userspace can check to determine support for certain capabilities. Specifically the patchset exposes Clock Scaling, Write Booster, and Inline Crypto Engine capabilities.

Changes in v3:
* Expose each capability as an individual node
* Add preleminary CL to align checking for capabilities
* Modify documentation to represent new scheme

Changes in v2:
* Add documentation entry for the new sysfs node.

Daniil Lunev (2):
ufs: add function to check CRYPTO capability
ufs: core: print UFSHCD capabilities in controller's sysfs node

 Documentation/ABI/testing/sysfs-driver-ufs | 39 ++++++++++++++++++++
 drivers/ufs/core/ufs-sysfs.c               | 41 ++++++++++++++++++++++
 drivers/ufs/core/ufshcd-crypto.c           |  8 ++---
 drivers/ufs/host/ufs-mediatek.c            |  2 +-
 drivers/ufs/host/ufs-qcom-ice.c            |  4 +--
 drivers/ufs/host/ufshcd-pci.c              |  2 +-
 include/ufs/ufshcd.h                       |  5 +++
 7 files changed, 93 insertions(+), 8 deletions(-)
Signature · 1 line
2.31.0