]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/virt: Check bypass iommu is not set for iommu-map DT property
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Mon, 2 Jun 2025 11:46:55 +0000 (12:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jun 2025 14:50:17 +0000 (15:50 +0100)
commitf5ec751ee70d7960a97c6c675f69e924d82dc60d
tree10995e46249f89bfc190fd50f74fcfd60b0f27c1
parentd9ce74873a6a5a7c504379857461e4ae64fcf0cd
hw/arm/virt: Check bypass iommu is not set for iommu-map DT property

default_bus_bypass_iommu tells us whether the bypass_iommu is set
for the default PCIe root bus. Make sure we check that before adding
the "iommu-map" DT property.

Cc: qemu-stable@nongnu.org
Fixes: 6d7a85483a06 ("hw/arm/virt: Add default_bus_bypass_iommu machine option")
Suggested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Donald Dutile <ddutile@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20250602114655.42920-1-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c