Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5231226rdb; Wed, 13 Dec 2023 02:56:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTkom/s/7EfKyzH8FRi5/4SlkKQxyyK9R2MAMNCLK9oqntmhS+ks+WwUYEQgRomOU8o2IF X-Received: by 2002:a05:6a20:639e:b0:18f:97c:4f58 with SMTP id m30-20020a056a20639e00b0018f097c4f58mr2813845pzg.100.1702465004833; Wed, 13 Dec 2023 02:56:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702465004; cv=none; d=google.com; s=arc-20160816; b=JVZQ1e+EPfSMpxFp1JIvDyxSNLiHzfftzrFtq0hgM0UojedmELW96bEyYTfzkv6VEH sKssNuMDVA77HXdIFnDy2E5Hs/T5APqF4RvzhJBzYEToTFs86CY4jmscrKzdoPV0ZjI+ EFMVV/IO7yZrrIo+8hE+8ECkUGvw9Qq3dOH2nLSZNzy+VIXlMOtrWUjvosYKAuMQWQVj iLUsj+FvWVeFVAlxJCQUgkBNtQB5nsb+1EGRdpY6fvY0etbTE3zRvR7bO8oH4IKUCSDc ew85s0pWND4NeaL8M3DD+EPTtbrKO+FPWsHexF4x7a+TIelL9ftiatCU+aMnlCFFsm0g EGyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tVF+dCUCW7UX2rmplmPEb10q2e7dC0Qj0cpyLo270jY=; fh=/qzFp9XJ2HlyJm6yvT5lLRYmuUHnwQyK1lcEcg0ShY0=; b=COYb2eWn+zFR3R/gwEZah6R+mMENwF7UCmalDInUo9JqFCHYp97SZqFtG14t2V8Av1 7cCOhyp5BeYwvJ+++x3xmwVGTnr17BvI1s8t8OEuU4cAbebc8smwJFFP/7UYnBa/aJqw q4iqGDvMVW2fvC3akz/vFVu5bm5kiXx17hOoPuZLU0R+xSKF5YqxP7sch6SMLxcbLF3h CqbZe0PTGc/lXGrf9SpJ/6WiwY2fyQopf2Ogvy/WUto8jKObiJF/MOZWwWSjQVHnmuDN +ztX+HCpZdk/t+Ter0QGWNBytHx+knczMlROk6yUK658B+oWNXqvejzEsBwpuu133AsR yh0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XiGi062r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id r7-20020a170902be0700b001d0c205708fsi9213511pls.186.2023.12.13.02.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 02:56:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XiGi062r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8BC9580AE53B; Wed, 13 Dec 2023 02:56:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377968AbjLMK40 (ORCPT + 99 others); Wed, 13 Dec 2023 05:56:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377991AbjLMK4V (ORCPT ); Wed, 13 Dec 2023 05:56:21 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4832A11D for ; Wed, 13 Dec 2023 02:56:28 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5ED5C433C7; Wed, 13 Dec 2023 10:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702464987; bh=JhVw9j5BPxOuP0wVIbYDnW3Wq4255LW6snZceT5A608=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XiGi062rJVyA332+7I8z7ufASBDnufA6yAY+hkd3pYgBYcKGpiZjrsSEfZ/Lk/BRT LVjN6bkSfrWwisA3w8xAr2r4Je7Qco7dNpIREwuG+9ijMWieyMKumbs5Zbe2jispjL PD7unpIZKDavk3ZhEMp+nwm0ksK2w46Pxx+FKQbFNlwR8d87uYGPzYof+qzI7mKtM9 x6cWaAG0IX2LYi/B3jYSGc6KwyroCnkFcPjwrsr4Bo6lwx/vwuhJgU1zHYrjsNNzfz hPmf3pYpLNSmQP/muYhnewcyNlVEbf6VlFGRcCcsuwhYFcKlaFS9+Au0hJW5qsaA7h L9ZBe70w+SdBw== Date: Wed, 13 Dec 2023 10:56:23 +0000 From: Will Deacon To: James Clark Cc: Stephen Rothwell , Catalin Marinas , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the arm-perf tree Message-ID: <20231213105622.GA31277@willie-the-truck> References: <20231213100931.12d9d85e@canb.auug.org.au> <20231213093057.GA31075@willie-the-truck> <90b43e2e-4bbc-d1f2-dba5-8c9174e7398f@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <90b43e2e-4bbc-d1f2-dba5-8c9174e7398f@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 02:56:42 -0800 (PST) On Wed, Dec 13, 2023 at 10:15:25AM +0000, James Clark wrote: > On 13/12/2023 09:30, Will Deacon wrote: > > 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 > >> | ^~~~~~~~~~~~~~~ > > > > 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. > > > > Oops sorry about that, I didn't expect that change to break the x86 > build so I didn't test it there, but it's because of CONFIG_COMPILE_TEST. No problem, these things happen! > a5f4ca68f348 is the offending commit, and reverting it would fix it (it > was just a tidyup). But this change below also works. That include was > to build ARM_PMU_PROBE which is only used in perf_event_v6.c (and v7) > which both already include asm/cputype.h. Although maybe that would be a > bit of a hack. > > diff --git a/include/linux/perf/arm_pmu.h b/include/linux/perf/arm_pmu.h > index 337f01674b38..a4876b1c481a 100644 > --- a/include/linux/perf/arm_pmu.h > +++ b/include/linux/perf/arm_pmu.h > @@ -12,7 +12,6 @@ > #include > #include > #include > -#include > > #ifdef CONFIG_ARM_PMU I agree that this feels like a bit of a bodge, so I'll revert for now and maybe we can revisit things later. Cheers, Will