* [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD
@ 2025-02-20 16:51 Mario Limonciello
2025-02-20 18:43 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Mario Limonciello @ 2025-02-20 16:51 UTC (permalink / raw)
To: mario.limonciello, lgirdwood, peter.ujfalusi, yung-chuan.liao,
ranjani.sridharan, daniel.baluta, broonie, perex, tiwai
Cc: Stephen Rothwell, sound-open-firmware, linux-sound
From: Mario Limonciello <mario.limonciello@amd.com>
When SMN support was switched to the kernel wide AMD_NODE instead of
local implementation this broke compilation on the allyesconfig for
some architectures. AMD_NODE is only supported on AMD platforms, so
modify all the AMD drivers that use it to also require CPU_SUP_AMD.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20250220160950.2cd64bdb@canb.auug.org.au/
Fixes: f120cf33d232 ("ASoC: SOF: amd: Use AMD_NODE")
---
sound/soc/sof/amd/Kconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sound/soc/sof/amd/Kconfig b/sound/soc/sof/amd/Kconfig
index 28216c8c1cf97..6eb5b2d148430 100644
--- a/sound/soc/sof/amd/Kconfig
+++ b/sound/soc/sof/amd/Kconfig
@@ -33,6 +33,7 @@ config SND_SOC_SOF_AMD_COMMON
config SND_SOC_SOF_AMD_RENOIR
tristate "SOF support for RENOIR"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support on AMD Renoir platform
@@ -40,6 +41,7 @@ config SND_SOC_SOF_AMD_RENOIR
config SND_SOC_SOF_AMD_VANGOGH
tristate "SOF support for VANGOGH"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support
@@ -50,6 +52,7 @@ config SND_SOC_SOF_AMD_VANGOGH
config SND_SOC_SOF_AMD_REMBRANDT
tristate "SOF support for REMBRANDT"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support on AMD Rembrandt platform
@@ -82,6 +85,7 @@ config SND_SOC_SOF_AMD_SOUNDWIRE
config SND_SOC_SOF_AMD_ACP63
tristate "SOF support for ACP6.3 platform"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
select SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
help
@@ -93,6 +97,7 @@ config SND_SOC_SOF_AMD_ACP63
config SND_SOC_SOF_AMD_ACP70
tristate "SOF support for ACP7.0 platform"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support on
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD
2025-02-20 16:51 [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD Mario Limonciello
@ 2025-02-20 18:43 ` Mark Brown
2025-02-20 18:46 ` Mario Limonciello
0 siblings, 1 reply; 5+ messages in thread
From: Mark Brown @ 2025-02-20 18:43 UTC (permalink / raw)
To: Mario Limonciello
Cc: mario.limonciello, lgirdwood, peter.ujfalusi, yung-chuan.liao,
ranjani.sridharan, daniel.baluta, perex, tiwai, Stephen Rothwell,
sound-open-firmware, linux-sound
[-- Attachment #1: Type: text/plain, Size: 814 bytes --]
On Thu, Feb 20, 2025 at 10:51:26AM -0600, Mario Limonciello wrote:
> From: Mario Limonciello <mario.limonciello@amd.com>
>
> When SMN support was switched to the kernel wide AMD_NODE instead of
> local implementation this broke compilation on the allyesconfig for
> some architectures. AMD_NODE is only supported on AMD platforms, so
> modify all the AMD drivers that use it to also require CPU_SUP_AMD.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/linux-next/20250220160950.2cd64bdb@canb.auug.org.au/
> Fixes: f120cf33d232 ("ASoC: SOF: amd: Use AMD_NODE")
> ---
You've not provided a Signed-off-by for this so I can't do anything with
it, please see Documentation/process/submitting-patches.rst for details
on what this is and why it's important.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD
2025-02-20 18:43 ` Mark Brown
@ 2025-02-20 18:46 ` Mario Limonciello
0 siblings, 0 replies; 5+ messages in thread
From: Mario Limonciello @ 2025-02-20 18:46 UTC (permalink / raw)
To: Mark Brown
Cc: mario.limonciello, lgirdwood, peter.ujfalusi, yung-chuan.liao,
ranjani.sridharan, daniel.baluta, perex, tiwai, Stephen Rothwell,
sound-open-firmware, linux-sound
On 2/20/2025 12:43, Mark Brown wrote:
> On Thu, Feb 20, 2025 at 10:51:26AM -0600, Mario Limonciello wrote:
>> From: Mario Limonciello <mario.limonciello@amd.com>
>>
>> When SMN support was switched to the kernel wide AMD_NODE instead of
>> local implementation this broke compilation on the allyesconfig for
>> some architectures. AMD_NODE is only supported on AMD platforms, so
>> modify all the AMD drivers that use it to also require CPU_SUP_AMD.
>>
>> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
>> Closes: https://lore.kernel.org/linux-next/20250220160950.2cd64bdb@canb.auug.org.au/
>> Fixes: f120cf33d232 ("ASoC: SOF: amd: Use AMD_NODE")
>> ---
>
> You've not provided a Signed-off-by for this so I can't do anything with
> it, please see Documentation/process/submitting-patches.rst for details
> on what this is and why it's important.
Whoops, sorry about that, will resend.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD
@ 2025-02-20 18:48 Mario Limonciello
2025-02-20 22:21 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Mario Limonciello @ 2025-02-20 18:48 UTC (permalink / raw)
To: mario.limonciello, lgirdwood, peter.ujfalusi, yung-chuan.liao,
ranjani.sridharan, daniel.baluta, broonie, perex, tiwai
Cc: Stephen Rothwell, sound-open-firmware, linux-sound
From: Mario Limonciello <mario.limonciello@amd.com>
When SMN support was switched to the kernel wide AMD_NODE instead of
local implementation this broke compilation on the allyesconfig for
some architectures. AMD_NODE is only supported on AMD platforms, so
modify all the AMD drivers that use it to also require CPU_SUP_AMD.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20250220160950.2cd64bdb@canb.auug.org.au/
Fixes: f120cf33d232 ("ASoC: SOF: amd: Use AMD_NODE")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
Resend with S-o-b
---
sound/soc/sof/amd/Kconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sound/soc/sof/amd/Kconfig b/sound/soc/sof/amd/Kconfig
index 28216c8c1cf97..6eb5b2d148430 100644
--- a/sound/soc/sof/amd/Kconfig
+++ b/sound/soc/sof/amd/Kconfig
@@ -33,6 +33,7 @@ config SND_SOC_SOF_AMD_COMMON
config SND_SOC_SOF_AMD_RENOIR
tristate "SOF support for RENOIR"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support on AMD Renoir platform
@@ -40,6 +41,7 @@ config SND_SOC_SOF_AMD_RENOIR
config SND_SOC_SOF_AMD_VANGOGH
tristate "SOF support for VANGOGH"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support
@@ -50,6 +52,7 @@ config SND_SOC_SOF_AMD_VANGOGH
config SND_SOC_SOF_AMD_REMBRANDT
tristate "SOF support for REMBRANDT"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support on AMD Rembrandt platform
@@ -82,6 +85,7 @@ config SND_SOC_SOF_AMD_SOUNDWIRE
config SND_SOC_SOF_AMD_ACP63
tristate "SOF support for ACP6.3 platform"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
select SND_SOC_SOF_AMD_SOUNDWIRE_LINK_BASELINE
help
@@ -93,6 +97,7 @@ config SND_SOC_SOF_AMD_ACP63
config SND_SOC_SOF_AMD_ACP70
tristate "SOF support for ACP7.0 platform"
depends on SND_SOC_SOF_PCI
+ depends on CPU_SUP_AMD
select SND_SOC_SOF_AMD_COMMON
help
Select this option for SOF support on
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD
2025-02-20 18:48 Mario Limonciello
@ 2025-02-20 22:21 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2025-02-20 22:21 UTC (permalink / raw)
To: mario.limonciello, lgirdwood, peter.ujfalusi, yung-chuan.liao,
ranjani.sridharan, daniel.baluta, perex, tiwai, Mario Limonciello
Cc: Stephen Rothwell, sound-open-firmware, linux-sound
On Thu, 20 Feb 2025 12:48:20 -0600, Mario Limonciello wrote:
> When SMN support was switched to the kernel wide AMD_NODE instead of
> local implementation this broke compilation on the allyesconfig for
> some architectures. AMD_NODE is only supported on AMD platforms, so
> modify all the AMD drivers that use it to also require CPU_SUP_AMD.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: amd: Add depends on CPU_SUP_AMD
commit: b47834ee4485bbdcc6d36f086ff61c3efd8870d4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-02-20 22:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-20 16:51 [PATCH] ASoC: SOF: amd: Add depends on CPU_SUP_AMD Mario Limonciello
2025-02-20 18:43 ` Mark Brown
2025-02-20 18:46 ` Mario Limonciello
-- strict thread matches above, loose matches on Subject: below --
2025-02-20 18:48 Mario Limonciello
2025-02-20 22:21 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox