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

Marc Zyngier maz at kernel.org
Mon Nov 14 03:11:57 PST 2022


On Thu, 10 Nov 2022 11:06:25 +0000,
Lorenzo Pieralisi <lpieralisi at kernel.org> wrote:
> 
> [...]
> 
> > > > 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.

I'm reviving the couple of hacks I had come up with a long while ago,
and will point you to them once I'm done. Feel free to take them or
ignore them altogether.

Cheers,

	M.

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



More information about the linux-arm-kernel mailing list