Skip to content

Conversation

@dcpleung
Copy link
Member

@dcpleung dcpleung commented Nov 4, 2024

The ptables field in arch_mem_domain for Xtensa has excessive padding as it is incorrectly marked with needing page size alignment. This is simply a pointer and not the actual page table so there is no need for that alignment. So remove it.

Fixes #71896

For some weird reasons, enabling ICOUNT would result in some
tests crashing QEMU. So disable ICOUNT.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
The ptables field in arch_mem_domain for Xtensa has excessive
padding as it is incorrectly marked with needing page size
alignment. This is simply a pointer and not the actual page
table so there is no need for that alignment. So remove it.

Fixes zephyrproject-rtos#71896

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
@dcpleung dcpleung marked this pull request as ready for review November 5, 2024 18:01
@dcpleung dcpleung added the backport v3.7-branch Request backport to the v3.7-branch label Nov 5, 2024
@mmahadevan108 mmahadevan108 added the bug The issue is a bug, or the PR is fixing a bug label Nov 5, 2024
@mmahadevan108 mmahadevan108 added this to the v4.0.0 milestone Nov 5, 2024
@dkalowsk dkalowsk merged commit eb9fc64 into zephyrproject-rtos:main Nov 7, 2024
29 checks passed
@dcpleung dcpleung deleted the xtensa/fix_mem_domain_excess_padding branch November 7, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Architectures area: Kernel area: Xtensa Xtensa Architecture backport v3.7-branch Request backport to the v3.7-branch bug The issue is a bug, or the PR is fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

xtensa: remove unnecessary padding in arch_mem_domain

7 participants