]> git.ipfire.org Git - thirdparty/linux.git/commit
RISC-V: KVM: Skip THP support check during dirty logging
authorWang Yechao <wang.yechao255@zte.com.cn>
Thu, 26 Feb 2026 11:12:31 +0000 (19:12 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 6 Mar 2026 05:50:30 +0000 (11:20 +0530)
commitb342166cbcf96a8c846db96529e75dc2d2420d58
tree6ecfe78a10fb0088cf5c8c14317b2278a966278a
parent7120a9d9e0232ad3c661a100973c57328f462b80
RISC-V: KVM: Skip THP support check during dirty logging

When dirty logging is enabled, guest stage mappings are forced to
PAGE_SIZE granularity. Changing the mapping page size at this point
is incorrect.

Fixes: ed7ae7a34bea ("RISC-V: KVM: Transparent huge page support")
Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260226191231140_X1Juus7s2kgVlc0ZyW_K@zte.com.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/mmu.c