Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp309456rdg; Tue, 10 Oct 2023 10:50:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCwskWxF092NmV5JpwmZTNTpUXv7P62Ghpl9oi1XqddkwyQMcj5pqcFnVuB5TWlFIoD0hS X-Received: by 2002:a05:6830:11d8:b0:6bd:78a:460 with SMTP id v24-20020a05683011d800b006bd078a0460mr22548554otq.32.1696960230054; Tue, 10 Oct 2023 10:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696960230; cv=none; d=google.com; s=arc-20160816; b=ntllaPKQSrklu4+ZvGM1mJOrTxoctHj5uizUdFuGAKkAuMjQb2OpD79aF/8LLu3Vfq tNo2CeIWYX/ZW1iwiw/E1TLK8pr38meIPASFssXZEsihrZuSepF2ttle2qPEfZCA9V/J 5a2BJvhjyzeiZ2uQx5TkWBx3Cq7eQbkWC8r/9PU3osf2XmGxJvXMyHeUpFLjeMjUQIuk 9h2DYd9ug3h04ORQb+vFbfm3t3wup9JM0YdXgvaJug1fVxIYK6Hwt6C0ClryBSouTZwY YrS6kTbfuTYweJpOIHsdayEA8IqEGdWAC6FPlxPJGCMgXDdo5qQXOFpZTsuqujMwdDIT Akvw== 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=zIyeBFMJu5weU4Es3X3FIjcrHtSAL0jhmSkMCBB7esM=; fh=xJ6ZB/kug9A0GgCcEBWWxvxEs/ltUS/0tXPCYZQFYjo=; b=jJhGUcCFIfVMtPxdSQH/Piv58jSbI8FtDZw8Fn3Kqeh+ylOkK1ME4EtJfTvRdIYLRR Kk68p9WXcWqkR7mK0aD2kpGUBXcIUZppshumyZtW2pIiXSnDMw5LL69NROC0emhWZ0eW hh8CCxh9B3uiuDdJfQUymM2DJH/IOOITgs825VGCrf7AxcCLfuVKCYeCsO1dgoNR+x5Y OPzbTyXwL0bnYv5+U/ffJegXR5ixoZNnA2srT5KQzY1532OaQUB3kdhTsksavnzufcYA Au4HuIEasD8WjbgfhjjS4XOB6Hb30y/5hX+IZh9eO2LI12dtw+jyWD5sH/ES4VZK964O 9gEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P1ciFsU8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b0059ccb99a2eesi1356062pgp.173.2023.10.10.10.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 10:50:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P1ciFsU8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 35DD080309DE; Tue, 10 Oct 2023 10:50:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233993AbjJJRuX (ORCPT + 99 others); Tue, 10 Oct 2023 13:50:23 -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) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Tue, 10 Oct 2023 10:50:29 -0700 (PDT) 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