[PATCH v4 0/2] target/riscv: raise access fault for Zicbom MMIO-like accesses

Daniel Henrique Barboza posted 2 patches 1 week, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261110212312.56809-1-daniel.barboza@oss.qualcomm.com
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Chao Liu <chao.liu@processmission.com>
There is a newer version of this series
target/riscv/tcg/op_helper.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
[PATCH v4 0/2] target/riscv: raise access fault for Zicbom MMIO-like accesses
Posted by Daniel Henrique Barboza 1 week, 5 days ago
Hi,

This is a new version of ZhengXiang Qin's work in:

https://lore.kernel.org/qemu-devel/tencent_CA380CBF4A98C990C07BC04A9E748C438309@qq.com/

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/tencent_CA380CBF4A98C990C07BC04A9E748C438309@qq.com/

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