Re: [PATCH 0/4] target/arm: fix arm_cpu_get_phys_page_attrs_debug

2025-04-12 Thread Richard Henderson
On 4/10/25 14:00, Pierrick Bouvier wrote: Pierrick Bouvier (4): target/arm/ptw: extract arm_mmu_idx_to_security_space target/arm/ptw: get current security_space for current mmu_idx target/arm/ptw: extract arm_cpu_get_phys_page target/arm/ptw: fix arm_cpu_get_phys_page_attrs_debug Re

[PATCH 0/4] target/arm: fix arm_cpu_get_phys_page_attrs_debug

2025-04-10 Thread Pierrick Bouvier
It was reported that QEMU monitor command gva2gpa was reporting unmapped memory for a valid access (qemu-system-aarch64), during a copy from kernel to user space (__arch_copy_to_user symbol in Linux) [1]. This was affecting cpu_memory_rw_debug also, which is used in numerous places in our codebase.