[PATCH v7 1/3] KVM: selftests: arm64: Report set_id_reg reads of test registers as tests
Mark Brown
broonie at kernel.org
Mon Sep 28 09:29:24 PDT 2026
On Mon, Sep 28, 2026 at 04:26:57PM +0100, Lorenzo Stoakes (ARM) wrote:
> On Tue, Sep 01, 2026 at 07:50:01PM +0100, Mark Brown wrote:
> > + switch (id) {
> > + case SYS_MPIDR_EL1:
> > + return "MPIDR_EL1";
> > + case SYS_CLIDR_EL1:
> > + return "CLIDR_EL1";
> > + case SYS_CTR_EL0:
> > + return "CTR_EL0";
> > + case SYS_MIDR_EL1:
> > + return "MIDR_EL1";
> > + case SYS_REVIDR_EL1:
> > + return "REVIDR_EL1";
> > + case SYS_AIDR_EL1:
> > + return "AIDR_EL1";
> > + default:
> > + TEST_FAIL("Unknown register");
> > + }
> I guess these are for GUEST_REG_SYNC() registers, etc. that don't appear in the
> TEST_REG() list?
Yes.
> > @@ -828,7 +872,7 @@ int main(void)
> >
> > ksft_print_header();
> >
> > - test_cnt = 3 + MPAM_IDREG_TEST + MTE_IDREG_TEST;
> > + test_cnt = 3 + MPAM_IDREG_TEST + MTE_IDREG_TEST + GUEST_READ_TEST;
>
> I guess because you made things use TAP now?
Yes.
-------------- 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/20260928/a64d02a2/attachment.sig>
More information about the linux-arm-kernel
mailing list