Re: linux-next: build failure after merge of the arm-perf tree
From: Will Deacon
Date: Wed Dec 13 2023 - 04:31:09 EST
Hi Stephen, [+James]
On Wed, Dec 13, 2023 at 10:09:31AM +1100, Stephen Rothwell wrote:
> After merging the arm-perf tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> In file included from drivers/perf/arm_dmc620_pmu.c:26:
> include/linux/perf/arm_pmu.h:15:10: fatal error: asm/cputype.h: No such file or directory
> 15 | #include <asm/cputype.h>
> | ^~~~~~~~~~~~~~~
Damn, I tested with allnoconfig, defconfig and allmodconfig before I pushed,
but only for ARCH=arm64. Thanks for reporting this.
> I can't easily tell what caused this - possibly commit
>
> a5f4ca68f348 ("perf/arm_dmc620: Remove duplicate format attribute #defines")
>
> I have used the arm-perf and arm64 trees from next-20231212 for today
> (since the arm64 tree merged the arm-perf tree).
That looks likely. I'll try reverting it and see if it resolves the problem
locally.
Cheers,
Will