summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2025-02-25 20:29:27 +0300
committerOliver Upton <oliver.upton@linux.dev>2025-03-04 01:57:10 +0300
commit7682c023212e77babc68f04c44fe895091d9a5a9 (patch)
treeabb4ac8e6c5cdb27659f972dfeb09ca516c6c665 /tools/perf/scripts/python/gecko.py
parent93078ae63f20f09809c51e0505f8e8cc930d60ef (diff)
downloadlinux-7682c023212e77babc68f04c44fe895091d9a5a9.tar.xz
KVM: arm64: nv: Propagate used_lrs between L1 and L0 contexts
We have so far made sure that L1 and L0 vgic contexts were totally independent. There is however one spot of bother with this approach, and that's in the GICv3 emulation code required by our fruity friends. The issue is that the emulation code needs to know how many LRs are in flight. And while it is easy to reach the L0 version through the vcpu pointer, doing so for the L1 is much more complicated, as these structures are private to the nested code. We could simply expose that structure and pick one or the other depending on the context, but this seems extra complexity for not much benefit. Instead, just propagate the number of used LRs from the nested code into the L0 context, and be done with it. Should this become a burden, it can be easily rectified. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20250225172930.1850838-14-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions