diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-04-04 02:16:26 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-04-29 16:03:18 +0300 |
commit | 17efc1acee6229e8964d248e2a21def519e04c14 (patch) | |
tree | d97039175dbcf5439dc8cd09a6ea3df6586fd9b1 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 35382a3646404891aba092013b855c3db4b8b487 (diff) | |
download | linux-17efc1acee6229e8964d248e2a21def519e04c14.tar.xz |
arm64: Expose AIDR_EL1 via sysfs
The KVM PV ABI recently added a feature that allows the VM to discover
the set of physical CPU implementations, identified by a tuple of
{MIDR_EL1, REVIDR_EL1, AIDR_EL1}. Unlike other KVM PV features, the
expectation is that the VMM implements the hypercall instead of KVM as
it has the authoritative view of where the VM gets scheduled.
To do this the VMM needs to know the values of these registers on any
CPU in the system. While MIDR_EL1 and REVIDR_EL1 are already exposed,
AIDR_EL1 is not. Provide it in sysfs along with the other identification
registers.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20250403231626.3181116-1-oliver.upton@linux.dev
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions