Re: [PATCH] hw/arm/smmu-common: Replace smmu_iommu_mr with smmu_find_sdev

2024-06-24 Thread Peter Maydell
On Wed, 19 Jun 2024 at 01:22, Nicolin Chen wrote: > > The caller of smmu_iommu_mr wants to get sdev for smmuv3_flush_config(). > > Do it directly instead of bridging with an iommu mr pointer. > > Signed-off-by: Nicolin Chen > --- > hw/arm/smmu-common.c | 8 ++-- > hw/arm/smmuv3.c

[PATCH] hw/arm/smmu-common: Replace smmu_iommu_mr with smmu_find_sdev

2024-06-18 Thread Nicolin Chen
The caller of smmu_iommu_mr wants to get sdev for smmuv3_flush_config(). Do it directly instead of bridging with an iommu mr pointer. Signed-off-by: Nicolin Chen --- hw/arm/smmu-common.c | 8 ++-- hw/arm/smmuv3.c | 12 include/hw/arm/smmu-common.h | 4 ++-