Re: [Patch] memory: tegra: Skip SID override from Guest VM

From: Marc Zyngier
Date: Tue Feb 06 2024 - 07:55:11 EST


On Tue, 06 Feb 2024 12:51:35 +0000,
Jon Hunter <jonathanh@xxxxxxxxxx> wrote:
>
>
> On 06/02/2024 12:28, Jon Hunter wrote:
>
> ...
>
> >> - My own tegra186 HW doesn't have VHE, since it is ARMv8.0, and this
> >>    helper will always return 'false'. How could this result in
> >>    something that still works? Can I get a free CPU upgrade?
> >
> > I thought this API just checks to see if we are in EL2?
>
>
> Sorry to add a bit more info, I see EL2 is used for hypervisor [0],
> but on my Tegra186 with no hypervisor I see ...
>
> CPU: All CPU(s) started at EL2

Yes. and yet the kernel runs at EL1 (on ARMv8.0, we can't run the
kernel at EL2 at all).

M.

--
Without deviation from the norm, progress is not possible.