[Kernel-packages] [Bug 1820187] Re: Huawei Hi1822 NIC has poor performance

2019-04-03 Thread Ike Panhc
Thanks. The -proposed kernel looks good

ubuntu@d06-4:~$ iperf -c 192.168.99.1 -P2 -t 180

Client connecting to 192.168.99.1, TCP port 5001
TCP window size: 85.0 KByte (default)

[  4] local 192.168.99.2 port 41062 connected with 192.168.99.1 port 5001
[  3] local 192.168.99.2 port 41060 connected with 192.168.99.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  4]  0.0-180.0 sec  96.6 GBytes  4.61 Gbits/sec
[  3]  0.0-180.0 sec  96.1 GBytes  4.59 Gbits/sec
[SUM]  0.0-180.0 sec   193 GBytes  9.20 Gbits/sec
ubuntu@d06-4:~$ uname -a
Linux d06-4 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:27:46 UTC 2019 
aarch64 aarch64 aarch64 GNU/Linux

-- 
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/1820187

Title:
  Huawei Hi1822 NIC has poor performance

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s
  $ iperf -c 10.228.68.133
  
  Client connecting to 10.228.68.133, TCP port 5001
  TCP window size: 85.0 KByte (default)
  
  [  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
  [ ID] Interval   Transfer Bandwidth
  [  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec

  [Test Case]
  iperf -c 

  [Fix]
  Backporting all patches from mainline for drivers/net/ethernet/huawei solves 
this issue.

  [Regression Risk]
  Only modify codes in drivers/net/ethernet/huawei. Lowest risk to other 
devices and platform without it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820187/+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 1820187] Re: Huawei Hi1822 NIC has poor performance

2019-04-03 Thread Ike Panhc
Same good result on cosmic-proposed kernel

ubuntu@d06-4:~$ iperf -c 192.168.99.1 -P2 -t 180

Client connecting to 192.168.99.1, TCP port 5001
TCP window size: 85.0 KByte (default)

[  3] local 192.168.99.2 port 55586 connected with 192.168.99.1 port 5001
[  4] local 192.168.99.2 port 55584 connected with 192.168.99.1 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-180.0 sec  97.9 GBytes  4.67 Gbits/sec
[  4]  0.0-180.0 sec  97.5 GBytes  4.65 Gbits/sec
[SUM]  0.0-180.0 sec   195 GBytes  9.32 Gbits/sec
ubuntu@d06-4:~$ uname -a
Linux d06-4 4.18.0-18-generic #19-Ubuntu SMP Tue Apr 2 18:14:21 UTC 2019 
aarch64 aarch64 aarch64 GNU/Linux

-- 
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/1820187

Title:
  Huawei Hi1822 NIC has poor performance

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s
  $ iperf -c 10.228.68.133
  
  Client connecting to 10.228.68.133, TCP port 5001
  TCP window size: 85.0 KByte (default)
  
  [  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
  [ ID] Interval   Transfer Bandwidth
  [  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec

  [Test Case]
  iperf -c 

  [Fix]
  Backporting all patches from mainline for drivers/net/ethernet/huawei solves 
this issue.

  [Regression Risk]
  Only modify codes in drivers/net/ethernet/huawei. Lowest risk to other 
devices and platform without it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820187/+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 1820187] Re: Huawei Hi1822 NIC has poor performance

2019-04-07 Thread Ike Panhc
Verification done. See comment #2 and #3.

** Tags removed: verification-needed-bionic verification-needed-cosmic
** Tags added: verification-done-bionic verification-done-cosmic

-- 
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/1820187

Title:
  Huawei Hi1822 NIC has poor performance

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed

Bug description:
  [Impact]
  Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s
  $ iperf -c 10.228.68.133
  
  Client connecting to 10.228.68.133, TCP port 5001
  TCP window size: 85.0 KByte (default)
  
  [  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
  [ ID] Interval   Transfer Bandwidth
  [  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec

  [Test Case]
  iperf -c 

  [Fix]
  Backporting all patches from mainline for drivers/net/ethernet/huawei solves 
this issue.

  [Regression Risk]
  Only modify codes in drivers/net/ethernet/huawei. Lowest risk to other 
devices and platform without it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820187/+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 1830587] Re: Reduce NAPI weight in hns driver from 256 to 64

2019-08-22 Thread Ike Panhc
This issue is not for xenial. Removing tag.

** Tags removed: verification-needed-xenial

-- 
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/1830587

Title:
  Reduce NAPI weight in hns driver from 256 to 64

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Incomplete

Bug description:
  [Impact]
  We have a warning[1] in dmesg shows hns register napi as weight 256 but not 
recommended. According to this commit[2] we shall use weight 64 as suggested.

  [1] netif_napi_add() called with weight 256
  [2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad

  [Test Case]
  dmesg | grep netif_napi_add

  [Fix]
  commit acb1ce15a61154aa501891d67ebf79bc9ea26818
  Author: Yonglong Liu 
  Date: Thu Apr 4 16:46:43 2019 +0800

  net: hns: Use NAPI_POLL_WEIGHT for hns driver

  When the HNS driver loaded, always have an error print:
  "netif_napi_add() called with weight 256"

  This is because the kernel checks the NAPI polling weights
  requested by drivers and it prints an error message if a driver
  requests a weight bigger than 64.

  So use NAPI_POLL_WEIGHT to fix it.

  Signed-off-by: Yonglong Liu 
  Signed-off-by: Peng Li 
  Signed-off-by: David S. Miller 

  [Regression Risk]
  Only weight for NAPI changed. Lowest regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830587/+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 1830587] [NEW] Reduce NAPI weight in hns driver from 256 to 64

2019-05-27 Thread Ike Panhc
Public bug reported:

We have a warning[1] in dmesg shows hns register napi as weight 256 but
not recommended. According to this commit[2] we shall use weight 64 as
suggested.

To cherry-pick this makes hns driver has reasonable weight

commit acb1ce15a61154aa501891d67ebf79bc9ea26818
Author: Yonglong Liu 
Date: Thu Apr 4 16:46:43 2019 +0800

net: hns: Use NAPI_POLL_WEIGHT for hns driver

When the HNS driver loaded, always have an error print:
"netif_napi_add() called with weight 256"

This is because the kernel checks the NAPI polling weights
requested by drivers and it prints an error message if a driver
requests a weight bigger than 64.

So use NAPI_POLL_WEIGHT to fix it.

Signed-off-by: Yonglong Liu 
Signed-off-by: Peng Li 
Signed-off-by: David S. Miller 

[1] netif_napi_add() called with weight 256
[2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Bionic)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Cosmic)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Disco)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Eoan)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Eoan)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Eoan)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: linux (Ubuntu Disco)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: linux (Ubuntu Cosmic)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: linux (Ubuntu Bionic)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1830587

Title:
  Reduce NAPI weight in hns driver from 256 to 64

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete
Status in linux source package in Cosmic:
  Incomplete
Status in linux source package in Disco:
  Incomplete
Status in linux source package in Eoan:
  Incomplete

Bug description:
  We have a warning[1] in dmesg shows hns register napi as weight 256
  but not recommended. According to this commit[2] we shall use weight
  64 as suggested.

  To cherry-pick this makes hns driver has reasonable weight

  commit acb1ce15a61154aa501891d67ebf79bc9ea26818
  Author: Yonglong Liu 
  Date: Thu Apr 4 16:46:43 2019 +0800

  net: hns: Use NAPI_POLL_WEIGHT for hns driver

  When the HNS driver loaded, always have an error print:
  "netif_napi_add() called with weight 256"

  This is because the kernel checks the NAPI polling weights
  requested by drivers and it prints an error message if a driver
  requests a weight bigger than 64.

  So use NAPI_POLL_WEIGHT to fix it.

  Signed-off-by: Yonglong Liu 
  Signed-off-by: Peng Li 
  Signed-off-by: David S. Miller 

  [1] netif_napi_add() called with weight 256
  [2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830587/+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 1830587] Re: Reduce NAPI weight in hns driver from 256 to 64

2019-05-27 Thread Ike Panhc
** Description changed:

- We have a warning[1] in dmesg shows hns register napi as weight 256 but
- not recommended. According to this commit[2] we shall use weight 64 as
- suggested.
+ [Impact]
+ We have a warning[1] in dmesg shows hns register napi as weight 256 but not 
recommended. According to this commit[2] we shall use weight 64 as suggested.
  
