[PATCH v1] KVM: arm64: selftests: Test pointer authentication support in KVM guest

Jing Zhang jingzhangos at google.com
Wed Aug 2 20:32:46 PDT 2023


On Wed, Aug 2, 2023 at 3:13 PM Sean Christopherson <seanjc at google.com> wrote:
>
> On Tue, Jul 25, 2023, Jing Zhang wrote:
> > Add a selftest to verify the support for pointer authentication in KVM
> > guest.
> >
> > Signed-off-by: Jing Zhang <jingzhangos at google.com>
>
> ...
>
> > +     /* Shouldn't be here unless the pac_corruptor didn't do its work */
> > +     GUEST_SYNC(FAIL);
>
> FYI, I'm fast tracking guest printf support along with a pile of GUEST_ASSERT()
> changes through kvm-x86/selftests[*].  At a glance, this test can probably use
> e.g. GUEST_FAIL() to make things easier to debug.
>
> [*] https://lore.kernel.org/all/20230729003643.1053367-1-seanjc@google.com

Thanks for the heads up, Sean!

Jing



More information about the linux-arm-kernel mailing list