All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Don't insert DDT cache in Bare mode
@ 2025-12-11  2:56 Jay Chang
  2025-12-11  2:56 ` [PATCH 1/2] hw/riscv: " Jay Chang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jay Chang @ 2025-12-11  2:56 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Palmer Dabbelt, Alistair Francis, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, Jay Chang

When IOMMU is in Bare mode, DDT (Device Directory Table) lookup is not
performed. This series fixes two issues:

1. Avoid inserting unnecessary DDT cache entries in Bare mode
2. Properly free Bare mode contexts to prevent memory leaks

Jay Chang (2):
  hw/riscv: Don't insert DDT cache in Bare mode
  hw/riscv: Refactor riscv_iommu_ctx_put() for Bare mode handling

 hw/riscv/riscv-iommu.c | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

-- 
2.48.1



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

end of thread, other threads:[~2026-05-18  5:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11  2:56 [PATCH 0/2] Don't insert DDT cache in Bare mode Jay Chang
2025-12-11  2:56 ` [PATCH 1/2] hw/riscv: " Jay Chang
2025-12-27 12:24   ` Daniel Henrique Barboza
2025-12-31 10:20   ` Nutty.Liu
2025-12-11  2:56 ` [PATCH 2/2] hw/riscv: Refactor riscv_iommu_ctx_put() for Bare mode handling Jay Chang
2025-12-27 12:24   ` Daniel Henrique Barboza
2025-12-31 10:21   ` Nutty.Liu
2026-05-18  2:36 ` [PATCH 0/2] Don't insert DDT cache in Bare mode Jay Chang
2026-05-18  5:05   ` 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.