Skip to content

IO transfer error timeout and system suspend-resume test fails #3401

@Vamshigopal

Description

@Vamshigopal

Describe the bug

We can see sdw IO transfer timed out when we do suspend test. followed by an alert is raised and prepare clock error.

To Reproduce
run suspend_stress_test -c 10

Reproduce rate
sporadic.
more than 2/100 cycles

Expected result
No issue on the suspend test.

Actual result
suspend test fails.

Platform: ADL-N RVP board with onboard codec ALC711 in soundwire mode.

kernel:
v5.15 chrome kernel

[ 1842.762840] soundwire_intel soundwire_intel.link.0: IO transfer timed out, cmd 3 device 1 addr 45 len 1
[ 1842.779471] Resume caused by IRQ 9, acpi
[ 1842.795331] init: tpm2-simulator main process (3858) killed by SYS signal
[ 1842.803354] PM: suspend exit
[ 1842.818521] init: tpm2-simulator main process ended, respawning
[ 1843.363613] x86/PAT: flashrom:4265 conflicting memory types fe000000-100000000 uncached-minus<->uncached
[ 1843.374211] soundwire sdw-master-0: trf on Slave 1 failed:-110 write addr 45 count 0
[ 1843.384050] x86/PAT: memtype_reserve failed [mem 0xfe000000-0xffffffff], track uncached-minus, req uncached-minus
[ 1843.393768] rt711 sdw:0:025d:0711:00: SDW_SCP_SYSTEMCTRL write failed:-110
[ 1843.395632] rt711 sdw:0:025d:0711:00: Failed to resume device: -22
[ 1843.395643] rt711 sdw:0:025d:0711:00: Slave 1 alert handling failed: -22
[ 1843.467099] tpm tpm1: A TPM error (256) occurred attempting the self test
[ 1843.468777] rt711 sdw:0:025d:0711:00: clock stop prepare failed:-110
[ 1843.479405] tpm tpm1: starting up the TPM manually
[ 1843.489348] soundwire_intel soundwire_intel.link.0: prepare clock stop failed -110
[ 1843.548401] x86/PAT: flashrom:4265 conflicting memory types fe000000-100000000 uncached-minus<->uncached
[ 1843.552310] soundwire_intel soundwire_intel.link.0: cannot enable clock stop on suspend

dmesg_log.txt

Metadata

Metadata

Labels

ADLApplies to Alder Lake platformCan't ReproduceP2Critical bugs or normal featuresSDWApplies to SoundWire bus for codec connectionbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions