Thread (71 messages) 71 messages, 4 authors, 2024-03-05

Re: [kvm-unit-tests PATCH 25/32] common/sieve: Support machines without MMU

From: Andrew Jones <hidden>
Date: 2024-02-28 12:05:13
Also in: kvm

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@redhat.com>
Cc: Thomas Huth <redacted>
Cc: Andrew Jones <redacted>
Cc: kvm@vger.kernel.org
Signed-off-by: Nicholas Piggin <npiggin@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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help