linux/sound/soc/amd
Mario Limonciello 2a31b5378c
ASoC: amd: yc: disable MSI on resume
BIOS/firmware may re-enable MSI in PCI config space during system
resume even though this driver only uses legacy INTx interrupts. If MSI
is left enabled with stale address and data registers, the device can
write interrupts to a bogus address and cause an IOMMU IO_PAGE_FAULT.

Clear the MSI Enable bit before reinitializing ACP hardware on system
resume. Keep runtime resume separate because firmware does not restore
PCI configuration on that path.

Fixes: c8212df7bc ("ASoC: amd: add acp6x pci driver pm ops")
Reported-by: Marek Borůvka <boruvka.marek@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=222119
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20261013125425.3541206-1-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
History 2026-10-13 14:32:22 +01:00
..
acp ASoC: amd: acp: Add more ACP7.0 match entries for Cirrus Logic parts 2026-10-07 16:21:32 +02:00
acp7x ASoC: amd: acp7x: add system and runtime PM ops 2026-05-22 00:15:04 +01:00
include ASoC: Add SPDX ids to many soc files 2026-02-22 23:52:20 +00:00
ps ASoC: amd: ps: replace bitwise OR with logical OR in IRQ return check 2026-07-07 23:47:18 +01:00
raven ASoC: amd: use .auto_selectable_formats 2026-07-09 18:00:09 +01:00
renoir ASoC: amd: renoir: fix disable_pdm_interrupts() to clear mask bits 2026-09-01 14:34:50 +01:00
vangogh ASoC: amd: use .auto_selectable_formats 2026-07-09 18:00:09 +01:00
yc ASoC: amd: yc: disable MSI on resume 2026-10-13 14:32:22 +01:00
acp-config.c ASoC: amd: acp: Add DMI override for ASUS EXPERTBOOK AM7406CKA 2026-10-07 16:15:05 +02:00
acp-da7219-max98357a.c ASoC: amd: acp-da7219-max98357a: don't bind on Raven/Picasso boards 2026-09-08 15:59:06 +01:00
acp-es8336.c ASoC: amd: acp-es8336: Drop unused include 2026-03-16 01:11:18 +00:00
acp-pcm-dma.c ASoC: amd: acp: pass audio_drv_data to dma_irq_handler 2026-08-13 15:50:22 +01:00
acp-rt5645.c ASoC: amd: Move to GPIO descriptors 2026-03-16 01:11:23 +00:00
acp.h ASoC: amd: add I2S MICSP instance support 2022-07-05 13:00:44 +01:00
acp3x-rt5682-max9836.c ASoC: amd: acp3x-rt5682-max9836: Drop unused include 2026-03-16 01:11:21 +00:00
Kconfig ASoC: amd: enable acp7.x drivers build 2026-05-22 00:15:03 +01:00
mach-config.h ASoC: amd: acp: add ACPI machine table for ACP7.B/7.F SOF driver 2026-07-03 17:30:46 +01:00
Makefile ASoC: amd: enable acp7.x drivers build 2026-05-22 00:15:03 +01:00