]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/smmu-common: Fix the name of the iommu memory regions
authorEric Auger <eric.auger@redhat.com>
Tue, 25 Sep 2018 13:02:32 +0000 (14:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 25 Sep 2018 13:14:07 +0000 (14:14 +0100)
commit6ce9297be69be10465b556a4b3380f70634c16a7
tree54335a99f32024c414a69bd3daeb8ddfbb23ccc0
parentbb626e5b43df996a19b53cb6033b25d83f7b2e73
hw/arm/smmu-common: Fix the name of the iommu memory regions

At the point smmu_find_add_as() gets called, the bus number might
not be computed. Let's change the name of IOMMU memory region and
just use the devfn and an incrementing index.

The name only is used for debug.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20180921070138.10114-2-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: changed 'uint' to 'unsigned int']
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmu-common.c