** 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853964
Title:
[hns-1126]net: hns3: make hclge_service use delayed workqueue
To manage notifications about this bug go to:
https://bugs.launchpad.net/kunpeng920/+bug/1853964/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs