summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2025-12-11 10:47:04 +0000
committerMarc Zyngier <maz@kernel.org>2026-01-15 15:43:15 +0000
commitc273feee70bd3d8c6c4d5efaf6b3ae945c839378 (patch)
tree60c875d91f73de8eeb956ec9e45709f84c879396 /rust/alloc/collections/git@git.tavy.me:linux.git
parentebbcaece84738f71b35f32339bdeb8776004e641 (diff)
KVM: arm64: Introduce helper to calculate fault IPA offset
This 12-bit FAR fault IPA offset mask is hard-coded as 'GENMASK(11, 0)' in several places to reconstruct the full fault IPA. Introduce FAR_TO_FIPA_OFFSET() to calculate this value in a shared header and replace all open-coded instances to improve readability. No functional change intended. Signed-off-by: Fuad Tabba <tabba@google.com> Link: https://patch.msgid.link/20251211104710.151771-5-tabba@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions