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

Doug Anderson
2023-10-06T22:18:12Z

Hi,

On Fri, Oct 6, 2023 at 3:20 AM Marc Zyngier <maz@kernel.org> wrote:
>
> On Thu, 05 Oct 2023 11:27:26 +0100,
> Mark Rutland <mark.rutland@arm.com> 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.

I made an attempt at it. See: