Re: [PATCH 1/2] arm64: smp: Fix pseudo NMI issues w/ broken Mediatek FW

From: Marc Zyngier
Date: Fri Oct 06 2023 - 06:21:02 EST


On Thu, 05 Oct 2023 11:27:26 +0100,
Mark Rutland <mark.rutland@xxxxxxx> wrote:

> 3) Partial fix: make the ARM64_HAS_GIC_PRIO_MASKING cpucap depend on the
> absence of a "mediatek,broken-save-restore-fw" property in the DT. I believe
> we can check that in early_enable_pseudo_nmi() or can_use_gic_priorities().
>
> That'll avoid potential issues if/when we change the priorities used for
> pNMI (which is something I've been looking at).
>
> I'm happy with (3) if Marc is.

Definitely worth investigating if you have the bandwidth.

M.

--
Without deviation from the norm, progress is not possible.