Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtensa: mpu: adding or removing partitions from memory domain of current running thread has no effect #75834

Closed
dcpleung opened this issue Jul 12, 2024 · 2 comments · Fixed by #75832 or #78465
Assignees
Labels
area: Memory Protection area: Xtensa Xtensa Architecture bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@dcpleung
Copy link
Member

Describe the bug
Adding or removing partitions from the memory domain of the currently running thread has no effect. The memory regions cannot be access (for additions), or can still be accessed (for removal) after calling k_mem_domain_add_partition() or k_mem_domain_remove_partition().

Expected behavior

  • Memory of newly added partition can be accessed.
  • Memory of recently removed partition cannot be accessed.

Impact
Annoyance ... for now.

Environment (please complete the following information):

@dcpleung dcpleung added the bug The issue is a bug, or the PR is fixing a bug label Jul 12, 2024
@dcpleung dcpleung self-assigned this Jul 12, 2024
@nashif nashif added the priority: medium Medium impact/importance bug label Jul 16, 2024
Copy link

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

@dcpleung
Copy link
Member Author

Reopen to reuse this for backport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Memory Protection area: Xtensa Xtensa Architecture bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
2 participants