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 <pbonz...@redhat.com> > Cc: Thomas Huth <th...@redhat.com> > Cc: Andrew Jones <andrew.jo...@linux.dev> > Cc: k...@vger.kernel.org > Signed-off-by: Nicholas Piggin <npig...@gmail.com> > --- > 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.jo...@linux.dev>