[PATCH v1 00/18] arm64/nmi: Support for FEAT_NMI

Lorenzo Pieralisi lpieralisi at kernel.org
Thu Nov 10 03:06:25 PST 2022


[...]

> > > Frankly, we are accumulating a bunch of half implemented features
> > > (SME, SPE) for which there is no KVM support, and I don't think this
> > > is the correct direction of travel.
> > 
> > Yeah, it's not great.  For NMIs Lorenzo is looking at the GIC side, I'll
> > let him clarify his schedule.  Here it's more the case that implementing
> > the architecture side without an interrupt controller isn't useful (and
> > certainly not usefully testable) than anything else - my expectation is
> > that it should work fine, though from your comments above it sounds like
> > there will be issues with the handling of PSTATE that I've not realised.
> 
> The vgic support should be rather trivial. It is only a matter of
> adding the required interrupt state, reworking the priority sorting
> and LR stuffing, handling the additional MMIO range and dealing with
> the GIC versioning. Trapping of ALLINT should be done at the same
> time.
> 
> If people cannot be bothered, I'll end-up doing it myself.

Apologies for the slow feedback.

I should be able to do it - I thought that we could start with sorting out
the host required changes but it makes sense to make the KVM changes at
the same time.

Lorenzo



More information about the linux-arm-kernel mailing list