zephyr/drivers/mm
Tomasz Leman 6249470b66 intel_adsp: ace30: mm: Set write permissions during memory mapping
The adsp_mm_save_context function was previously mapping memory without
explicitly setting write permissions, which could lead to a "store
prohibited" exception when attempting to write to the memory. This patch
adds the K_MEM_PERM_RW flag to the arch_mem_map call to ensure that the
memory is mapped with write permissions.

This change resolves the issue of accessing memory without the necessary
permissions, preventing potential exceptions and ensuring correct memory
operations. The issue was found when running the firmware on a
simulation with the MMU enabled.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2025-03-18 16:41:22 +01:00
..
CMakeLists.txt
Kconfig
mm_drv_bank.c
mm_drv_common.c
mm_drv_common.h
mm_drv_intel_adsp_mtl_tlb.c intel_adsp: ace30: mm: Set write permissions during memory mapping 2025-03-18 16:41:22 +01:00
mm_drv_intel_adsp_regions.c mm: intel: adsp: simplify code in mm_drv_intel_adsp_regions.c 2023-03-23 16:31:08 -04:00
mm_drv_intel_adsp_tlb.c
mm_drv_intel_adsp.h include: zephyr: sys: Introduce IS_BIT_SET() macro 2025-01-10 14:48:13 +01:00
mm_drv_ti_rat.c drivers: mm: rat: Only fetch region_config from translate_config once 2025-03-12 07:13:22 +01:00