All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw/riscv/riscv-iommu.c: additional PTE checks
@ 2026-07-01 12:11 Daniel Henrique Barboza
  2026-07-01 12:11 ` [PATCH v2 1/3] hw/riscv/riscv-iommu.c: check for reserved PTE bits Daniel Henrique Barboza
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Daniel Henrique Barboza @ 2026-07-01 12:11 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, liwei1518, zhiwei_liu,
	chao.liu.zevorn, andrew.jones, nutty.liu, Daniel Henrique Barboza

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/20260629121334.567587-1-daniel.barboza@oss.qualcomm.com/

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-07-14 13:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 12:11 [PATCH v2 0/3] hw/riscv/riscv-iommu.c: additional PTE checks Daniel Henrique Barboza
2026-07-01 12:11 ` [PATCH v2 1/3] hw/riscv/riscv-iommu.c: check for reserved PTE bits Daniel Henrique Barboza
2026-07-01 12:11 ` [PATCH v2 2/3] hw/riscv/riscv-iommu.c: fault when !PTE_U and no priv access Daniel Henrique Barboza
2026-07-07 15:32   ` Tao Tang
2026-07-11  8:30   ` Michael Tokarev
2026-07-11 22:08     ` Michael Tokarev
2026-07-13 13:00     ` Fabiano Rosas
2026-07-14  4:17       ` Michael Tokarev
2026-07-14 13:10         ` Fabiano Rosas
2026-07-01 12:11 ` [PATCH v2 3/3] hw/riscv/riscv-iommu.c: fault for non-user PTE in G_STAGE Daniel Henrique Barboza
2026-07-03  3:47   ` Alistair Francis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.