[PATCH 1/1] KVM: arm64: Affinity level 3 support
Marc Zyngier
maz at kernel.org
Tue Feb 27 00:10:48 PST 2024
On Tue, 27 Feb 2024 02:27:08 +0000,
Wei-Lin Chang <r09922117 at csie.ntu.edu.tw> wrote:
>
> On Sun, 25 Feb 2024 11:19:05 +0000,
> Marc Zyngier <maz at kernel.org> wrote:
[...]
> > I can see multiple problems with this:
> >
> > - this is the host state, which shouldn't necessarily represent the
> > guest state. It should be possible to restore a VM that have a
> > different A3V value and still have the same guarantees. There is
> > however a small nit around ICV_CTLR_EL1.A3V, which would require
> > trapping to emulate the A3V bit.
> >
> > - this assumes GICv3, which is definitely not universal (we support
> > GICv2, for which no such restriction actually exists).
> >
> > Finally, I don't see VM save/restore being addressed here, and I
> > suspect it hasn't been looked at.
> >
> > Overall, this patch does too many things, and it should be split in
> > discrete changes. I also want to see an actual justification for Aff3
> > support. And if we introduce it, it must be fully virtualised
> > (independent of the A3V support on the host).
>
> Hi Marc,
>
> Really appreciate for the feedback. I think I understand most of your
> comments and agree with them. It appears that I don't fully understand
> the changes that I am doing with this. Thanks for explaining.
I hope this doesn't deter you from working on this feature. I'll
happily answer questions and discuss the above points.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list