diff options
| author | Fuad Tabba <tabba@google.com> | 2025-12-11 10:47:04 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-01-15 15:43:15 +0000 |
| commit | c273feee70bd3d8c6c4d5efaf6b3ae945c839378 (patch) | |
| tree | 60c875d91f73de8eeb956ec9e45709f84c879396 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | ebbcaece84738f71b35f32339bdeb8776004e641 (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
