Re: [PATCH v5 9/9] KVM: selftests: Move memslot_perf_test off the 256M ELF load address
From: Sean Christopherson
Date: Fri Oct 02 2026 - 18:28:20 EST
On Tue, Sep 22, 2026, Ritesh Harjani (IBM) wrote:
> KVM selftests are built with -fno-PIE/-no-pie so the binary uses fixed
> load addresses.
> On powerpc64, GNU ld default links at 0x10000000 (256M) which is also
> the MEM_GPA, so the identity map trips with the error:
> PTE already present at level: 4 gva: 0x10000000 pte:0xc00000000002018f
>
> Put the test slots at 512M instead which is past the ELF.
> e.g. failure w/o this fix:
>
> ./memslot_perf_test -s 514
This, and any other adjustments/fixes to get common test functional on PPC needs
to land *before* the tests are enabled.