Hi, I'm sending a v2 because I just ended up fixed another iommu bug that happened to be in the same code, and it has a test dependency with patch 2. Sending it standalone will cause conflicts so I'm adding it in the batch.
Patches 1 and 2 didn't change. R-bs from Chao and Nutty were added in both. Patches based on alistair/riscv-to-apply.next. Changes from v1: - patch 3 (new): - add another PTE_U fault that we're missing (gitlab 3555) - v1 link: https://lore.kernel.org/qemu-devel/[email protected]/ Daniel Henrique Barboza (3): hw/riscv/riscv-iommu.c: check for reserved PTE bits hw/riscv/riscv-iommu.c: fault when !PTE_U and no priv access hw/riscv/riscv-iommu.c: fault for non-user PTE in G_STAGE hw/riscv/riscv-iommu.c | 20 ++++++++++++++++++++ tests/qtest/libqos/qos-riscv-iommu.h | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) -- 2.43.0
