Commit Graph

98 Commits

Author SHA1 Message Date
Kai Vehmanen d5606434b3 west.ytml: update to Zephyr 650227d8c47f
Update Zephyr baseline to 650227d8c47f

Change affecting SOF build targets:

32d05d360b93 intel_adsp/ace: power: fix firmware panic on MTL
a3835041bd36 intel_adsp/ace: power: Use MMU reinit API on core context restore
a983a5e399fd dts: xtensa: intel: Remove non-existent power domains from ACE30 PTL DTS
a2eada74c663 dts: xtensa: intel: Remove ALH nodes from ACE 3.0 PTL DTS
442e697a8ff7 dts: xtensa: intel: Reorder power domains by bit position in ACE30
d1b5d7092e5a intel_adsp: ace30: Correct power control register bitfield definitions
31c96cf3957b xtensa: check stack boundaries during backtrace
5b84bb4f4a55 xtensa: check stack frame pointer before dumping registers
cb9f8b1019f1 xtensa: separate FATAL EXCEPTION printout into two
e9c23274afa2 Revert "soc: intel_adsp: only implement FW_STATUS boot protocol for cavs"
1198c7ec295b Drivers: DAI: Intel: Move ACE DMIC start reset clear to earlier
78920e839e71 Drivers: DAI: Intel: Reduce traces dai_dmic_start()
9db580357bc6 Drivers: DAI: Intel: Remove trace from dai_dmic_update_bits()
f91700e62968 linker: nxp: adsp: add orphan linker section

Link: https://github.com/thesofproject/sof/issues/9268
Link: https://github.com/thesofproject/sof/issues/9243
Link: https://github.com/thesofproject/sof/issues/9205
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-07-04 10:31:03 +03:00
Dobrowolski, PawelX a209d8f3ab west.yml: update Zephyr to 97a97c744a29
Update zephyr main to support PTL target for dai/ssp

e452bc36a6d9 dai: ssp/ptl: Add missing definition in PTL

Signed-off-by: Dobrowolski, PawelX <pawelx.dobrowolski@intel.com>
2024-06-20 11:30:01 +03:00
Damian Nikodem 630f8758ea src: copier: update virtual index value for ssp
Virtual index value for I2S on PTL contains two information:
- time slot group index : 4
- i2s instance          : 4

In order to correctly configure the dai api, both of the above
values should be retained.

Update zephyr branch to commit:
a2386efbce1 drivers: ssp: update SSP driver to support Intel ACE30 PTL

Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
2024-06-19 14:00:34 +03:00
Guennadi Liakhovetski 1673b1097e west: update to Zephyr "main", fixing disabled LLEXT builds
Fixes, needed for a recent Zephyr head plus a PR to fix
CONFIG_LLEXT=n builds.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-06-12 11:07:35 +01:00
Kai Vehmanen 013e210209 west.ytml: update to Zephyr 53ddff639562
Update Zephyr baseline to 53ddff639562 . The location of generated
headers has changed, so modify the SOF build scripts to use the new
location.

Change affecting SOF build targets:

6509b8199b02 shell: add shell backend for audio DSP using shared memory window
5a7600bec60b soc: intel_adsp: tools: add shell support to cavstool.py
db00b813f043 soc: intel_adsp: tools: align code style in maps_regs()
44dd5a4da9c0 soc: intel_adsp: tools: fix ace20 fw load flow
fa798ce2d5be soc: intel_adsp: only implement FW_STATUS boot protocol for cavs
8fc76f1b6d16 soc: intel_adsp: tools: improve FW boot handling on ace1.x
024bd41efb65 llext: xtensa: add support for the xt-clang toolchain

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-06-04 11:04:04 +03:00
Kai Vehmanen 2f3f877fb9 west.yml: update Zephyr to 69d790b29331
Fast-forward Zephyr by 450+ commits including following patches
affecting SOF build targets:

 5ca3bc92c8e0 intel_adsp: power: SoC restores the clock
 4c5ee9b2dbc5 pm: system: Restore clock after sleep
 1860dd9153c7 pm: system: Resume devices in pm_system_resume
 f7437ac3b1a3 pm: Move z_pm_save_idle_exit to pm subsys
 f54232e9124d intel_adsp/ace: power: Do not re-implement cache func
 693b65583c88 power_domain: intel_adsp: Use register definitions
 b496d0e52d3c intel_adsp/ace: pm: Remove unnecessary cache flush
 c335cb542c24 intel_adsp/ace: pm: Keep irq locked until restore context
 e728adffd276 intel_adsp/ace: pm: Remove unnecessary cache flush
 301055dec086 intel-adsp/ace: pm: Only core 0 can d0i3
 991b3623b014 soc: intel_adsp: ipc: don't call k_sem_init() multiple times
 369a3a167584 soc: intel: adsp: tgl: ace: Set correct virtual memory size

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-05-30 18:58:39 +03:00
Kai Vehmanen 283475c0d6 west.yml: update Zephyr to 9d8059b6e5541
Fast-forward Zephyr by 700+ commits including following patches
affecting SOF build targets:

ae082064ffa5 drivers: dai: sai: write some data into TX FIFO before start
0ca7ef78bc50 soc: intel_adsp: tools: merge cavstool.py and acetool.py code

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-05-22 14:02:02 +03:00
Kai Vehmanen fdb67ee782 west.yml: update Zephyr to e97d33d0c896
Fast-forward Zephyr by around 300 patches, including following
affecting SOF build targets:

soc/intel_adsp: ipc: initialize semaphore in driver init
drivers: dai: ssp: fix MN_MDIVCTRL_M_DIV_ENABLE for ACE+ platform
drivers: dai: intel: ssp: Only setup mclk/bclk when it is needed by role

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-05-14 20:34:10 +03:00
Kai Vehmanen 0ea0d62feb west.yml: update Zephyr to d3c9a986ec30
Contains following commits affecting SOF build targets:

6205f82d4f60 intel_adsp: adsp_memory: update mtl memory definitions
6fe16960fd1f intel_adsp: adsp_memory: update lnl memory definitions
2176ca9f9bdc intel_adsp: adsp_memory: update cAVS 2.5 memory definitions

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-05-07 12:51:19 +03:00
Damian Nikodem e603d8f09b audio: copier: use v_index for DAI index in I2S link creation
This commit updates the copier DAI creation logic for I2S links to use
the `v_index` field from the `node_id` structure as the DAI index. This
change ensures that the correct DAI index is used when creating I2S links,
aligning with the new SSP link management mechanism.

West update to necessary SSP changes:
driver: ssp: update Intel SSP DAI driver to support dynamic SSP management

Signed-off-by: Damian Nikodem <damian.nikodem@intel.com>
2024-04-25 15:58:23 +01:00
Laurentiu Mihalcea 5e91cf9688 west.yml: update Zephyr to 799a456c2586
Pulls in the following patches relevant to SOF:

799a456c2586 nxp: imx8ulp: add audio-related nodes

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-04-24 11:39:50 +03:00
Laurentiu Mihalcea ef674a274a west.yml: update Zephyr to fb7e9379e137
Pulls in the following patches relevant to SOF:

94d156c9c84c nxp: imx8ulp: enable serial interface
bc63835ba240 dts: xtensa: intel_adsp_cavs25_tgph: correct SSP definition
aecf19c3c1be dts: xtensa: intel_adsp_ace15: correct SSP definition
45205f865e18 dts: xtensa: intel_adsp_ace20: correct SSP definition
17081222e2e7 drivers: dai: intel: ssp: fix LOG_ERR level / false positive
fb7e9379e137 cmake: add control over inline source code disassembly

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-04-23 11:49:04 +03:00
Kai Vehmanen f1afff0c01 west.yml: update zephyr to 3614d4cb88f4
Update Zephyr to new baseline containing following patches
affecting SOF targets:

8a63a0a56339 intel_adsp: ipc: Fix policy state lock usage
e85226fd1a03 soc/intel_adsp: ipc: Remove fragile device state check
741bbaca6dd7 soc/intel_adsp: ipc: Remove unnecessary device state lock
a200dd88d878 dts: xtensa: intel_adsp: Set soft-off state as disabled
d5897a48aaab ipc: intel_adsp: Ensure IPC completion before runtime idle

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-04-17 16:53:27 +03:00
Guennadi Liakhovetski fc49de7e7d west: update to a newer Zephyr version
Update to a Zephyr version, containing
2ccf775396c2 ("llext: add support for relocatable objects on Xtensa")

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-04-11 11:25:06 +01:00
Laurentiu Mihalcea 00ab55462c west.yml: update Zephyr to fd1a129a3e63
Contains the following patches affecting SOF:

bba8641354bf dts: xtensa: nxp_imx8: add ESAI0 node
bd9b3c67b240 drivers: dai: add driver for NXP's ESAI
f4c73105e55a drivers: dai: sai: add pinctrl support

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-04-09 18:41:30 +03:00
Laurentiu Mihalcea f0740ed103 west.yml: update Zephyr to 1f55be8b42df
Contains the following squashed SOF commits:

nxp: imx8ulp: change SOC name to MIMX8UD7
zephyr: CMakeLists.txt use new `CONFIG_SOC_C` for 8ULP
cmake: update configs for NXP ADSP

and the following Zephyr patches affecting SOF:

951763939034 nxp: imx8ulp: change SOC name to MIMX8UD7
b8214b673970 dts: xtensa: nxp_imx8: add SAI1 node
a0e32f07ef76 dts: intel_adsp: ace: update host dma copy alignment
3fde2c50c6ef tracing: add intel ADSP memory window backend
6b9d01f995c7 intel_adsp/ace: power: No pending transaction before power gate
6ea749de5283 arch: rename arch_start_cpu() to arch_cpu_start()
b69d2486fee6 kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER
1f55be8b42df nxp: imx8: change CONFIG_SOC_<name> to match the value
688fbb53aeb2 intel_adsp: ace: Fix sparse error

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2024-04-02 13:13:07 +03:00
Laurentiu Mihalcea 47e9c82c34 west.yml: bump up Zephyr revision
Bump up Zephyr revision to fetch a Zephyr version that
contains the following patch:
	1) 64ba1b221091c343f7cca79a7970981eb1ff3a35
	("dts: nxp: imx93: add nodes for SAI3 and EDMA4")
This is required for the transition to Zephyr native drivers
on i.MX93.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-03-25 15:12:00 +02:00
Kai Vehmanen e81d6138bf west.yml: update Zephyr to 8858a024c015
Contains following updates affecting SOF targets:

81658e67e7c0 dts: xtensa: intel_adsp: Remove ALH nodes from ACE 2.0 LNL DTS
4ea52bdd1297 soc: xtensa: intel: Update power status bitfields for LNL
a39a61015c59 dts: xtensa: intel: Reorder LNL power domains
64a81ffb23ba dts: xtensa: intel_adsp: ace15: Update power domain for hda link nodes
ff2dd7f25a99 dts: xtensa: intel: Reorder ACE 1.5 power domain nodes
315ee38b95a2 ADSP: don't use timer interrupts on secondary cores
e914c60ae156 boards: intel_adsp: fix dead link
010f39a409e0 soc: intel_adsp_cavs: store PS when power gating secondary core

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-20 10:11:42 +02:00
Kai Vehmanen 494acf4562 west.yml: update Zephyr to ceff785434b
Patches affecting SOF:

fb54eb5ab133 llext: symbol.h: Explicit typecast in EXPORT_SYMBOL macros
ce243944375e llext: add object test case
33c6bdab9ad1 llext: add STT_OBJECT relocation
41b3c7158687 drivers: dma: intel_adsp_hda: Fix L1 exit condition
5cac834bb651 llext: arch_elf_relocate: pass opval unmodified

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-18 14:07:36 +02:00
Kai Vehmanen 494f4245c3 west.yml: update Zephyr to 251f52cbceb8
Update Zephyr to newer baseline. Among other updates, this brings in
Zephyr commit "intel_adsp/ace: power: Lock interruption when power gate
fails" that fixes a frequent issue seen in SOF CI on Intel MTL
platforms.

Patches affecting SOF:

251f52cbceb8 list_hardware.py: sort rglob(SOC_YML) HWMv2 results
f91065b7c983 nxp: adsp: enable usage of DCACHE API
03a79d638773 llext: elf.h: fix sign of the `r_addend` field of struct elf32_rela
7eb1d3d57d2d llext: elf.h: fix wrong 32 bits length of elf64_rela fields
4ad9f9063848 llext.c: fix logging of 64 bits pointers
07426a800c74 intel_adsp/ace: power: Lock interruption when power gate fails
c15f029a7108 init.h: restore designated initializers in SYS_INIT_NAMED()
223e81b96888 soc: intel_adsp/ace: use CONFIG_XTENSA_MORE_SPIN_RELAX_NOPS
0a6e90b3b833 xtensa: make assembly-called functions static
3fa291690f32 xtensa: use CONFIG_PRIVILEGED_STACK_SIZE for stack size

