** Description changed:

+ [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."

-- 
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:
  In Progress
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:
  In Progress
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:
  In Progress

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

Reply via email to