* Did the latest QEMU emulated SMMUv3 not support "smmu sva" function ?
@ 2025-10-10 0:01 tugouxp
2025-10-10 12:04 ` Eric Auger
0 siblings, 1 reply; 2+ messages in thread
From: tugouxp @ 2025-10-10 0:01 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1.1: Type: text/plain, Size: 769 bytes --]
Hi folks:
i start my aacrh64 qemu platforms with command:
"qemu-system-aarch64 -m 512M -smp 4 -cpu cortex-a57 -machine virt,iommu=smmuv3 -kernel arch/arm64/boot/Image -append "rdinit=/linuxrc nokaslr console=ttyAMA0 loglevel=8" -nographic"
and found it does not work normally with MULT substream(PASID), after review the qemu smmuv3.c i made some discovery, the smmu IDR1 register SSIDSIZE did not initialized for the default value of emulated "SSIDSIZE" in SMMU IDR1 is 0, which means only support one sub stream(pasid), so that is why does not work.
so here i want to get a information is that, did the latest qemu did not support SVA mechanis about IOMMU ? and did all the others platfrom like arm on this function? thanks for your kindly help.
BRs
zlcao
[-- Attachment #1.2: Type: text/html, Size: 1444 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 127949 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Did the latest QEMU emulated SMMUv3 not support "smmu sva" function ?
2025-10-10 0:01 Did the latest QEMU emulated SMMUv3 not support "smmu sva" function ? tugouxp
@ 2025-10-10 12:04 ` Eric Auger
0 siblings, 0 replies; 2+ messages in thread
From: Eric Auger @ 2025-10-10 12:04 UTC (permalink / raw)
To: tugouxp, qemu-devel
Hi,
On 10/10/25 2:01 AM, tugouxp wrote:
> Hi folks:
> i start my aacrh64 qemu platforms with command:
> "qemu-system-aarch64 -m 512M -smp 4 -cpu cortex-a57 -machine
> virt,*iommu=smmuv3* -kernel arch/arm64/boot/Image -append
> "rdinit=/linuxrc nokaslr console=ttyAMA0 loglevel=8" -nographic"
> and found it does not work normally with MULT substream(PASID), after
> review the qemu smmuv3.c i made some discovery, the smmu IDR1
> register SSIDSIZE did not initialized for the default value of
> emulated "SSIDSIZE" in SMMU IDR1 is 0, which means only support one
> sub stream(pasid), so that is why does not work.
I confirm PASIDs are not yet supported by the vSMMU.
>
> so here i want to get a information is that, did the latest qemu did
> not support SVA mechanis about IOMMU ? and did all the others platfrom
> like arm on this function? thanks for your kindly help.
vSVA is not yet supported either. This is under work in [PATCH v4 00/27]
hw/arm/virt: Add support for user-creatable accelerated SMMUv3
Thanks
Eric
>
>
> BRs
> zlcao
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-10 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-10 0:01 Did the latest QEMU emulated SMMUv3 not support "smmu sva" function ? tugouxp
2025-10-10 12:04 ` Eric Auger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).