]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Use auto method with PTW feature
authorBibo Mao <maobibo@loongson.cn>
Tue, 30 Sep 2025 01:14:58 +0000 (09:14 +0800)
committerBibo Mao <maobibo@loongson.cn>
Thu, 23 Oct 2025 11:38:23 +0000 (19:38 +0800)
commit6447334a31bc65cd3192ada3ac75a5f2fdeaa03b
treed23fc65de615cce41f90783fe751fe18f9f936a7
parentc0e80879c876cbe4cbde43a92403329bcedf2ba0
target/loongarch: Use auto method with PTW feature

PTW is short for page table walker, it is hardware page table walker
function. With PTW supported, hardware MMU will parse page table
table and update TLB entries automatically.

This patch adds type OnOffAuto for PTW feature setting.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
target/loongarch/cpu.c
target/loongarch/cpu.h