All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] hw/riscv/riscv-iommu.c: check for misaligned IOHGATP_PPN
@ 2026-07-02 20:36 Daniel Henrique Barboza
  2026-07-02 20:36 ` [PATCH v2 1/1] " Daniel Henrique Barboza
  2026-07-06  2:03 ` [PATCH v2 0/1] " Alistair Francis
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Henrique Barboza @ 2026-07-02 20:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-riscv, alistair.francis, liwei1518, zhiwei_liu,
	chao.liu.zevorn, nutty.liu, Daniel Henrique Barboza

Hi,

This new version fixes a blunder I made in v1 pointed by Chao and
Nutty - I was using the PPN value, instead of the page table base
address, to check for the 16kb alignment. 

We no longer need to change qos-riscv-iommu.h because now we're doing
the right thing.

Changes from v1:
- use PPN_PHYS(iohgatp_ppn), i.e. the page table base address, to 
  check for the 16kb alignment
- v1 link: https://lore.kernel.org/qemu-devel/20260630203155.2103084-1-daniel.barboza@oss.qualcomm.com/


Daniel Henrique Barboza (1):
  hw/riscv/riscv-iommu.c: check for misaligned IOHGATP_PPN

 hw/riscv/riscv-iommu.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

-- 
2.43.0



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

end of thread, other threads:[~2026-07-06  2:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02 20:36 [PATCH v2 0/1] hw/riscv/riscv-iommu.c: check for misaligned IOHGATP_PPN Daniel Henrique Barboza
2026-07-02 20:36 ` [PATCH v2 1/1] " Daniel Henrique Barboza
2026-07-03  0:26   ` Chao Liu
2026-07-03  4:16   ` Nutty.Liu
2026-07-06  2:03 ` [PATCH v2 0/1] " 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.