Skip to content

fix(val): correct page-table walk stride after partial top level - #597

Merged
chetan-rathore merged 1 commit into
ARM-software:release/sbsa/v8.0.3from
anishnair-arm:v803_1
Oct 6, 2026
Merged

chetan-rathore merged 1 commit into
ARM-software:release/sbsa/v8.0.3from
anishnair-arm:v803_1

Conversation

@anishnair-arm

Copy link
Copy Markdown
Contributor

When the initial translation level consumes fewer VA bits, only that
level uses the partial index width. After descending to the next table,
the walk must advance by the normal per-level width.

Use bits_per_level instead of bits_at_this_level when updating
bits_remaining in the MMU and page-table walkers.

Change-Id: I263380beaf63f593dc7caf940f08c5bdbfe96c60

  When the initial translation level consumes fewer VA bits, only that
  level uses the partial index width. After descending to the next table,
  the walk must advance by the normal per-level width.

  Use bits_per_level instead of bits_at_this_level when updating
  bits_remaining in the MMU and page-table walkers.

Change-Id: I263380beaf63f593dc7caf940f08c5bdbfe96c60
@anishnair-arm anishnair-arm reopened this Oct 6, 2026
@chetan-rathore
chetan-rathore merged commit cde2e08 into ARM-software:release/sbsa/v8.0.3 Oct 6, 2026
55 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants