[PATCH v2 4/8] KVM: arm64: Add save/restore support for FPMR

Mark Brown broonie at kernel.org
Fri Aug 2 06:03:06 PDT 2024


On Thu, Aug 01, 2024 at 09:09:40PM +0100, Marc Zyngier wrote:
> Mark Brown <broonie at kernel.org> wrote:

> > nVHE is faulting for me, apparently on the kvm_has_fpmr() check though I
> > ran out of time to actually figure out where exactly it is going wrong.
> > I'll have a further poke tomorrow.  Backtrace below.

> Well, that's actually pretty obvious when you see the crash
> (FAR:ffffff880115cd1c spills the beans).

Ah, good tip.  My problems are usually more to do with traps than
pointer dereferences.

> I'll rename the variable if that avoids people getting their brains in
> a twist. Full potential fix below.

That's working well for me here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240802/56d11b0c/attachment.sig>


More information about the linux-arm-kernel mailing list