Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/7] Adjust all AMD audio drivers to use AMD_NODE
@ 2025-02-17 23:17 Mario Limonciello
  2025-02-17 23:17 ` [PATCH 1/7] x86/amd_node: Add a helper for use with `read_poll_timeout` Mario Limonciello
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Mario Limonciello @ 2025-02-17 23:17 UTC (permalink / raw)
  To: Yazen Ghannam, Borislav Petkov, Mark Brown
  Cc: Mario Limonciello, Thomas Gleixner, Dave Hansen,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT), H . Peter Anvin,
	Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Peter Ujfalusi,
	Bard Liao, Ranjani Sridharan, Daniel Baluta, Kai Vehmanen,
	Pierre-Louis Bossart, Vijendar Mukunda, Peter Zijlstra,
	Jeff Johnson, Venkata Prasad Potturu, Uwe Kleine-König,
	Arnd Bergmann, Cristian Ciocaltea, Krzysztof Kozlowski,
	open list:AMD NODE DRIVER,
	open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
	moderated list:SOUND - SOUND OPEN FIRMWARE (SOF) DRIVERS

From: Mario Limonciello <mario.limonciello@amd.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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-02-19 23:08 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 23:17 [PATCH 0/7] Adjust all AMD audio drivers to use AMD_NODE Mario Limonciello
2025-02-17 23:17 ` [PATCH 1/7] x86/amd_node: Add a helper for use with `read_poll_timeout` Mario Limonciello
2025-02-17 23:17 ` [PATCH 2/7] ASoC: amd: acp: rembrandt: Use AMD_NODE Mario Limonciello
2025-02-17 23:17 ` [PATCH 3/7] ASoC: amd: acp: acp70: " Mario Limonciello
2025-02-17 23:17 ` [PATCH 4/7] ASoC: amd: acp: acp63: " Mario Limonciello
2025-02-17 23:17 ` [PATCH 5/7] ASoC: SOF: amd: " Mario Limonciello
2025-02-17 23:17 ` [PATCH 6/7] ASoC: amd: acp: Drop local symbols for smn read/write Mario Limonciello
2025-02-17 23:17 ` [PATCH 7/7] ASoC: SOF: amd: Drop host bridge ID from struct Mario Limonciello
2025-02-18 15:11 ` [PATCH 0/7] Adjust all AMD audio drivers to use AMD_NODE Mark Brown
2025-02-18 15:16   ` Mario Limonciello
2025-02-18 15:26     ` Borislav Petkov
2025-02-18 15:33       ` Mario Limonciello
2025-02-18 17:26         ` Borislav Petkov
2025-02-18 17:29           ` Mario Limonciello
2025-02-19 23:08 ` (subset) " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox