Skip to content

Commit c0a01d3

Browse files
tmlemannashif
authored andcommitted
Revert "soc: intel_adsp/ace30: do not map 0x0"
This reverts commit 3d3ffa2. The original commit aimed to prevent NULL pointer accesses by moving the MMU mapping starting point one page later. However, this change has caused a regression on PTL. Our DSP has registers with addresses lower than 0x1000, and the firmware uses addresses starting from 0xC40. For instance, the HDAMLDMICL register is located at 0xCC0, which is now inaccessible due to the change. Reverting this commit restores access to these critical registers and resolves the regression issue. Signed-off-by: Tomasz Leman <[email protected]>
1 parent 6ec68a0 commit c0a01d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/intel/intel_adsp/ace/mmu_ace30.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const struct xtensa_mmu_range xtensa_soc_mmu_ranges[] = {
126126
},
127127
{
128128
/* FIXME: definitely need more refinements... */
129-
.start = (uint32_t)0x1000,
129+
.start = (uint32_t)0x0,
130130
.end = (uint32_t)0x100000,
131131
.attrs = XTENSA_MMU_PERM_W,
132132
.name = "hwreg0",

0 commit comments

Comments
 (0)