]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Add VM_MODE_P47V47_16K VM mode
authorBibo Mao <maobibo@loongson.cn>
Tue, 20 May 2025 12:20:23 +0000 (20:20 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Tue, 20 May 2025 12:20:23 +0000 (20:20 +0800)
commita5460d191915e420c1c2bd52c6963d416eb9172a
treecc31f9465aa35a061accfcfc63a4ac84465f7695
parent05d70ebf74c9383a0a7eddc0d866efece7039b8c
KVM: selftests: Add VM_MODE_P47V47_16K VM mode

On LoongArch system, 16K page is used in general and GVA width is 47 bit
while GPA width is 47 bit also, here add new VM mode VM_MODE_P47V47_16K.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c