Re: [PATCH 7/8 v1.5] arm64: Always keep DAIF.[IF] in sync

From: Hector Martin
Date: Fri Feb 19 2021 - 12:25:20 EST


On 20/02/2021 02.21, Hector Martin wrote:
Apple SoCs (A11 and newer) have some interrupt sources hardwired to the
FIQ line. We implement support for this by simply treating IRQs and FIQs
the same way in the interrupt vectors.

To support these systems, the FIQ mask bit needs to be kept in sync with
the IRQ mask bit, so both kinds of exceptions are masked together. No
other platforms should be delivering FIQ exceptions right now, and we
already unmask FIQ in normal process context, so this should not have an
effect on other systems - if spurious FIQs were arriving, they would
already panic the kernel.

Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: James Morse <james.morse@xxxxxxx>
Cc: Marc Zyngier <maz@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Will Deacon <will@xxxxxxxxxx>

Argh, sorry, I botched the trhreading. Got caught by git send-email prompting me on the dry-run, but not after I added a --to... Resending.

--
Hector Martin (marcan@xxxxxxxxx)
Public Key: https://mrcn.st/pub