Public bug reported:

== Comment: #0 - Guilherme Guaglianoni Piccoli - 2016-06-29 18:09:04 ==
When performing hotplug device addition to LPAR/guest with Ubuntu 16.04 (kernel 
4.4.0-28) we can observe a kernel oops if device makes use of 64-bit DDW DMA. 
The following stack trace was observed with QLogic NIC (bnx2x driver):


[  131.52] --- interrupt: 300 at enable_ddw+0x254/0x7c0
                   LR = enable_ddw+0x238/0x7c0
[  131.52] [c0000001fbc67480] [c000000000089b88] 
dma_set_mask_pSeriesLP+0x208/0x290
[  131.52] [c0000001fbc67510] [c0000000000246b8] dma_set_mask+0x58/0xf0
[  131.52] [c0000001fbc67540] [d00000000387a654] bnx2x_init_one+0x504/0x10f0 
[bnx2x]
[  131.52] [c0000001fbc67620] [c0000000005e4eac] local_pci_probe+0x6c/0x140
[  131.52] [c0000001fbc676b0] [c0000000005e5d58] pci_device_probe+0x168/0x200
[  131.52] [c0000001fbc67710] [c0000000006d2530] driver_probe_device+0x1f0/0x610
[  131.52] [c0000001fbc677a0] [c0000000006d2a6c] __driver_attach+0x11c/0x120
[  131.52] [c0000001fbc677e0] [c0000000006ceeac] bus_for_each_dev+0x9c/0x110
[  131.52] [c0000001fbc67830] [c0000000006d198c] driver_attach+0x3c/0x60
[  131.52] [c0000001fbc67860] [c0000000006d1278] bus_add_driver+0x2d8/0x390
[  131.52] [c0000001fbc678f0] [c0000000006d39dc] driver_register+0x9c/0x180
[  131.52] [c0000001fbc67960] [c0000000005e401c] __pci_register_driver+0x6c/0x90


This issue is solved upstream, by the following 3 patches (SHA-1 from Linus 
tree):

c2078d9ef60 ("Revert \"powerpc/eeh: Fix crash in eeh_add_device_early() on 
Cell\"")
8445a87f709 ("powerpc/iommu: Remove the dependency on EEH struct in DDW 
mechanism")
8a934efe943 ("powerpc/pseries: Fix PCI config address for DDW")


So, we want to request the addition of these fixes in Ubuntu Xenial kernel.
Besides, an old and obsolete non-upstream patch related to this issue can be 
removed (SHA-1 from Ubuntu xenial tree):

623aabd5d68 ("UBUNTU: SAUCE: powerpc/eeh: Validate arch in
eeh_add_device_early()")


Thanks,

Guilherme

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-143243 severity-high 
targetmilestone-inin16041

** Tags added: architecture-ppc64le bugnameltc-143243 severity-high
targetmilestone-inin16041

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599250

Title:
  Hotplug device addition issue - missing patches on Xenial kernel

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to