Hi, This is a new version of ZhengXiang Qin's work in:
https://lore.kernel.org/qemu-devel/[email protected]/ The patch got dropped due to a type mismatch in env->badaddr. But so it happens that the patch fixes Gitlab #3501, still pending since May 26. Let's get this over with. Patch 1 is a trivial change I did while applying the fix. Changes from v3: - patch 1 (new): - use riscv_cpu_cfg() instead of env_archcpu() - patch 2: - use uint64_t instead of target_ulong for fault_addr - v3 link: https://lore.kernel.org/qemu-devel/[email protected]/ Daniel Henrique Barboza (1): target/riscv/tcg/op_helper: avoid env_archcpu() to access cbom_blocksize ZhengXiang Qin (1): target/riscv: raise access fault for Zicbom MMIO-like accesses target/riscv/tcg/op_helper.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.43.0
