aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorVictor Gu <[email protected]>2018-04-06 16:55:33 +0200
committerLorenzo Pieralisi <[email protected]>2018-04-16 11:48:32 +0100
commit3430f924a62905891c8fa9a3b97ea52007795bc3 (patch)
tree345ca464dfea4098798883dd4c96194e7963c6aa /lib/memory-notifier-error-inject.c
parent4fa3999ee672c54a5498ce98e20fe3fdf9c1cbb4 (diff)
PCI: aardvark: Use ISR1 instead of ISR0 interrupt in legacy irq mode
The Aardvark has two interrupts sets: - first set is bit[23:16] of PCIe ISR 0 register(RD0074840h) - second set is bit[11:8] of PCIe ISR 1 register(RD0074848h) Only one set should be used, while another set should be masked. The second set, ISR1, is more advanced, the Legacy INT_X status bit is asserted once Assert_INTX message is received, and de-asserted after Deassert_INTX message is received which matches what the driver is currently doing in the ->irq_mask() and ->irq_unmask() functions. The ISR0 requires additional work to deassert the interrupt, which the driver does not currently implement, therefore it needs fixing. Update the driver to use ISR1 register set, fixing current implementation. Fixes: 8c39d710363c1 ("PCI: aardvark: Add Aardvark PCI host controller driver") Link: https://bugzilla.kernel.org/show_bug.cgi?id=196339 Signed-off-by: Victor Gu <[email protected]> [Thomas: tweak commit log.] Signed-off-by: Thomas Petazzoni <[email protected]> [[email protected]: updated the commit log] Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Evan Wang <[email protected]> Reviewed-by: Nadav Haklai <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions