Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines
       [not found] <20240424181245.41141-1-tony.luck@intel.com>
@ 2024-04-24 18:15 ` Tony Luck
  2024-04-24 23:58   ` Mark Brown
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tony Luck @ 2024-04-24 18:15 UTC (permalink / raw)
  To: Borislav Petkov, Jaroslav Kysela, Takashi Iwai
  Cc: Cezary Rojewski, Pierre-Louis Bossart, Liam Girdwood,
	Peter Ujfalusi, Bard Liao, Ranjani Sridharan, Kai Vehmanen,
	Mark Brown, Amadeusz Sławiński, Krzysztof Kozlowski,
	Kuninori Morimoto, Tony Luck, alsa-devel, linux-sound,
	linux-kernel, patches

New CPU #defines encode vendor and family as well as model.

Signed-off-by: Tony Luck <tony.luck@intel.com>
---
 sound/soc/intel/avs/boards/es8336.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/intel/avs/boards/es8336.c b/sound/soc/intel/avs/boards/es8336.c
index 5c90a6007577..3d5d4685a668 100644
--- a/sound/soc/intel/avs/boards/es8336.c
+++ b/sound/soc/intel/avs/boards/es8336.c
@@ -18,7 +18,7 @@
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/soc-acpi.h>
-#include <asm/intel-family.h>
+#include <asm/cpu_device_id.h>
 #include "../utils.h"
 
 #define ES8336_CODEC_DAI	"ES8316 HiFi"
@@ -153,9 +153,9 @@ static int avs_es8336_hw_params(struct snd_pcm_substream *substream,
 	int clk_freq;
 	int ret;
 
-	switch (boot_cpu_data.x86_model) {
-	case INTEL_FAM6_KABYLAKE_L:
-	case INTEL_FAM6_KABYLAKE:
+	switch (boot_cpu_data.x86_vfm) {
+	case INTEL_KABYLAKE_L:
+	case INTEL_KABYLAKE:
 		clk_freq = 24000000;
 		break;
 	default:
-- 
2.44.0


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

* Re: [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines
  2024-04-24 18:15 ` [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Tony Luck
@ 2024-04-24 23:58   ` Mark Brown
  2024-04-25  0:12     ` Luck, Tony
  2024-04-25  0:58   ` Mark Brown
  2024-04-25  7:39   ` Amadeusz Sławiński
  2 siblings, 1 reply; 5+ messages in thread
From: Mark Brown @ 2024-04-24 23:58 UTC (permalink / raw)
  To: Tony Luck
  Cc: Borislav Petkov, Jaroslav Kysela, Takashi Iwai, Cezary Rojewski,
	Pierre-Louis Bossart, Liam Girdwood, Peter Ujfalusi, Bard Liao,
	Ranjani Sridharan, Kai Vehmanen, Amadeusz Sławiński,
	Krzysztof Kozlowski, Kuninori Morimoto, alsa-devel, linux-sound,
	linux-kernel, patches

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

On Wed, Apr 24, 2024 at 11:15:50AM -0700, Tony Luck wrote:
> New CPU #defines encode vendor and family as well as model.

This appears to be part of a series but I've no cover letter or anything
else from it.  What's the story for dependencies and merging?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* RE: [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines
  2024-04-24 23:58   ` Mark Brown
@ 2024-04-25  0:12     ` Luck, Tony
  0 siblings, 0 replies; 5+ messages in thread
From: Luck, Tony @ 2024-04-25  0:12 UTC (permalink / raw)
  To: Mark Brown
  Cc: Borislav Petkov, Jaroslav Kysela, Takashi Iwai, Rojewski, Cezary,
	Pierre-Louis Bossart, Liam Girdwood, Peter Ujfalusi, Bard Liao,
	Ranjani Sridharan, Kai Vehmanen, Amadeusz Sławiński,
	Krzysztof Kozlowski, Kuninori Morimoto,
	alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org, patches@lists.linux.dev

>> New CPU #defines encode vendor and family as well as model.
>
> This appears to be part of a series but I've no cover letter or anything
> else from it.  What's the story for dependencies and merging?

Sorry. I should have at least added a link to the individual patches to
provide some pointers. It's my first time with a patch bomb of this size,
so I'm learning as I go.

You can pick up the cover letter, and the whole series, from lore with:

$ b4 am 20240424181245.41141-1-tony.luck@intel.com

or pull from: git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git new_families_v4

The dependencies for this patch are already in tip x86/cpu, and in linux-next.
Basically these three patches:

f055b6260eb3 x86/cpu/vfm: Update arch/x86/include/asm/intel-family.h
e6dfdc2e89a0 x86/cpu/vfm: Add new macros to work with (vendor/family/model) values
a9d0adce6907 x86/cpu/vfm: Add/initialize x86_vfm field to struct cpuinfo_x86

For merging. This can either go through tip with the rest of the series.
Or you can take it through your own tree after the dependencies get
merged into v6.10-rc1 (I'm expecting this to take a couple of release
cycles to complete).

-Tony



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

* Re: [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines
  2024-04-24 18:15 ` [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Tony Luck
  2024-04-24 23:58   ` Mark Brown
@ 2024-04-25  0:58   ` Mark Brown
  2024-04-25  7:39   ` Amadeusz Sławiński
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2024-04-25  0:58 UTC (permalink / raw)
  To: Tony Luck
  Cc: Borislav Petkov, Jaroslav Kysela, Takashi Iwai, Cezary Rojewski,
	Pierre-Louis Bossart, Liam Girdwood, Peter Ujfalusi, Bard Liao,
	Ranjani Sridharan, Kai Vehmanen, Amadeusz Sławiński,
	Krzysztof Kozlowski, Kuninori Morimoto, alsa-devel, linux-sound,
	linux-kernel, patches

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

On Wed, Apr 24, 2024 at 11:15:50AM -0700, Tony Luck wrote:
> New CPU #defines encode vendor and family as well as model.

Acked-by: Mark Brown <broonie@kernel.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines
  2024-04-24 18:15 ` [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Tony Luck
  2024-04-24 23:58   ` Mark Brown
  2024-04-25  0:58   ` Mark Brown
@ 2024-04-25  7:39   ` Amadeusz Sławiński
  2 siblings, 0 replies; 5+ messages in thread
From: Amadeusz Sławiński @ 2024-04-25  7:39 UTC (permalink / raw)
  To: Tony Luck, Borislav Petkov, Jaroslav Kysela, Takashi Iwai
  Cc: Cezary Rojewski, Pierre-Louis Bossart, Liam Girdwood,
	Peter Ujfalusi, Bard Liao, Ranjani Sridharan, Kai Vehmanen,
	Mark Brown, Krzysztof Kozlowski, Kuninori Morimoto, alsa-devel,
	linux-sound, linux-kernel, patches

On 4/24/2024 8:15 PM, Tony Luck wrote:
> New CPU #defines encode vendor and family as well as model.
> 
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---

Thanks!

Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>


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

end of thread, other threads:[~2024-04-25  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240424181245.41141-1-tony.luck@intel.com>
2024-04-24 18:15 ` [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Tony Luck
2024-04-24 23:58   ` Mark Brown
2024-04-25  0:12     ` Luck, Tony
2024-04-25  0:58   ` Mark Brown
2024-04-25  7:39   ` Amadeusz Sławiński

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