Re: [PATCH v2 17/55] target/sparc: Set fault address in sparc_cpu_do_unaligned_access

2021-08-18 Thread Mark Cave-Ayland
On 03/08/2021 05:14, Richard Henderson wrote: We ought to have been recording the virtual address for reporting to the guest trap handler. Move the function to mmu_helper.c, so that we can re-use code shared with get_physical_address_data. Cc: Mark Cave-Ayland Signed-off-by: Richard Henderson

[PATCH v2 17/55] target/sparc: Set fault address in sparc_cpu_do_unaligned_access

2021-08-02 Thread Richard Henderson
We ought to have been recording the virtual address for reporting to the guest trap handler. Move the function to mmu_helper.c, so that we can re-use code shared with get_physical_address_data. Cc: Mark Cave-Ayland Signed-off-by: Richard Henderson --- target/sparc/ldst_helper.c | 13 --