Skip to content
Commit bd37d4b1 authored by Alexandru Elisei's avatar Alexandru Elisei
Browse files

arm/arm64: gic: Remove unnecessary synchronization with stats_reset()



The GICv3 driver executes a DSB barrier before sending an IPI, which
ensures that memory accesses have completed. This removes the need to
enforce ordering with respect to stats_reset() in the IPI handler.

For GICv2, we still need the DMB to ensure ordering between the read of the
GICC_IAR MMIO register and the read from the acked array. It also matches
what the Linux GICv2 driver does in gic_handle_irq().

Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
parent 2456844d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment