qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] hw/riscv/riscv-iommu: Remove redundant struct members
@ 2025-01-15 14:17 Jason Chien
  2025-01-15 14:17 ` [PATCH v3 2/2] hw/riscv/riscv-iommu-bits: Remove duplicate definitions Jason Chien
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jason Chien @ 2025-01-15 14:17 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Palmer Dabbelt, Alistair Francis, Bin Meng, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, Jason Chien, Andrew Jones

Initially, the IOMMU would create a thread, but this thread was removed in
the merged version. The struct members for thread control should have been
removed as well, but they were not removed in commit 0c54acb8243
("hw/riscv: add RISC-V IOMMU base emulation").

Signed-off-by: Jason Chien <jason.chien@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
---
 hw/riscv/riscv-iommu.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/hw/riscv/riscv-iommu.h b/hw/riscv/riscv-iommu.h
index 9424989df4..fa8a50fa24 100644
--- a/hw/riscv/riscv-iommu.h
+++ b/hw/riscv/riscv-iommu.h
@@ -58,11 +58,6 @@ struct RISCVIOMMUState {
     /* interrupt notifier */
     void (*notify)(RISCVIOMMUState *iommu, unsigned vector);
 
-    /* IOMMU State Machine */
-    QemuThread core_proc; /* Background processing thread */
-    QemuCond core_cond;   /* Background processing wake up signal */
-    unsigned core_exec;   /* Processing thread execution actions */
-
     /* IOMMU target address space */
     AddressSpace *target_as;
     MemoryRegion *target_mr;
-- 
2.43.2



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

end of thread, other threads:[~2025-01-31  0:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15 14:17 [PATCH v3 1/2] hw/riscv/riscv-iommu: Remove redundant struct members Jason Chien
2025-01-15 14:17 ` [PATCH v3 2/2] hw/riscv/riscv-iommu-bits: Remove duplicate definitions Jason Chien
2025-01-31  0:23   ` Alistair Francis
2025-01-22  8:10 ` [PATCH v3 1/2] hw/riscv/riscv-iommu: Remove redundant struct members Jason Chien
2025-01-31  0:30   ` Alistair Francis
2025-01-31  0:22 ` Alistair Francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).