Re: [PATCH v2 0/6] target/loongarch: Code cleanup with function loongarch_map_address

2025-04-17 Thread bibo mao
On 2025/4/17 下午6:03, Philippe Mathieu-Daudé wrote: Hi Bibo, On 17/4/25 05:51, Bibo Mao wrote: Get physical address from virtual address is important for qmp command to dump memory content. In TCG mode, it searches TLB tables firstly and then do page table walker. In KVM mode, there are no TL

Re: [PATCH v2 0/6] target/loongarch: Code cleanup with function loongarch_map_address

2025-04-17 Thread Philippe Mathieu-Daudé
Hi Bibo, On 17/4/25 05:51, Bibo Mao wrote: Get physical address from virtual address is important for qmp command to dump memory content. In TCG mode, it searches TLB tables firstly and then do page table walker. In KVM mode, there are no TLB tables and page table walker is used directly. Here

[PATCH v2 0/6] target/loongarch: Code cleanup with function loongarch_map_address

2025-04-16 Thread Bibo Mao
Get physical address from virtual address is important for qmp command to dump memory content. In TCG mode, it searches TLB tables firstly and then do page table walker. In KVM mode, there are no TLB tables and page table walker is used directly. Here TLB tables searching is moved to directory tcg