Re: [Qemu-devel] [PATCH v9 02/14] hw/arm/smmu-common: IOMMU memory region and address space setup

2018-03-06 Thread Peter Maydell
On 6 March 2018 at 14:47, Auger Eric wrote: > Hi Peter, > > On 06/03/18 15:08, Peter Maydell wrote: >> On 17 February 2018 at 18:46, Eric Auger wrote: >>> +if (!smmu_pci_bus) { >>> +GHashTableIter iter; >>> + >>> +g_hash_table_iter_init(&iter, s->smmu_as_by_busptr); >>> +

Re: [Qemu-devel] [PATCH v9 02/14] hw/arm/smmu-common: IOMMU memory region and address space setup

2018-03-06 Thread Auger Eric
Hi Peter, On 06/03/18 15:08, Peter Maydell wrote: > On 17 February 2018 at 18:46, Eric Auger wrote: >> We enumerate all the PCI devices attached to the SMMU and >> initialize an associated IOMMU memory region and address space. >> This happens on SMMU base instance init. >> >> Those info are stor

Re: [Qemu-devel] [PATCH v9 02/14] hw/arm/smmu-common: IOMMU memory region and address space setup

2018-03-06 Thread Peter Maydell
On 17 February 2018 at 18:46, Eric Auger wrote: > We enumerate all the PCI devices attached to the SMMU and > initialize an associated IOMMU memory region and address space. > This happens on SMMU base instance init. > > Those info are stored in SMMUDevice objects. The devices are > grouped accord