** Description changed:

  [Impact]
  Per https://patchwork.kernel.org/cover/10737541/ :
  
  "Every controller HW version has had bugs. These bugs have been very
  painful to debug. One useful tool to debug these is being able to capture
  and export HW registers and driver control structures at point of failure."
  
  [Test Case]
- echo "options hisi_sas_main hisi_sas_debugfs_enable=1" | \
-   sudo tee /etc/modprobe.d/hisi-sas-debugfs.conf
+ echo "options hisi_sas_main debugfs_enable=1" | \
+   sudo tee /etc/modprobe.d/hisi-sas-debugfs.conf
  sudo mkinitramfs -o /boot/initrd.img-$(uname -r) $(uname -r)
  sudo reboot
  [...]
  test -d /sys/kernel/debug/hisi_sas
  
  [Fix]
  5979f33b982dc scsi: hisi_sas: Add debugfs ITCT file and add file operations
  5b0eeac4bed4b scsi: hisi_sas: Fix type casting and missing static qualifier 
in debugfs code
  c2c7e74057715 scsi: hisi_sas: No need to check return value of debugfs_create 
functions
  1afb4b8524797 scsi: hisi_sas: Add debugfs IOST file and add file operations
  148e379f60c5c scsi: hisi_sas: Add debugfs DQ file and add file operations
  971afae7cf4f7 scsi: hisi_sas: Add debugfs CQ file and add file operations
  61a6ebf3f5842 scsi: hisi_sas: Add debugfs for port registers
  caefac1996764 scsi: hisi_sas: Debugfs global register create file and add 
file operations
  49159a5e4175f scsi: hisi_sas: Take debugfs snapshot for all regs
  eb1c2b72b7694 scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all 
registers
  ef63464bcf8fe scsi: hisi_sas: Create root and device debugfs directories
  
  [Regression Risk]
  Code changes are restricted to the on-chip SAS controller on hi1620 SoCs.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1819500

Title:
  hisi_sas: add debugfs support

Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Impact]
  Per https://patchwork.kernel.org/cover/10737541/ :

  "Every controller HW version has had bugs. These bugs have been very
  painful to debug. One useful tool to debug these is being able to capture
  and export HW registers and driver control structures at point of failure."

  [Test Case]
  echo "options hisi_sas_main debugfs_enable=1" | \
    sudo tee /etc/modprobe.d/hisi-sas-debugfs.conf
  sudo mkinitramfs -o /boot/initrd.img-$(uname -r) $(uname -r)
  sudo reboot
  [...]
  test -d /sys/kernel/debug/hisi_sas

  [Fix]
  5979f33b982dc scsi: hisi_sas: Add debugfs ITCT file and add file operations
  5b0eeac4bed4b scsi: hisi_sas: Fix type casting and missing static qualifier 
in debugfs code
  c2c7e74057715 scsi: hisi_sas: No need to check return value of debugfs_create 
functions
  1afb4b8524797 scsi: hisi_sas: Add debugfs IOST file and add file operations
  148e379f60c5c scsi: hisi_sas: Add debugfs DQ file and add file operations
  971afae7cf4f7 scsi: hisi_sas: Add debugfs CQ file and add file operations
  61a6ebf3f5842 scsi: hisi_sas: Add debugfs for port registers
  caefac1996764 scsi: hisi_sas: Debugfs global register create file and add 
file operations
  49159a5e4175f scsi: hisi_sas: Take debugfs snapshot for all regs
  eb1c2b72b7694 scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all 
registers
  ef63464bcf8fe scsi: hisi_sas: Create root and device debugfs directories

  [Regression Risk]
  Code changes are restricted to the on-chip SAS controller on hi1620 SoCs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819500/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to