[kvm-unit-tests PATCH 25/32] common/sieve: Support machines without MMU
Andrew Jones
andrew.jones at linux.dev
Wed Feb 28 23:04:02 AEDT 2024
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 at redhat.com>
> Cc: Thomas Huth <thuth at redhat.com>
> Cc: Andrew Jones <andrew.jones at linux.dev>
> Cc: kvm at vger.kernel.org
> Signed-off-by: Nicholas Piggin <npiggin at 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.jones at linux.dev>
More information about the Linuxppc-dev
mailing list