summaryrefslogtreecommitdiff
path: root/include/uapi/scsi/ufs (follow)
Commit message (Collapse)AuthorAge
* scsi: ufs: sysfs: health descriptorStanislav Nijnikov2019-08-07
| | | | | | | | | | | | | | | | This patch introduces a sysfs group entry for the UFS health descriptor parameters. The group adds "health_descriptor" folder under the UFS driver sysfs entry (/sys/bus/platform/drivers/ufshcd/*). The parameters are shown as hexadecimal numbers. The full information about the parameters could be found at UFS specifications 2.1. Change-Id: I059d6be2914dbb58ac337ddf7509f36a534b531f Signed-off-by: Stanislav Nijnikov <stanislav.nijnikov@wdc.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Git-commit: c648c2d27f168ae4faeb43f8c3074226aae3862c Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Anjana <ahari@codeaurora.org>
* scsi: ufs: allow updating bBootLunEn via ioctlSubhash Jadavani2016-03-22
| | | | | | | | | "bBootLunEn" attribute value decides the active Boot LUN but there could be a case where userspace may want to change it during image update. This change allows writing to this parameter. Change-Id: I6e8d630606d8caf6197ef662003ec1ee646afe81 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
* scsi: ufs-debug: add debugfs capability to collect query statisticsYaniv Gardi2016-03-22
| | | | | | | | | | | | | | | | | | This patch adds a new debugfs capability to collect query statistics. It counts how many times each IDN (index) was sent to device for each query opcode. A usage example: 1. to clean current query statistics: echo 1 > /d/ufshcd0/stats/query_stats 2. to dump the current query statistics: cat /d/ufshcd0/stats/query_stats This capability is always on, and can not be turned off. Change-Id: I46ec405aae480c0dc161dca015b407bde6335cf7 Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
* uapi: scsi: ufs: add ioctl interface for query requestDolev Raviv2016-03-22
This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Change-Id: Ib8301a69550408bfcb5fc85bb9c0498450c8cc31 Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org> [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>