Re: [RFC PATCH 5/6] hw/riscv/riscv-iommu: Acquire device IDs dynamically

2025-01-16 Thread Daniel Henrique Barboza
On 12/15/24 9:48 PM, Jason Chien wrote: When all memory transactions from a PCIe host write to the same IOMMU memory region, we need to distinguish the source device dynamically. Signed-off-by: Jason Chien --- I'm not sure whether this should be squashed in patch 4 but the code LGTM, so ei

[RFC PATCH 5/6] hw/riscv/riscv-iommu: Acquire device IDs dynamically

2024-12-15 Thread Jason Chien
When all memory transactions from a PCIe host write to the same IOMMU memory region, we need to distinguish the source device dynamically. Signed-off-by: Jason Chien --- hw/riscv/riscv-iommu.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/hw/riscv/riscv-i