hw/arm/virt: Add support for user-creatable accelerated SMMUv3
Quoted 55 lines · Cédric Le Goater
Quoted 24 lines · Shameer Kolothum
Quoted 19 lines
-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: 09 December 2025 10:32
To: Shameer Kolothum <[email protected]>; qemu- [email protected]; [email protected]
Cc: [email protected]; [email protected]; Jason Gunthorpe <[email protected]>; Nicolin Chen <[email protected]>; [email protected]; [email protected]; Nathan Chen <[email protected]>; Matt Ochs <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Krishnakant Jaju <[email protected]>
Subject: Re: [PATCH v6 00/33] hw/arm/virt: Add support for user-creatable
accelerated SMMUv3[...]
Quoted 3 lines
FYI, I am seeing configure errors :
Quoted 8 lines
Quoted 3 lines
The following clauses were found for
ARM_SMMUV3_ACCELselectARM_SMMUV3_ACCELifARM_VIRT
configARM_SMMUV3_ACCELdepends on (ARM_SMMUV3&& IOMMUFD)- select
ARM_SMMUV3_ACCEL
+ implyARM_SMMUV3_ACCELthe above will fix it?
No. I would propose :
(quoted diff) +0
-0@@ -12,7 +12,6 @@ config ARM_VIRTselect
ARM_GIC
select ACPI
selectARM_SMMUV3
- selectARM_SMMUV3_ACCEL
selectGPIO_KEY
selectDEVICE_TREE
selectFW_CFG_DMA(quoted diff) +0
-0@@ -627,12 +626,13 @@ config FSL_IMX8MP_EVKdepends on TCG
selectFSL_IMX8MP(quoted diff) +1
-1-config ARM_SMMUV3 +config ARM_SMMUV3_ACCELbool
+ depends onARM_SMMUV3(quoted diff) +1
-1-config ARM_SMMUV3_ACCEL +config ARM_SMMUV3
Quoted 3 lines
bool
- depends onARM_SMMUV3&& IOMMUFD
+ selectARM_SMMUV3_ACCELif IOMMUFD
Zhenzhong has a variant in
https://lore.kernel.org/all/[email protected]/
I guess it also works
Eric
Quoted 32 lines
configFSL_IMX6UL
boolQuoted 5 lines
Quoted 3 lines
KconfigDataError: contradiction between clauses when setting
ARM_SMMUV3_ACCELJust curious, how to trigger these errors easily? Any scripts?
Try the windows build :
../configure --cross-prefix=x86_64-w64-mingw32- \
--disable-sdl \
--prefix=/path/to/install-mingw64 \
--target-list=aarch64-softmmu,ppc64-softmmu,x86_64-softmmu,s390x-softmmu \
--disable-docsproblems such as :
../hw/arm/smmuv3-accel.h:14:10: fatal error:linux/iommufd.h: No such file or directory
14 | #include <linux/iommufd.h>
| ^~~~~~~~~~~~~~~~~should be fixed too.
Thanks,
C.