On Mon, Feb 26, 2024 at 08:12:11PM +1000, Nicholas Piggin wrote: > Not all powerpc CPUs provide MMU support. Define vm_available() that is > true by default but archs can override it. Use this to run VM tests. > > Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Cc: Thomas Huth <thuth@xxxxxxxxxx> > Cc: Andrew Jones <andrew.jones@xxxxxxxxx> > Cc: kvm@xxxxxxxxxxxxxxx > Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx> > --- > common/sieve.c | 14 ++++++++------ > lib/ppc64/asm/mmu.h | 1 - > lib/ppc64/mmu.c | 2 +- > lib/vmalloc.c | 7 +++++++ > lib/vmalloc.h | 2 ++ > 5 files changed, 18 insertions(+), 8 deletions(-) > Reviewed-by: Andrew Jones <andrew.jones@xxxxxxxxx>