]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 17 Jun 2025 20:29:33 +0000 (23:29 +0300)
commitc902fc66c9508c6fa2ec17510f5ae9241c0859fb
tree534c0eadf0fabe5da97d8d34dd0b6eadec6bfcf8
parent6276ce6d702bd9a7390942bbc29acaaf03b53c4e
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>
(cherry picked from commit f5ec751ee70d7960a97c6c675f69e924d82dc60d)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/arm/virt.c