summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2025-02-09 17:05:01 +0300
committerMarc Zyngier <maz@kernel.org>2025-05-10 13:04:35 +0300
commit63d423a7635bca6d817a30adff29be58ee99c6d5 (patch)
tree9b717e30f9b28460527d64faad46e2151171bd0b /tools/perf/scripts/python/gecko.py
parent397411c743c77a9c1d90f407b502010227a259dc (diff)
downloadlinux-63d423a7635bca6d817a30adff29be58ee99c6d5.tar.xz
KVM: arm64: Switch to table-driven FGU configuration
Defining the FGU behaviour is extremely tedious. It relies on matching each set of bits from FGT registers with am architectural feature, and adding them to the FGU list if the corresponding feature isn't advertised to the guest. It is however relatively easy to dump most of that information from the architecture JSON description, and use that to control the FGU bits. Let's introduce a new set of tables descripbing the mapping between FGT bits and features. Most of the time, this is only a lookup in an idreg field, with a few more complex exceptions. While this is obviously many more lines in a new file, this is mostly generated, and is pretty easy to maintain. Reviewed-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions