Re: [PATCH for-10.0 6/7] hw/riscv/riscv-iommu: implement reset protocol

2024-11-18 Thread Alistair Francis
On Wed, Nov 6, 2024 at 11:35 PM Daniel Henrique Barboza wrote: > > Add a riscv_iommu_reset() helper in the base emulation code that > implements the expected reset behavior as defined by the riscv-iommu > spec. > > Devices can then use this helper in their own reset callbacks. > > Signed-off-by: D

[PATCH for-10.0 6/7] hw/riscv/riscv-iommu: implement reset protocol

2024-11-06 Thread Daniel Henrique Barboza
Add a riscv_iommu_reset() helper in the base emulation code that implements the expected reset behavior as defined by the riscv-iommu spec. Devices can then use this helper in their own reset callbacks. Signed-off-by: Daniel Henrique Barboza --- hw/riscv/riscv-iommu-pci.c | 20 +