So that would be the driver code running in guest OS because i see tables being setup by arm-smmu driver code in linux,which is similar to what happens with ITS(table base addresses programmed in registers by linux driver).
On Fri, 2021-09-10 at 13:54 +0100, Peter Maydell wrote: > On Fri, 10 Sept 2021 at 13:39, <shashi.mall...@linaro.org> wrote: > > I am referring to the latter,"purely emulated QEMU with an emulated > > SMMU that handles accesses to emulated devices" > > In that case, the stage 2 tables are set up by the guest > code (running at emulated EL2), just as they would be if > it were running on real hardware. > > -- PMM