[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SMMU Stage 2 translation in QEMU
From: |
shashi . mallela |
Subject: |
Re: SMMU Stage 2 translation in QEMU |
Date: |
Fri, 10 Sep 2021 09:32:09 -0400 |
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.mallela@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