Thread (29 messages) flat view 29 messages, 7 authors, 9h ago
HOTtoday REVIEWED: 1 (0M)

1 review trailer.

[PATCH v2 09/20] KVM: selftests: Use the innermost page allocator API in s390's IRQ routing test

From: Sean Christopherson <seanjc@google.com>
Date: 2026-09-02 16:41:39
Also in: kvm, kvm-riscv, kvmarm, linux-riscv, lkml, loongarch
Subsystem: kernel selftest framework, kernel virtual machine (kvm), kernel virtual machine for s390 (kvm/s390), the rest · Maintainers: Shuah Khan, Shuah Khan, Paolo Bonzini, Christian Borntraeger, Janosch Frank, Claudio Imbrenda, Linus Torvalds

Use the quad-underscores page allocator in s390's IRQ routing test in
anticipation of dropping the @min_gpa param from the primary APIs.

Note, it's not entirely clear that the test *needs* to use a very magical
@min_gpa, i.e. it's possible a more elegant solution exists.  But that's a
problem for a different day.

No functional change intended.

Tested-by: Itaru Kitayama <redacted>
Signed-off-by: Sean Christopherson <seanjc@google.com>
---
 tools/testing/selftests/kvm/s390/irq_routing.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/s390/irq_routing.c b/tools/testing/selftests/kvm/s390/irq_routing.c
index f3839284ac08..cd26cc1aed80 100644
--- a/tools/testing/selftests/kvm/s390/irq_routing.c
+++ b/tools/testing/selftests/kvm/s390/irq_routing.c
@@ -36,7 +36,7 @@ static void test(void)
 	};
 
 	vm = vm_create_with_one_vcpu(&vcpu, guest_code);
-	mem = vm_phy_pages_alloc(vm, 2, 4096 * 42, 0);
+	mem = ____vm_phy_pages_alloc(vm, 2, 4096 * 42, 0, false, false);
 
 	routing = kvm_gsi_routing_create();
 	routing->nr = 1;
-- 
2.55.0.966.g6673acef38-goog

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help