diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-07-29 14:18:16 +0100 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-07-30 23:48:21 -0700 |
| commit | c0646b96473340c71cd133ac4056efc9f78141f7 (patch) | |
| tree | 16ddef64c80dd9dd8257a318dd426a8d6f4b626c /tools/perf/scripts/python | |
| parent | 3be99f8751c9eed017f437644fd7ecbdfdc66fbe (diff) | |
KVM: arm64: Extract MPIDR computation into a shared header
Extract the vCPU MPIDR computation embedded in reset_mpidr() into a
kvm_calculate_mpidr() inline in sys_regs.h, so it can be computed
without duplicating the logic. A follow-up series reuses it to reset
protected vCPUs at EL2.
No functional change intended.
Reviewed-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260729131823.2021516-2-fuad.tabba@linux.dev
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
