You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] cavs platform_init should not write to DSP shim registers in Zephyr build #7249
Started working on this. Some of the registers are written in Zephyr platfom boot code, but not all, so we cannot simply remove this yet. I also didn't want to add ifdef ZEPHYR on individual register writes, but rather wait until we have this init done correctly in Zephyr main and then remove this.
Also consider how to do this cleanly for intel/cavs. Once @juimonen complete the runtime_pm refactoring, we are starting to get close to the point where we could add a thin "platform/cavs-zephyr" that gets rid of all platform specific code, or drop XTOS support altogether for intel/cavs in SOF main.
Activity
kv2019i commentedon Mar 10, 2023
Started working on this. Some of the registers are written in Zephyr platfom boot code, but not all, so we cannot simply remove this yet. I also didn't want to add ifdef ZEPHYR on individual register writes, but rather wait until we have this init done correctly in Zephyr main and then remove this.
Also consider how to do this cleanly for intel/cavs. Once @juimonen complete the runtime_pm refactoring, we are starting to get close to the point where we could add a thin "platform/cavs-zephyr" that gets rid of all platform specific code, or drop XTOS support altogether for intel/cavs in SOF main.
@lgirdwood @juimonen any thoughts?
lgirdwood commentedon Mar 13, 2023
@nashif fyi
@kv2019i I assume we have this flow in the Zephyr init and are executing it twice today ?
kv2019i commentedon Mar 14, 2023
@lgirdwood Nopes, we are missing bits on Zephyr side -> zephyrproject-rtos/zephyr#55738
lgirdwood commentedon May 11, 2023
@kv2019i @juimonen any update ?
kv2019i commentedon May 25, 2023
Need to move to v2.7. I have a PR in Zephyr side, but I can't complete it in SOF2.6 timeline (Zephyr 3.4 feature freeze starts tomorrow).
platform: cavs: do not program GPDMA/ALH ownership in Zephyr builds
platform: cavs: do not program GPDMA/ALH ownership in Zephyr builds