* writable ID_AA64MMFR0_EL1.TGRAN*_2 ?
@ 2025-02-28 15:19 Sebastian Ott
2025-03-03 19:39 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Ott @ 2025-02-28 15:19 UTC (permalink / raw)
To: Marc Zyngier, Oliver Upton; +Cc: linux-arm-kernel, kvmarm
Hi,
I'm looking into the possibility of migrating between 2 (Graviton) hosts
and the only ID register diffs that are not yet writable are TGRAN*_2.
Both hosts support the same sizes for S2 but express that differently
(2==supported vs 0=="look at TGRAN*").
One idea would be to either set the guest view for these to NI (for the
"normal" / not nested guest) or allow to convert between the 2 values
(and maybe also allow to write NI for good measure).
What do you think?
Sebastian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: writable ID_AA64MMFR0_EL1.TGRAN*_2 ?
2025-02-28 15:19 writable ID_AA64MMFR0_EL1.TGRAN*_2 ? Sebastian Ott
@ 2025-03-03 19:39 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2025-03-03 19:39 UTC (permalink / raw)
To: Sebastian Ott; +Cc: Oliver Upton, linux-arm-kernel, kvmarm
On Fri, 28 Feb 2025 15:19:06 +0000,
Sebastian Ott <sebott@redhat.com> wrote:
>
> Hi,
>
> I'm looking into the possibility of migrating between 2 (Graviton) hosts
> and the only ID register diffs that are not yet writable are TGRAN*_2.
> Both hosts support the same sizes for S2 but express that differently
> (2==supported vs 0=="look at TGRAN*").
>
> One idea would be to either set the guest view for these to NI (for the
> "normal" / not nested guest) or allow to convert between the 2 values
> (and maybe also allow to write NI for good measure).
I think we can allow any value to be written to any of the TGRAN*_2 in
a non-NV context. For NV, we must be fairly strict, by enforcing that
NI is the floor limit for the feature (we cannot let 0 be written for
any of them).
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-03 19:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 15:19 writable ID_AA64MMFR0_EL1.TGRAN*_2 ? Sebastian Ott
2025-03-03 19:39 ` Marc Zyngier
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).