From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A646ACD8CAE for ; Tue, 10 Oct 2023 17:50:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234037AbjJJRuY (ORCPT ); Tue, 10 Oct 2023 13:50:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233964AbjJJRuU (ORCPT ); Tue, 10 Oct 2023 13:50:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10EBDCF; Tue, 10 Oct 2023 10:50:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B87FC433C8; Tue, 10 Oct 2023 17:50:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696960218; bh=Kn+OuWITY6sxHu4i1jB6+MNgKR4TSnhC1PkBjyktekU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P1ciFsU8nc2KTykmdJF8XQxcFJ8casIzGBQQQmJcZUktyhSmEWI0iJ2p3iKRv7FBW jv7Ma2z51JLjaCuQnVYQFRQ1zxVvTCOIp7/UNi1RC0LADiSnpsmLAeN9jq+Q5XepjH cE98hWt9QYR+GC8Zfyg8CIzwp/uxVCaNbI2v+bm5RzlrcJfYGZVkGSJn22Giq9cfr5 HoQJ1tzoYHV9FFXXoJXthvxKeQ4kPXnKlyZdzeKiKBZgll3+TcozUFmxiIlMsTZiCm 7PuuOANmex8f+8883WFGnd/UiOYAsOwinh4OvO/tChcE0HscTpMzCj/ARlD9pKMpCN gKpapZBSI2Myg== Date: Tue, 10 Oct 2023 18:50:14 +0100 From: Will Deacon To: Ilkka Koskinen Cc: Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the arm-perf tree Message-ID: <20231010175013.GA10036@willie-the-truck> References: <20231010095601.1443903c@canb.auug.org.au> <98ffbcf6-a646-ac2-5785-f78644f7cbe@os.amperecomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98ffbcf6-a646-ac2-5785-f78644f7cbe@os.amperecomputing.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 09, 2023 at 10:45:18PM -0700, Ilkka Koskinen wrote: > > Hi Stephen, > > On Mon, 9 Oct 2023, Stephen Rothwell wrote: > > Hi all, > > > > After merging the arm-perf tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > drivers/perf/arm_cspmu/ampere_cspmu.c: In function 'ampere_cspmu_set_ev_filter': > > drivers/perf/arm_cspmu/ampere_cspmu.c:164:9: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration] > > 164 | writel(threshold, cspmu->base0 + PMAUXR0); > > | ^~~~~~ > > cc1: all warnings being treated as errors > > > > Caused by commit > > > > 290a9c0e55f8 ("perf: arm_cspmu: ampere_cspmu: Add support for Ampere SoC PMU") > > > > I have used the arm-perf tree from next-20231009 for today. > > Thanks for catching the bug! It doesn't seem to happen on arm64 build but I > can reproduce it on x86_64 build indeed. > > > Will, it seems that "#include " is missing from ampere_cspmu.c. > After that also x86_64 build goes through. How would you like to get the bug > fixed? Shall I submit a new version of the patch, and you would replace the > old patch with the new one or is it better to > create a completely new patch that only adds the missing include line? If it's just a missing include, I can chuck a patch on top to fix it myself. I'll double-check it resolves the problem and then update the branch. Thanks! Will