Skip to content

feat(Isla): Support page-table symbol alignment - #183

Draft
febyeji wants to merge 1 commit into
mainfrom
feature/pgt-dsl-aligned-virtual
Draft

feat(Isla): Support page-table symbol alignment#183
febyeji wants to merge 1 commit into
mainfrom
feature/pgt-dsl-aligned-virtual

Conversation

@febyeji

@febyeji febyeji commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator
  • Parse aligned virtual declarations in page_table_setup.
  • Treat explicit mapping levels as alignment requests for VA and PA symbols.
  • Apply VA alignment before assembly layout and PA alignment during page-table construction.
  • Cover the level-2 VA/PA shorthand with a VM fixture.

This PR is part of a stack containing 6 PRs:

  1. main
  2. "feat(Isla): Support page-table symbol alignment" (this PR)
  3. feat(Isla): Support named page-table roots #194
  4. feat(Isla): Accept default page-table option #195
  5. feat(Isla): Support page-table descriptor fields #196
  6. feat(Isla): Support page-table references #197
  7. feat(Isla): Support TTBR page-table helper #198

@febyeji
febyeji marked this pull request as draft July 3, 2026 10:40
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch 3 times, most recently from 5c4266d to 06b76da Compare July 3, 2026 12:38
@febyeji
febyeji changed the base branch from main to feature/pgt-dsl-virtual July 3, 2026 13:32
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch from e0fd94c to e1900d5 Compare July 3, 2026 14:02
@febyeji
febyeji force-pushed the feature/pgt-dsl-virtual branch from 860e9e5 to 9d288ae Compare July 3, 2026 14:05
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch from e1900d5 to 646263a Compare July 3, 2026 14:18
@febyeji
febyeji marked this pull request as ready for review July 3, 2026 21:22
@febyeji febyeji changed the title feat(Isla): Support aligned virtual page-table symbols feature/pgt-dsl-aligned-virtual Jul 4, 2026
@febyeji febyeji changed the title feature/pgt-dsl-aligned-virtual feat(Isla): Support aligned virtual page-table symbols Jul 4, 2026
@febyeji febyeji changed the title feat(Isla): Support aligned virtual page-table symbols feature/pgt-dsl-aligned-virtual Jul 4, 2026
@febyeji febyeji changed the title feature/pgt-dsl-aligned-virtual feat(Isla): Support aligned virtual page-table symbols Jul 4, 2026
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch from 646263a to ddb63da Compare July 4, 2026 14:01
@tperami

tperami commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

To deal with PA alignment, we should treat

x |-> pa1 at level 2;

as an implicit request for alignment for both x and pa1 to 2 MiB

@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch from ddb63da to 3ad5387 Compare July 4, 2026 14:27
@febyeji febyeji changed the title feat(Isla): Support aligned virtual page-table symbols feat(Isla): Support page-table symbol alignment Jul 4, 2026
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch 3 times, most recently from d7f2983 to a22315a Compare July 4, 2026 16:44
@febyeji
febyeji changed the base branch from feature/pgt-dsl-virtual to main July 4, 2026 16:50
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch 2 times, most recently from c018263 to 4ca3000 Compare July 4, 2026 16:54
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch 6 times, most recently from 630b0d2 to 2aea3a6 Compare July 5, 2026 10:58
@febyeji
febyeji marked this pull request as draft July 5, 2026 15:32
- Parse aligned virtual declarations in page_table_setup.
- Treat explicit mapping levels as alignment requests for VA and PA symbols.
- Apply VA alignment before assembly layout and PA alignment during page-table construction.
- Cover the level-2 VA/PA shorthand with a VM fixture.
@febyeji
febyeji force-pushed the feature/pgt-dsl-aligned-virtual branch from 2aea3a6 to 5efa693 Compare July 17, 2026 22:02
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