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
TEST SCENARIO:
During reboot tests, randomly seeing this issue.
Able to reproduce the issue (no consistent method, just reboot some times catch this issue).
From logs: 1) error from dmesg:
[ 8.912119] sof-audio-pci 0000:00:1f.3: error: failed to ready HDA controller gctl 0x0
[ 8.922070] sof-audio-pci 0000:00:1f.3: error: get caps error
[ 8.929600] sof-audio-pci 0000:00:1f.3: display power disable
[ 8.929622] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP -5
[ 8.937423] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -5
Right, we faced this before and never reached a conclusion as to what cause the capability parsing to fail. I had a discussion with hardware folks and there was no smoking gun.
A work-around was added in upstream commit f09e9c7 ('ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing capabilities')
@sathya-nujella can you check if this was back-ported and try to revert it if yes?
Right, we faced this before and never reached a conclusion as to what cause the capability parsing to fail. I had a discussion with hardware folks and there was no smoking gun.
A work-around was added in upstream commit f09e9c7 ('ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing capabilities')
@sathya-nujella can you check if this was back-ported and try to revert it if yes?
@plbossart I already suggested this last night and it didnt help
@ranj063 if the unloading driver before reboot solves the issue, wouldn't this point to a .shutdown() callback that's not doing the same thing as a .remove()?
@ranj063 if the unloading driver before reboot solves the issue, wouldn't this point to a .shutdown() callback that's not doing the same thing as a .remove()?
Thank you @ranj063 . In today's debug with Ranjani's support tried, warm reboot tests.
With her suggestion, found out that after reverting this SOF patch, issue not reproduced in 100-iterations.
As it is random issue, I will continue more tests. But clearly reverting that SOF patch shows improvement.
Activity
kv2019i commentedon Nov 20, 2020
There are a couple of past bugs with similar fingerprint:
#1399
#1556
#1735
Most have such low reproduce rates, that no exact patch could be pointed to for making the problem go away.
One concrete thing to try is this:
#1735 (comment)
kv2019i commentedon Nov 20, 2020
Findings today:
Yet to be tested:
plbossart commentedon Nov 20, 2020
Right, we faced this before and never reached a conclusion as to what cause the capability parsing to fail. I had a discussion with hardware folks and there was no smoking gun.
A work-around was added in upstream commit f09e9c7 ('ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing capabilities')
@sathya-nujella can you check if this was back-ported and try to revert it if yes?
ranj063 commentedon Nov 20, 2020
@plbossart I already suggested this last night and it didnt help
kv2019i commentedon Nov 20, 2020
More tests:
Ongoing:
plbossart commentedon Nov 20, 2020
@ranj063 if the unloading driver before reboot solves the issue, wouldn't this point to a .shutdown() callback that's not doing the same thing as a .remove()?
ranj063 commentedon Nov 20, 2020
@plbossart I'd think so. I'll work with @sathya-nujella this morning to try it out.
sathya-nujella commentedon Nov 22, 2020
Thank you @ranj063 . In today's debug with Ranjani's support tried, warm reboot tests.
With her suggestion, found out that after reverting this SOF patch, issue not reproduced in 100-iterations.
As it is random issue, I will continue more tests. But clearly reverting that SOF patch shows improvement.
Patch reverted: thesofproject/sof@75561a9
SOF issue reported based on this: thesofproject/sof#3633
mengdonglin commentedon Nov 23, 2020
Let's track the issue in thesofproject/sof#3633 atm
ASoC: SOF: Intel: tgl: add .shutdown() callback
15 remaining items
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
FROMGIT:ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() call…
ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
FROMGIT:ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() call…
FROMGIT:ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() call…