- To cherry-pick this makes hns driver has reasonable weight
+ [1] netif_napi_add() called with weight 256
+ [2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad
  
+ [Test Case]
+ dmesg | grep netif_napi_add
+ 
+ [Fix]
  commit acb1ce15a61154aa501891d67ebf79bc9ea26818
  Author: Yonglong Liu 
  Date: Thu Apr 4 16:46:43 2019 +0800
  
  net: hns: Use NAPI_POLL_WEIGHT for hns driver
  
  When the HNS driver loaded, always have an error print:
  "netif_napi_add() called with weight 256"
  
  This is because the kernel checks the NAPI polling weights
  requested by drivers and it prints an error message if a driver
  requests a weight bigger than 64.
  
  So use NAPI_POLL_WEIGHT to fix it.
  
  Signed-off-by: Yonglong Liu 
  Signed-off-by: Peng Li 
  Signed-off-by: David S. Miller 
  
- [1] netif_napi_add() called with weight 256
- [2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad
+ [Regression Risk]
+ Only weight for NAPI changed. Lowest regression risk.

-- 
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/1830587

Title:
  Reduce NAPI weight in hns driver from 256 to 64

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete
Status in linux source package in Cosmic:
  Incomplete
Status in linux source package in Disco:
  Incomplete
Status in linux source package in Eoan:
  Incomplete

Bug description:
  [Impact]
  We have a warning[1] in dmesg shows hns register napi as weight 256 but not 
recommended. According to this commit[2] we shall use weight 64 as suggested.

  [1] netif_napi_add() called with weight 256
  [2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad

  [Test Case]
  dmesg | grep netif_napi_add

  [Fix]
  commit acb1ce15a61154aa501891d67ebf79bc9ea26818
  Author: Yonglong Liu 
  Date: Thu Apr 4 16:46:43 2019 +0800

  net: hns: Use NAPI_POLL_WEIGHT for hns driver

  When the HNS driver loaded, always have an error print:
  "netif_napi_add() called with weight 256"

  This is because the kernel checks the NAPI polling weights
  requested by drivers and it prints an error message if a driver
  requests a weight bigger than 64.

  So use NAPI_POLL_WEIGHT to fix it.

  Signed-off-by: Yonglong Liu 
  Signed-off-by: Peng Li 
  Signed-off-by: David S. Miller 

  [Regression Risk]
  Only weight for NAPI changed. Lowest regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830587/+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 1820187] [NEW] Huawei Hi1822 NIC has poor performance

2019-03-15 Thread Ike Panhc
Public bug reported:

Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s

$ iperf -c 10.228.68.133

Client connecting to 10.228.68.133, TCP port 5001
TCP window size: 85.0 KByte (default)

[  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
[ ID] Interval   Transfer Bandwidth
[  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec

Backporting all patches from mainline for drivers/net/ethernet/huawei
solves this issue.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Bionic)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Cosmic)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Disco)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: linux (Ubuntu Cosmic)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: linux (Ubuntu Disco)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1820187

Title:
  Huawei Hi1822 NIC has poor performance

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete
Status in linux source package in Cosmic:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s

  $ iperf -c 10.228.68.133
  
  Client connecting to 10.228.68.133, TCP port 5001
  TCP window size: 85.0 KByte (default)
  
  [  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
  [ ID] Interval   Transfer Bandwidth
  [  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec

  Backporting all patches from mainline for drivers/net/ethernet/huawei
  solves this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820187/+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 1820187] Re: Huawei Hi1822 NIC has poor performance

2019-03-18 Thread Ike Panhc
** Description changed:

+ [Impact]
  Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s
- 
  $ iperf -c 10.228.68.133
  
  Client connecting to 10.228.68.133, TCP port 5001
  TCP window size: 85.0 KByte (default)
  
  [  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
  [ ID] Interval   Transfer Bandwidth
  [  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec
  
- Backporting all patches from mainline for drivers/net/ethernet/huawei
- solves this issue.
+ [Test Case]
+ iperf -c 
+ 
+ [Fix]
+ Backporting all patches from mainline for drivers/net/ethernet/huawei solves 
this issue.
+ 
+ [Regression Risk]
+ Only modify codes in drivers/net/ethernet/huawei. Lowest risk to other 
devices and platform without it.

-- 
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/1820187

Title:
  Huawei Hi1822 NIC has poor performance

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete
Status in linux source package in Cosmic:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  Connect Hi1822 NIC with 10G switch but the performance is only 1-2Gb/s
  $ iperf -c 10.228.68.133
  
  Client connecting to 10.228.68.133, TCP port 5001
  TCP window size: 85.0 KByte (default)
  
  [  3] local 10.228.68.116 port 56810 connected with 10.228.68.133 port 5001
  [ ID] Interval   Transfer Bandwidth
  [  3]  0.0-10.0 sec  1.53 GBytes  1.32 Gbits/sec

  [Test Case]
  iperf -c 

  [Fix]
  Backporting all patches from mainline for drivers/net/ethernet/huawei solves 
this issue.

  [Regression Risk]
  Only modify codes in drivers/net/ethernet/huawei. Lowest risk to other 
devices and platform without it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820187/+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 1808912] Re: scsi: libsas: fix a race condition when smp task timeout

2019-06-04 Thread Ike Panhc
** Changed in: linux (Ubuntu Xenial)
   Status: New => Invalid

-- 
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/1808912

Title:
  scsi: libsas: fix a race condition when smp task timeout

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Invalid
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Cosmic:
  Fix Released
Status in linux source package in Disco:
  Fix Released

Bug description:
  [Impact]
  When the lldd is processing the complete sas task in interrupt and set the
  task stat as SAS_TASK_STATE_DONE, the smp timeout timer is able to be
  triggered at the same time. And smp_task_timedout() will complete the task
  wheter the SAS_TASK_STATE_DONE is set or not. Then the sas task may freed
  before lldd end the interrupt process. Thus a use-after-free will happen.

  [Test Case]
  This is hard to reproduce, so regression test only.

  [Fix]
  b90cd6f2b9 scsi: libsas: fix a race condition when smp task timeout

  [Regression Risk]
  Only 2 line moved in libsas and maintainer has reviewed/approved. I will say 
it's low.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1808912/+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 1830587] Re: Reduce NAPI weight in hns driver from 256 to 64

2019-06-18 Thread Ike Panhc
bionic/cosmic/disco -proposed kernel tested. All good for me. Thanks.

** Tags removed: verification-needed-bionic verification-needed-cosmic 
verification-needed-disco
** Tags added: verification-done-bionic verification-done-cosmic 
verification-done-disco

-- 
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/1830587

Title:
  Reduce NAPI weight in hns driver from 256 to 64

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Cosmic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Incomplete

Bug description:
  [Impact]
  We have a warning[1] in dmesg shows hns register napi as weight 256 but not 
recommended. According to this commit[2] we shall use weight 64 as suggested.

  [1] netif_napi_add() called with weight 256
  [2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=82dc3c63c692b1e1d59378ecee948ac88e034aad

  [Test Case]
  dmesg | grep netif_napi_add

  [Fix]
  commit acb1ce15a61154aa501891d67ebf79bc9ea26818
  Author: Yonglong Liu 
  Date: Thu Apr 4 16:46:43 2019 +0800

  net: hns: Use NAPI_POLL_WEIGHT for hns driver

  When the HNS driver loaded, always have an error print:
  "netif_napi_add() called with weight 256"

  This is because the kernel checks the NAPI polling weights
  requested by drivers and it prints an error message if a driver
  requests a weight bigger than 64.

  So use NAPI_POLL_WEIGHT to fix it.

  Signed-off-by: Yonglong Liu 
  Signed-off-by: Peng Li 
  Signed-off-by: David S. Miller 

  [Regression Risk]
  Only weight for NAPI changed. Lowest regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1830587/+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 1826142] Re: TPM module can not initial

2019-06-19 Thread Ike Panhc
Thanks. disco-proposed kernel works fine with TPM module.

** Tags removed: verification-needed-disco
** Tags added: verification-done-disco

-- 
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/1826142

Title:
  TPM module can not initial

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Disco:
  Fix Committed

Bug description:
  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5

  We have a TPM module but disco kernel can not initial it. The root cause is
  DW SPI driver in disco only support chipselect from device-tree and for 5.1
  mainline kernel it can be used with deivce-tree or ACPI.

  [Test Case]
  Boot Ubuntu on platform with TPM module and ACPI and `dmesg | grep tpm`

  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: 
Optionally use GPIO descriptors for CS GPIOs

  [Regression Risk]
  Reading first 2 patches for determining regression risk and find out only 
machine with Designware MMIO SPI and device-tree have risk. Fortunately on 
mainline kernel we have Jan Kotas tested and report several regressions e.g. 
default polarity.

  Therefore, another 4 patches is needed to fix the regression on device-tree
  machines with DW SPI and that's the only regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826142/+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 1826142] [NEW] TPM module can not initial

2019-04-24 Thread Ike Panhc
Public bug reported:

[Impact]
TPM module can not initial with Ubuntu kernel
[ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
[ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 255)
[ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
[ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
[ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
[ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5

[Test Case]
Boot Ubuntu on platform with TPM module and `dmesg | grep tpm`

[Fix]
9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: Optionally 
use GPIO descriptors for CS GPIOs

[Regression Risk]
TBD

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: Ike Panhc (ikepanhc)
 Status: Incomplete

** Affects: linux (Ubuntu Disco)
 Importance: Undecided
 Status: Incomplete

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
   Status: New

-- 
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/1826142

Title:
  TPM module can not initial

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5

  [Test Case]
  Boot Ubuntu on platform with TPM module and `dmesg | grep tpm`

  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: 
Optionally use GPIO descriptors for CS GPIOs

  [Regression Risk]
  TBD

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826142/+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 1826142] Re: TPM module can not initial

2019-05-06 Thread Ike Panhc
** Description changed:

  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5
  
  [Test Case]
  Boot Ubuntu on platform with TPM module and `dmesg | grep tpm`
  
  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: 
Optionally use GPIO descriptors for CS GPIOs
  
  [Regression Risk]
- TBD
+ Enable new ability for DW SPI driver and according to following regression
+ fix patch. This has been tested around.

-- 
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/1826142

Title:
  TPM module can not initial

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5

  [Test Case]
  Boot Ubuntu on platform with TPM module and `dmesg | grep tpm`

  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: 
Optionally use GPIO descriptors for CS GPIOs

  [Regression Risk]
  Enable new ability for DW SPI driver and according to following regression
  fix patch. This has been tested around.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826142/+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 1826142] Re: TPM module can not initial

2019-05-07 Thread Ike Panhc
** Description changed:

  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5
  
+ We have a TPM module but disco kernel can not initial it. The root cause is
+ DW SPI driver in disco only support chipselect from device-tree and for 5.1
+ mainline kernel it can be used with deivce-tree or ACPI.
+ 
  [Test Case]
- Boot Ubuntu on platform with TPM module and `dmesg | grep tpm`
+ Boot Ubuntu on platform with TPM module and ACPI and `dmesg | grep tpm`
  
  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: 
Optionally use GPIO descriptors for CS GPIOs
  
  [Regression Risk]
- Enable new ability for DW SPI driver and according to following regression
- fix patch. This has been tested around.
+ Reading first 2 patches for determining regression risk and find out only 
machine with Designware MMIO SPI and device-tree have risk. Fortunately on 
mainline kernel we have Jan Kotas tested and report several regressions e.g. 
default polarity.
+ 
+ Therefore, another 4 patches is needed to fix the regression on device-tree
+ machines with DW SPI and that's the only regression risk.

-- 
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/1826142

Title:
  TPM module can not initial

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Disco:
  Incomplete

Bug description:
  [Impact]
  TPM module can not initial with Ubuntu kernel
  [ 28.138216] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.143808] tpm_tis_spi spi-SMO0768:00: 1.2 TPM (device-id 0x, rev-id 
255)
  [ 28.145025] tpm tpm0: tpm_try_transmit: tpm_send: error -5
  [ 28.899522] tpm tpm0: tpm_relinquish_locality: : error -1
  [ 28.904927] tpm tpm0: A TPM error (-5) occurred attempting to determine the 
timeouts
  [ 28.913026] tpm_tis_spi: probe of spi-SMO0768:00 failed with error -5

  We have a TPM module but disco kernel can not initial it. The root cause is
  DW SPI driver in disco only support chipselect from device-tree and for 5.1
  mainline kernel it can be used with deivce-tree or ACPI.

  [Test Case]
  Boot Ubuntu on platform with TPM module and ACPI and `dmesg | grep tpm`

  [Fix]
  9400c41e77b8 linus.wall...@linaro.org 2019-01-09 12:42:18 + spi: dw: 
Convert to use CS GPIO descriptors
  f3186dd87669 linus.wall...@linaro.org 2019-01-09 12:39:25 + spi: 
Optionally use GPIO descriptors for CS GPIOs

  [Regression Risk]
  Reading first 2 patches for determining regression risk and find out only 
machine with Designware MMIO SPI and device-tree have risk. Fortunately on 
mainline kernel we have Jan Kotas tested and report several regressions e.g. 
default polarity.

  Therefore, another 4 patches is needed to fix the regression on device-tree
  machines with DW SPI and that's the only regression risk.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1826142/+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 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-02-11 Thread Ike Panhc
** Changed in: kunpeng920/ubuntu-20.04
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-20.04
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920
   Status: Incomplete => In Progress

** Changed in: kunpeng920
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/ubuntu-20.04
Milestone: None => ubuntu-20.04-ga

** Changed in: kunpeng920/ubuntu-18.04-hwe
Milestone: None => ubuntu-18.04.5

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1859261] Re: [hns3-0111]sync mainline kernel 5.5rc6 hns3 patchset into ubuntu HWE kernel branch Edit

2020-02-13 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Triaged => Fix Committed

** Changed in: kunpeng920/upstream-kernel
Milestone: None => linux-v5.6

-- 
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/1859261

Title:
  [hns3-0111]sync mainline kernel 5.5rc6 hns3 patchset into ubuntu HWE
  kernel branch Edit

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.4rc5 kernel. Pls backport ubuntu 
18.04.5 kernel version
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: support tx-scatter-gather-fraglist feature
  net: hns3: add support for configuring VF MAC from the host
  net: hns3: add support for configuring bandwidth of VF on the host
  net: hns3: add support for setting VF trust
  net: hns3: add support for spoof check setting
  net: hns3: add support for setting VF link status on the host
  net: hns3: make array tick_array static, makes object smaller

  net: hns3: fix a wrong reset interrupt status mask
  net: hns3: cleanup of stray struct hns3_link_mode_mapping
  net: hns3: fix ETS bandwidth validation bug
  net: hns3: reallocate SSU' buffer size when pfc_en changes
  net: hns3: add compatible handling for MAC VLAN switch parameter configuration
  net: hns3: add compatible handling for command HCLGE_OPC_PF_RST_DONE
  net: hns3: remove unused macros
  net: hns3: Use the correct style for SPDX License Identifier
  net: hns3: cleanup byte order issues when printed
  net: hns3: cleanup some print format warning
  net: hns3: add or modify some comments
  net: hns3: optimize local variable initialization
  net: hns3: cleanup a format-truncation warning
  net: hns3: cleanup some coding style issues
  net: hns3: cleanup some magic numbers
  net: hns3: add struct netdev_queue debug info for TX timeout
  net: hns3: dump some debug information when reset fail
  treewide: Use sizeof_member() macro
  net: hns3: log and clear hardware error after reset complete
  net: hns3: do not allocate linear data for fraglist skb
  net: hns3: minor cleanup for hns3_handle_rx_bd()
  net: hns3: make struct hns3_enet_ring cacheline aligned
  net: hns3: introduce ring_to_netdev() in enet module
  net: hns3: minor optimization for barrier in IO path
  net: hns3: optimized MAC address in management table.
  net: hns3: remove struct hns3_nic_ring_data in hns3_enet module
  net: hns3: fix mis-counting IRQ vector numbers issue
    net: hns3: fix VF ID issue for setting VF VLAN
  net: hns3: fix a use after free problem in hns3_nic_maybe_stop_tx()
  net: hns3: fix for TX queue not restarted problem
   net: hns3: only print misc interrupt status when handling fails
  net: hns3: add a log for getting chain failure in 
hns3_nic_uninit_vector_data()
  net: hns3: add some VF VLAN information for command "ip link show"
  net: hns3: implement ndo_features_check ops for hns3 driver
  net: hns3: get FD rules location before dump in debugfs
  net: hns3: optimization for CMDQ uninitialization
  net: hns3: remove useless mutex vport_cfg_mutex in the struct hclge_dev
  net: hns3: check FE bit before calling hns3_add_frag()
  net: hns3: do not schedule the periodic task when reset fail
  net: hns3: allocate WQ with WQ_MEM_RECLAIM flag
  net: hns3: remove unnecessary work in hclgevf_main
  net: hns3: remove mailbox and reset work in hclge_main
  net: hns3: schedule hclgevf_service by using delayed workqueue
  net: hns3: refactor the notification scheme of PF reset
  net: hns3: refactor the procedure of VF FLR
  net: hns3: modify hclge_func_reset_sync_vf()'s return type to void
  net: hns3: enlarge HCLGE_RESET_WAIT_CNT
  net: hns3: refactor the precedure of PF FLR
  net: hns3: split hclgevf_reset() into preparing and rebuilding part
  net: hns3: split hclge_reset() into preparing and rebuilding part
  net: hns3: modify an unsuitable reset level for hardware error
  net: hns3: replace an unsuitable variable type in 
hclge_inform_reset_assert_to_vf()
  net: hns3: add protection when get SFP speed as 0
  net: hns3: modify the IRQ name of misc vectors
  net: hns3: modify an unsuitable log in hclge_map_ring_to_vector()
  net: hns3: modify the IRQ name of TQP vector
  net: hns3: re-organize vector handle
  net: hns3: add trace event support for HNS3 driver

  update 0120
  net: hns3: pad the short frame before sending to the hardware

  [Status]
  (Fix committed): net: hns3: support tx-scatter-gather-fraglist feature
  (Fix committed): net: hns3: add support for co

[Kernel-packages] [Bug 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-02-13 Thread Ike Panhc
Test build failed after 3 patches cherry-pick from mainline.

/home/ubuntu/ubuntu-focal/drivers/mtd/spi-nor/spi-nor.c: In function 
‘st_micron_set_default_init’:
/home/ubuntu/ubuntu-focal/drivers/mtd/spi-nor/spi-nor.c:4393:17: error: 
‘SNOR_F_HAS_16BIT_SR’ undeclared (first use in this function); did you mean 
‘SNOR_F_HAS_4BAIT’?
  nor->flags &= ~SNOR_F_HAS_16BIT_SR;
 ^~~
 SNOR_F_HAS_4BAIT
/home/ubuntu/ubuntu-focal/drivers/mtd/spi-nor/spi-nor.c:4393:17: note: each 
undeclared identifier is reported only once for each function it appears in

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-02-13 Thread Ike Panhc
SNOR_F_HAS_16BIT_SR is defined in this patch

commit adf1092fa838e870813f2ac152973af311d8ae02
Author: Jungseung Lee 
Date:   Mon Dec 2 15:35:06 2019 +0900

mtd: spi-nor: Support TB selection using SR bit 6

There are some flashes to use bit 6 of status register for Top/Bottom (TB).
Use top/bottom bit variable instead of fixed value and support this case.

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-02-13 Thread Ike Panhc
Correcting comment #3, this is the correct patch

commit 39d1e3340c73e8f7eb1d6a8cae561c255ca7b1b0
Author: Tudor Ambarus 
Date:   Thu Nov 7 08:41:51 2019 +

mtd: spi-nor: Fix clearing of QE bit on lock()/unlock()

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-02-14 Thread Ike Panhc
I am confused.

Patch ("mtd: spi-nor: Fix the writing of the Status Register on micron flashes")
fixes 39d1e3340c73 ("mtd: spi-nor: Fix clearing of QE bit on lock()/unlock()")
which depends on more patches if we want to cherry-pick them.

spi-nor provides 2 export functions but are not used in spi-hisi-sfc-
v3xx driver.

$ grep EXPORT drivers/mtd/spi-nor/spi-nor.c
EXPORT_SYMBOL_GPL(spi_nor_restore);
EXPORT_SYMBOL_GPL(spi_nor_scan);

I am building kernel with "spi: Add HiSilicon v3xx SPI NOR flash controller 
driver"
only for test.

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-02-14 Thread Ike Panhc
Please test kernel debs at

 https://kernel.ubuntu.com/~ikepanhc/lp1860401.1/

If it works fine, I will submit patch "spi: Add HiSilicon v3xx SPI NOR
flash controller driver".

** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Incomplete

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Incomplete

** Changed in: kunpeng920
   Status: In Progress => Incomplete

** Changed in: kunpeng920
 Assignee: Ike Panhc (ikepanhc) => (unassigned)

** Changed in: kunpeng920/ubuntu-18.04-hwe
     Assignee: Ike Panhc (ikepanhc) => (unassigned)

** Changed in: kunpeng920/ubuntu-20.04
 Assignee: Ike Panhc (ikepanhc) => (unassigned)

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-06 Thread Ike Panhc
Same oops happens on d061(kreiken) and x6000(segers).

Here is the lspci output of segers

** Attachment added: "lspci.segers.txt"
   
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+attachment/5348319/+files/lspci.segers.txt

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-06 Thread Ike Panhc
lspci output on kreiken (d061)

** Attachment added: "lspci.kreiken.txt"
   
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+attachment/5348360/+files/lspci.kreiken.txt

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-06 Thread Ike Panhc
oops log on kreiken

** Attachment added: "oops.kreiken.txt"
   
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+attachment/5348359/+files/oops.kreiken.txt

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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


Re: [Kernel-packages] [Bug 1867591] [NEW] [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-07 Thread Ike Panhc
Hi Xinwei,

Can you tell me which patches are for acce and which are for uacce? They
looks mixed to me.

--
Ike

On 3/16/20 4:04 PM, Fred Kimmy wrote:
> [Resolution]
> crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
> crypto: hisilicon/sec2 - Update IV and MAC operation
> crypto: hisilicon/sec2 - Add iommu status check
> crypto: hisilicon/sec2 - Add workqueue for SEC driver.
> crypto: hisilicon - Use one workqueue per qm instead of per qp
> crypto: hisilicon - qm depends on UACCE
> crypto: hisilicon - remove redundant assignment of pointer ctx
> hisilicon - register zip engine to uacce
> hisilicon - Remove module_param uacce_mode
> uacce: add uacce driver
> uacce: Add documents for uacce
> crypto: hisilicon - Fix duplicate print when qm occur multiple errors
> crypto: hisilicon - Unify error detect process into qm
> crypto: hisilicon - Configure zip RAS error type
> crypto: hisilicon - Unify hardware error init/uninit into QM

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-04-07 Thread Ike Panhc
Patch has been applied to focal/master-next

https://lists.ubuntu.com/archives/kernel-team/2020-April/108836.html

** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-20.04
Milestone: None => ubuntu-20.04-ga

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (Rejected] net: hns3: reject unsupported coalescing params
  (In progress) net: hns3: delete unnecessary logs after kzalloc fails
  (In progress) net: hns3: synchronize some print relating to reset issue
  (In progress) net: hns3: print out command code when dump fails in debugfs
  (In progress) net: hns3: print out status register when VF receives unknown 
source interrupt
  (In progress) net: hns3: add a check before PF inform VF to reset
  (In progress) net: hns3: delete some reduandant code
  (In progress) net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  (In progress) net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  (In progress) net: hns3: fix some mixed type assignment
  (In progress) net: hns3: add missing help info for QS shaper in debugfs
  (In progress) net: hns3: add support for dump MAC ID and loopback status in 
debugfs
  (In progress) net: hns3: add enabled TC numbers and DWRR weight info in 
debugfs
  (In progress) net: hns3: modify an unsuitable print when setting unknown 
duplex to fibre
  (Fix committed) net: hns3: clear port base VLAN when unload PF
  (Fix committed) net: hns3: fix RMW issue for VLAN filter switch
  (Fix committed) net: hns3: fix VF VLAN table entries inconsistent issue
  (Fix committed) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1864950] Re: [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel branch

2020-04-07 Thread Ike Panhc
Patches has been applied to focal/master-next

https://lists.ubuntu.com/archives/kernel-team/2020-April/108836.html


** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
Milestone: None => ubuntu-18.04.5

** Changed in: kunpeng920/ubuntu-20.04
Milestone: None => ubuntu-20.04-ga

-- 
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/1864950

Title:
  [roce-0227]sync mainline kernel 5.6rc3  roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Optimize eqe buffer allocation flow
  RDMA/hns: Cleanups of magic numbers
  RDMA/hns: fix spelling mistake: "attatch" -> "attach"
  RDMA/hns: Delayed flush cqe process with workqueue
  RDMA/hns: Add the workqueue framework for flush cqe handler
  RDMA/hns: Initialize all fields of doorbells to zero
  RDMA/hns: Optimize qp doorbell allocation flow
  RDMA/hns: Optimize kernel qp wrid allocation flow
  RDMA/hns: Optimize qp param setup flow
  RDMA/hns: Optimize qp buffer allocation flow
  RDMA/hns: Optimize qp number assign flow
  RDMA/hns: Optimize qp context create and destroy flow
  RDMA/hns: Optimize qp destroy flow
  RDMA/hns: Stop doorbell update while qp state error
  RDMA/hns: Use flush framework for the case in aeq
  RDMA/hns: Treat revision HIP08_A as a special case

  https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=wip
  /jgg-for-next

  RDMA/hns: Treat revision HIP08_A as a special case

  https://www.spinics.net/lists/linux-rdma/msg89428.html

  RDMA/hns: Support to set mininum depth of qp to 0
  https://patchwork.kernel.org/patch/11415067/

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864950/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-08 Thread Ike Panhc
[   34.456012] hisi_dma :7b:00.0: Adding to iommu group 51
[   34.457088] hisi_dma :7b:00.0: enabling device ( -> 0002)
[   34.471321] hisi_hpre :79:00.0: Adding to iommu group 52
[   34.472683] hisi_hpre :79:00.0: fail to alloc uacce (-22)
[   34.472694] hisi_hpre :79:00.0: enabling device ( -> 0002)
[   34.498524] hisi_dma :bb:00.0: Adding to iommu group 53
[   34.499459] hisi_dma :bb:00.0: enabling device ( -> 0002)
[   34.505307] hisi_hpre :b9:00.0: Adding to iommu group 54
[   34.510790] hisi_zip :75:00.0: Adding to iommu group 55
[   34.512105] hisi_zip :75:00.0: fail to alloc uacce (-22)
[   34.512113] hisi_zip :75:00.0: enabling device ( -> 0002)
[   34.514789] hisi_sec2 :76:00.0: Adding to iommu group 56
[   34.516596] hisi_sec2 :76:00.0: fail to alloc uacce (-22)
[   34.516604] hisi_sec2 :76:00.0: enabling device ( -> 0002)
[   34.520416] hisi_hpre :b9:00.0: fail to alloc uacce (-22)
[   34.520427] hisi_hpre :b9:00.0: enabling device ( -> 0002)
[   34.522426] hisi_zip :b5:00.0: Adding to iommu group 57
[   34.523552] hisi_zip :b5:00.0: fail to alloc uacce (-22)
[   34.523557] hisi_zip :b5:00.0: enabling device ( -> 0002)
[   34.540976] IPMI message handler: version 39.2
[   34.573254] ipmi device interface
[   34.577557] hisi_sec2 :b6:00.0: Adding to iommu group 58
[   34.578736] hisi_sec2 :b6:00.0: fail to alloc uacce (-22)
[   34.578744] hisi_sec2 :b6:00.0: enabling device ( -> 0002)

In dmesg it says uacce can not link with those crypto drivers.

Looks like these drivers are not ready and we don't have test case yet.
I believe we shall submit after driver is mature and also work on its test case.

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1853993] Re: [hns-1126]scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

2020-04-09 Thread Ike Panhc
** Tags removed: ikeradar

-- 
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/1853993

Title:
  [hns-1126]scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init
  device

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Invalid
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Disks will be lost on SAS interface reset

  [Fix]
  scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

  [Test]
  Resetting SAS interfaces shall not lose any disks

  [Regression Potential]
  Patch only for hisi_sas. Lowest risk for other platform/driver.

  "[Steps to Reproduce]
  1. Close all the PHYS;
  2. Inject error;
  3. Open one PHY;

  [Actual Results]
  Some disk will be lost

  [Expected Results]
  No disk will be lost

  [Reproducibility]
  occasionally

  [Additional information]
  Hardware: D06 CS
  Firmware: NA
  Kernel: NA

  [Resolution]
  When init device for SAS disks, it will send TMF IO to clear disks. At that
  time TMF IO is broken by some operations such as injecting controller reset
  from HW RAs event, the TMF IO will be timeout, and at last device will be
  gone. Print is as followed:

  hisi_sas_v3_hw :74:02.0: dev[240:1] found
  ...
  hisi_sas_v3_hw :74:02.0: controller resetting...
  hisi_sas_v3_hw :74:02.0: phyup: phy7 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy0 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy1 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy2 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy3 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy6 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy5 link_rate=11
  hisi_sas_v3_hw :74:02.0: phyup: phy4 link_rate=11
  hisi_sas_v3_hw :74:02.0: controller reset complete
  hisi_sas_v3_hw :74:02.0: abort tmf: TMF task timeout and not done
  hisi_sas_v3_hw :74:02.0: dev[240:1] is gone
  sas: driver on host :74:02.0 cannot handle device 5000c500a75a860d,
  error:5

  To improve the reliability, retry TMF IO max of 3 times for SAS disks which
  is the same as softreset does."

  scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853993/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-04-09 Thread Ike Panhc
** Description changed:

  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.
  
  [Steps to Reproduce]
    1)
    2)
    3)
  
  [Actual Results]
  
  [Expected Results]
  
  [Reproducibility]
  
  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):
  
  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre
  
  [Status]
- (Rejected] net: hns3: reject unsupported coalescing params
- (In progress) net: hns3: delete unnecessary logs after kzalloc fails
- (In progress) net: hns3: synchronize some print relating to reset issue
- (In progress) net: hns3: print out command code when dump fails in debugfs
- (In progress) net: hns3: print out status register when VF receives unknown 
source interrupt
- (In progress) net: hns3: add a check before PF inform VF to reset
- (In progress) net: hns3: delete some reduandant code
- (In progress) net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
- (In progress) net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
- (In progress) net: hns3: fix some mixed type assignment
- (In progress) net: hns3: add missing help info for QS shaper in debugfs
- (In progress) net: hns3: add support for dump MAC ID and loopback status in 
debugfs
- (In progress) net: hns3: add enabled TC numbers and DWRR weight info in 
debugfs
- (In progress) net: hns3: modify an unsuitable print when setting unknown 
duplex to fibre
+ (Rejected) net: hns3: reject unsupported coalescing params
+ (Fix committed) net: hns3: delete unnecessary logs after kzalloc fails
+ (Fix committed) net: hns3: synchronize some print relating to reset issue
+ (Fix committed) net: hns3: print out command code when dump fails in debugfs
+ (Fix committed) net: hns3: print out status register when VF receives unknown 
source interrupt
+ (Fix committed) net: hns3: add a check before PF inform VF to reset
+ (Fix committed) net: hns3: delete some reduandant code
+ (Fix committed) net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
+ (Fix committed) net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
+ (Fix committed) net: hns3: fix some mixed type assignment
+ (Fix committed) net: hns3: add missing help info for QS shaper in debugfs
+ (Fix committed) net: hns3: add support for dump MAC ID and loopback status in 
debugfs
+ (Fix committed) net: hns3: add enabled TC numbers and DWRR weight info in 
debugfs
+ (Fix committed) net: hns3: modify an unsuitable print when setting unknown 
duplex to fibre
  (Fix committed) net: hns3: clear port base VLAN when unload PF
  (Fix committed) net: hns3: fix RMW issue for VLAN filter switch
  (Fix committed) net: hns3: fix VF VLAN table entries inconsistent issue
  (Fix committed) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

** Tags removed: ikeradar

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLA

[Kernel-packages] [Bug 1864950] Re: [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel branch

2020-04-09 Thread Ike Panhc
** Tags removed: ikeradar

-- 
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/1864950

Title:
  [roce-0227]sync mainline kernel 5.6rc3  roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Optimize eqe buffer allocation flow
  RDMA/hns: Cleanups of magic numbers
  RDMA/hns: fix spelling mistake: "attatch" -> "attach"
  RDMA/hns: Delayed flush cqe process with workqueue
  RDMA/hns: Add the workqueue framework for flush cqe handler
  RDMA/hns: Initialize all fields of doorbells to zero
  RDMA/hns: Optimize qp doorbell allocation flow
  RDMA/hns: Optimize kernel qp wrid allocation flow
  RDMA/hns: Optimize qp param setup flow
  RDMA/hns: Optimize qp buffer allocation flow
  RDMA/hns: Optimize qp number assign flow
  RDMA/hns: Optimize qp context create and destroy flow
  RDMA/hns: Optimize qp destroy flow
  RDMA/hns: Stop doorbell update while qp state error
  RDMA/hns: Use flush framework for the case in aeq
  RDMA/hns: Treat revision HIP08_A as a special case

  https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=wip
  /jgg-for-next

  RDMA/hns: Treat revision HIP08_A as a special case

  https://www.spinics.net/lists/linux-rdma/msg89428.html

  RDMA/hns: Support to set mininum depth of qp to 0
  https://patchwork.kernel.org/patch/11415067/

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864950/+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 1853964] Re: [hns-1126]net: hns3: make hclge_service use delayed workqueue

2020-04-09 Thread Ike Panhc
** Tags removed: ikeradar

-- 
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/1853964

Title:
  [hns-1126]net: hns3: make hclge_service use delayed workqueue

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  [Impact]
  System crashes when setting irq affinity and turning on/off on the interfaces

  [Fix]
  net: hns3: make hclge_service use delayed workqueue

  [Test]
  Writing smp_affinity_list and turning on/off in loop

  [Regression Potential]
  This patch only for hns3. Lowest risk for other platform/driver

  "[Bug Description]
  Currently, up/down port process may concurrently operate 
timer(del_timer_sync/add_timer_on) with setting IRQ affinity, and cause system 
breaking down.

  [Steps to Reproduce]
  set misc irp affinity of PF during up/down port by follow script:
  while((1))
  do
  for i in {0..31}; do echo $i > /proc/irq/678/smp_affinity_list; done
  done
  while((1))
  do
  ifconfig eth4 down
  ifconfig eth4 up
  done

  [Actual Results]
  System break down.
  kernel call trace

  [Expected Results]
  System run normally.

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch uses delayed work instead of using timers to trigger the
  hclge_serive."

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853964/+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 1853948] Re: [hns-1126]net: hns3: fix flow control configure issue for fibre port

2020-04-13 Thread Ike Panhc
Can not clean cherry-pick to bionic GA kernel.

** Changed in: kunpeng920/ubuntu-18.04
   Status: In Progress => Won't Fix

** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Won't Fix

** Changed in: kunpeng920
   Status: In Progress => Fix Released

** Tags removed: ikeradar

-- 
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/1853948

Title:
  [hns-1126]net: hns3: fix flow control configure issue for fibre port

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Won't Fix
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Flow control parameters of fibre port can not be set after enable flow 
control autoneg, as flow control autoneg is unsupported for fibre port

  [Test Case]
  Turning on/off tx pause and ethtool shall report status accordingly.

  [Fix]
  fb89629f2ecf net: hns3: fix flow control configure issue for fibre port

  [Regression Risk]
  Patch restricted to hns3 driver.

  "[Bug Description]
  Flow control parameters of fibre port can not be set after enable flow 
control autoneg, as flow control autoneg is unsupported for fibre port.

  [Steps to Reproduce]
  1.link up fibre port and enable flow control autoneg
  2.check status of tx pause and rx pause
  3.turn off tx pause
  4.checkout status of tx pause

  [Actual Results]
  tx pause is on

  [Expected Results]
  tx pause is off

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch return -EOPNOTSUPP when user tries to enable flow control autoneg."

  net: hns3: fix flow control configure issue for fibre port

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853948/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-05-12 Thread Ike Panhc
I will test the patch. However, since this patch is very new (4 days on
mailing list only), I will start backport process after it is merged
into mainline kernel.

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-05-14 Thread Ike Panhc
Another cherry-pick is needed for patch "crypto: hisilicon/sec2 - modify
the SEC probe process"

/home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c: In function 
‘sec_qm_init’:
/home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c:770:5: error: 
‘struct hisi_qm’ has no member named ‘qm_list’
   qm->qm_list = &sec_devices;
 ^~
/home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c:770:18: error: 
‘sec_devices’ undeclared (first use in this function); did you mean 
‘sec_dev_ids’?
   qm->qm_list = &sec_devices;
  ^~~
  sec_dev_ids

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-05-18 Thread Ike Panhc
Cherry-pick all patches from mainline kernel for
drivers/crypto/hisilicon but patch ("crypto:hisilicon/sec2 -modify the
SEC probe process") mentioned in #17 still causes build failure.

/home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c: In function 
‘sec_qm_init’:
/home/ubuntu/focal/drivers/crypto/hisilicon/sec2/sec_main.c:750:7: error: 
‘struct hisi_qm’ has no member named ‘qm_list’; did you mean ‘list’?
   qm->qm_list = &sec_devices;
   ^~~
   list
/home/ubuntu/focal/scripts/Makefile.build:273: recipe for target 
'drivers/crypto/hisilicon/sec2/sec_main.o' failed
make[6]: *** [drivers/crypto/hisilicon/sec2/sec_main.o] Error 1

There is no qm_list in 'struct qm'. Is there any patch in kernel mailing
list I shall also cherry-pick?

Here are the patches I cherry-picked from mainline kernel.

2ecc5dbe1be2 crypto: hisilicon - Fix build error
050edd48773c crypto: hisilicon/sec2 - Add new create qp process
866208000dc5 crypto: hisilicon/hpre - Optimize finding hpre device process
2d5c3b667630 crypto: hisilicon/zip - Use hisi_qm_alloc_qps_node() when init ctx
f9b281b9d419 crypto: hisilicon/qm - Put device finding logic into QM
41fb76b52f88 crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
a498705a1413 crypto: hisilicon/sec2 - Update IV and MAC operation
0d96187b2254 crypto: hisilicon/sec2 - Add iommu status check
4bd0e47188d5 crypto: hisilicon/sec2 - Add workqueue for SEC driver.
e446154072f6 crypto: hisilicon - Use one workqueue per qm instead of per qp
1c50a05a8175 crypto: hisilicon - qm depends on UACCE
830f9ba1bd19 crypto: hisilicon - remove redundant assignment of pointer ctx
890db5d419c6 crypto: hisilicon - register zip engine to uacce
dd057c5c9923 crypto: hisilicon - Remove module_param uacce_mode
392303395a8f uacce: add uacce driver
aac67f627ed7 uacce: Add documents for uacce
ec8710741e72 crypto: hisilicon - Fix duplicate print when qm occur multiple 
errors
4eec3fe442fe crypto: hisilicon - Unify error detect process into qm
0fe67e5b898e crypto: hisilicon - Configure zip RAS error type
f70dbcab45dd crypto: hisilicon - Unify hardware error init/uninit into QM

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867900] Re: CPU stress test fails with focal kernel

2020-06-10 Thread Ike Panhc
Running cpu stress test with 5.4.0-38.42 kernel and it passed. Thanks.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
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/1867900

Title:
  CPU stress test fails with focal kernel

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Groovy:
  In Progress

Bug description:
  [Impact]
  We have several crypto accelerators for Hisilicon 1620 but unfortunately one 
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2 
makes kernel to run crypto functions without accelerator.

  [Fix]
  Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.

  [Test]
  $ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz 
--times --af-alg 0
  $ echo $?

  [Regression Potential]
  This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other 
platform.

  ==
  [Bug Description]
  CPU stress test fails with focal kernel

  [Steps to Reproduce]
  1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
  2) sudo apt-add-repository -y ppa:hardware-certification/public
  3) sudo apt install -y canonical-certification-server
  4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
  5) Run CPU stress test with `sudo certify-advanced`

  [Actual Results]
  Failed with
  stress-ng: fail:  [6118] stress-ng-af-alg: bind failed, errno=19 (No such 
device)

  [Expected Results]
  Passed

  [Reproducibility]
  100%

  [Additional information]
  Same test with bionic-update kernel passed

  [Resolution]

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+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 1867900] Re: CPU stress test fails with focal kernel

2020-06-10 Thread Ike Panhc
I am also testing patch in #24 to see if we shall backport the patch for
groovy.

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Incomplete => Fix Committed

** Changed in: kunpeng920/ubuntu-20.04
   Status: Incomplete => Fix Committed

** Changed in: kunpeng920
   Status: Incomplete => 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/1867900

Title:
  CPU stress test fails with focal kernel

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Groovy:
  In Progress

Bug description:
  [Impact]
  We have several crypto accelerators for Hisilicon 1620 but unfortunately one 
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2 
makes kernel to run crypto functions without accelerator.

  [Fix]
  Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.

  [Test]
  $ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz 
--times --af-alg 0
  $ echo $?

  [Regression Potential]
  This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other 
platform.

  ==
  [Bug Description]
  CPU stress test fails with focal kernel

  [Steps to Reproduce]
  1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
  2) sudo apt-add-repository -y ppa:hardware-certification/public
  3) sudo apt install -y canonical-certification-server
  4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
  5) Run CPU stress test with `sudo certify-advanced`

  [Actual Results]
  Failed with
  stress-ng: fail:  [6118] stress-ng-af-alg: bind failed, errno=19 (No such 
device)

  [Expected Results]
  Passed

  [Reproducibility]
  100%

  [Additional information]
  Same test with bionic-update kernel passed

  [Resolution]

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+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 1867900] Re: CPU stress test fails with focal kernel

2020-06-11 Thread Ike Panhc
Set back to "Triage" as patch mentioned in #24 is on its way to
mainline.

** Changed in: kunpeng920/ubuntu-20.04
   Status: Fix Committed => Triaged

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Fix Committed => Triaged

** Changed in: kunpeng920
   Status: Fix Committed => Triaged

** Also affects: kunpeng920/upstream-kernel
   Importance: Undecided
   Status: New

** Changed in: kunpeng920/upstream-kernel
   Status: New => Triaged

-- 
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/1867900

Title:
  CPU stress test fails with focal kernel

Status in kunpeng920:
  Triaged
Status in kunpeng920 ubuntu-18.04-hwe series:
  Triaged
Status in kunpeng920 ubuntu-20.04 series:
  Triaged
Status in kunpeng920 upstream-kernel series:
  Triaged
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Groovy:
  In Progress

Bug description:
  [Impact]
  We have several crypto accelerators for Hisilicon 1620 but unfortunately one 
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2 
makes kernel to run crypto functions without accelerator.

  [Fix]
  Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.

  [Test]
  $ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz 
--times --af-alg 0
  $ echo $?

  [Regression Potential]
  This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other 
platform.

  ==
  [Bug Description]
  CPU stress test fails with focal kernel

  [Steps to Reproduce]
  1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
  2) sudo apt-add-repository -y ppa:hardware-certification/public
  3) sudo apt install -y canonical-certification-server
  4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
  5) Run CPU stress test with `sudo certify-advanced`

  [Actual Results]
  Failed with
  stress-ng: fail:  [6118] stress-ng-af-alg: bind failed, errno=19 (No such 
device)

  [Expected Results]
  Passed

  [Reproducibility]
  100%

  [Additional information]
  Same test with bionic-update kernel passed

  [Resolution]

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+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 1859743] Re: [tpm-0115]EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

2020-03-18 Thread Ike Panhc
Thanks. kernel 5.3.0-43.36 works for me.

** Tags removed: verification-needed-eoan
** Tags added: verification-done-eoan

-- 
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/1859743

Title:
  [tpm-0115]EFI/stub: tpm: enable tpm eventlog function for ARM64
  platform

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.10 series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Committed
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  No TPM eventlog information in sysfs

  [Fix]
  d99c1ba6a73b EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

  [Test]
  ls -l /sys/kernel/security/tpm0/binary_bios_measurements

  [Regression Potential]
  Only affect arm64 system with TPM. Lowest risk for other platform.

  [Bug Description]

  this patch gets tpm eventlog information such as device boot status,event guid
  and so on, which will be from bios stage. it use "efi_retrieve_tpm2_eventlog"
  functions to get it for ARM64 platorm.

  [Steps to Reproduce]
  1) ls -l /sys/kernel/security/tpm0/binary_bios_measurements
  2)
  3)

  [Actual Results]
  '/sys/kernel/security/tpm0/binary_bios_measurements' no such file or directory

  [Expected Results]
  ok

  [Reproducibility]
  100%

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  d99c1ba6a73b EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859743/+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 1853964] Re: [hns-1126]net: hns3: make hclge_service use delayed workqueue

2020-03-18 Thread Ike Panhc
Thanks. kernel 5.3.0-43.36 works for me.

** Tags removed: verification-needed-eoan
** Tags added: verification-done-eoan

-- 
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/1853964

Title:
  [hns-1126]net: hns3: make hclge_service use delayed workqueue

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.10 series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  [Impact]
  System crashes when setting irq affinity and turning on/off on the interfaces

  [Fix]
  net: hns3: make hclge_service use delayed workqueue

  [Test]
  Writing smp_affinity_list and turning on/off in loop

  [Regression Potential]
  This patch only for hns3. Lowest risk for other platform/driver

  "[Bug Description]
  Currently, up/down port process may concurrently operate 
timer(del_timer_sync/add_timer_on) with setting IRQ affinity, and cause system 
breaking down.

  [Steps to Reproduce]
  set misc irp affinity of PF during up/down port by follow script:
  while((1))
  do
  for i in {0..31}; do echo $i > /proc/irq/678/smp_affinity_list; done
  done
  while((1))
  do
  ifconfig eth4 down
  ifconfig eth4 up
  done

  [Actual Results]
  System break down.
  kernel call trace

  [Expected Results]
  System run normally.

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch uses delayed work instead of using timers to trigger the
  hclge_serive."

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853964/+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 1859744] Re: [spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error

2020-03-18 Thread Ike Panhc
Thanks. kernel 5.3.0-43.36 works for me.

** Tags removed: verification-needed-eoan
** Tags added: verification-done-eoan

-- 
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/1859744

Title:
  [spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.10 series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Committed
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Sometimes, TPM fails because SPI data error

  [Fix]
  bfda044533b2 spi: dw: use "smp_mb()" to avoid sending spi data error

  [Test]
  Reboot system few times and no TPM error message

  [Regression Potential]
  Only on SPI function. Already tested on focal kernel

  [Bug Description]

  Because of out-of-order execution about some CPU architecture,
  In this debug stage we find Completing spi interrupt enable ->
  prodrucing TXEI interrupt -> running "interrupt_transfer" function
  will prior to set "dw->rx and dws->rx_end" data, so this patch add
  memory barrier to enable dw->rx and dw->rx_end to be visible and
  solve to send SPI data error.
  eg:
  it will fix to this following low possibility error in testing environment
  which using SPI control to connect TPM Modules

  kernel: tpm tpm0: Operation Timed out
  kernel: tpm tpm0: tpm_relinquish_locality: : error -1

  [Steps to Reproduce]
  1) enable ima and tpm
  2)reboot this system
  3)

  [Actual Results]
  kernel: tpm tpm0: Operation Timed out
  kernel: tpm tpm0: tpm_relinquish_locality: : error -1

  [Expected Results]
  ok

  [Reproducibility]
  low probabilities

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  bfda044533b2 spi: dw: use "smp_mb()" to avoid sending spi data error

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859744/+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 1853993] Re: [hns-1126]scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

2020-03-18 Thread Ike Panhc
Thanks. kernel 5.3.0-43.36 works for me.

** Tags removed: verification-needed-eoan
** Tags added: verification-done-eoan

-- 
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/1853993

Title:
  [hns-1126]scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init
  device

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04 series:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-19.10 series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Eoan:
  Fix Committed
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Disks will be lost on SAS interface reset

  [Fix]
  scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

  [Test]
  Resetting SAS interfaces shall not lose any disks

  [Regression Potential]
  Patch only for hisi_sas. Lowest risk for other platform/driver.

  "[Steps to Reproduce]
  1. Close all the PHYS;
  2. Inject error;
  3. Open one PHY;

  [Actual Results]
  Some disk will be lost

  [Expected Results]
  No disk will be lost

  [Reproducibility]
  occasionally

  [Additional information]
  Hardware: D06 CS
  Firmware: NA
  Kernel: NA

  [Resolution]
  When init device for SAS disks, it will send TMF IO to clear disks. At that
  time TMF IO is broken by some operations such as injecting controller reset
  from HW RAs event, the TMF IO will be timeout, and at last device will be
  gone. Print is as followed:

  hisi_sas_v3_hw :74:02.0: dev[240:1] found
  ...
  hisi_sas_v3_hw :74:02.0: controller resetting...
  hisi_sas_v3_hw :74:02.0: phyup: phy7 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy0 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy1 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy2 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy3 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy6 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy5 link_rate=11
  hisi_sas_v3_hw :74:02.0: phyup: phy4 link_rate=11
  hisi_sas_v3_hw :74:02.0: controller reset complete
  hisi_sas_v3_hw :74:02.0: abort tmf: TMF task timeout and not done
  hisi_sas_v3_hw :74:02.0: dev[240:1] is gone
  sas: driver on host :74:02.0 cannot handle device 5000c500a75a860d,
  error:5

  To improve the reliability, retry TMF IO max of 3 times for SAS disks which
  is the same as softreset does."

  scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853993/+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 1867587] Re: [sas-0316]sync mainline kernel 5.6rc1 roce patchset into ubuntu HWE kernel branch

2020-03-19 Thread Ike Panhc
** Tags added: ikeradar

-- 
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/1867587

Title:
  [sas-0316]sync mainline kernel 5.6rc1 roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  SAS patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  scsi: hisi_sas: Rename hisi_sas_cq.pci_irq_mask
  scsi: hisi_sas: Add prints for v3 hw interrupt converge and automatic affinity
  scsi: hisi_sas: Modify the file permissions of trigger_dump to write only
  scsi: hisi_sas: Replace magic number when handle channel interrupt
  scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with 
spin_lock/spin_unlock
  scsi: hisi_sas: use threaded irq to process CQ interrupts

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867587/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-03-19 Thread Ike Panhc
** Tags added: ikeradar

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  New
Status in kunpeng920 ubuntu-20.04 series:
  New
Status in kunpeng920 upstream-kernel series:
  New
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1859269] Re: [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE kernel branch

2020-03-22 Thread Ike Panhc
** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   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/1859269

Title:
  [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.5rc6 kernel. Pls backport ubuntu 
18.04.5 kernel version
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Delete unnecessary callback functions for cq
  RDMA/hns: Rename the functions used inside creating cq
  RDMA/hns: Redefine the member of hns_roce_cq struct
  RDMA/hns: Redefine interfaces used in creating cq
  IB/umem: remove the dmasync argument to ib_umem_get
  RDMA/hns: Modify appropriate printings
  RDMA/hns: Fix non-standard error codes
  RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  RDMA/hns: Simplify doorbell initialization code
  RDMA/hns: Replace not intuitive function/macro names
  RDMA/hns: Modify fields of struct hns_roce_srq
  RDMA/hns: Delete unnecessary uar from hns_roce_cq
  RDMA/hns: Remove unnecessary structure hns_roce_sqp
  RDMA/hns: Delete unnecessary variable max_post
  RDMA/hns: Remove unsupported modify_port callback
  RDMA: Connect between the mmap entry and the umap_priv structure
  RDMA/hns: Fix build error again
  RDMA/hns: Fix memory leak on 'context' on error return path
  RDMA/hns: Bugfix for qpc/cqc timer configuration
  RDMA/hns: Fix to support 64K page for srq
  RDMA/hns: Delete BITS_PER_BYTE redefinition
  RDMA/hns: Prevent undefined behavior in hns_roce_set_user_sq_size()
  RDMA/hns: Release qp resources when failed to destroy qp
  RDMA/hns: Fix a spelling mistake in a macro
  RDMA/hns: Modify return value of restrack functions
  RDMA/hns: Modify variable/field name from vlan to vlan_id
  RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que
  RDMA/hns: remove a redundant le16_to_cpu
  RDMA/hns: Prevent memory leaks of eq->buf_list
  RDMA/hns: Correct the value of srq_desc_size
  RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
  RDMA/hns: Add support for reporting wc as software mode
  RDMA/hns: Bugfix for posting a wqe with sge
  RDMA/hns: Fix coding style issues
  RDMA/hns: Replace custom macros HNS_ROCE_ALIGN_UP
  RDMA/hns: Remove redundant print information
  RDMA/hns: Delete unnessary parameters in hns_roce_v2_qp_modify()
  RDMA/hns: Update the value of qp type
  RDMA/hns: Remove unused function hns_roce_init_eq_table()
  RDMA/hns: Avoid printing address of mtt page
  RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs

  update 01120
  RDMA/hns: Get pf capabilities from firmware
  RDMA/hns: Add interfaces to get pf capabilities from firmware
  RDMA/hns: Remove some redundant variables related to capabilities
  RDMA/hns: Add support for extended atomic in userspace

  [Status]
  (In Progress): RDMA/hns: Delete unnecessary callback functions for cq
  (In Progress): RDMA/hns: Rename the functions used inside creating cq
  (In Progress): RDMA/hns: Redefine the member of hns_roce_cq struct
  (In Progress): RDMA/hns: Redefine interfaces used in creating cq
  (In Progress): IB/umem: remove the dmasync argument to ib_umem_get
  (In Progress): RDMA/hns: Modify appropriate printings
  (In Progress): RDMA/hns: Fix non-standard error codes
  (In Progress): RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  (In Progress): RDMA/hns: Simplify doorbell initialization code
  (In Progress): RDMA/hns: Replace not intuitive function/macro names
  (In Progress): RDMA/hns: Modify fields of struct hns_roce_srq
  (In Progress): RDMA/hns: Delete unnecessary uar from hns_roce_cq
  (In Progress): RDMA/hns: Remove unnecessary structure hns_roce_sqp
  (In Progress): RDMA/hns: Delete unnecessary variable max_post
  (In Progress): RDMA/hns: Remove unsupported modify_port callback
  (In Progress): RDMA: Connect between the mmap entry and the umap_priv 
structure
  (Fix committed): RDMA/hns: Fix build error again
  (Fix committed): RDMA/hns: Fix memory leak on 'context' on error return path
  (Fix committed): RDMA/hns: Bugfix for qpc/cqc timer configuration
  (Fix committed): RDMA/hns: Fix to support 64K page for srq
  (In Progress): RDMA/hns: Delete BITS_PER_BYTE redefinition
  (Fix committed): RDMA/hns: P

[Kernel-packages] [Bug 1864442] Re: dmaengine: hisilicon: Add Kunpeng DMA engine support

2020-03-22 Thread Ike Panhc
** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   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/1864442

Title:
  dmaengine: hisilicon: Add Kunpeng DMA engine support

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  This patch adds a driver for HiSilicon Kunpeng DMA engine. This DMA engine
  which is an PCIe iEP offers 30 channels, each channel has a send queue, a
  complete queue and an interrupt to help to do tasks. This DMA engine can do
  memory copy between memory blocks or between memory and device buffer

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  e9f08b65250d dmaengine: hisilicon: Add Kunpeng DMA engine support

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/dma?h=v5.6-rc1&id=e9f08b65250d73ab70e79e194813f52b8d306784

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864442/+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 1859269] Re: [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE kernel branch

2020-03-24 Thread Ike Panhc
** Description changed:

  [Bug Description]
  roce patchset have merged into mainline 5.5rc6 kernel. Pls backport ubuntu 
18.04.5 kernel version
  [Steps to Reproduce]
    1)
    2)
    3)
  
  [Actual Results]
  
  [Expected Results]
  
  [Reproducibility]
  
  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):
  
  [Resolution]
  RDMA/hns: Delete unnecessary callback functions for cq
  RDMA/hns: Rename the functions used inside creating cq
  RDMA/hns: Redefine the member of hns_roce_cq struct
  RDMA/hns: Redefine interfaces used in creating cq
  IB/umem: remove the dmasync argument to ib_umem_get
  RDMA/hns: Modify appropriate printings
  RDMA/hns: Fix non-standard error codes
  RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  RDMA/hns: Simplify doorbell initialization code
  RDMA/hns: Replace not intuitive function/macro names
  RDMA/hns: Modify fields of struct hns_roce_srq
  RDMA/hns: Delete unnecessary uar from hns_roce_cq
  RDMA/hns: Remove unnecessary structure hns_roce_sqp
  RDMA/hns: Delete unnecessary variable max_post
  RDMA/hns: Remove unsupported modify_port callback
  RDMA: Connect between the mmap entry and the umap_priv structure
  RDMA/hns: Fix build error again
  RDMA/hns: Fix memory leak on 'context' on error return path
  RDMA/hns: Bugfix for qpc/cqc timer configuration
  RDMA/hns: Fix to support 64K page for srq
  RDMA/hns: Delete BITS_PER_BYTE redefinition
  RDMA/hns: Prevent undefined behavior in hns_roce_set_user_sq_size()
  RDMA/hns: Release qp resources when failed to destroy qp
  RDMA/hns: Fix a spelling mistake in a macro
  RDMA/hns: Modify return value of restrack functions
  RDMA/hns: Modify variable/field name from vlan to vlan_id
  RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que
  RDMA/hns: remove a redundant le16_to_cpu
  RDMA/hns: Prevent memory leaks of eq->buf_list
  RDMA/hns: Correct the value of srq_desc_size
  RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
  RDMA/hns: Add support for reporting wc as software mode
  RDMA/hns: Bugfix for posting a wqe with sge
  RDMA/hns: Fix coding style issues
  RDMA/hns: Replace custom macros HNS_ROCE_ALIGN_UP
  RDMA/hns: Remove redundant print information
  RDMA/hns: Delete unnessary parameters in hns_roce_v2_qp_modify()
  RDMA/hns: Update the value of qp type
  RDMA/hns: Remove unused function hns_roce_init_eq_table()
  RDMA/hns: Avoid printing address of mtt page
  RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs
  
  update 01120
  RDMA/hns: Get pf capabilities from firmware
  RDMA/hns: Add interfaces to get pf capabilities from firmware
  RDMA/hns: Remove some redundant variables related to capabilities
  RDMA/hns: Add support for extended atomic in userspace
  
  [Status]
- (In Progress): RDMA/hns: Delete unnecessary callback functions for cq
- (In Progress): RDMA/hns: Rename the functions used inside creating cq
- (In Progress): RDMA/hns: Redefine the member of hns_roce_cq struct
- (In Progress): RDMA/hns: Redefine interfaces used in creating cq
- (In Progress): IB/umem: remove the dmasync argument to ib_umem_get
- (In Progress): RDMA/hns: Modify appropriate printings
- (In Progress): RDMA/hns: Fix non-standard error codes
- (In Progress): RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
- (In Progress): RDMA/hns: Simplify doorbell initialization code
- (In Progress): RDMA/hns: Replace not intuitive function/macro names
- (In Progress): RDMA/hns: Modify fields of struct hns_roce_srq
- (In Progress): RDMA/hns: Delete unnecessary uar from hns_roce_cq
- (In Progress): RDMA/hns: Remove unnecessary structure hns_roce_sqp
- (In Progress): RDMA/hns: Delete unnecessary variable max_post
- (In Progress): RDMA/hns: Remove unsupported modify_port callback
- (In Progress): RDMA: Connect between the mmap entry and the umap_priv 
structure
+ (Fix committed): RDMA/hns: Delete unnecessary callback functions for cq
+ (Fix committed): RDMA/hns: Rename the functions used inside creating cq
+ (Fix committed): RDMA/hns: Redefine the member of hns_roce_cq struct
+ (Fix committed): RDMA/hns: Redefine interfaces used in creating cq
+ (Fix committed): IB/umem: remove the dmasync argument to ib_umem_get
+ (Fix committed): RDMA/hns: Modify appropriate printings
+ (Fix committed): RDMA/hns: Fix non-standard error codes
+ (Fix committed): RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
+ (Fix committed): RDMA/hns: Simplify doorbell initialization code
+ (Fix committed): RDMA/hns: Replace not intuitive function/macro names
+ (Fix committed): RDMA/hns: Modify fields of struct hns_roce_srq
+ (Fix committed): RDMA/hns: Delete unnecessary uar from hns_roce_cq
+ (Fix committed): RDMA/hns: Remove unnecessary structure hns_roce_sqp
+ (Fix committed): RDMA/hns: Delete unnecessary variable max_post
+ (Fix committed): RDMA/hns: Remove unsupported modify_port callback
+ (Fix committed): RDMA: Connect between the mmap entry and the u

[Kernel-packages] [Bug 1859269] Re: [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE kernel branch

2020-03-24 Thread Ike Panhc
Thanks. focal kernel 5.4.0-20.24 works for me.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
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/1859269

Title:
  [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.5rc6 kernel. Pls backport ubuntu 
18.04.5 kernel version
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Delete unnecessary callback functions for cq
  RDMA/hns: Rename the functions used inside creating cq
  RDMA/hns: Redefine the member of hns_roce_cq struct
  RDMA/hns: Redefine interfaces used in creating cq
  IB/umem: remove the dmasync argument to ib_umem_get
  RDMA/hns: Modify appropriate printings
  RDMA/hns: Fix non-standard error codes
  RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  RDMA/hns: Simplify doorbell initialization code
  RDMA/hns: Replace not intuitive function/macro names
  RDMA/hns: Modify fields of struct hns_roce_srq
  RDMA/hns: Delete unnecessary uar from hns_roce_cq
  RDMA/hns: Remove unnecessary structure hns_roce_sqp
  RDMA/hns: Delete unnecessary variable max_post
  RDMA/hns: Remove unsupported modify_port callback
  RDMA: Connect between the mmap entry and the umap_priv structure
  RDMA/hns: Fix build error again
  RDMA/hns: Fix memory leak on 'context' on error return path
  RDMA/hns: Bugfix for qpc/cqc timer configuration
  RDMA/hns: Fix to support 64K page for srq
  RDMA/hns: Delete BITS_PER_BYTE redefinition
  RDMA/hns: Prevent undefined behavior in hns_roce_set_user_sq_size()
  RDMA/hns: Release qp resources when failed to destroy qp
  RDMA/hns: Fix a spelling mistake in a macro
  RDMA/hns: Modify return value of restrack functions
  RDMA/hns: Modify variable/field name from vlan to vlan_id
  RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que
  RDMA/hns: remove a redundant le16_to_cpu
  RDMA/hns: Prevent memory leaks of eq->buf_list
  RDMA/hns: Correct the value of srq_desc_size
  RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
  RDMA/hns: Add support for reporting wc as software mode
  RDMA/hns: Bugfix for posting a wqe with sge
  RDMA/hns: Fix coding style issues
  RDMA/hns: Replace custom macros HNS_ROCE_ALIGN_UP
  RDMA/hns: Remove redundant print information
  RDMA/hns: Delete unnessary parameters in hns_roce_v2_qp_modify()
  RDMA/hns: Update the value of qp type
  RDMA/hns: Remove unused function hns_roce_init_eq_table()
  RDMA/hns: Avoid printing address of mtt page
  RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs

  update 01120
  RDMA/hns: Get pf capabilities from firmware
  RDMA/hns: Add interfaces to get pf capabilities from firmware
  RDMA/hns: Remove some redundant variables related to capabilities
  RDMA/hns: Add support for extended atomic in userspace

  [Status]
  (Fix committed): RDMA/hns: Delete unnecessary callback functions for cq
  (Fix committed): RDMA/hns: Rename the functions used inside creating cq
  (Fix committed): RDMA/hns: Redefine the member of hns_roce_cq struct
  (Fix committed): RDMA/hns: Redefine interfaces used in creating cq
  (Fix committed): IB/umem: remove the dmasync argument to ib_umem_get
  (Fix committed): RDMA/hns: Modify appropriate printings
  (Fix committed): RDMA/hns: Fix non-standard error codes
  (Fix committed): RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  (Fix committed): RDMA/hns: Simplify doorbell initialization code
  (Fix committed): RDMA/hns: Replace not intuitive function/macro names
  (Fix committed): RDMA/hns: Modify fields of struct hns_roce_srq
  (Fix committed): RDMA/hns: Delete unnecessary uar from hns_roce_cq
  (Fix committed): RDMA/hns: Remove unnecessary structure hns_roce_sqp
  (Fix committed): RDMA/hns: Delete unnecessary variable max_post
  (Fix committed): RDMA/hns: Remove unsupported modify_port callback
  (Fix committed): RDMA: Connect between the mmap entry and the umap_priv 
structure
  (Fix committed): RDMA/hns: Fix build error again
  (Fix committed): RDMA/hns: Fix memory leak on 'context' on error return path
  (Fix committed): RDMA/hns: Bugfix for qpc/cqc timer configuration
  (Fix committed): RDMA/hns: Fix to support 64K page for srq
  (Fix committed): RDMA/hns: Delete BITS_PER_BYTE redefinition
  (Fix committed): RDMA/hns: Prevent undefined behavior in 
hns_roce_set_user_sq_size()
  (Fix committed): R

[Kernel-packages] [Bug 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-03-24 Thread Ike Panhc
** Changed in: kunpeng920/ubuntu-20.04
   Status: New => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: New => In Progress

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  New
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-03-24 Thread Ike Panhc
** Description changed:

  [Bug Description]
-  hns3 patchset have merged into mainline 5.6rc1 kernel.
+  hns3 patchset have merged into mainline 5.6rc1 kernel.
  
  [Steps to Reproduce]
-   1)
-   2)
-   3)
+   1)
+   2)
+   3)
  
  [Actual Results]
  
  [Expected Results]
  
  [Reproducibility]
  
  [Additional information]
-   (Firmware version, kernel version, affected hardware, etc. if required):
+   (Firmware version, kernel version, affected hardware, etc. if required):
  
  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre
+ 
+ [Status]
+ (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  New
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1864442] Re: dmaengine: hisilicon: Add Kunpeng DMA engine support

2020-03-24 Thread Ike Panhc
Thanks. focal kernel 5.4.0-20.24 works for me.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
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/1864442

Title:
  dmaengine: hisilicon: Add Kunpeng DMA engine support

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  This patch adds a driver for HiSilicon Kunpeng DMA engine. This DMA engine
  which is an PCIe iEP offers 30 channels, each channel has a send queue, a
  complete queue and an interrupt to help to do tasks. This DMA engine can do
  memory copy between memory blocks or between memory and device buffer

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  e9f08b65250d dmaengine: hisilicon: Add Kunpeng DMA engine support

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/dma?h=v5.6-rc1&id=e9f08b65250d73ab70e79e194813f52b8d306784

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864442/+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 1864950] Re: [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel branch

2020-03-27 Thread Ike Panhc
5 patches can be cherry-picked cleanly and in my branch for testing.

RDMA/hns: Stop doorbell update while qp state error
RDMA/hns: Use flush framework for the case in aeq
RDMA/hns: Initialize all fields of doorbells to zero
RDMA/hns: Delayed flush cqe process with workqueue
RDMA/hns: Add the workqueue framework for flush cqe handler

Please refer to my git branch for reference

https://kernel.ubuntu.com/git/ikepanhc/public.git/log/?h=kunpeng920_wip

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1864950

Title:
  [roce-0227]sync mainline kernel 5.6rc3  roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Incomplete
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Optimize eqe buffer allocation flow
  RDMA/hns: Cleanups of magic numbers
  RDMA/hns: fix spelling mistake: "attatch" -> "attach"
  RDMA/hns: Delayed flush cqe process with workqueue
  RDMA/hns: Add the workqueue framework for flush cqe handler
  RDMA/hns: Initialize all fields of doorbells to zero
  RDMA/hns: Optimize qp doorbell allocation flow
  RDMA/hns: Optimize kernel qp wrid allocation flow
  RDMA/hns: Optimize qp param setup flow
  RDMA/hns: Optimize qp buffer allocation flow
  RDMA/hns: Optimize qp number assign flow
  RDMA/hns: Optimize qp context create and destroy flow
  RDMA/hns: Optimize qp destroy flow
  RDMA/hns: Stop doorbell update while qp state error
  RDMA/hns: Use flush framework for the case in aeq
  RDMA/hns: Treat revision HIP08_A as a special case

  https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=wip
  /jgg-for-next

  RDMA/hns: Treat revision HIP08_A as a special case

  https://www.spinics.net/lists/linux-rdma/msg89428.html

  RDMA/hns: Support to set mininum depth of qp to 0
  https://patchwork.kernel.org/patch/11415067/

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864950/+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 1860401] Re: [sfc-0121]enable the HiSilicon v3xx SFC driver

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1860401

Title:
  [sfc-0121]enable the HiSilicon v3xx SFC driver

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Bug Description]
  enable the HiSilicon v3xx SFC driver 

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  MAINTAINERS: Add a maintainer for the HiSilicon v3xx SFC driver
  spi: Add HiSilicon v3xx SPI NOR flash controller driver
  mtd: spi-nor: Fix the writing of the Status Register on micron flashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1860401/+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 1863575] Re: [hns3-0217]sync mainline kernel 5.6rc1 hns3 patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1863575

Title:
  [hns3-0217]sync mainline kernel 5.6rc1 hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: fix a copying IPv6 address error in hclge_fd_get_flow_tuples()
  net: hns3: fix VF bandwidth does not take effect in some case
  net: hns3: add management table after IMP reset

  [Status]
  (Fix committed) 47327c9315b2 net: hns3: fix a copying IPv6 address error in 
hclge_fd_get_flow_tuples()
  (Fix committed) 19eb1123b4e9 net: hns3: fix VF bandwidth does not take effect 
in some case
  (Fix committed) d0db7ed39751 net: hns3: add management table after IMP reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1863575/+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 1867587] Re: [sas-0316]sync mainline kernel 5.6rc1 roce patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1867587

Title:
  [sas-0316]sync mainline kernel 5.6rc1 roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  SAS patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  scsi: hisi_sas: Rename hisi_sas_cq.pci_irq_mask
  scsi: hisi_sas: Add prints for v3 hw interrupt converge and automatic affinity
  scsi: hisi_sas: Modify the file permissions of trigger_dump to write only
  scsi: hisi_sas: Replace magic number when handle channel interrupt
  scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with 
spin_lock/spin_unlock
  scsi: hisi_sas: use threaded irq to process CQ interrupts

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867587/+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 1859261] Re: [hns3-0111]sync mainline kernel 5.5rc6 hns3 patchset into ubuntu HWE kernel branch Edit

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1859261

Title:
  [hns3-0111]sync mainline kernel 5.5rc6 hns3 patchset into ubuntu HWE
  kernel branch Edit

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.4rc5 kernel. Pls backport ubuntu 
18.04.5 kernel version
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: support tx-scatter-gather-fraglist feature
  net: hns3: add support for configuring VF MAC from the host
  net: hns3: add support for configuring bandwidth of VF on the host
  net: hns3: add support for setting VF trust
  net: hns3: add support for spoof check setting
  net: hns3: add support for setting VF link status on the host
  net: hns3: make array tick_array static, makes object smaller

  net: hns3: fix a wrong reset interrupt status mask
  net: hns3: cleanup of stray struct hns3_link_mode_mapping
  net: hns3: fix ETS bandwidth validation bug
  net: hns3: reallocate SSU' buffer size when pfc_en changes
  net: hns3: add compatible handling for MAC VLAN switch parameter configuration
  net: hns3: add compatible handling for command HCLGE_OPC_PF_RST_DONE
  net: hns3: remove unused macros
  net: hns3: Use the correct style for SPDX License Identifier
  net: hns3: cleanup byte order issues when printed
  net: hns3: cleanup some print format warning
  net: hns3: add or modify some comments
  net: hns3: optimize local variable initialization
  net: hns3: cleanup a format-truncation warning
  net: hns3: cleanup some coding style issues
  net: hns3: cleanup some magic numbers
  net: hns3: add struct netdev_queue debug info for TX timeout
  net: hns3: dump some debug information when reset fail
  treewide: Use sizeof_member() macro
  net: hns3: log and clear hardware error after reset complete
  net: hns3: do not allocate linear data for fraglist skb
  net: hns3: minor cleanup for hns3_handle_rx_bd()
  net: hns3: make struct hns3_enet_ring cacheline aligned
  net: hns3: introduce ring_to_netdev() in enet module
  net: hns3: minor optimization for barrier in IO path
  net: hns3: optimized MAC address in management table.
  net: hns3: remove struct hns3_nic_ring_data in hns3_enet module
  net: hns3: fix mis-counting IRQ vector numbers issue
    net: hns3: fix VF ID issue for setting VF VLAN
  net: hns3: fix a use after free problem in hns3_nic_maybe_stop_tx()
  net: hns3: fix for TX queue not restarted problem
   net: hns3: only print misc interrupt status when handling fails
  net: hns3: add a log for getting chain failure in 
hns3_nic_uninit_vector_data()
  net: hns3: add some VF VLAN information for command "ip link show"
  net: hns3: implement ndo_features_check ops for hns3 driver
  net: hns3: get FD rules location before dump in debugfs
  net: hns3: optimization for CMDQ uninitialization
  net: hns3: remove useless mutex vport_cfg_mutex in the struct hclge_dev
  net: hns3: check FE bit before calling hns3_add_frag()
  net: hns3: do not schedule the periodic task when reset fail
  net: hns3: allocate WQ with WQ_MEM_RECLAIM flag
  net: hns3: remove unnecessary work in hclgevf_main
  net: hns3: remove mailbox and reset work in hclge_main
  net: hns3: schedule hclgevf_service by using delayed workqueue
  net: hns3: refactor the notification scheme of PF reset
  net: hns3: refactor the procedure of VF FLR
  net: hns3: modify hclge_func_reset_sync_vf()'s return type to void
  net: hns3: enlarge HCLGE_RESET_WAIT_CNT
  net: hns3: refactor the precedure of PF FLR
  net: hns3: split hclgevf_reset() into preparing and rebuilding part
  net: hns3: split hclge_reset() into preparing and rebuilding part
  net: hns3: modify an unsuitable reset level for hardware error
  net: hns3: replace an unsuitable variable type in 
hclge_inform_reset_assert_to_vf()
  net: hns3: add protection when get SFP speed as 0
  net: hns3: modify the IRQ name of misc vectors
  net: hns3: modify an unsuitable log in hclge_map_ring_to_vector()
  net: hns3: modify the IRQ name of TQP vector
  net: hns3: re-organize vector handle
  net: hns3: add trace event support for HNS3 driver

  update 0120
  net: hns3: pad the short frame before sending to the hardware

  [Status]
  (Fix committed): net: hns3: support tx-scatter-gather-fraglist feature
  (Fix committed): net: hns3: add support for configuring VF MAC from the host
  (Fix committed): net: hns3: add support f

[Kernel-packages] [Bug 1859269] Re: [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1859269

Title:
  [roce-0111]sync mainline kernel 5.5rc6 roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.5rc6 kernel. Pls backport ubuntu 
18.04.5 kernel version
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Delete unnecessary callback functions for cq
  RDMA/hns: Rename the functions used inside creating cq
  RDMA/hns: Redefine the member of hns_roce_cq struct
  RDMA/hns: Redefine interfaces used in creating cq
  IB/umem: remove the dmasync argument to ib_umem_get
  RDMA/hns: Modify appropriate printings
  RDMA/hns: Fix non-standard error codes
  RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  RDMA/hns: Simplify doorbell initialization code
  RDMA/hns: Replace not intuitive function/macro names
  RDMA/hns: Modify fields of struct hns_roce_srq
  RDMA/hns: Delete unnecessary uar from hns_roce_cq
  RDMA/hns: Remove unnecessary structure hns_roce_sqp
  RDMA/hns: Delete unnecessary variable max_post
  RDMA/hns: Remove unsupported modify_port callback
  RDMA: Connect between the mmap entry and the umap_priv structure
  RDMA/hns: Fix build error again
  RDMA/hns: Fix memory leak on 'context' on error return path
  RDMA/hns: Bugfix for qpc/cqc timer configuration
  RDMA/hns: Fix to support 64K page for srq
  RDMA/hns: Delete BITS_PER_BYTE redefinition
  RDMA/hns: Prevent undefined behavior in hns_roce_set_user_sq_size()
  RDMA/hns: Release qp resources when failed to destroy qp
  RDMA/hns: Fix a spelling mistake in a macro
  RDMA/hns: Modify return value of restrack functions
  RDMA/hns: Modify variable/field name from vlan to vlan_id
  RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que
  RDMA/hns: remove a redundant le16_to_cpu
  RDMA/hns: Prevent memory leaks of eq->buf_list
  RDMA/hns: Correct the value of srq_desc_size
  RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
  RDMA/hns: Add support for reporting wc as software mode
  RDMA/hns: Bugfix for posting a wqe with sge
  RDMA/hns: Fix coding style issues
  RDMA/hns: Replace custom macros HNS_ROCE_ALIGN_UP
  RDMA/hns: Remove redundant print information
  RDMA/hns: Delete unnessary parameters in hns_roce_v2_qp_modify()
  RDMA/hns: Update the value of qp type
  RDMA/hns: Remove unused function hns_roce_init_eq_table()
  RDMA/hns: Avoid printing address of mtt page
  RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs

  update 01120
  RDMA/hns: Get pf capabilities from firmware
  RDMA/hns: Add interfaces to get pf capabilities from firmware
  RDMA/hns: Remove some redundant variables related to capabilities
  RDMA/hns: Add support for extended atomic in userspace

  [Status]
  (Fix committed): RDMA/hns: Delete unnecessary callback functions for cq
  (Fix committed): RDMA/hns: Rename the functions used inside creating cq
  (Fix committed): RDMA/hns: Redefine the member of hns_roce_cq struct
  (Fix committed): RDMA/hns: Redefine interfaces used in creating cq
  (Fix committed): IB/umem: remove the dmasync argument to ib_umem_get
  (Fix committed): RDMA/hns: Modify appropriate printings
  (Fix committed): RDMA/hns: Fix non-standard error codes
  (Fix committed): RDMA/hns: Modify hns_roce_hw_v2_get_cfg to simplify the code
  (Fix committed): RDMA/hns: Simplify doorbell initialization code
  (Fix committed): RDMA/hns: Replace not intuitive function/macro names
  (Fix committed): RDMA/hns: Modify fields of struct hns_roce_srq
  (Fix committed): RDMA/hns: Delete unnecessary uar from hns_roce_cq
  (Fix committed): RDMA/hns: Remove unnecessary structure hns_roce_sqp
  (Fix committed): RDMA/hns: Delete unnecessary variable max_post
  (Fix committed): RDMA/hns: Remove unsupported modify_port callback
  (Fix committed): RDMA: Connect between the mmap entry and the umap_priv 
structure
  (Fix committed): RDMA/hns: Fix build error again
  (Fix committed): RDMA/hns: Fix memory leak on 'context' on error return path
  (Fix committed): RDMA/hns: Bugfix for qpc/cqc timer configuration
  (Fix committed): RDMA/hns: Fix to support 64K page for srq
  (Fix committed): RDMA/hns: Delete BITS_PER_BYTE redefinition
  (Fix committed): RDMA/hns: Prevent undefined behavior in 
hns_roce_set_user_sq_size()
  (Fix committed): RDMA/hns: Release qp resources when failed to

[Kernel-packages] [Bug 1864442] Re: dmaengine: hisilicon: Add Kunpeng DMA engine support

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1864442

Title:
  dmaengine: hisilicon: Add Kunpeng DMA engine support

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  This patch adds a driver for HiSilicon Kunpeng DMA engine. This DMA engine
  which is an PCIe iEP offers 30 channels, each channel has a send queue, a
  complete queue and an interrupt to help to do tasks. This DMA engine can do
  memory copy between memory blocks or between memory and device buffer

  [Steps to Reproduce]
  1)
  2)
  3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  e9f08b65250d dmaengine: hisilicon: Add Kunpeng DMA engine support

  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/dma?h=v5.6-rc1&id=e9f08b65250d73ab70e79e194813f52b8d306784

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864442/+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 1861976] Re: [acc-0205]sync mainline kernel 5.5rc6 acc patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1861976

Title:
  [acc-0205]sync mainline kernel 5.5rc6 acc patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Bug Description]
  acc patchset have merged into mainline 5.5rc6 kernel. 
  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon - fix spelling mistake "disgest" -> "digest"
  crypto: hisilicon - add branch prediction macro
  crypto: hisilicon - adjust hpre_crt_para_get
  crypto: hisilicon - Fixed some tiny bugs of HPRE
  crypto: hisilicon - Bugfixed tfm leak
  crypto: hisilicon - Add aead support on SEC2
  crypto: hisilicon - redefine skcipher initiation
  crypto: hisilicon - Add branch prediction macro
  crypto: hisilicon - Add callback error check
  crypto: hisilicon - Adjust some inner logic
  crypto: hisilicon - Update QP resources of SEC V2
  crypto: hisilicon - Update some names on SEC V2
  crypto: hisilicon - fix print/comment of SEC V2
  crypto: hisilicon - Update debugfs usage of SEC V2

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1861976/+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 1861972] Re: [hns3-0205]sync mainline kernel 5.5rc7 hns3 patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
** Changed in: kunpeng920/upstream-kernel
   Status: Fix Committed => Fix Released

-- 
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/1861972

Title:
  [hns3-0205]sync mainline kernel 5.5rc7 hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.4rc7 kernel.
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  (Fix committed) net: hns3: cleanup some coding style issue
  (Fix committed) net: hns3: remove redundant print on ENOMEM
  (Fix committed) net: hns3: delete unnecessary blank line and space for cleanup
  (Fix committed) net: hns3: rewrite a log in hclge_put_vector()
  (Fix committed) net: hns3: refine the input parameter 'size' for snprintf()
  (Fix committed) net: hns3: move duplicated macro definition into header
  (Fix committed) net: hns3: set VF's default reset_type to HNAE3_NONE_RESET
  (Fix committed) net: hns3: do not reuse pfmemalloc pages
  (Fix committed) net: hns3: limit the error logging in the hns3_clean_tx_ring()
  (Fix committed) net: hns3: replace snprintf with scnprintf in 
hns3_update_strings
  (Fix committed) net: hns3: replace snprintf with scnprintf in 
hns3_dbg_cmd_read
  (Fix committed) net: hns3: pad the short frame before sending to the hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1861972/+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 1867587] Re: [sas-0316]sync mainline kernel 5.6rc1 roce patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
Patches sent. https://lists.ubuntu.com/archives/kernel-
team/2020-March/108623.html

** Tags removed: ikeradar

-- 
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/1867587

Title:
  [sas-0316]sync mainline kernel 5.6rc1 roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  SAS patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  scsi: hisi_sas: Rename hisi_sas_cq.pci_irq_mask
  scsi: hisi_sas: Add prints for v3 hw interrupt converge and automatic affinity
  scsi: hisi_sas: Modify the file permissions of trigger_dump to write only
  scsi: hisi_sas: Replace magic number when handle channel interrupt
  scsi: hisi_sas: replace spin_lock_irqsave/spin_unlock_restore with 
spin_lock/spin_unlock
  scsi: hisi_sas: use threaded irq to process CQ interrupts

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867587/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-03-30 Thread Ike Panhc
4 patches sent. https://lists.ubuntu.com/archives/kernel-
team/2020-March/108623.html

** Description changed:

  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.
  
  [Steps to Reproduce]
    1)
    2)
    3)
  
  [Actual Results]
  
  [Expected Results]
  
  [Reproducibility]
  
  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):
  
  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre
  
  [Status]
+ (In progress) net: hns3: clear port base VLAN when unload PF
+ (In progress) net: hns3: fix RMW issue for VLAN filter switch
+ (In progress) net: hns3: fix VF VLAN table entries inconsistent issue
+ (In progress) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  New
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (In progress) net: hns3: clear port base VLAN when unload PF
  (In progress) net: hns3: fix RMW issue for VLAN filter switch
  (In progress) net: hns3: fix VF VLAN table entries inconsistent issue
  (In progress) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1867117] Re: Remove the iw_cxgb3 module from kernel

2020-03-30 Thread Ike Panhc
** Changed in: linux (Ubuntu)
   Status: In Progress => Won't Fix

-- 
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/1867117

Title:
  Remove the iw_cxgb3 module from kernel

Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  Upstream commit 30e0f6cf5acb39cd04316d1eecbf4c6087c7ee02

  iw_cxgb3 is removed from kernel as the corresponding HW Chelsio T3 has
  reached EOL. Since we won't have any support and update from upstream,
  I believe to remove from focal kernel is also a good idea.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867117/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-03-31 Thread Ike Panhc
More patches landed in mainline kernel

7b8fda64b29d4 net: hns3: reject unsupported coalescing params
fbdc4d79fcc2e net: hns3: delete unnecessary logs after kzalloc fails
8de91e92070b5 net: hns3: synchronize some print relating to reset issue
77ba415d19201 net: hns3: print out command code when dump fails in debugfs
e45afb396e233 net: hns3: print out status register when VF receives unknown 
source interrupt
9091367037d3e net: hns3: add a check before PF inform VF to reset
01c45c521a5aa net: hns3: delete some reduandant code
89a85559302f4 net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
4960cabff63e0 net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
72fa490480ce5 net: hns3: fix some mixed type assignment
89ec9485282a3 net: hns3: add missing help info for QS shaper in debugfs
ded45d406ca73 net: hns3: add support for dump MAC ID and loopback status in 
debugfs
a8adbb8a91a4c net: hns3: add enabled TC numbers and DWRR weight info in debugfs
2d3db26d78805 net: hns3: modify an unsuitable print when setting unknown duplex 
to fibre

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  New
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (In progress) net: hns3: clear port base VLAN when unload PF
  (In progress) net: hns3: fix RMW issue for VLAN filter switch
  (In progress) net: hns3: fix VF VLAN table entries inconsistent issue
  (In progress) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1853964] Re: [hns-1126]net: hns3: make hclge_service use delayed workqueue

2020-04-01 Thread Ike Panhc
** Tags added: ikeradar

-- 
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/1853964

Title:
  [hns-1126]net: hns3: make hclge_service use delayed workqueue

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.10 series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  [Impact]
  System crashes when setting irq affinity and turning on/off on the interfaces

  [Fix]
  net: hns3: make hclge_service use delayed workqueue

  [Test]
  Writing smp_affinity_list and turning on/off in loop

  [Regression Potential]
  This patch only for hns3. Lowest risk for other platform/driver

  "[Bug Description]
  Currently, up/down port process may concurrently operate 
timer(del_timer_sync/add_timer_on) with setting IRQ affinity, and cause system 
breaking down.

  [Steps to Reproduce]
  set misc irp affinity of PF during up/down port by follow script:
  while((1))
  do
  for i in {0..31}; do echo $i > /proc/irq/678/smp_affinity_list; done
  done
  while((1))
  do
  ifconfig eth4 down
  ifconfig eth4 up
  done

  [Actual Results]
  System break down.
  kernel call trace

  [Expected Results]
  System run normally.

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch uses delayed work instead of using timers to trigger the
  hclge_serive."

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853964/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-04 Thread Ike Panhc
All patches has been merged into mainline kernel.

** Changed in: kunpeng920
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-20.04
   Status: Incomplete => In Progress

** Changed in: kunpeng920/upstream-kernel
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/ubuntu-20.04
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/upstream-kernel
   Status: In Progress => Fix Committed

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-04-04 Thread Ike Panhc
** Changed in: kunpeng920/ubuntu-20.04
   Status: Fix Committed => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Fix Committed => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/ubuntu-20.04
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920
   Status: Fix Committed => In Progress

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (In progress) net: hns3: clear port base VLAN when unload PF
  (In progress) net: hns3: fix RMW issue for VLAN filter switch
  (In progress) net: hns3: fix VF VLAN table entries inconsistent issue
  (In progress) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1864950] Re: [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel branch

2020-04-04 Thread Ike Panhc
All patches has been merged into mainline kernel.

** Changed in: kunpeng920/upstream-kernel
   Status: Incomplete => Fix Committed

** Changed in: kunpeng920/ubuntu-20.04
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-20.04
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Incomplete => In Progress

** Changed in: kunpeng920/ubuntu-18.04-hwe
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: kunpeng920
   Status: Incomplete => In Progress

-- 
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/1864950

Title:
  [roce-0227]sync mainline kernel 5.6rc3  roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Optimize eqe buffer allocation flow
  RDMA/hns: Cleanups of magic numbers
  RDMA/hns: fix spelling mistake: "attatch" -> "attach"
  RDMA/hns: Delayed flush cqe process with workqueue
  RDMA/hns: Add the workqueue framework for flush cqe handler
  RDMA/hns: Initialize all fields of doorbells to zero
  RDMA/hns: Optimize qp doorbell allocation flow
  RDMA/hns: Optimize kernel qp wrid allocation flow
  RDMA/hns: Optimize qp param setup flow
  RDMA/hns: Optimize qp buffer allocation flow
  RDMA/hns: Optimize qp number assign flow
  RDMA/hns: Optimize qp context create and destroy flow
  RDMA/hns: Optimize qp destroy flow
  RDMA/hns: Stop doorbell update while qp state error
  RDMA/hns: Use flush framework for the case in aeq
  RDMA/hns: Treat revision HIP08_A as a special case

  https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=wip
  /jgg-for-next

  RDMA/hns: Treat revision HIP08_A as a special case

  https://www.spinics.net/lists/linux-rdma/msg89428.html

  RDMA/hns: Support to set mininum depth of qp to 0
  https://patchwork.kernel.org/patch/11415067/

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864950/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-04-05 Thread Ike Panhc
Kernel oops when uacce loaded. Please see the attachment oops.txt for
details.

The test kernel is available at http://kernel.ubuntu.com/~ikepanhc/lp1867591
and the git branch is available at 
https://kernel.ubuntu.com/git/ikepanhc/public.git/commit/?h=kunpeng920_wip&id=10299705bb0bb45f8513b31fbad1f20b5b2627ef

** Attachment added: "oops.txt"
   
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+attachment/5347053/+files/oops.txt

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-04-05 Thread Ike Panhc
Patch "net: hns3: reject unsupported coalescing params" causes build
failure because no supported_coalesce_params in 5.4 kernel.

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (In progress) net: hns3: clear port base VLAN when unload PF
  (In progress) net: hns3: fix RMW issue for VLAN filter switch
  (In progress) net: hns3: fix VF VLAN table entries inconsistent issue
  (In progress) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-04-06 Thread Ike Panhc
Patches sent.

https://lists.ubuntu.com/archives/kernel-team/2020-April/108768.html

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre

  [Status]
  (Rejected] net: hns3: reject unsupported coalescing params
  (In progress) net: hns3: delete unnecessary logs after kzalloc fails
  (In progress) net: hns3: synchronize some print relating to reset issue
  (In progress) net: hns3: print out command code when dump fails in debugfs
  (In progress) net: hns3: print out status register when VF receives unknown 
source interrupt
  (In progress) net: hns3: add a check before PF inform VF to reset
  (In progress) net: hns3: delete some reduandant code
  (In progress) net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  (In progress) net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  (In progress) net: hns3: fix some mixed type assignment
  (In progress) net: hns3: add missing help info for QS shaper in debugfs
  (In progress) net: hns3: add support for dump MAC ID and loopback status in 
debugfs
  (In progress) net: hns3: add enabled TC numbers and DWRR weight info in 
debugfs
  (In progress) net: hns3: modify an unsuitable print when setting unknown 
duplex to fibre
  (Fix committed) net: hns3: clear port base VLAN when unload PF
  (Fix committed) net: hns3: fix RMW issue for VLAN filter switch
  (Fix committed) net: hns3: fix VF VLAN table entries inconsistent issue
  (Fix committed) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867586/+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 1864950] Re: [roce-0227]sync mainline kernel 5.6rc3 roce patchset into ubuntu HWE kernel branch

2020-04-06 Thread Ike Panhc
Patches sent.

https://lists.ubuntu.com/archives/kernel-team/2020-April/108768.html

-- 
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/1864950

Title:
  [roce-0227]sync mainline kernel 5.6rc3  roce patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  RDMA/hns: Optimize eqe buffer allocation flow
  RDMA/hns: Cleanups of magic numbers
  RDMA/hns: fix spelling mistake: "attatch" -> "attach"
  RDMA/hns: Delayed flush cqe process with workqueue
  RDMA/hns: Add the workqueue framework for flush cqe handler
  RDMA/hns: Initialize all fields of doorbells to zero
  RDMA/hns: Optimize qp doorbell allocation flow
  RDMA/hns: Optimize kernel qp wrid allocation flow
  RDMA/hns: Optimize qp param setup flow
  RDMA/hns: Optimize qp buffer allocation flow
  RDMA/hns: Optimize qp number assign flow
  RDMA/hns: Optimize qp context create and destroy flow
  RDMA/hns: Optimize qp destroy flow
  RDMA/hns: Stop doorbell update while qp state error
  RDMA/hns: Use flush framework for the case in aeq
  RDMA/hns: Treat revision HIP08_A as a special case

  https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=wip
  /jgg-for-next

  RDMA/hns: Treat revision HIP08_A as a special case

  https://www.spinics.net/lists/linux-rdma/msg89428.html

  RDMA/hns: Support to set mininum depth of qp to 0
  https://patchwork.kernel.org/patch/11415067/

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1864950/+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 1867586] Re: [hns3-0316]sync mainline kernel 5.6rc4 hns3 patchset into ubuntu HWE kernel branch

2020-04-06 Thread Ike Panhc
** Description changed:

  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.
  
  [Steps to Reproduce]
    1)
    2)
    3)
  
  [Actual Results]
  
  [Expected Results]
  
  [Reproducibility]
  
  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):
  
  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper in debugfs
  net: hns3: add support for dump MAC ID and loopback status in debugfs
  net: hns3: add enabled TC numbers and DWRR weight info in debugfs
  net: hns3: modify an unsuitable print when setting unknown duplex to fibre
  
  [Status]
- (In progress) net: hns3: clear port base VLAN when unload PF
- (In progress) net: hns3: fix RMW issue for VLAN filter switch
- (In progress) net: hns3: fix VF VLAN table entries inconsistent issue
- (In progress) net: hns3: fix "tc qdisc del" failed issue
+ (Rejected] net: hns3: reject unsupported coalescing params
+ (In progress) net: hns3: delete unnecessary logs after kzalloc fails
+ (In progress) net: hns3: synchronize some print relating to reset issue
+ (In progress) net: hns3: print out command code when dump fails in debugfs
+ (In progress) net: hns3: print out status register when VF receives unknown 
source interrupt
+ (In progress) net: hns3: add a check before PF inform VF to reset
+ (In progress) net: hns3: delete some reduandant code
+ (In progress) net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
+ (In progress) net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
+ (In progress) net: hns3: fix some mixed type assignment
+ (In progress) net: hns3: add missing help info for QS shaper in debugfs
+ (In progress) net: hns3: add support for dump MAC ID and loopback status in 
debugfs
+ (In progress) net: hns3: add enabled TC numbers and DWRR weight info in 
debugfs
+ (In progress) net: hns3: modify an unsuitable print when setting unknown 
duplex to fibre
+ (Fix committed) net: hns3: clear port base VLAN when unload PF
+ (Fix committed) net: hns3: fix RMW issue for VLAN filter switch
+ (Fix committed) net: hns3: fix VF VLAN table entries inconsistent issue
+ (Fix committed) net: hns3: fix "tc qdisc del" failed issue
  (Fix committed) net: hns3: fix a not link up issue when fibre port supports 
autoneg

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

-- 
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/1867586

Title:
  [hns3-0316]sync mainline kernel 5.6rc4  hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: clear port base VLAN when unload PF
  net: hns3: fix RMW issue for VLAN filter switch
  net: hns3: fix VF VLAN table entries inconsistent issue
  net: hns3: fix "tc qdisc del" failed issue
  net: hns3: reject unsupported coalescing params
  net: hns3: delete unnecessary logs after kzalloc fails
  net: hns3: synchronize some print relating to reset issue
  net: hns3: print out command code when dump fails in debugfs
  net: hns3: print out status register when VF receives unknown source interrupt
  net: hns3: add a check before PF inform VF to reset
  net: hns3: delete some reduandant code
  net: hns3: remove an unnecessary resetting check in 
hclge_handle_hw_ras_error()
  net: hns3: rename macro HCLGE_MAX_NCL_CONFIG_LENGTH
  net: hns3: fix some mixed type assignment
  net: hns3: fix a not link up issue when fibre port supports autoneg
  net: hns3: add missing help info for QS shaper i

[Kernel-packages] [Bug 1853964] Re: [hns-1126]net: hns3: make hclge_service use delayed workqueue

2020-04-26 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853964

Title:
  [hns-1126]net: hns3: make hclge_service use delayed workqueue

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  [Impact]
  System crashes when setting irq affinity and turning on/off on the interfaces

  [Fix]
  net: hns3: make hclge_service use delayed workqueue

  [Test]
  Writing smp_affinity_list and turning on/off in loop

  [Regression Potential]
  This patch only for hns3. Lowest risk for other platform/driver

  "[Bug Description]
  Currently, up/down port process may concurrently operate 
timer(del_timer_sync/add_timer_on) with setting IRQ affinity, and cause system 
breaking down.

  [Steps to Reproduce]
  set misc irp affinity of PF during up/down port by follow script:
  while((1))
  do
  for i in {0..31}; do echo $i > /proc/irq/678/smp_affinity_list; done
  done
  while((1))
  do
  ifconfig eth4 down
  ifconfig eth4 up
  done

  [Actual Results]
  System break down.
  kernel call trace

  [Expected Results]
  System run normally.

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch uses delayed work instead of using timers to trigger the
  hclge_serive."

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853964/+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 1853995] Re: [sas-1126]scsi: hisi_sas: Assign NCQ tag for all NCQ commands

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853995

Title:
  [sas-1126]scsi: hisi_sas: Assign NCQ tag for all NCQ commands

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  I/O error on blank Samsung SSD

  [Test Case]
  mkfs.ext4 on SSDs generates no I/O error

  [Fix]
  435a05cf8c00 scsi: hisi_sas: Assign NCQ tag for all NCQ commands

  [Regression Risk]
  Patch restricted to hisi_sas driver.

  
  "[Steps to Reproduce]
  mkfs.ext4 to the special SAMSUNG M27LH960, and some IO error

  [Actual Results]
  Io error when the first time of mkfs.ext4

  [  745.809462] hisi_sas_v3_hw :74:02.0: erroneous completion iptt=8 
task=975f5cdf dev id=1 CQ hdr: 0x41d03 0x10008 0x1 0x446 Error 
info: 0x0 0x0 0x1 0x0
  [  776.028794] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
  [  776.034612] sas: trying to find task 0x9656953a
  [  776.034613] sas: sas_scsi_find_task: aborting task 0x9656953a
  [  776.042785] sas: sas_scsi_find_task: task 0x9656953a is done
  [  776.042786] sas: sas_eh_handle_sas_errors: task 0x9656953a is done
  [  776.049635] sas: trying to find task 0x975f5cdf
  [  776.049636] sas: sas_scsi_find_task: aborting task 0x975f5cdf
  [  776.056053] sas: sas_scsi_find_task: task 0x975f5cdf is done
  [  776.056054] sas: sas_eh_handle_sas_errors: task 0x975f5cdf is done
  [  776.062900] sas: ata5: end_device-4:0: cmd error handler
  [  776.062914] sas: ata5: end_device-4:0: dev error handler
  [  776.062918] sas: ata6: end_device-4:1: dev error handler
  [  776.062920] ata5.00: exception Emask 0x0 SAct 0xc000 SErr 0x0 action 
0x6 frozen
  [  776.062924] sas: ata7: end_device-4:2: dev error handler
  [  776.062926] sas: ata8: end_device-4:3: dev error handler
  [  776.070548] ata5.00: failed command: SEND FPDMA QUEUED
  [  776.075669] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 30 ncq 
dma 512 out
   res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
  [  776.090638] ata5.00: status: { DRDY }
  [  776.094290] ata5.00: failed command: SEND FPDMA QUEUED
  [  776.099410] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 31 ncq 
dma 512 out
   res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
  [  776.114399] ata5.00: status: { DRDY }
  [  776.118051] ata5: hard resetting link
  [  776.123198] hisi_sas_v3_hw :74:02.0: phydown: phy0 phy_state=0xfe
  [  776.129609] hisi_sas_v3_hw :74:02.0: ignore flutter phy0 down
  [  776.282642] hisi_sas_v3_hw :74:02.0: phyup: phy0 link_rate=10(sata)
  [  776.289236] sas: sas_form_port: phy0 belongs to port0 already(1)!
  [  776.451784] ata5.00: configured for UDMA/133
  [  776.456043] ata5.00: device reported invalid CHS sector 0
  [  776.461423] ata5.00: device reported invalid CHS sector 0
  [  776.466807] ata5: EH complete
  [  776.469773] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
  [  776.498528] hisi_sas_v3_hw :74:02.0: erroneous completion iptt=15 
task=9656953a dev id=1 CQ hdr: 0x41d03 0x1000f 0x1 0x446 Error 
info: 0x0 0x0 0x1 0x0
  [  806.740789] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
  [  806.746604] sas: trying to find task 0x975f5cdf
  [  806.746605] sas: sas_scsi_find_task: aborting task 0x975f5cdf
  [  806.754732] sas: sas_scsi_find_task: task 0x975f5cdf is done
  [  806.754733] sas: sas_eh_handle_sas_errors: task 0x975f5cdf is done
  [  806.761582] sas: trying to find task 0x9656953a
  [  806.761584] sas: sas_scsi_find_task: aborting task 0x9656953a
  [  806.768002] sas: sas_scsi_find_task: task 0x9656953a is done
  [  806.768003] sas: sas_eh_handle_sas_errors: task 0x9656953a is done
  [  806.774852] sas: ata5: end_device-4:0: cmd error handler
  [  806.774864] sas: ata5: end_device-4:0: dev error handler
  [  806.774868] sas: ata6: end_device-4:1: dev error handler
  [  806.774870] ata5.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x6 
frozen
  [  806.774873] ata5.00: failed command: SEND FPDMA QUEUED
  [  806.774875] sas: ata7: end_device-4:2: dev error handler
  [  806.774878] sa

[Kernel-packages] [Bug 1853997] Re: [sas-1126]scsi: hisi_sas: Fix the conflict between device gone and host reset

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853997

Title:
  [sas-1126]scsi: hisi_sas: Fix the conflict between device gone and
  host reset

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Some SAS devices is gone when recovering

  [Test Case]
  No known test case, stress test on SAS deivce.

  [Fix]
  e74006edd0d4 scsi: hisi_sas: Fix the conflict between device gone and host 
reset

  [Regression Risk]
  Patch restricted to hisi_sas driver.

  
  "[Steps to Reproduce]
  1. Close all the PHYS;
  2. Inject error;
  3. Open one PHY;

  [Actual Results]
  Some disk will be lost

  [Expected Results]
  No disk will be lost

  [Reproducibility]
  occasionally

  [Additional information]
  Hardware: D06 CS
  Firmware: NA+I59
  Kernel: NA

  [Resolution]
  When init device for SAS disks, it will send TMF IO to clear disks. At that
  time TMF IO is broken by some operations such as injecting controller reset
  from HW RAs event, the TMF IO will be timeout, and at last device will be
  gone. Print is as followed:

  hisi_sas_v3_hw :74:02.0: dev[240:1] found
  ...
  hisi_sas_v3_hw :74:02.0: controller resetting...
  hisi_sas_v3_hw :74:02.0: phyup: phy7 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy0 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy1 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy2 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy3 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy6 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy5 link_rate=11
  hisi_sas_v3_hw :74:02.0: phyup: phy4 link_rate=11
  hisi_sas_v3_hw :74:02.0: controller reset complete
  hisi_sas_v3_hw :74:02.0: abort tmf: TMF task timeout and not done
  hisi_sas_v3_hw :74:02.0: dev[240:1] is gone
  sas: driver on host :74:02.0 cannot handle device 5000c500a75a860d,
  error:5

  To improve the reliability, retry TMF IO max of 3 times for SAS disks which
  is the same as softreset does."

  scsi: hisi_sas: Fix the conflict between device gone and host reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853997/+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 1853993] Re: [hns-1126]scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853993

Title:
  [hns-1126]scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init
  device

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Invalid
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Disks will be lost on SAS interface reset

  [Fix]
  scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

  [Test]
  Resetting SAS interfaces shall not lose any disks

  [Regression Potential]
  Patch only for hisi_sas. Lowest risk for other platform/driver.

  "[Steps to Reproduce]
  1. Close all the PHYS;
  2. Inject error;
  3. Open one PHY;

  [Actual Results]
  Some disk will be lost

  [Expected Results]
  No disk will be lost

  [Reproducibility]
  occasionally

  [Additional information]
  Hardware: D06 CS
  Firmware: NA
  Kernel: NA

  [Resolution]
  When init device for SAS disks, it will send TMF IO to clear disks. At that
  time TMF IO is broken by some operations such as injecting controller reset
  from HW RAs event, the TMF IO will be timeout, and at last device will be
  gone. Print is as followed:

  hisi_sas_v3_hw :74:02.0: dev[240:1] found
  ...
  hisi_sas_v3_hw :74:02.0: controller resetting...
  hisi_sas_v3_hw :74:02.0: phyup: phy7 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy0 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy1 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy2 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy3 link_rate=9(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy6 link_rate=10(sata)
  hisi_sas_v3_hw :74:02.0: phyup: phy5 link_rate=11
  hisi_sas_v3_hw :74:02.0: phyup: phy4 link_rate=11
  hisi_sas_v3_hw :74:02.0: controller reset complete
  hisi_sas_v3_hw :74:02.0: abort tmf: TMF task timeout and not done
  hisi_sas_v3_hw :74:02.0: dev[240:1] is gone
  sas: driver on host :74:02.0 cannot handle device 5000c500a75a860d,
  error:5

  To improve the reliability, retry TMF IO max of 3 times for SAS disks which
  is the same as softreset does."

  scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853993/+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 1853989] Re: [roce-1126]RDMA/hns: bugfix for slab-out-of-bounds when loading hip08 driver

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853989

Title:
  [roce-1126]RDMA/hns: bugfix for slab-out-of-bounds when loading hip08
  driver

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  [Impact]
KASAN reports slab-out-of-bounds in RDMA/hns driver

  [Testcase]
Enable KASAN and modprobe RDMA/hns driver

  [Regression Risk]
Only RDMA/hns driver modified. lowest risk to other drivers/platforms

  [Bug Description]
  KASAN: slab-out-of-bounds in hns_roce_table_mhop_put+0x584/0x828
  [hns_roce]
  Read of size 8 at addr 802185e08300 by task rmmod/270

  Call trace:
  dump_backtrace+0x0/0x1e8
  show_stack+0x14/0x20
  dump_stack+0xc4/0xfc
  print_address_description+0x60/0x270
  __kasan_report+0x164/0x1b8
  kasan_report+0xc/0x18
  __asan_load8+0x84/0xa8
  hns_roce_table_mhop_put+0x584/0x828 [hns_roce]
  hns_roce_table_put+0x174/0x1a0 [hns_roce]
  hns_roce_mr_free+0x124/0x210 [hns_roce]
  hns_roce_dereg_mr+0x90/0xb8 [hns_roce]
  ib_dealloc_pd_user+0x60/0xf0
  ib_mad_port_close+0x128/0x1d8
  ib_mad_remove_device+0x94/0x118
  remove_client_context+0xa0/0xe0
  disable_device+0xfc/0x1c0
  __ib_unregister_device+0x60/0xe0
  ib_unregister_device+0x24/0x38
  hns_roce_exit+0x3c/0x138 [hns_roce]
  __hns_roce_hw_v2_uninit_instance.isra.30+0x28/0x50 [hns_roce_hw_v2]
  hns_roce_hw_v2_uninit_instance+0x44/0x60 [hns_roce_hw_v2]
  hclge_uninit_client_instance+0x15c/0x238 [hclge]
  hnae3_uninit_client_instance+0x84/0xa8 [hnae3]
  hnae3_unregister_client+0x84/0x158 [hnae3]
  hns_roce_hw_v2_exit+0x14/0x20 [hns_roce_hw_v2]
  __arm64_sys_delete_module+0x20c/0x308
  el0_svc_handler+0xbc/0x210
  el0_svc+0x8/0xc

  Allocated by task 255:
  __kasan_kmalloc.isra.0+0xd0/0x180
  kasan_kmalloc+0xc/0x18
  __kmalloc+0x16c/0x328
  hns_roce_init_hem_table+0x20c/0x428 [hns_roce]
  hns_roce_init+0x214/0xfe0 [hns_roce]
  __hns_roce_hw_v2_init_instance+0x284/0x330 [hns_roce_hw_v2]
  hns_roce_hw_v2_init_instance+0xd0/0x1b8 [hns_roce_hw_v2]
  hclge_init_roce_client_instance+0x180/0x310 [hclge]
  hclge_init_client_instance+0xcc/0x508 [hclge]
  hnae3_init_client_instance.part.3+0x3c/0x80 [hnae3]
  hnae3_register_client+0x134/0x1a8 [hnae3]
  0x29c00014
  do_one_initcall+0x9c/0x3e0
  do_init_module+0xd4/0x2d8
  load_module+0x3284/0x3690
  __se_sys_init_module+0x274/0x308
  __arm64_sys_init_module+0x40/0x50
  el0_svc_handler+0xbc/0x210
  el0_svc+0x8/0xc

  Freed by task 0:
  (stack is not available)

  The buggy address belongs to the object at 802185e06300
  which belongs to the cache kmalloc-8k of size 8192
  The buggy address is located 0 bytes to the right of
  8192-byte region [802185e06300, 802185e08300)
  The buggy address belongs to the page:
  page:7fe008617800 refcount:1 mapcount:0 mapping:802340020e00 
index:0x0
  compound_mapcount: 0
  flags: 0x5fffe0010200(slab|head)
  raw: 5fffe0010200 dead0100 dead0200 802340020e00
  raw:  803e003e 0001 
  page dumped because: kasan: bad access detected
   Memory state around the buggy address:
  802185e08200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  802185e08280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  >802185e08300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
  ^
  802185e08380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
  802185e08400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ==
  Disabling lock debugging due to kernel taint

  [Steps to Reproduce]
  Enable KASAN and configure PAGE_SIZE to 64K, insmod hns roce driver and then 
rmmod it.

  [Actual Results]
  Call trace because of slab-out-of-bound.

  [Expected Results]
  Success

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06 CS
  Firmware: NA
  Kernel: NA

  [Resolution]
  Not configure eq->next when number of eq_buf is 1 in eq_mhop_alloc().

  RDMA/hns:

[Kernel-packages] [Bug 1853992] Re: [sas-1126]scsi: hisi_sas: Fix out of bound at debug_I_T_nexus_reset()

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853992

Title:
  [sas-1126]scsi: hisi_sas: Fix out of bound at debug_I_T_nexus_reset()

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Potential NULL-pointer dereference.

  [Test Case]
  No known test case, but the issue is clear from code reading.

  [Fix]
  445ee2de112a scsi: hisi_sas: Fix out of bound at debug_I_T_nexus_reset()

  [Regression Risk]
  Patch restricted to hisi_sas driver.


  [Bug Description]
  sas kasan test will produce this out bounds in sas module

  [Steps to Reproduce]
  1) enbale this kasn
  2)
  3)

  [Actual Results]
  30293.504016] sas: ata464: end_device-2:2:6: dev error handler
  [30293.504041] sas: ata465: end_device-2:2:7: dev error handler
  [30293.504059] sas: ata466: end_device-2:2:8: dev error handler
  [30293.538746] 
==
  [30293.550672] BUG: KASAN: slab-out-of-bounds in 
hisi_sas_debug_I_T_nexus_reset+0xcc/0x250
  [30293.558642] Read of size 8 at addr b72e47233540 by task 
kworker/u193:3/79165
  [30293.566004]
  [30293.567498] CPU: 14 PID: 79165 Comm: kworker/u193:3 Tainted: GB  O 
 5.1.0-rc1-g7a3fab8-dirty #1
  [30293.577196] Hardware name: Huawei TaiShan 2280 V2/BC82AMDC, BIOS 2280-V2 
CS V3.B010.01 06/21/2019
  [30293.586037] Workqueue: events_unbound async_run_entry_fn
  [30293.591331] Call trace:
  [30293.593770]  dump_backtrace+0x0/0x1f8
  [30293.597419]  show_stack+0x14/0x20
  [30293.600726]  dump_stack+0xc4/0xfc
  [30293.604032]  print_address_description+0x60/0x258
  [30293.608716]  kasan_report+0x164/0x1b8
  [30293.612366]  __asan_load8+0x84/0xa8
  [30293.615842]  hisi_sas_debug_I_T_nexus_reset+0xcc/0x250
  [30293.620961]  hisi_sas_I_T_nexus_reset+0xc4/0x170
  [30293.625562]  sas_ata_hard_reset+0x88/0x178
  [30293.629646]  ata_do_reset.constprop.6+0x80/0x90
  [30293.634160]  ata_eh_reset+0x71c/0x10e8
  [30293.637897]  ata_eh_recover+0x3d0/0x1a80
  [30293.641804]  ata_do_eh+0x50/0xd0
  [30293.645020]  ata_std_error_handler+0x78/0xa8
  [30293.649273]  ata_scsi_port_error_handler+0x288/0x930
  [30293.654216]  async_sas_ata_eh+0x68/0x90
  [30293.658040]  async_run_entry_fn+0x7c/0x1c0
  [30293.662121]  process_one_work+0x3c0/0x878
  [30293.666115]  worker_thread+0x70/0x670
  [30293.669762]  kthread+0x1b0/0x1b8
  [30293.672978]  ret_from_fork+0x10/0x18
  [30293.676541]
  [30293.678027] Allocated by task 16690:
  [30293.681593]  __kasan_kmalloc.isra.0+0xd4/0x188
  [30293.686018]  kasan_kmalloc+0xc/0x18
  [30293.689496]  __kmalloc_node_track_caller+0x5c/0x98
  [30293.694270]  devm_kmalloc+0x44/0xb8
  [30293.697746]  hisi_sas_v3_probe+0x2ec/0x698
  [30293.701828]  local_pci_probe+0x74/0xf0
  [30293.705562]  work_for_cpu_fn+0x2c/0x48
  [30293.709300]  process_one_work+0x3c0/0x878
  [30293.713294]  worker_thread+0x400/0x670
  [30293.717027]  kthread+0x1b0/0x1b8
  [30293.720241]  ret_from_fork+0x10/0x18
  [30293.723801]
  [30293.725287] Freed by task 16227:
  [30293.728503]  __kasan_slab_free+0x108/0x210
  [30293.732583]  kasan_slab_free+0x10/0x18
  [30293.736318]  kfree+0x74/0x150
  [30293.739276]  devres_free+0x34/0x48
  [30293.742665]  devres_release+0x38/0x60
  [30293.746313]  devm_pinctrl_put+0x34/0x58
  [30293.750136]  pinctrl_bind_pins+0x164/0x248
  [30293.754214]  really_probe+0xc0/0x3b0
  [30293.75]  driver_probe_device+0x70/0x138
  [30293.761944]  __device_attach_driver+0xc0/0xe0
  [30293.766285]  bus_for_each_drv+0xcc/0x150
  [30293.770194]  __device_attach+0x154/0x1c0
  [30293.774101]  device_initial_probe+0x10/0x18
  [30293.778270]  bus_probe_device+0xec/0x100
  [30293.782178]  device_add+0x5f8/0x9b8
  [30293.785658]  scsi_sysfs_add_sdev+0xa4/0x310
  [30293.789825]  scsi_probe_and_add_lun+0xe60/0x1240
  [30293.794425]  __scsi_scan_target+0x1ac/0x780
  [30293.798591]  scsi_scan_target+0x134/0x140
  [30293.802586]  sas_rphy_add+0x1fc/0x2c8
  [30293.806234]  sas_probe_devices+0x10c/0x1e8
  [30293.810313]  sas_discover_domain+0x754/0x998
  [30293.814567]  process_one_work+0x3c0/0x878
  [30293.818560]  worker_thread+0x70/0x670
  [30293.822207]  kthread+0x1b0/0x1b8
  [30293.825423]  ret_from_fork+0x10/0x18
  [30293.828983]

[Kernel-packages] [Bug 1853983] Re: [hns-1126]net: hns3: revert to old channel when setting new channel num fail

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853983

Title:
  [hns-1126]net: hns3: revert to old channel when setting new channel
  num fail

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  With specific ethtool commands, ethernet does not work

  [Test Case]
  run VF on VM with 3G memory and load VF driver
  ethtool -G eth0 tx 3 rx 3
  ethtool -G eth0 tx 24 rx 24;ethtool -L eth0 combined 1
  ethtool -G eth0 tx 32760 rx 32760
  ethtool -L eth0 combined 32
  ethernet shall still be functional after these commands

  [Fix]
  3a5a5f06d4d2 net: hns3: revert to old channel when setting new channel num 
fail

  [Regression Risk]
  Patch restricted to hns3 driver.

  "[Bug Description]
  After setting new channel num, it needs free old ring memory and
  allocate new ring memory. If there is no enough memory and allocate
  new ring memory fail, the ring may initialize fail. To make sure
  the network interface can work normally, driver should revert the
  channel to the old configuration.

  [Steps to Reproduce]
  1.run VF on VM with 3G memory
  2.load VF driver
  3.ethtool -G eth0 tx 3 rx 3
  4.ethtool -G eth0 tx 24 rx 24;ethtool -L eth0 combined 1
  5.ethtool -G eth0 tx 32760 rx 32760
  6.ethtool -L eth0 combined 32
  7.ping

  [Actual Results]
  netdevice can not work

  [Expected Results]
  ping ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  Revert the channel to the old configuration when allocate new ring memory 
fail."

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853983/+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 1853984] Re: [hns-1126]net: hns3: fix port setting handle for fibre port

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1853984

Title:
  [hns-1126]net: hns3: fix port setting handle for fibre port

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Invalid
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  For hardware doesn't support use specified speed and duplex
  to negotiate, it's unnecessary to check and modify the port
  speed and duplex for fibre port when autoneg is on.

  [Test Case]
  `sudo ethtool -s eno1 autoneg off speed 10 duplex full`
  `sudo ethtool -s eno1 autoneg on`
  commands shall return 0

  [Fix]
  24283ece5a0f net: hns3: fix port setting handle for fibre port

  [Regression Risk]
  Patch restricted to hns3 driver.

  "[Bug Description]
  For hardware doesn't support use specified speed and duplex
  to negotiate, it's unnecessary to check and modify the port
  speed and duplex for fibre port when autoneg is on.

  [Steps to Reproduce]
  1.ethtool -s eth* autoneg off speed 10 duplex full
  2.ethtool -s eth* autoneg on

  [Actual Results]
  set autoneg on fail

  [Expected Results]
  set autoneg on ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  Not check and modify the port speed and duplex for fibre port when autoneg 
on."

  net: hns3: fix port setting handle for fibre port

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853984/+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 1854547] Re: 【sas-1130】scsi: sd: define variable dif as unsigned int instead of bool

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1854547

Title:
  【sas-1130】scsi: sd: define variable dif as unsigned int instead of
  bool

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Invalid
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Invalid
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Bug Description]
  DIF3 WILL not work when run fio test

  【Steps to Reproduce]
  1. Enable DIF/DIX for DIF3 disk
  2. fio test

  [Actual Results]
  IO error when running IO;
  [  781.032816] sd 5:0:0:0: [sdd] Disabling DIF Type 3 protection
  [  781.112250] sd 5:0:0:0: [sdd] tag#72 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.112287] sd 5:0:0:0: [sdd] tag#72 CDB: Read(10) 28 00 00 00 00 00 00 00 
08 00
  [  781.112305] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.118429] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.204243] sd 5:0:0:0: [sdd] tag#77 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.204252] sd 5:0:0:0: [sdd] tag#77 CDB: Read(10) 28 00 00 00 00 00 00 00 
08 00
  [  781.204257] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.210365] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.296238] sd 5:0:0:0: [sdd] tag#82 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.296266] sd 5:0:0:0: [sdd] tag#82 CDB: Read(10) 28 00 00 00 00 00 00 00 
08 00
  [  781.296276] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.302384] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.309207] ldm_validate_partition_table(): Disk read failed.
  [  781.392239] sd 5:0:0:0: [sdd] tag#87 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.392267] sd 5:0:0:0: [sdd] tag#87 CDB: Read(10) 28 00 00 00 00 00 00 00 
08 00
  [  781.392278] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.398386] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.484250] sd 5:0:0:0: [sdd] tag#92 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.484260] sd 5:0:0:0: [sdd] tag#92 CDB: Read(10) 28 00 00 00 00 00 00 00 
08 00
  [  781.484264] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.490371] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.576249] sd 5:0:0:0: [sdd] tag#97 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.576278] sd 5:0:0:0: [sdd] tag#97 CDB: Read(10) 28 00 00 00 00 00 00 00 
08 00
  [  781.576293] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.582399] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.668236] sd 5:0:0:0: [sdd] tag#102 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.668245] sd 5:0:0:0: [sdd] tag#102 CDB: Read(10) 28 00 00 00 00 00 00 
00 08 00
  [  781.668249] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.674354] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.681184] Dev sdd: unable to read RDB block 0
  [  781.764241] sd 5:0:0:0: [sdd] tag#121 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.764267] sd 5:0:0:0: [sdd] tag#121 CDB: Read(10) 28 00 00 00 00 00 00 
00 08 00
  [  781.764278] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.770386] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.856240] sd 5:0:0:0: [sdd] tag#126 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.856248] sd 5:0:0:0: [sdd] tag#126 CDB: Read(10) 28 00 00 00 00 00 00 
00 08 00
  [  781.856253] print_req_error: I/O error, dev sdd, sector 0 flags 0
  [  781.862362] Buffer I/O error on dev sdd, logical block 0, async page read
  [  781.948238] sd 5:0:0:0: [sdd] tag#131 FAILED Result: hostbyte=DID_ERROR 
driverbyte=DRIVER_OK
  [  781.948264] sd 5:0:0:0: [sdd] tag#131 CDB: Read(10) 28 00 00 00 00 18 00 
00 08 00
  [  781.948272] print_req_error: I/O error, dev sdd, sector 24 flags 0
  [  781.954467] Buffer I/O error on dev sdd, logical block 3, async page read
  [  782.120252]  sdd: unable to read partition table

  [Expected Results]
  IO running normally

  [Reproducibility]
  occasionally

  [Additional information]
  Hardware: D06 CS
  Firmware: NA+I59
  Kernel: NA

  [Resolution]
  Variable dif in function sd_setup_read_write_cmnd() is the return value of
  function scsi_host_dif_capable() which returns dif capability of disks.  If
  define it as

[Kernel-packages] [Bug 1855952] Re: scsi: hisi_sas: Check sas_port before using it

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1855952

Title:
  scsi: hisi_sas: Check sas_port before using it

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Potential NULL-pointer dereference.

  [Test Case]
  No known test case, but the issue is clear from code reading.

  [Fix]
  8c39673d5474b scsi: hisi_sas: Check sas_port before using it

  [Regression Risk]
  Patch restricted to hisi_sas driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1855952/+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 1854000] Re: [sas-1126]scsi: hisi_sas: Replace in_softirq() check in hisi_sas_task_exec()

2020-04-27 Thread Ike Panhc
In 5.3 HWE kernel already.

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Fix Committed => Fix Released

** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

** Changed in: kunpeng920/ubuntu-18.04-hwe
Milestone: ubuntu-18.04.5 => ubuntu-18.04.4-sru-2

-- 
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/1854000

Title:
  [sas-1126]scsi: hisi_sas: Replace in_softirq() check in
  hisi_sas_task_exec()

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-19.10 series:
  Won't Fix
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  "[Steps to Reproduce]
  1. run fio
  2“echo 1 > /sys/kernel/debug/hisi_sas/\:74\:02.0/trigger_dump”

  [Actual Results]
  [  448.405504] CPU: 27 PID: 13560 Comm: fio Tainted: GW 
5.3.0-rc4-gae89c9a3-dirty #1
  [  448.405506] Hardware name: Huawei TaiShan 2280 V2/BC82AMDC, BIOS 2280-V2 
CS V3.B080.01 09/19/2019
  [  448.405507] Call trace:
  [  448.405512]  dump_backtrace+0x0/0x150
  [  448.405513]  show_stack+0x24/0x30
  [  448.405516]  dump_stack+0xa0/0xc4
  [  448.405518]  __schedule_bug+0x68/0x88
  [  448.405520]  __schedule+0x4b8/0x548
  [  448.405521]  schedule+0x40/0xd0
  [  448.405523]  schedule_timeout+0x200/0x378
  [  448.405524]  __down+0x78/0xc8
  [  448.405526]  down+0x54/0x70
  [  448.405533]  hisi_sas_task_exec.isra.10+0x598/0x8d8 [hisi_sas_main]
  f=11): [M(11)][1[  448.405535]  hisi_sas_queue_command+0x28/0x38 
[hisi_sas_main]
  [  448.405541]  sas_queuecommand+0x168/0x1b0 [libsas]
  [  448.405544]  scsi_queue_rq+0x2ac/0x980
  [  448.405547]  blk_mq_dispatch_rq_list+0xb0/0x550
  [  448.405548]  blk_mq_do_dispatch_sched+0x6c/0x110
  [  448.405550]  blk_mq_sched_dispatch_requests+0x114/0x1d8
  [  448.405551]  __blk_mq_run_hw_queue+0xb8/0x130
  [  448.405552]  __blk_mq_delay_run_hw_queue+0x1c0/0x220
  [  448.405553]  blk_mq_run_hw_queue+0xb0/0x128
  [  448.405554]  blk_mq_sched_insert_requests+0xdc/0x208
  [  448.40]  blk_mq_flush_plug_list+0x1b4/0x3a0
  [  448.405557]  blk_flush_plug_list+0xdc/0x110
  [  448.405558]  blk_finish_plug+0x3c/0x50
  [  448.405560]  blkdev_write_iter+0xc0/0x130
  [  448.405562]  aio_write+0xec/0x1a0
  [  448.405563]  io_submit_one+0x4f4/0x8d8
  [  448.405564]  __arm64_sys_io_submit+0xdc/0x280
  [  448.405566]  el0_svc_common.constprop.0+0xe0/0x1e0
  [  448.405567]  el0_svc_handler+0x34/0x90
  [  448.405569]  el0_svc+0x10/0x14
  [  448.405571] CPU: 26 PID: 13559 Comm: fio Tainted: GW 
5.3.0-rc4-gae89c9a3-dirty #1
  [  448.405572] Hardware name: Huawei TaiShan 2280 V2/BC82AMDC, BIOS 2280-V2 
CS V3.B080.01 09/19/2019
  [  448.405572] Call trace:
  [  448.405574]  dump_backtrace+0x0/0x150
  [  448.405575]  show_stack+0x24/0x30
  [  448.405577]  dump_stack+0xa0/0xc4
  [  448.405578]  __schedule_bug+0x68/0x88
  [  448.405580]  __schedule+0x4b8/0x548
  [  448.405581]  schedule+0x40/0xd0
  [  448.405582]  schedule_timeout+0x200/0x378
  [  448.405583]  __down+0x78/0xc8
  [  448.405584]  down+0x54/0x70
  [  448.405587]  hisi_sas_task_exec.isra.10+0x598/0x8d8 [hisi_sas_main]
  [  448.405590]  hisi_sas_queue_command+0x28/0x38 [hisi_sas_main]
  [  448.405594]  sas_queuecommand+0x168/0x1b0 [libsas]
  [  448.405595]  scsi_queue_rq+0x2ac/0x980
  [  448.405596]  blk_mq_dispatch_rq_list+0xb0/0x550
  [  448.405598]  blk_mq_do_dispatch_sched+0x6c/0x110
  [  448.405599]  blk_mq_sched_dispatch_requests+0x114/0x1d8
  [  448.405600]  __blk_mq_run_hw_queue+0xb8/0x130
  [  448.405601]  __blk_mq_delay_run_hw_queue+0x1c0/0x220
  [  448.405602]  blk_mq_run_hw_queue+0xb0/0x128
  [  448.405603]  blk_mq_sched_insert_requests+0xdc/0x208
  [  448.405605]  blk_mq_flush_plug_list+0x1b4/0x3a0
  [  448.405606]  blk_flush_plug_list+0xdc/0x110
  [  448.405607]  blk_finish_plug+0x3c/0x50
  [  448.405608]  blkdev_write_iter+0xc0/0x130
  [  448.405610]  aio_write+0xec/0x1a0
  [  448.405611]  io_submit_one+0x4f4/0x8d8
  [  448.405612]  __arm64_sys_io_submit+0xdc/0x280
  [  448.405614]  el0_svc_common.constprop.0+0xe0/0x1e0
  [  448.405615]  el0_svc_handler+0x34/0x90
  [  448.405616]  el0_svc+0x10/0x14
  [  448.405620] CPU: 86 PID: 13534 Comm: fio Tainted: GW 
5.3.0-rc4-gae89c9a3-dirty #1
  1.7%][r=1163MiB/[  448.405621] Hardware name: Huawei TaiShan 2280 
V2/BC82AMDC, BIOS 2280-V2 CS V3.B080.01 09/19/2019
  [  448.405622] Call trace:
  [  448.405625]  dump_backtrace+0x0/0x150
  [  448.405626]  show_stack+0x24/0x30
  [  448.405631]  dump_stack+0xa0/0xc4
  [  448.405635]  __schedule_bug+0x68/0x88
  [  448.405636]  __schedule+0x4b8/0x548
  [  448.405637]  schedule+0x40/0xd0
  [  448.4056

[Kernel-packages] [Bug 1854550] Re: [scsi-1130]scsi: scsi_transport_sas: Fix memory leak when removing devices

2020-04-27 Thread Ike Panhc
Already in HWE 5.3 kernel

** Changed in: kunpeng920/ubuntu-18.04-hwe
Milestone: ubuntu-18.04.5 => ubuntu-18.04.4-sru-2

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: Fix Committed => Fix Released

** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1854550

Title:
  [scsi-1130]scsi: scsi_transport_sas: Fix memory leak when removing
  devices

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Invalid
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-19.10 series:
  Won't Fix
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  [Impact]
  kmemleak detects potential leaks and this is the fix

  [Test Case]
  Not known case, regression test on system with SAS host is needed.

  [Fix]
  82ea3e0e12 scsi: scsi_transport_sas: Fix memory leak when removing devices

  [Regression Risk]
  Patch is simple and reviewed on upstream. Since modification is for scsi 
subsystem not on a single driver, applying on focal gives us enough time for 
test.

  "[Steps to reproduce]
  Enable memleak, and do as follows:
  root@(none)$ echo 0 > 
/sys/devices/platform/HISI0162:01/host0/port-0:0/expander-0:0/port-0:0:10/phy-0:0:10/sas_phy/phy-0:0:10/enable
  [   79.857888] hisi_sas_v2_hw HISI0162:01: dev[7:1] is gone
  root@(none)$ echo scan > /sys/kernel/debug/kmemleak
  [  131.656603] kmemleak: 3 new suspected memory leaks (see 
/sys/kernel/debug/kmemleak)
  root@(none)$ more /sys/kernel/debug/kmemleak
  unreferenced object 0x041da5c66000 (size 256):
    comm ""kworker/u128:1"", pid 549, jiffies 4294898543 (age 113.728s)
    hex dump (first 32 bytes):
  00 5e c6 a5 1d 04 ff ff 01 00 00 00 00 00 00 00  .^..
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
    backtrace:
  [<(ptrval)>] kmem_cache_alloc+0x188/0x260
  [<(ptrval)>] bsg_setup_queue+0x48/0x1a8
  [<(ptrval)>] sas_rphy_add+0x108/0x2d0
  [<(ptrval)>] sas_probe_devices+0x168/0x208
  [<(ptrval)>] sas_discover_domain+0x660/0x9c8
  [<(ptrval)>] process_one_work+0x3f8/0x690
  [<(ptrval)>] worker_thread+0x70/0x6a0
  [<(ptrval)>] kthread+0x1b8/0x1c0
  [<(ptrval)>] ret_from_fork+0x10/0x18
  unreferenced object 0x041d8c075400 (size 128):
    comm ""kworker/u128:1"", pid 549, jiffies 4294898543 (age 113.728s)
    hex dump (first 32 bytes):
  00 40 25 97 1d 00 ff ff 00 00 00 00 00 00 00 00  .@%.
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
    backtrace:
  [<(ptrval)>] __kmalloc_node+0x1a8/0x2c8
  [<(ptrval)>] blk_mq_realloc_tag_set_tags.part.70+0x48/0xd8
  [<(ptrval)>] blk_mq_alloc_tag_set+0x1dc/0x530
  [<(ptrval)>] bsg_setup_queue+0xe8/0x1a8
  [<(ptrval)>] sas_rphy_add+0x108/0x2d0
  [<(ptrval)>] sas_probe_devices+0x168/0x208
  [<(ptrval)>] sas_discover_domain+0x660/0x9c8
  [<(ptrval)>] process_one_work+0x3f8/0x690
  [<(ptrval)>] worker_thread+0x70/0x6a0
  [<(ptrval)>] kthread+0x1b8/0x1c0
  [<(ptrval)>] ret_from_fork+0x10/0x18
  unreferenced object 0x041da5c65e00 (size 256):
    comm ""kworker/u128:1"", pid 549, jiffies 4294898543 (age 113.728s)
    hex dump (first 32 bytes):
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  
    backtrace:
  [<(ptrval)>] __kmalloc_node+0x1a8/0x2c8
  [<(ptrval)>] blk_mq_alloc_tag_set+0x254/0x530
  [<(ptrval)>] bsg_setup_queue+0xe8/0x1a8
  [<(ptrval)>] sas_rphy_add+0x108/0x2d0
  [<(ptrval)>] sas_probe_devices+0x168/0x208
  [<(ptrval)>] sas_discover_domain+0x660/0x9c8
  [<(ptrval)>] process_one_work+0x3f8/0x690
  [<(ptrval)>] worker_thread+0x70/0x6a0
  [<(ptrval)>] kthread+0x1b8/0x1c0
  [<(ptrval)>] ret_from_fork+0x10/0x18
  root@(none)$

  [solution]
  Fix by doing the queue removal in one place - in sas_rphy_remove() -
  instead of unregistering the queue in sas_rphy_remove() and finally
  cleaning up the queue in calling blk_cleanup_queue() from
  sas_end_device_release() or sas_expander_release().

  Function bsg_remove_queue() can handle a NULL pointer q, so remove the
  precheck in sas_rphy_remove().
  "
  scsi: scsi_transport_sas: Fix memory leak when removing devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1854550/+subs

[Kernel-packages] [Bug 1859569] Re: [hns3-0114]net: hns3: fix ETS bandwidth validation bug

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1859569

Title:
  [hns3-0114]net: hns3: fix ETS bandwidth validation bug

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Fix Released
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Impact]
  The corresponding ethernet interface could not be up again.

  [Fix]
  cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
  net: hns3: fix ETS bandwidth validation bug

  [Test Case]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG
  tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
  up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Regression Risk]
  Low, the patch is only specific to the hns3 driver.


  == Original Bug Description ==

  
  [Bug Description]
  When a TC's PFC is disabled or enabled, the RX private buffer for
  this TC need to be changed too, otherwise this may cause packet
  dropped problem.

  [Steps to Reproduce]
  1.lldpad -d
  2.lldptool -L -i eth0 adminStatus=rxtx
  3.lldptool -T -i eth0 -V ETS-CFG 
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets 
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
  4.down device
  5.up

  [Actual Results]
  up fail

  [Expected Results]
  up ok

  [Reproducibility]
  Inevitably

  [Additional information]
  Hardware: D06
  Firmware: NA
  Kernel: NA

  [Resolution]
  This patch fixes it by calling hclge_buffer_alloc to reallocate
  buffer when pfc_en changes.

  c2d568978193 net: hns3: fix ETS bandwidth validation bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859569/+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 1859743] Re: [tpm-0115]EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1859743

Title:
  [tpm-0115]EFI/stub: tpm: enable tpm eventlog function for ARM64
  platform

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  No TPM eventlog information in sysfs

  [Fix]
  d99c1ba6a73b EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

  [Test]
  ls -l /sys/kernel/security/tpm0/binary_bios_measurements

  [Regression Potential]
  Only affect arm64 system with TPM. Lowest risk for other platform.

  [Bug Description]

  this patch gets tpm eventlog information such as device boot status,event guid
  and so on, which will be from bios stage. it use "efi_retrieve_tpm2_eventlog"
  functions to get it for ARM64 platorm.

  [Steps to Reproduce]
  1) ls -l /sys/kernel/security/tpm0/binary_bios_measurements
  2)
  3)

  [Actual Results]
  '/sys/kernel/security/tpm0/binary_bios_measurements' no such file or directory

  [Expected Results]
  ok

  [Reproducibility]
  100%

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  d99c1ba6a73b EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859743/+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 1859744] Re: [spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error

2020-04-27 Thread Ike Panhc
** Changed in: kunpeng920
   Status: Fix Committed => Fix Released

-- 
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/1859744

Title:
  [spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error

Status in kunpeng920:
  Fix Released
Status in kunpeng920 ubuntu-18.04 series:
  Won't Fix
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Released
Status in kunpeng920 ubuntu-19.10 series:
  Fix Released
Status in kunpeng920 ubuntu-20.04 series:
  Fix Released
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Eoan:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  [Impact]
  Sometimes, TPM fails because SPI data error

  [Fix]
  bfda044533b2 spi: dw: use "smp_mb()" to avoid sending spi data error

  [Test]
  Reboot system few times and no TPM error message

  [Regression Potential]
  Only on SPI function. Already tested on focal kernel

  [Bug Description]

  Because of out-of-order execution about some CPU architecture,
  In this debug stage we find Completing spi interrupt enable ->
  prodrucing TXEI interrupt -> running "interrupt_transfer" function
  will prior to set "dw->rx and dws->rx_end" data, so this patch add
  memory barrier to enable dw->rx and dw->rx_end to be visible and
  solve to send SPI data error.
  eg:
  it will fix to this following low possibility error in testing environment
  which using SPI control to connect TPM Modules

  kernel: tpm tpm0: Operation Timed out
  kernel: tpm tpm0: tpm_relinquish_locality: : error -1

  [Steps to Reproduce]
  1) enable ima and tpm
  2)reboot this system
  3)

  [Actual Results]
  kernel: tpm tpm0: Operation Timed out
  kernel: tpm tpm0: tpm_relinquish_locality: : error -1

  [Expected Results]
  ok

  [Reproducibility]
  low probabilities

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  bfda044533b2 spi: dw: use "smp_mb()" to avoid sending spi data error

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859744/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-05-22 Thread Ike Panhc
Thanks for suggestion but I do not feel comfortable drop a line from a
patch before perfectly understanding everything in drivers. If Hisilicon
can help on backporting or test case, that will be much helpful.

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-05-25 Thread Ike Panhc
Cherry-pick patches in #21 and solve build issue as suggestion in #22.
The test kernel can boot without error in dmesg.

But bug 1867900 still exist with the test kernel.

I will provide kernel debs and git branch later.

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867591] Re: [ACC-0316]sync mainline kernel 5.6rc6 ACC patchset into ubuntu HWE kernel branch

2020-05-26 Thread Ike Panhc
Here are kernel debs: https://kernel.ubuntu.com/~ikepanhc/lp1867591.2/
and the kernel branch: 
https://kernel.ubuntu.com/git/ikepanhc/public.git/log/?h=lp1867591.2

-- 
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/1867591

Title:
  [ACC-0316]sync mainline kernel 5.6rc6  ACC patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  roce patchset have merged into mainline 5.6rc2 kernel.

  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon/sec2 - Add pbuffer mode for SEC driver
  crypto: hisilicon/sec2 - Update IV and MAC operation
  crypto: hisilicon/sec2 - Add iommu status check
  crypto: hisilicon/sec2 - Add workqueue for SEC driver.
  crypto: hisilicon - Use one workqueue per qm instead of per qp
  crypto: hisilicon - qm depends on UACCE
  crypto: hisilicon - remove redundant assignment of pointer ctx
  hisilicon - register zip engine to uacce
  hisilicon - Remove module_param uacce_mode
  uacce: add uacce driver
  uacce: Add documents for uacce
  crypto: hisilicon - Fix duplicate print when qm occur multiple errors
  crypto: hisilicon - Unify error detect process into qm
  crypto: hisilicon - Configure zip RAS error type
  crypto: hisilicon - Unify hardware error init/uninit into QM

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867591/+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 1867900] Re: CPU stress test fails with focal kernel

2020-06-04 Thread Ike Panhc
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Groovy)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Focal)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

** Changed in: linux (Ubuntu Groovy)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1867900

Title:
  CPU stress test fails with focal kernel

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Focal:
  Incomplete
Status in linux source package in Groovy:
  Incomplete

Bug description:
  [Impact]
  We have several crypto accelerators for Hisilicon 1620 but unfortunately one 
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2 
makes kernel to run crypto functions without accelerator.

  [Fix]
  Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.

  [Test]
  $ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz 
--times --af-alg 0
  $ echo $?

  [Regression Potential]
  This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other 
platform.

  ==
  [Bug Description]
  CPU stress test fails with focal kernel

  [Steps to Reproduce]
  1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
  2) sudo apt-add-repository -y ppa:hardware-certification/public
  3) sudo apt install -y canonical-certification-server
  4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
  5) Run CPU stress test with `sudo certify-advanced`

  [Actual Results]
  Failed with
  stress-ng: fail:  [6118] stress-ng-af-alg: bind failed, errno=19 (No such 
device)

  [Expected Results]
  Passed

  [Reproducibility]
  100%

  [Additional information]
  Same test with bionic-update kernel passed

  [Resolution]

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+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 1867900] Re: CPU stress test fails with focal kernel

2020-06-04 Thread Ike Panhc
** Changed in: linux (Ubuntu Focal)
   Status: Incomplete => In Progress

** Changed in: linux (Ubuntu Groovy)
   Status: Incomplete => In Progress

-- 
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/1867900

Title:
  CPU stress test fails with focal kernel

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  In Progress
Status in linux source package in Groovy:
  In Progress

Bug description:
  [Impact]
  We have several crypto accelerators for Hisilicon 1620 but unfortunately one 
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2 
makes kernel to run crypto functions without accelerator.

  [Fix]
  Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.

  [Test]
  $ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz 
--times --af-alg 0
  $ echo $?

  [Regression Potential]
  This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other 
platform.

  ==
  [Bug Description]
  CPU stress test fails with focal kernel

  [Steps to Reproduce]
  1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
  2) sudo apt-add-repository -y ppa:hardware-certification/public
  3) sudo apt install -y canonical-certification-server
  4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
  5) Run CPU stress test with `sudo certify-advanced`

  [Actual Results]
  Failed with
  stress-ng: fail:  [6118] stress-ng-af-alg: bind failed, errno=19 (No such 
device)

  [Expected Results]
  Passed

  [Reproducibility]
  100%

  [Additional information]
  Same test with bionic-update kernel passed

  [Resolution]

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+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 1867900] Re: CPU stress test fails with focal kernel

2020-06-04 Thread Ike Panhc
Email exchange with Yekai and I am told hisi_sec2 only support 2 threads
in default. We can enable more threads when modprobe. I will try to find
out the best way to enable more threads as default.

ubuntu@kreiken:~$ sudo modprobe -r hisi_sec2
ubuntu@kreiken:~$ sudo modprobe hisi_sec2 ctx_q_num=2 pf_q_num=1024
ubuntu@kreiken:~$ sudo stress-ng --aggressive --verify --timeout 330 
--metrics-brief --tz --times --af-alg 0
stress-ng: info:  [29055] dispatching hogs: 128 af-alg
stress-ng: info:  [29055] successful run completed in 330.18s (5 mins, 30.18 
secs)
stress-ng: info:  [29055] stressor   bogo ops real time  usr time  sys time 
  bogo ops/s   bogo ops/s
stress-ng: info:  [29055]   (secs)(secs)(secs)  
 (real time) (usr+sys time)
stress-ng: info:  [29055] af-alg111959371330.08299.71  10668.10 
   339193.31 10208.00
stress-ng: info:  [29055] thermal zone temperatures not available
stress-ng: info:  [29055] for a 330.18s run time:
stress-ng: info:  [29055]   42263.02s available CPU time
stress-ng: info:  [29055] 300.36s user time   (  0.71%)
stress-ng: info:  [29055]   10668.78s system time ( 25.24%)
stress-ng: info:  [29055]   10969.14s total time  ( 25.95%)
stress-ng: info:  [29055] load average: 138.79 94.92 43.18

-- 
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/1867900

Title:
  CPU stress test fails with focal kernel

Status in kunpeng920:
  Incomplete
Status in kunpeng920 ubuntu-18.04-hwe series:
  Incomplete
Status in kunpeng920 ubuntu-20.04 series:
  Incomplete
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  In Progress
Status in linux source package in Groovy:
  In Progress

Bug description:
  [Impact]
  We have several crypto accelerators for Hisilicon 1620 but unfortunately one 
of them is not mature and causes stress-ng tests failure. Disabling hisi_sec2 
makes kernel to run crypto functions without accelerator.

  [Fix]
  Disable CONFIG_CRYPTO_DEV_HISI_SEC2 temporarily until we have proper driver.

  [Test]
  $ sudo stress-ng --aggressive --verify --timeout 330 --metrics-brief --tz 
--times --af-alg 0
  $ echo $?

  [Regression Potential]
  This driver is only loaded on Hisilicon Hi1620 machines. Low risk for other 
platform.

  ==
  [Bug Description]
  CPU stress test fails with focal kernel

  [Steps to Reproduce]
  1) sudo apt-add-repository -y ppa:firmware-testing-team/ppa-fwts-stable
  2) sudo apt-add-repository -y ppa:hardware-certification/public
  3) sudo apt install -y canonical-certification-server
  4) Install focal kernel debs from https://launchpad.net/ubuntu/+source/linux
  5) Run CPU stress test with `sudo certify-advanced`

  [Actual Results]
  Failed with
  stress-ng: fail:  [6118] stress-ng-af-alg: bind failed, errno=19 (No such 
device)

  [Expected Results]
  Passed

  [Reproducibility]
  100%

  [Additional information]
  Same test with bionic-update kernel passed

  [Resolution]

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1867900/+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 1861976] Re: [acc-0205]sync mainline kernel 5.5rc6 acc patchset into ubuntu HWE kernel branch

2020-02-19 Thread Ike Panhc
Patch has been applied to focal/master-next

** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   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/1861976

Title:
  [acc-0205]sync mainline kernel 5.5rc6 acc patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
  acc patchset have merged into mainline 5.5rc6 kernel. 
  [Steps to Reproduce]
1)
2)
3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
(Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  crypto: hisilicon - fix spelling mistake "disgest" -> "digest"
  crypto: hisilicon - add branch prediction macro
  crypto: hisilicon - adjust hpre_crt_para_get
  crypto: hisilicon - Fixed some tiny bugs of HPRE
  crypto: hisilicon - Bugfixed tfm leak
  crypto: hisilicon - Add aead support on SEC2
  crypto: hisilicon - redefine skcipher initiation
  crypto: hisilicon - Add branch prediction macro
  crypto: hisilicon - Add callback error check
  crypto: hisilicon - Adjust some inner logic
  crypto: hisilicon - Update QP resources of SEC V2
  crypto: hisilicon - Update some names on SEC V2
  crypto: hisilicon - fix print/comment of SEC V2
  crypto: hisilicon - Update debugfs usage of SEC V2

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1861976/+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 1859743] Re: [tpm-0115]EFI/stub: tpm: enable tpm eventlog function for ARM64 platform

2020-02-19 Thread Ike Panhc
Patch has been applied to focal/master-next

https://lists.ubuntu.com/archives/kernel-team/2020-February/107598.html


** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
Milestone: None => ubuntu-18.04.5

-- 
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/1859743

Title:
  [tpm-0115]EFI/stub: tpm: enable tpm eventlog function for ARM64
  platform

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04 series:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-19.10 series:
  New
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]

  this patch gets tpm eventlog information such as device boot status,event guid
  and so on, which will be from bios stage. it use "efi_retrieve_tpm2_eventlog"
  functions to get it for ARM64 platorm.

  [Steps to Reproduce]
  1) ls -l /sys/kernel/security/tpm0/binary_bios_measurements
  2)
  3)

  [Actual Results]
  '/sys/kernel/security/tpm0/binary_bios_measurements' no such file or directory

  [Expected Results]
  ok

  [Reproducibility]
  100%

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]

  d99c1ba6a73b EFI/stub: tpm: enable tpm eventlog function for ARM64
  platform

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859743/+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 1859744] Re: [spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error

2020-02-19 Thread Ike Panhc
Patch has been applied to focal/master-next

https://lists.ubuntu.com/archives/kernel-team/2020-February/107598.html


** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   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/1859744

Title:
  [spi-0115]spi: dw: use "smp_mb()" to avoid sending spi data error

Status in kunpeng920:
  New
Status in kunpeng920 ubuntu-18.04 series:
  New
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Released
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]

  Because of out-of-order execution about some CPU architecture,
  In this debug stage we find Completing spi interrupt enable ->
  prodrucing TXEI interrupt -> running "interrupt_transfer" function
  will prior to set "dw->rx and dws->rx_end" data, so this patch add
  memory barrier to enable dw->rx and dw->rx_end to be visible and
  solve to send SPI data error.
  eg:
  it will fix to this following low possibility error in testing environment
  which using SPI control to connect TPM Modules

  kernel: tpm tpm0: Operation Timed out
  kernel: tpm tpm0: tpm_relinquish_locality: : error -1

  [Steps to Reproduce]
  1) enable ima and tpm
  2)reboot this system
  3)

  [Actual Results]
  kernel: tpm tpm0: Operation Timed out
  kernel: tpm tpm0: tpm_relinquish_locality: : error -1

  [Expected Results]
  ok

  [Reproducibility]
  low probabilities

  [Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  bfda044533b2 spi: dw: use "smp_mb()" to avoid sending spi data error

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1859744/+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 1861972] Re: [hns3-0205]sync mainline kernel 5.5rc7 hns3 patchset into ubuntu HWE kernel branch

2020-02-19 Thread Ike Panhc
Patch has been applied to focal/master-next

https://lists.ubuntu.com/archives/kernel-team/2020-February/107598.html

** Changed in: kunpeng920/ubuntu-20.04
   Status: In Progress => Fix Committed

** Changed in: kunpeng920/ubuntu-18.04-hwe
   Status: In Progress => Fix Committed

** Changed in: kunpeng920
   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/1861972

Title:
  [hns3-0205]sync mainline kernel 5.5rc7 hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  Fix Committed
Status in kunpeng920 ubuntu-18.04-hwe series:
  Fix Committed
Status in kunpeng920 ubuntu-20.04 series:
  Fix Committed
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.4rc7 kernel.
  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  (Fix committed) net: hns3: cleanup some coding style issue
  (In progress) net: hns3: remove redundant print on ENOMEM
  (In progress) net: hns3: delete unnecessary blank line and space for cleanup
  (In progress) net: hns3: rewrite a log in hclge_put_vector()
  (In progress) net: hns3: refine the input parameter 'size' for snprintf()
  (In progress) net: hns3: move duplicated macro definition into header
  (In progress) net: hns3: set VF's default reset_type to HNAE3_NONE_RESET
  (In progress) net: hns3: do not reuse pfmemalloc pages
  (In progress) net: hns3: limit the error logging in the hns3_clean_tx_ring()
  (In progress) net: hns3: replace snprintf with scnprintf in 
hns3_update_strings
  (In progress) net: hns3: replace snprintf with scnprintf in hns3_dbg_cmd_read
  (Fix committed) net: hns3: pad the short frame before sending to the hardware

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1861972/+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 1863575] Re: [hns3-0217]sync mainline kernel 5.6rc1 hns3 patchset into ubuntu HWE kernel branch

2020-02-19 Thread Ike Panhc
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Ike Panhc (ikepanhc)

-- 
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/1863575

Title:
  [hns3-0217]sync mainline kernel 5.6rc1 hns3 patchset into ubuntu HWE
  kernel branch

Status in kunpeng920:
  In Progress
Status in kunpeng920 ubuntu-18.04-hwe series:
  In Progress
Status in kunpeng920 ubuntu-20.04 series:
  In Progress
Status in kunpeng920 upstream-kernel series:
  Fix Committed
Status in linux package in Ubuntu:
  In Progress

Bug description:
  [Bug Description]
   hns3 patchset have merged into mainline 5.6rc1 kernel.

  [Steps to Reproduce]
    1)
    2)
    3)

  [Actual Results]

  [Expected Results]

  [Reproducibility]

  [Additional information]
    (Firmware version, kernel version, affected hardware, etc. if required):

  [Resolution]
  net: hns3: fix a copying IPv6 address error in hclge_fd_get_flow_tuples()
  net: hns3: fix VF bandwidth does not take effect in some case
  net: hns3: add management table after IMP reset

  [Status]
  (In progress) 47327c9315b2 net: hns3: fix a copying IPv6 address error in 
hclge_fd_get_flow_tuples()
  (In progress) 19eb1123b4e9 net: hns3: fix VF bandwidth does not take effect 
in some case
  (In progress) d0db7ed39751 net: hns3: add management table after IMP reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1863575/+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


  1   2   3   4   5   6   7   8   >