aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexandru Gagniuc <[email protected]>2019-03-22 19:36:51 -0500
committerBjorn Helgaas <[email protected]>2019-03-25 17:58:50 -0500
commit3e82a7f9031f204ac0f8dea494ac3870ad111261 (patch)
tree9577657dc21dde77eb92b9e96d5e3e99f8ebec72 /tools/perf/scripts/python
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff)
PCI/LINK: Supply IRQ handler so level-triggered IRQs are acked
A threaded IRQ with a NULL handler does not work with level-triggered interrupts. request_threaded_irq() will return an error: genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 16 pcie_bw_notification: probe of 0000:00:1b.0:pcie010 failed with error -22 For level interrupts we need to silence the interrupt before exiting the IRQ handler, so just clear the PCI_EXP_LNKSTA_LBMS bit there. Fixes: e8303bb7a75c ("PCI/LINK: Report degraded links via link bandwidth notification") Reported-by: Linus Torvalds <[email protected]> Reported-by: Borislav Petkov <[email protected]> Signed-off-by: Alexandru Gagniuc <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions