diff options
| author | Wei-Lin Chang <weilin.chang@arm.com> | 2026-04-14 01:03:33 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-05-28 09:59:49 +0100 |
| commit | b154da8288add1f6fb958797d0b3462800f9fc77 (patch) | |
| tree | 6a92bcc32f46c6a673face4a08ea52ea4010ac86 /include/linux/stackprotector.h | |
| parent | d7768b4f718503e79e7c626d29e9131b747148ee (diff) | |
KVM: arm64: nv: Use literal granule size in TLBI range calculation
TLBI handling derives the invalidation range from guest VTCR_EL2.TG0 in
get_guest_mapping_ttl() and compute_tlb_inval_range(). Switch these to
use a helper that returns the decoded VTCR_EL2.TG0 granule size instead
of decoding it inline.
This keeps the granule size derivation in one place and prepares for
following changes that adjust the effective granule size.
Signed-off-by: Wei-Lin Chang <weilin.chang@arm.com>
Link: https://patch.msgid.link/20260414000334.3947257-4-weilin.chang@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
