]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: ufs: Prepare to add HCI capabilities sysfs
authorAvri Altman <avri.altman@wdc.com>
Sun, 11 Aug 2024 14:37:56 +0000 (17:37 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2024 02:11:23 +0000 (22:11 -0400)
commitb9d104465a6c2f1bb27ae247bd90b4ab079a1699
tree9a036a94936448f77a2387b75fd83d92c8e4fdeb
parent992f9884626a0e6ab73a98ca4eb166d17675cae6
scsi: ufs: Prepare to add HCI capabilities sysfs

Prepare so we'll be able to read various other HCI registers.  While at it,
fix the HCPID & HCMID register names to stand for what they really are.
Also replace the pm_runtime_{get/put}_sync() calls in auto_hibern8_show to
ufshcd_rpm_{get/put}_sync() as any host controller register reads should.

Reviewed-by: Keoseong Park <keosung.park@samsung.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20240811143757.2538212-2-avri.altman@wdc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufs-sysfs.c
include/ufs/ufshci.h