diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-11-13 22:57:34 +0000 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-12-11 10:37:58 +0000 |
commit | 3f7bb2ec20ce07c02b2002349d256c91a463fcc5 (patch) | |
tree | 6ac71be7712de7854c078116debcefb34fbcd6aa /lib/test-kstrtox.c | |
parent | fce5423e4f431c71933d6c1f850b540a314aa6ee (diff) | |
download | linux-3f7bb2ec20ce07c02b2002349d256c91a463fcc5.tar.gz linux-3f7bb2ec20ce07c02b2002349d256c91a463fcc5.tar.bz2 linux-3f7bb2ec20ce07c02b2002349d256c91a463fcc5.zip |
PCI: dwc: Move interrupt acking into the proper callback
The write to the status register is really an ACK for the HW,
and should be treated as such by the driver. Let's move it to the
irq_ack() callback, which will prevent people from moving it around
in order to paper over other bugs.
Fixes: 8c934095fa2f ("PCI: dwc: Clear MSI interrupt status after it is handled,
not before")
Fixes: 7c5925afbc58 ("PCI: dwc: Move MSI IRQs allocation to IRQ domains
hierarchical API")
Link: https://lore.kernel.org/linux-pci/20181113225734.8026-1-marc.zyngier@arm.com/
Reported-by: Trent Piepho <tpiepho@impinj.com>
Tested-by: Niklas Cassel <niklas.cassel@linaro.org>
Tested-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Tested-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions