aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2022-06-30 10:02:41 +0000
committerMarc Zyngier <[email protected]>2022-07-01 14:27:23 +0000
commit5873ba559101fa37ad9764e79856f71bf54021aa (patch)
treee8e57298f8143343133a078fc0c370c1a8f1fe75 /drivers/fpga/microchip-spi.c
parentdt-bindings: interrupt-controller: Require trigger type for T-HEAD PLIC (diff)
downloadkernel-5873ba559101fa37ad9764e79856f71bf54021aa.tar.gz
kernel-5873ba559101fa37ad9764e79856f71bf54021aa.zip
irqchip/sifive-plic: Fix T-HEAD PLIC edge trigger handling
The T-HEAD PLIC ignores additional edges seen while an edge-triggered interrupt is being handled. Because of this behavior, the driver needs to complete edge-triggered interrupts in the .irq_ack callback before handling them, instead of in the .irq_eoi callback afterward. Otherwise, it could miss some interrupts. Reviewed-by: Lad Prabhakar <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Reviewed-by: Guo Ren <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions