diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-02-25 10:47:18 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-02-25 12:19:33 +0000 |
| commit | 54e367cb94d6bef941bbc1132d9959dc73bd4b6f (patch) | |
| tree | a0d46467b77895669e70add8b08c1c5d701c85dd /kernel/context_tracking.c | |
| parent | 29c8b85adb47daefc213381bc1831787f512d89b (diff) | |
KVM: arm64: Deduplicate ASID retrieval code
We currently have three versions of the ASID retrieval code, one
in the S1 walker, and two in the VNCR handling (although the last
two are limited to the EL2&0 translation regime).
Make this code common, and take this opportunity to also simplify
the code a bit while switching over to the TTBRx_EL1_ASID macro.
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20260225104718.14209-1-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'kernel/context_tracking.c')
0 files changed, 0 insertions, 0 deletions
