]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
scsi: hisi_sas: Add debugfs file structure for CQ
authorLuo Jiaxing <luojiaxing@huawei.com>
Thu, 24 Oct 2019 14:08:13 +0000 (22:08 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 7 Jan 2020 21:29:36 +0000 (15:29 -0600)
commit570f39a0d2ca0b33e3fe6371031e7369ef04d074
tree675aa5ce6cb02859aadbebd75f01965ee77715dc
parent7c8f89cf5e09b3d8250567a84ee3202ada7093aa
scsi: hisi_sas: Add debugfs file structure for CQ

BugLink: https://bugs.launchpad.net/bugs/1854548
Create a file structure which was used to save the memory address and CQ
pointer for CQ at debugfs. This structure is bound to the corresponding
debugfs file, it can help callback function of debugfs file to get what it
need.

Link: https://lore.kernel.org/r/1571926105-74636-7-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 35ea630b2bad4fe9f7db34624eaab3663bb2cb42)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c