Skip to content

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

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
anishnair-arm:testmain1
Oct 6, 2026
Merged

chetan-rathore merged 1 commit into
ARM-software:mainfrom
anishnair-arm:testmain1

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 0e6a082 into ARM-software:main Oct 6, 2026
81 of 87 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