summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec
diff options
context:
space:
mode:
authorWei-Lin Chang <weilin.chang@arm.com>2026-04-14 01:03:32 +0100
committerMarc Zyngier <maz@kernel.org>2026-05-28 09:59:49 +0100
commitd7768b4f718503e79e7c626d29e9131b747148ee (patch)
tree446bb3c0941028ed20e77527f8fcfde467fe549d /rust/kernel/alloc/kvec
parenta878096e0e86b44e758aafc6b26af97e8f548673 (diff)
KVM: arm64: Factor out TG0/1 decoding of VTCR and TCR
The current code decodes TCR.TG0/TG1 and VTCR.TG0 inline at several places. Extract this logic into helpers so the granule size can be derived in one place. This enables us to alter the effective granule size in the same place, which we will do in a later patch. Signed-off-by: Wei-Lin Chang <weilin.chang@arm.com> Link: https://patch.msgid.link/20260414000334.3947257-3-weilin.chang@arm.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions