Build failure after merge of the sound-current
Subsystems (4)
Mark Brown
maintainerAfter merging the sound-current tree, today's linux-next build for x86 allmodconfig failed like this:
In file included from /home/broonie/next/next/sound/soc/intel/boards/sof_rt5682.c:23:/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h: In function 'soc_intel_is_cml':/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:39:23: error: 'INTEL_FAM6_KABYLAKE_MOBILE' undeclared (first use in this function); did you mean 'INTEL_FAM6_KABYLAKE_L'?
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:18:44: note: in definition of macro 'ICPU'
#define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
^~~~~/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:39:1: note: in expansion of macro 'SOC_INTEL_IS_CPU'
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:39:23: note: each undeclared identifier is reported only once for each function it appears in
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:18:44: note: in definition of macro 'ICPU'
#define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
^~~~~/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:39:1: note: in expansion of macro 'SOC_INTEL_IS_CPU'
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~
make[5]: *** [/home/broonie/next/next/scripts/Makefile.build:281: sound/soc/intel/boards/sof_rt5682.o] Error 1
make[4]: *** [/home/broonie/next/next/scripts/Makefile.build:497: sound/soc/intel/boards] Error 2
make[4]: *** Waiting for unfinished jobs....
In file included from /home/broonie/next/next/sound/soc/intel/atom/sst/sst_acpi.c:35:/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h: In function 'soc_intel_is_cml':/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h:39:23: error: 'INTEL_FAM6_KABYLAKE_MOBILE' undeclared (first use in this function); did you mean 'INTEL_FAM6_KABYLAKE_L'?
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h:18:44: note: in definition of macro 'ICPU'
#define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
^~~~~/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h:39:1: note: in expansion of macro 'SOC_INTEL_IS_CPU'
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h:39:23: note: each undeclared identifier is reported only once for each function it appears in
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h:18:44: note: in definition of macro 'ICPU'
#define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
^~~~~/home/broonie/next/next/sound/soc/intel/atom/sst/../../common/soc-intel-quirks.h:39:1: note: in expansion of macro 'SOC_INTEL_IS_CPU'
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
^~~~~~~~~~~~~~~~
make[6]: *** [/home/broonie/next/next/scripts/Makefile.build:281: sound/soc/intel/atom/sst/sst_acpi.o] Error 1 make[5]: *** [/home/broonie/next/next/scripts/Makefile.build:497: sound/soc/intel/atom/sst] Error 2
make[4]: *** [/home/broonie/next/next/scripts/Makefile.build:497: sound/soc/intel/atom] Error 2
make[3]: *** [/home/broonie/next/next/scripts/Makefile.build:497: sound/soc/intel] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/home/broonie/next/next/scripts/Makefile.build:497: sound/soc] Error 2
make[1]: *** [/home/broonie/next/next/Makefile:1087: sound] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:179: sub-make] Error 2
Command exited with non-zero status 2
caused by commit
c643c189f0fec116 (ASoC: Intel: boards: Add Cometlake machine driver support)
IIRC there was some previous discussion of a dependency on other changes here but I thought that was resolved? I've reverted that commit for today.
Mark Brown
maintainerQuoted 3 lines · Mark Brown
IIRC there was some previous discussion of a dependency on other changes here but I thought that was resolved? I've reverted that commit for today.
This wasn't resolved, Stephen's been carrying a patch for it in -next. I didn't see this mentioned in the pull request for sound to Linus... might be an issue if it gets pulled before tip.
Quoted 10 lines · Mark Brown
Quoted 3 lines · Mark Brown
IIRC there was some previous discussion of a dependency on other changes here but I thought that was resolved? I've reverted that commit for today.
This wasn't resolved, Stephen's been carrying a patch for it in -next. I didn't see this mentioned in the pull request for sound to Linus... might be an issue if it gets pulled before tip.
Hm, strange, I couldn't get the warning when I tested allyesconfig on the tree merged onto 5.3...
Takashi
Quoted 8 lines · Mark Brown
After merging the sound-current tree, today's linux-next build for x86 allmodconfig failed like this:
In file included from
/home/broonie/next/next/sound/soc/intel/boards/sof_rt5682.c:23:/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h: In function 'soc_intel_is_cml':/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:39:23: error: 'INTEL_FAM6_KABYLAKE_MOBILE' undeclared (first use in this function); did you mean 'INTEL_FAM6_KABYLAKE_L'?
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);
Quoted 7 lines
caused by commit
c643c189f0fec116(ASoC: Intel: boards: Add Cometlake machine driver support)IIRC there was some previous discussion of a dependency on other changes here but I thought that was resolved? I've reverted that commit for today.
Seems like a conflict with
af239c44e3f97 ('x86/intel: Aggregate big core mobile naming')
maybe we can have a temporary fix in the ASoC tree along the lines of
#ifdef INTEL_FAM6_KABYLAKE_L
#define INTEL_FAM6_KABYLAKE_MOBILE INTEL_FAM6_KABYLAKE_L
#endif
and remove it when the initial patch is in an rc1?
Quoted 24 lines · Pierre-Louis Bossart
Quoted 8 lines · Mark Brown
After merging the sound-current tree, today's linux-next build for x86 allmodconfig failed like this:
In file included from
/home/broonie/next/next/sound/soc/intel/boards/sof_rt5682.c:23:/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h: In function 'soc_intel_is_cml':/home/broonie/next/next/sound/soc/intel/boards/../common/soc-intel-quirks.h:39:23: error: 'INTEL_FAM6_KABYLAKE_MOBILE' undeclared (first use in this function); did you mean 'INTEL_FAM6_KABYLAKE_L'?
SOC_INTEL_IS_CPU(cml, INTEL_FAM6_KABYLAKE_MOBILE);Quoted 7 lines
caused by commit
c643c189f0fec116(ASoC: Intel: boards: Add Cometlake machine driver support)IIRC there was some previous discussion of a dependency on other changes here but I thought that was resolved? I've reverted that commit for today.
Seems like a conflict with
af239c44e3f97('x86/intel: Aggregate big core mobile naming')
Quoted 7 lines
maybe we can have a temporary fix in the ASoC tree along the lines of
#ifdef
INTEL_FAM6_KABYLAKE_L
#defineINTEL_FAM6_KABYLAKE_MOBILEINTEL_FAM6_KABYLAKE_L
#endifand remove it when the initial patch is in an rc1?
Ah thanks, that's the piece I've missed. The conflict appears *after* the merge with tip. I have tested only the merge result with Linus tree, so it didn't appear in my build tests.
Putting Linus to Cc, so that he can see the possible conflicts beforehand.
thanks,
Takashi
Mark Brown
maintainerQuoted 6 lines · Takashi Iwai
Quoted 3 lines · Pierre-Louis Bossart
Seems like a conflict with
af239c44e3f97('x86/intel: Aggregate big core mobile naming')
Quoted 8 lines
Quoted 1 line
maybe we can have a temporary fix in the ASoC tree along the lines of
Ah thanks, that's the piece I've missed. The conflict appears *after* the merge with tip. I have tested only the merge result with Linus tree, so it didn't appear in my build tests.
Putting Linus to Cc, so that he can see the possible conflicts beforehand.
FWIW -next has been carrying the patch below (it was added against the tip tree so I didn't notice it when it blew up today after takashi moved the merge window stuff so the new code appears earlier in the merge process), sorry about that. I should start carrying it again tomorrow.
From 7e613e2a042c3cd7e3b69c11f52e046257ba5cbd Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <[email protected]>
Date: Thu, 29 Aug 2019 16:08:49 +1000
Subject: [PATCH] ASoC: Intel: boards: merge fix for INTEL_FAM6_KABYLAKE_MOBILE
-> INTEL_FAM6_KABYLAKE_L change
--- sound/soc/intel/common/soc-intel-quirks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/common/soc-intel-quirks.h +1 -1
@@ -36,7 +36,7 @@ SOC_INTEL_IS_CPU(byt, INTEL_FAM6_ATOM_SILVERMONT);SOC_INTEL_IS_CPU (cht,INTEL_FAM6_ATOM_AIRMONT );SOC_INTEL_IS_CPU (apl,INTEL_FAM6_ATOM_GOLDMONT );SOC_INTEL_IS_CPU (glk,INTEL_FAM6_ATOM_GOLDMONT_PLUS ); -SOC_INTEL_IS_CPU (cml,INTEL_FAM6_KABYLAKE_MOBILE ); +SOC_INTEL_IS_CPU (cml,INTEL_FAM6_KABYLAKE_L );static inline bool soc_intel_is_byt_cr (struct platform_device *pdev) {
Signature · 1 line
2.20.1