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

Fix kmm map #338

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Fix kmm map #338

merged 2 commits into from
Jan 15, 2025

Conversation

jlaitine
Copy link

This fixes the logger issues in both imx9 and mpfs in CONFIG_BUILD_KERNEL

…to kernel page mappings

In up_addrenv_kmap_pages, the MMU_MT_NORMAL_FLAGS are needed for the MMU
mappings in order for the memory & caches to function normally

Signed-off-by: Jukka Laitinen <[email protected]>
Fix a memory corruption & deadlocks while calling gran_free.

The function expects a GRAN_HANDLE as a paramter, not a pointer to it.

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine merged commit 2b217f7 into master Jan 15, 2025
10 checks passed
@jlaitine jlaitine deleted the fix_kmm_map branch January 15, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants