Skip to content

SOF probe fails to invalid HDA codec mask of 0x7 #1367

@kv2019i

Description

@kv2019i

An issue has been detected both by data gathered by @wenqingfu from WW42-43 CI failures, and from manual test round of #1155 by validation team (@ClarexZhou) where following kernel signature is found in dmesg:

[ 4.475548 < 0.000350>] sof-audio-pci 0000:00:1f.3: codec_mask = 0x7

This is a fatal problem for current driver. When the non-existant codec is probed, the action will fail and whole driver probe will be aborted. In known configurations, mask should be 0x5, with addresses #0 and #2 populated.

When this occurs, following happens:
[ 5.480386 < 0.409756>] sof-audio-pci 0000:00:1f.3: error: codec #1 probe error, ret: -5
[ 5.480390 < 0.000004>] sof-audio-pci 0000:00:1f.3: Turning i915 HDAC power off
[ 5.480561 < 0.000171>] sof-audio-pci 0000:00:1f.3: error: no matching ASoC machine driver found - aborting probe
[ 5.480564 < 0.000003>] sof-audio-pci 0000:00:1f.3: error: failed to get machine info -19
[ 5.480565 < 0.000001>] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -19

Examples in CI (WW42-43 data):

Metadata

Metadata

Assignees

Labels

HDAApplies to HD-Audio bus for codec connectionICLApplies to Icelake platformbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions