[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250217231747.1656228-1-superm1@kernel.org>
Date: Mon, 17 Feb 2025 17:17:40 -0600
From: Mario Limonciello <superm1@...nel.org>
To: Yazen Ghannam <yazen.ghannam@....com>,
Borislav Petkov <bp@...en8.de>,
Mark Brown <broonie@...nel.org>
Cc: Mario Limonciello <mario.limonciello@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
x86@...nel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)),
"H . Peter Anvin" <hpa@...or.com>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Daniel Baluta <daniel.baluta@....com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.dev>,
Vijendar Mukunda <Vijendar.Mukunda@....com>,
Peter Zijlstra <peterz@...radead.org>,
Jeff Johnson <quic_jjohnson@...cinc.com>,
Venkata Prasad Potturu <venkataprasad.potturu@....com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
Arnd Bergmann <arnd@...db.de>,
Cristian Ciocaltea <cristian.ciocaltea@...labora.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
linux-kernel@...r.kernel.org (open list:AMD NODE DRIVER),
linux-sound@...r.kernel.org (open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...),
sound-open-firmware@...a-project.org (moderated list:SOUND - SOUND OPEN FIRMWARE (SOF) DRIVERS)
Subject: [PATCH 0/7] Adjust all AMD audio drivers to use AMD_NODE
From: Mario Limonciello <mario.limonciello@....com>
The various AMD audio drivers have self contained implementations
for SMN router communication that require hardcoding the bridge ID.
These implementations also don't prevent race conditions with other
drivers performing SMN communication.
A new centralized driver AMD_NODE is introduced and all drivers in
the kernel should use this instead. Adjust all AMD audio drivers to
use it.
Mario Limonciello (7):
x86/amd_node: Add a helper for use with `read_poll_timeout`
ASoC: amd: acp: rembrandt: Use AMD_NODE
ASoC: amd: acp: acp70: Use AMD_NODE
ASoC: amd: acp: acp63: Use AMD_NODE
ASoC: SOF: amd: Use AMD_NODE
ASoC: amd: acp: Drop local symbols for smn read/write
ASoC: SOF: amd: Drop host bridge ID from struct
arch/x86/include/asm/amd_node.h | 11 +++++
sound/soc/amd/acp/Kconfig | 3 ++
sound/soc/amd/acp/acp-legacy-common.c | 18 --------
sound/soc/amd/acp/acp-rembrandt.c | 28 ++++++------
sound/soc/amd/acp/acp63.c | 63 +++++++++++++++++----------
sound/soc/amd/acp/acp70.c | 28 ++----------
sound/soc/amd/acp/amd.h | 3 --
sound/soc/sof/amd/Kconfig | 1 +
sound/soc/sof/amd/acp.c | 56 +++++++-----------------
sound/soc/sof/amd/acp.h | 2 -
sound/soc/sof/amd/pci-acp63.c | 1 -
sound/soc/sof/amd/pci-acp70.c | 1 -
sound/soc/sof/amd/pci-rmb.c | 1 -
sound/soc/sof/amd/pci-rn.c | 1 -
sound/soc/sof/amd/pci-vangogh.c | 1 -
15 files changed, 90 insertions(+), 128 deletions(-)
--
2.43.0
Powered by blists - more mailing lists