[Hyper-V] linux-azure: PCI: hv: Do not sleep in compose_msi_msg()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-azure (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Marcelo Cerri | ||
linux-azure-edge (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Marcelo Cerri |
Bug Description
Part of the transparent SR-IOV series appears to be missing from 4.13.
PCI: hv: Do not sleep in compose_msi_msg()
The setup of MSI with Hyper-V host was sleeping with locks held. This
error is reported when doing SR-IOV hotplug with kernel built with lockdep:
BUG: sleeping function called from invalid context at kernel/
in_atomic(): 1, irqs_disabled(): 1, pid: 1405, name: ip
3 locks held by ip/1405:
#0: (rtnl_mutex)
#1: (&desc-
#2: (&irq_desc_
irq event stamp: 3476
hardirqs last enabled at (3475): [<ffffffff971b3
hardirqs last disabled at (3476): [<ffffffff97802
softirqs last enabled at (2446): [<ffffffffc05ef
softirqs last disabled at (2444): [<ffffffffc05ef
The workaround is to poll for host response instead of blocking on
completion.
Please add this to linux-azure on 4.13.
CVE References
Changed in linux-azure (Ubuntu): | |
status: | New → Confirmed |
Changed in linux-azure (Ubuntu Xenial): | |
assignee: | nobody → Marcelo Cerri (mhcerri) |
status: | New → In Progress |
Changed in linux-azure-edge (Ubuntu Xenial): | |
assignee: | nobody → Marcelo Cerri (mhcerri) |
Changed in linux-azure (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
https:/ /lists. ubuntu. com/archives/ kernel- team/2018- February/ 090022. html