Revert "soc: intel_adsp/ace30: do not map 0x0"

This reverts commit 3d3ffa2c05.

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 <tomasz.m.leman@intel.com>
This commit is contained in:
Tomasz Leman 2024-11-27 17:57:40 +01:00 committed by Anas Nashif
commit c0a01d33e3

View file

@ -126,7 +126,7 @@ const struct xtensa_mmu_range xtensa_soc_mmu_ranges[] = {
},
{
/* FIXME: definitely need more refinements... */
.start = (uint32_t)0x1000,
.start = (uint32_t)0x0,
.end = (uint32_t)0x100000,
.attrs = XTENSA_MMU_PERM_W,
.name = "hwreg0",