app: ptl: set IMR context save enabled for DAX overlay#10608
app: ptl: set IMR context save enabled for DAX overlay#10608johnylin76 wants to merge 1 commit intothesofproject:mainfrom
Conversation
Signed-off-by: Johny Lin <johnylin@google.com>
|
It is fine to me. I verfied it on |
|
uhm, this shouldn't be needed... I know it's difficult to debug these failures. Is DAX built as an LLEXT when this failure is happening? |
|
This looks quite strange and seems like it's masking the real problem rather than fixing the root cause. IMR context restore has been disabled on every Chrome branch, e.g., the previous ptl-006. @johnylin76 can you describe the problem in more detail? @lgirdwood @kv2019i as far as I know, nothing has changed on the kernel side and context save is still not being actively utilized. Can you confirm? |
|
|
The IMR boot is enabled by default unless the SOF_DBG_IGNORE_D3_PERSISTENT flag is set by the module parameter. IOW, the IMR boot is only disabled when the SOF_DBG_IGNORE_D3_PERSISTENT flag is set. @ujfalusi please correct me if I was wrong. |
Yes. That's also what I am concerned about
In my previous test, the broken issue behaved when we attempt to playback (via Speaker) after reboot. The system message shows as follows: Upon ptl-007-drop-stable, I have checked the combination about sof-ptl.ri (common or DAX-integrated)[1] and sof-ptl-cs42l43-agg-l3-cs35l56-l2.tplg (common or DAX-integrated)[2], and the result is as follows: which implies the issue is not triggered by DAX module use in runtime, instead something unexpected as firmware built with DAX [1] The build command of sof-ptl.ri [2] The topology comes from
Yes. DAX is built as an LLEXT. |
@johnylin76 Interesting. So I suppose it is caused not by the DAX module, but by other options in the DAX overlay. I actually only see one option there, different from the standard .config: |
|
@johnylin76, can you share a complete kernel log and enable dyndbg for the drivers? From the error it looks like that the firmware did booted up, so, either it has not been powered off prior or something really strange is going on. |
This is a fix for regression on Chrome caused from 5599cff (boards: ace30: disable IMR context save). Empirical evidence showed that disabling IMR context save is fine on common Chrome builds but not on DAX-integrated builds. @abonislawski
Although 5599cff is only on ptl-007-drop-main rather than main, I feel this fix can land on both anyway.