[Kernel-packages] [Bug 1819500] Re: hisi_sas: add debugfs support

2019-03-29 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.0.0-8.9

---
linux (5.0.0-8.9) disco; urgency=medium

  * linux: 5.0.0-8.9 -proposed tracker (LP: #1819759)

  * hisi_sas: add debugfs support (LP: #1819500)
- scsi: hisi_sas: Create root and device debugfs directories
- scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all registers
- scsi: hisi_sas: Take debugfs snapshot for all regs
- scsi: hisi_sas: Debugfs global register create file and add file 
operations
- scsi: hisi_sas: Add debugfs for port registers
- scsi: hisi_sas: Add debugfs CQ file and add file operations
- scsi: hisi_sas: Add debugfs DQ file and add file operations
- scsi: hisi_sas: Add debugfs IOST file and add file operations
- scsi: hisi_sas: No need to check return value of debugfs_create functions
- scsi: hisi_sas: Fix type casting and missing static qualifier in debugfs
  code
- scsi: hisi_sas: Add debugfs ITCT file and add file operations

  * [disco] hns driver updates from 5.1 merge window (LP: #1819535)
- net: hns: Use struct_size() in devm_kzalloc()
- net: hns3: modify enet reinitialization interface
- net: hns3: remove unused member in struct hns3_enet_ring
- net: hns3: remove unnecessary hns3_adjust_tqps_num
- net: hns3: reuse reinitialization interface in the hns3_set_channels
- net: hns3: add interface hclge_tm_bp_setup
- net: hns3: modify parameter checks in the hns3_set_channels
- net: hns3: remove redundant codes in hclge_knic_setup
- net: hns3: fix user configuration loss for ethtool -L
- net: hns3: adjust the use of alloc_tqps and num_tqps
- net: hns3: fix wrong combined count returned by ethtool -l
- net: hns3: do reinitialization while ETS configuration changed
- net: hns3: add HNAE3_RESTORE_CLIENT interface in enet module
- net: hns3: add calling roce callback function when link status change
- net: hns3: add rx multicast packets statistic
- net: hns3: refactor the statistics updating for netdev
- net: hns3: fix rss configuration lost problem when setting channel
- net: hns3: fix for shaper not setting when TC num changes
- net: hns3: fix bug of ethtool_ops.get_channels for VF
- net: hns3: clear param in ring when free ring
- net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED
- net: hns3: do not return GE PFC setting err when initializing
- net: hns3: add ETS TC weight setting in SSU module
- net: hns3: add statistics for PFC frames and MAC control frames
- net: hns3: fix PFC not setting problem for DCB module
- net: hns3: don't update packet statistics for packets dropped by hardware
- net: hns3: clear pci private data when unload hns3 driver
- net: hns3: add error handling in hclge_ieee_setets
- net: hns3: fix return value handle issue for hclge_set_loopback()
- net: hns3: fix broadcast promisc issue for revision 0x20
- net: hns3: After setting the loopback, add the status of getting MAC
- net: hns3: do reinitialization while mqprio configuration changed
- net: hns3: remove dcb_ops->map_update in hclge_dcb
- net: hns3: call hns3_nic_set_real_num_queue with netdev down
- net: hns3: add 8 BD limit for tx flow
- net: hns3: add initialization for nic state
- net: hns3: don't allow vf to enable promisc mode
- net: hns3: reuse the definition of l3 and l4 header info union
- net: hns3: fix VF dump register issue
- net: hns3: use the correct interface to stop|open port
- net: hns3: change hnae3_register_ae_dev() to int
- net: hns3: only support tc 0 for VF
- net: hns3: Fix NULL deref when unloading driver
- net: hns3: fix netif_napi_del() not do problem when unloading
- net: hns3: fix for rss result nonuniform
- net: hns3: fix improper error handling in the hclge_init_ae_dev()
- net: hns3: fix an issue for hclgevf_ae_get_hdev
- net: hns3: stop sending keep alive msg to PF when VF is resetting
- net: hns3: keep flow director state unchanged when reset
- net: hns3: Check for allocation failure
- net: hns3: fix a code style issue for hns3_update_new_int_gl()
- net: hns3: fix an issue for hns3_update_new_int_gl
- net: hns3: Modify parameter type from int to bool in set_gro_en
- net: hns3: code optimization for hclge_rx_buffer_calc
- net: hns3: add hclge_cmd_check_retval() to parse comman's return value
- net: hns3: move some set_bit statement into hclge_prepare_mac_addr
- net: hns3: fix a wrong checking in the hclge_tx_buffer_calc()
- net: hns3: fix the problem that the supported port is empty
- net: hns3: optimize the maximum TC macro
- net: hns3: don't allow user to change vlan filter state
- net: hns3: modify the upper limit judgment condition
- net: hns3: MAC table entry count function increases operation 0 value
  protection measures
- net: hns3: make function hclge_set_all_vf_rst() static
- net: 

[Kernel-packages] [Bug 1819500] Re: hisi_sas: add debugfs support

2019-03-12 Thread Thadeu Lima de Souza Cascardo
** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
 Assignee: dann frazier (dannf)
   Status: In Progress

** Changed in: linux (Ubuntu Disco)
   Status: In Progress => Fix Committed

-- 
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:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed

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


[Kernel-packages] [Bug 1819500] Re: hisi_sas: add debugfs support

2019-03-11 Thread dann frazier
** 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


[Kernel-packages] [Bug 1819500] Re: hisi_sas: add debugfs support

2019-03-11 Thread dann frazier
** 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
+ 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