Link: https://github.com/thesofproject/sof/issues/8908
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-14 10:18:57 +02:00
Kai Vehmanen 22b3518601 west.yml: update Zephyr to f9f44b6dcdd
Switch back to main Zephyr repository and commit f9f44b6dcdd.

This includes following squashed SOF commits that are
needed to adapt to HWMv2 changes in Zephyr:

zephyr: app: scripts: intel_adsp: change board names to HWMv2
zephyr: sof: update board name for HWMv2
zephyr: intel_adsp: Change ACE SoC name to HWMv2
app: boards: imx93: updates for zephyr hwmv2

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-08 13:16:58 +02:00
Kai Vehmanen 7507b32e3b west.yml: update Zephyr to 9d1df132b1c + one revert
Update to Zephyr in sof/main-rebase-20240305 branch of SOF
project's clone of Zephyr upstream repository. Revert one
Zephyr commit "pm: Remove CURRENT_CPU macro" that is leading to
failed tests in SOF CI test suite.

The revert allows us to update Zephyr to a newer version and tackle the
SMP boot and cache interface changes in SOF. The latest Zephyr upstream
has further changes needed in SOF for platform configuration and these
will require separarate changes.

Link: https://github.com/thesofproject/sof/issues/8818
Link: https://github.com/zephyrproject-rtos/zephyr/issues/69807
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-03-06 11:13:57 +02:00
Guennadi Liakhovetski d8d93d3af7 cache: switch over to the new Zephyr cache API
z_soc_uncached_ptr() / z_soc_cached_ptr() have been removed from
Zephyr and replaced with sys_cache_uncached_ptr_get() and
sys_cache_cached_ptr_get() respectively.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-03-06 11:13:57 +02:00
Daniel Leung 5f1e6900d9 zephyr: use k_smp_cpu_start/_resume for secondary core power up
This changes the secondary core power up routine to use the newly
introduced k_smp_cpu_start() and k_smp_cpu_resume(). This removes
the need to mirror part of the SMP start up code from Zephyr, and
no longer need to call into Zephyr private kernel code.

West update includes :

eefaeee061c8 kernel: smp: introduce k_smp_cpu_resume
042cb6ac4e00 soc: intel_adsp: enable DfTTS-based time stamping
             on ACE platforms
6a0b1da158a4 soc: intel_adsp: call framework callback function for restore
e7217925c93e ace: use a 'switch' statement in pm_state_set()
c99a604bbf2c ace: remove superfluous variable initialisation
a0ac2faf9bde intel_adsp: ace: enable power domain
4204ca9bcb3f ace: fix DSP panic during startup  (fixes c3a6274bf5e4)
d4b0273ab0c4 cmake: sparse.template: add COMMAND_ERROR_IS_FATAL
ca12fd13c6d3 xtensa: intel_adsp: fix a cache handling error
0ee1e28a2f5f xtensa: polish doxygen and add to missing doc
035c8d8ceb4b xtensa: remove sys_define_gpr_with_alias()
a64eec6aaeec xtensa: remove XTENSA_ERR_NORET

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Signed-off-by: Rander Wang <rander.wang@intel.com>
[guennadi.liakhovetski@linux.intel.com: update Zephyr hversion]
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-03-06 11:13:57 +02:00
Kai Vehmanen 8238d63f35 west.yml: update zephyr to 9852e8e15bc8
Total of 287 commits with no known impact to SOF to builds.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-01-26 10:56:33 +02:00
Tomasz Leman 2cc63f239e west.yml: update zephyr to d7af6f37103
Total of 366 commits.

Changes include:

d7af6f37103 intel_adsp: ipc: pm action in busy state
61cb7d43580 adsp: hda: accept 16 byte alignment for HDA buffer size
4ae558c505b kernel: work: Fix race in workqueue thread
debb9f63523 xtensa: dc233c: force invalidating TLBs during page table swap
fa25c0b0b88 xtensa: mmu: invalidate mem domain TLBs during page table swap
d1f3f863f14 soc/xtensa/intel_adsp: fix interrupts typo

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2024-01-09 15:10:48 +02:00
Kai Vehmanen 486ccfe7bb west.yml: upgrade Zephyr to a1042c40796
Update Zephyr to bring in total of 169 commits, including
the following related to SOF targets:

dab6f665ca77 xtensa: fix build errors with cache functions
039e5ef1b813 intel_adsp: remove rimage sign() from `west flash`
c7e3ccd51ad4 drivers: dma: intel_adsp_gpdma: fix issue with stop and PM refcounts

Link: https://github.com/thesofproject/sof/issues/8503
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-12-20 14:12:55 +00:00
Fabiola Kwasowiec fb06e4d4cd west: zephyr update
intel_adsp: lnl: add missing definition for lnl
28d5d23a232b69b213112e723e0a6392cbd5a47e

Signed-off-by: Fabiola Kwasowiec <fabiola.kwasowiec@intel.com>
2023-12-18 18:17:14 +02:00
Tomasz Leman 9d42bdee8d west.yml: update zephyr to 0a7251e365a
Total of 74 commits.

Changes include:

0a7251e365a xtensa: mmu: Fix tlb shootdown
a19d415c350 xtensa: mmu: Fix xtensa_ptevaddr_get
7382d7052b5 xtensa: mmu: Fix partition permission
b5ca7a06b43 pm: device_runtime: Add delay to async put
0ea173b7747 pm: device_runtime: Avoid unnecessary resume/suspend
3732aae0e07 intel_adsp: power: clock gating in idle
9d1a6b6db5a arch: xtensa: rename expection header

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2023-12-15 17:07:46 +02:00
Kai Vehmanen 267d069251 west.yml: update Zephyr to ffd716b4a214
Update Zephyr to bring in total of 290 commits, including
the following related to SOF targets:

0ebeca2eb7d0 intel_adsp: ace: add firmware loading tool
0e73c225bb54 drivers: ssp: Reverted CPA check condition

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-12-12 10:33:56 +02:00
Daniel Baluta a41f26d085 west.yml: update Zephyr to efc32081893d
Update Zephyr to pull in imx8ulp support. This includes following zephyr
commits:

- cfb68f827202 ("boards: xtensa: adsp: add support for imx8ulp board")
- a9a0c28282c3 ("dts/xtensa/nxp: Add dtsi for imx8ulp")
- 4b33c65f7108 ("soc: xtensa: adsp: add support for NXP ADSP for i.MX8ULP")
- efc32081893d ("west: sign: add support for NXP i.MX8ULP board")

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2023-12-07 21:35:26 +02:00
Rander Wang f1ee910fc2 west.yml: update Zephyr to efc32081893d
Update Zephyr to bring in following Zephyr commit:
efc32081893d soc: intel_adsp: cavs: mask idc interrupt
before halting cpu

Link: https://github.com/thesofproject/sof/issues/8492

Signed-off-by: Rander Wang <rander.wang@intel.com>
2023-11-24 14:06:13 +00:00
Kai Vehmanen 8cdae1334e west.yml: update Zephyr to 063ce9caf54f
Update Zephyr to bring in following Zephyr commit:

155f866ecc2c dts: intel_adsp: ace remove dw watchdog

Link: https://github.com/thesofproject/sof/issues/8418
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-11-17 12:55:36 +02:00
Laurentiu Mihalcea 4da19a9c1d manifest: west.yml: Bump up Zephyr revision
Bump up Zephyr revision to contain the i.MX8QM and
i.MX8QXP patches that introduce support for the
serial interface.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2023-11-13 09:57:58 +02:00
Kai Vehmanen 1bfeb887c5 west.yml: update Zephyr to 26002b060708
Contains 500+ commits, including following directly affecting
SOF targets:

0a6fc6f70a25 soc: intel_adsp: cavs: fix dts memory address format
4b02bbc3297f cmake: xtensa: update xtensa SoC to use SOC_LINKER_SCRIPT variable
8bccb645aae8 boards: intel_adsp: fix board flashing
a4b9692155a3 soc: intel_adsp/cavs: add secondary dsp context save support
0891448ac908 soc: intel_adsp: don't enable interrupt before k_cpu_idle
c73e67018d0a power_domain_intel_adsp.c: revert recent INIT_PRIORITY change
385ceb714537 soc: xtensa: nxp_adsp: rt595: move .noinit

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-11-09 11:17:09 +02:00
Kai Vehmanen 1c729f43c8 west.yml: update Zephyr to 460c2167e4f3
Contains 600+ commits merged after 3.5.0 release, including following
directly affecting SOF targets:

76cb2a54f51f intel_adsp: Do not include device_runtime header
1fac5ed2a60b soc: xtensa/nxp_adsp: put guard in Kconfig.defconfig
f4cb487b79f9 modules: sof: Options only when module is available
02deea0e806a ace: alh: Only ACE1.5 has OSEL feature
f0326f72498c tests: dma_loopback: Intel ADSP ACE15 disable PM
adf6d0e3d80e soc: intel_adsp: lpsram enable retention mode
eeb4f2f76d6d soc: intel_adsp: hpsram enable retention mode
16f729214b50 soc: intel_adsp: lpsram init refactor
112611378f85 soc: intel_adsp: hpsram init refactor
cdd4d8470323 xtensa: add custom mem range check functions

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-10-30 10:23:47 +02:00
Tomasz Leman d449ff74d6 west.yml: update zephyr to v3.5.0
Updating zephyr version to v3.5.0 release.

Total of 352 commits.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2023-10-25 10:58:47 +03:00
Marc Herbert fd497c906a
Merge e330fb4ec7 into 5b5566f534 2023-10-11 16:16:37 +02:00
Laurentiu Mihalcea da08c1a6b1 west.yml: Bump up Zephyr revision
This commit bumps up the Zephyr revision to contain
the fix for the i.MX93 CI build failure.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2023-10-09 18:03:47 -04:00
Marc Herbert e330fb4ec7 Delete old rimage submodule and old rimage west module
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-10-09 13:08:07 -07:00
Marc Herbert 9b31875318 Add new sof/tools/rimage/tomlc99 submodule to west.yml too
Add it both as a git submodule and west submodule to minimize
disruption. The current focus is on rimage and that's a dramatic enough
change; one problem at at time.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-10-09 13:06:12 -07:00
Marc Herbert 0bd8c3b070 Upgrade rimage submodule and west submodule to ac487e09ca
Add the following rimage commits:

ac487e09ca Congfig: Add TDFB to TGL, TGL-H, MTL, and LNL
d89b7d28f6 ipc4: add google rtc AEC support for mtl
4fc431b355 elf: Remove unused elf.c
71553274b5 Switch to new elf reader and module parse functions.
539c2b388c module: Set of a new functions to parse modules
5f47509b67 elf_file: Set of new functions for reading elf files
7bc2958ba4 Config: Add DCblock to TGL, TGL-H, MTL, and LNL
e8b380d4ae Config: Add Multiband-DRC component to TGL, TGL-H, MTL, LNL
8bcf1fc911 mtl: fill in cps and cpc data for COPIER & GAIN modules
4a36634db6 mtl: fill in cps and cpc data for EQIIR module
fea2a30e56 mtl: fill in cps and cpc data for smart_amp_test  module
476d63608b mtl: fill in cps and cpc data for ASRC module
352f01fee4 mtl: fill in subsequent measured cps and mcps data
c183ce2739 mtl: add measured cps and cpc values
43eb2a435c Config: Add crossover component for MTL and LNL platforms

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2023-10-06 11:51:37 +01:00
Tomasz Leman 6d2352a107 west.yml: update zephyr to 3.5.0-rc1
Zepych update: total of 853 commits.

Changes include:

i8c4eec7ac6 intel_adsp: boot_complete must be done PRE_KERNEL_1
1fc16e6565 release: Zephyr 3.5.0-rc1
c910dc81a6 sys_clock: header: minor cleanup and doxygenization
b9f8b91692 kernel: sys_clock: remove stray z_enable_sys_clock prototype
cc2a558707 kernel: move more internal smp calls into internal domain
a1c7bfbc63 kernel: remove unused z_init_thread_base from kernel.h
209ff606be kernel: move internal smp calls to a internal header
e19f21cb27 kernel: move z_is_thread_essential out of public kernel header
f0c7fbf0f1 kernel: move sched_priq.h to internal/ folder
e6f1090553 kernel: Integrate object core statistics
1d5d674e0d kernel: Add initial k_obj_core_stats infrastructure
6df8efe354 kernel: Integrate object cores into kernel
55db86e512 kernel: Add initial obj_core infrastructure
eb1e5a161d kernel: FIFO and LIFO have their own sections
9bedfd82a2 kernel: Refactor CPU usage
baea37aeb4 kernel: Re-factor sys_mem_blocks definition
2f003e59e4 kernel: Re-factor k_mem_slab definition
41e0a4a371 llext: Linkable loadable extensions
4289359eb2 modules: mcux: fix HAS_CMSIS_CORE selection
1194a35aa2 xtensa: cast char* to void* during stack dump with %p
fcf22e59b8 xtensa: mark arch_switch ALWAYS_INLINE
b2f7ea0523 soc: xtensa/intel_adsp/ace: fix _end location
e560bd6b8c boards: intel_adsp: fix board compatible
b4998c357e mm_drv: tlb: Fix compile time warning
759e07bebe intel_adsp: move memory window setup to PRE_KERNEL_1

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2023-10-03 09:55:47 +03:00
Tomasz Leman 48259d8663 west.yml: update zephyr to b2f7ea0523
Zepych update: total of 736 commits.

492517b918 west.yml: Update NXP HAL SDK to 2.14
a5d1fd9857 soc: adsp: clk: update clock switch flow
9656056b19 dts: adsp: ace20: remove lp clock
50f0e223e8 dts: adsp: ace15: remove lp clock
cf6d5f95b6 adsp: clk: ace: select ipll if wovrco is unavailable
2d835e1b29 dts: adsp: ace20: replace hp with ipll clock
dcecda859c dts: adsp: ace15: replace hp with ipll clock
2f2689e3d3 intel_adsp: ace15: shim: update wovrco request bit
ea9dd59460 yamllint: bindings: add ipll clock index
1ddabfa8d8 dai: intel: dmic: fix shadow variable
b26921d776 dai: intel: dmic: New functions for writing fir coefficients
cba9ec10c3 dai: intel: tgl: dmic: Refactor of dai_nhlt_dmic_dai_params_get function
c28e8ba9ba dai: intel: dmic: Add pdm_base and pdm_idx variables in blob parser
2452aaad50 dai: intel: dmic: Separate fir configuration code into function
f74fd8edaf dai: intel: ace: dmic: Add dai_dmic_start_fifo_packers function
76d03e798f dai: intel: ace: dmic: Using the WAIT_FOR macro in waiting functions
3fbaed4de9 dai: intel: ace: dmic: Refactor of dai_nhlt_dmic_dai_params_get function
d7672af838 dai: intel: dmic: Combine PDM registers definitions
8ea53d49b6 dai: intel: dmic: nhlt: Move debug print code to a separate functions
81944c5c62 dai: intel: dmic: Move definitions of nhlt structures to a new file

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2023-09-28 07:53:37 +02:00
Kai Vehmanen af745b2e48 west.yml: update Zephyr to 2f90ef488a4e
Contains 75+ commits, including following directly affecting
SOF targets:

f0fd9f171342 drivers: hda: insert an empty ";" statement before switch() labels

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-09-05 14:14:42 -07:00
Kai Vehmanen 38faea7ec3 west.yml: update Zephyr to 5689916a70ad
Contains 450+ commits, including following directly affecting
SOF targets:

5689916a70ad soc: xtensa: intel_adsp: cavs: fix assert on L3_MEM_BASE_ADDR
34ea488da91c intel_adsp: ace20_lnl: add ALH DAI support
b7e181c2708b soc: intel_adsp: add HDA buffer interrupt functions
d68a58d6cd26 dts: xtensa: intel: add HDA DMA interrupt defs for ACE2.0
62c7729b3e1a dts: xtensa: intel: add HDA DMA interrupt defs for cAVS platforms
c6c6c5a5ed64 soc: intel_adsp: ace shim: add force L1 defines
0fead68e2b8e Revert "llvm: use proper syntax for --config option"
cd97eae73b4b soc: xtensa: intel_adsp: common: s/device.h/init.h
6cdabb4dff5e soc: xtensa: intel_adsp: common: add missing section_tags.h
c360284c6e14 soc: xtensa: intel_adsp: add missing init.h
ffd2121c65d3 soc: xtensa: intel_adsp: cavs: fix power_down_cavs() signature
a1d7ffdc374d soc: xtensa: intel_adsp: cavs: fix incorrect cached/uncached cast
ce7c30c12978 soc: intel_adsp/ace: use WAIT_FOR for core power transitions
3f0ee7f6db7a power_domain: intel_adsp: initialize after DMA
ca23a5f0cf75 xtensa: mmu: allow SoC to do additional MMU init steps
088a31e2bffa xtensa: mmu: preload ITLB for VECBASE before restoring...
40f2486b685c xtensa: mmu: rename MMU_KERNEL_RING to Z_XTENSA_KERNEL_RING...
18eb17f4cd69 xtensa: mmu: add arch_reserved_pages_update
4778c13bbeab xtensa: mmu: handle all data TLB misses in double exception
c723d8b8d3ac xtensa: Add missing synchronization
24148718fc6e xtensa: mmu: cache common data and heap if !XTENSA_RPO_CACHE
b6ccbae58dc4 xtensa: mmu: use _image_ram_start/end for data region
257404a14327 xtensa: mmu: init: only clear enough entries in way 6
614e64325d48 xtensa: mmu: no longer identity map the first 512MB
b5016714b082 xtensa: mmu: handle TLB misses during user exception
98ffd1addd6a xtensa: crt1: call z_xtensa_mmu_init
38d4b7872401 xtensa: mmu: remove printing vaddr registers during exception
3d63e2060edf dts: cpu: add cdns,tensilica-xtensa-lx3

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-09-01 12:05:50 +03:00
Kai Vehmanen d05588e115 west.yml: Update rimage revision to 4fb9fe0057
Includes following rimage commits:
4fb9fe0057 config: lnl+mtl: fix length of ADSP.man CSE manifest
c809af8168 Config: Add crossover component for TGL and TGL-H cAVS platforms
8c8440070a style: trailing whitespace is the root of all evil
d20f1d8a85 actions: remove travis
af9a2fe58f Config: Fix comment typo for EQ FIR module
b8ee1aa8f6 Config: Add DRC component to TGL, TGL-H, MTL, LNL

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-08-28 10:43:31 +03:00
Kai Vehmanen b81f1309e8 west.yml: update Zephyr to ef6486170786
Contains 2211 commits, including following directly affecting
SOF targets:

ab0ed577111b mm: intel_adsp_tlb: Handle address space conversion warnings
823e6b70d240 arch: xtensa: Implement arch_float_enable&disable
be779f2a6195 intel_adsp: hda: fix usage of FIFORDY bit
498f294b2720 west: update sof ref in manifest
42ca64d60cd2 tests: dma_sg: intel_adsp_ace15 specific config
0e373019d65e dma: intel_adsp_gpdma: Unmask interrupt on ACE
6e66efa08871 soc: intel_adsp_ace15: Include stdint.h
250748bfe671 intel_adsp: Add option about switch off hpsram
b4293ec026c4 dts: xtensa: nxp: add nodes for IPC
1295283a8a72 soc: xtensa: nxp: add resource_table section in linker script
e6d89268572d xtensa: set no optimization for arch_cpu_idle() with xt-clang
a458d0443a91 xtensa: allow arch-specific arch_spin_relax() with more NOPs
f60306193844 soc: xtensa: intel_adsp: cavs: fix PM hooks guards
385ad46a39ca boards/xtensa: Skip cleaning intermediate binaries up
1c0c2a095b48 drivers: intel_adsp_gpdma: Fix release ownership
e55fb88bcbe7 soc: intel_adsp/ace: update clock rate
35e8e6fa03fa soc/xtensa/nxp_adsp/CMakeLists.txt: use new WEST_SIGN_OPTS variable
c35d97534fd1 include: util_internal: add Z_SPARSE_LIST_{ODD|EVEN}_NUMBERS
25c6553edde5 soc: intel_adsp/ace: use functions to do CPU power control
3764814831a7 intel_adsp: boot: d3: hp sram reinit

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2023-08-23 19:34:26 +03:00
Andrey Borisovich e8fdfdda7a west.yml: Update rimage revision to aa0ac9ea
Pull in following rimage changes:
aa0ac9eae6 rimage.c: fix bug where -p requires a new
and ignored parameter

Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
2023-07-31 11:21:50 +01:00
SaiSurya Ch 8fb4860007 west.yml: Update rimage revision to 48777207
Pull in following rimage changes:

48777207f5 (HEAD) config: add vangogh toml file to support vangogh build
089157d461 Config: Add Aria module to tgl-cavs.toml and tgl-h-cavs.toml

Signed-off-by: SaiSurya Ch <saisurya.chakkaveeravenkatanaga@amd.com>
2023-07-13 14:10:03 +03:00