On Fri, Sep 05, 2025 at 11:57:59AM +0200, Eric Auger wrote: > Hi Shameer, > > On 7/14/25 5:59 PM, Shameer Kolothum wrote: > > From: Nicolin Chen <nicol...@nvidia.com> > > > > Allocate and associate a vDEVICE object for the Guest device > > with the vIOMMU. This will help the kernel to do the > > vSID --> sid translation whenever required (eg: device specific > I am not sure I get this. Do you mean translation between the vSID and > the pSID?
Yes, the kernel requires VMID for all TLBI commands and pSID for device cache (ATC, CD) invalidations. QEMU only forwards raw guest commands to the host, leaving vSIDs in those ATC_INV and CD_CFGI commands. So, kernel will need the vSID->pSID mapping to overwrite the SID fields. I think we should have spared a few more words :) Thanks Nicolin