Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp491450rwb; Wed, 16 Nov 2022 03:50:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf6wELueyea+KQPY5jZJxtWtbKOyTCKi4s++pEXZ3tAqNqNDkyDehahK5TpGKsEiJFEKxDmS X-Received: by 2002:a63:db4e:0:b0:43c:5e0:f2aa with SMTP id x14-20020a63db4e000000b0043c05e0f2aamr20049634pgi.448.1668599439611; Wed, 16 Nov 2022 03:50:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668599439; cv=none; d=google.com; s=arc-20160816; b=Goypi59A87tkScGGwxgOZIG00Lm4b1EZwwcq3R4FikzSTEyLg17QKwrsxMH5Od1eJN WbaZbxJ+XkQdZuspWTZjWEYs4+ENGrSwS+nfn4lXpyHT/P40gcPgZ4ZbC/tvBnMAwg3Q 2yXLYaMK01o4G3+laIMJ9jY8Bp3pgBaYIzxKyph8WHOs8Pg5IEsl7I2JJq/Q1VRxNMjN C07ThgVmL32FqZucOdvxKpoTbxy2P9VtMw3KHThdzRfoRRBgW/n1D8Fr1q+oPk9t1uPR vuejO510jKfq4ghzJEVAoxiRoMawPNXmvt6nREEjsB7tHUdvbEXyRDYlGVO7Ov1jCtOG LYSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=9zwmX166A8XJkafBwaFB8LJm/qvup2q+13D7gwDqhjg=; b=AKIzFTYzOXref5ma8LM1p/znzYp2NaFrc/yNYKBnh5bDOOCEj5gNCC957+bWH5xCNt JUziIo0nzMHRr4IYQ5NmJozxN1bS6Kr3q0J8KVqyBKfTP7iXKKjkDh6Pej/fouxzaL0Y EQV3NKN5ieDwBtCIJmZ9LR4IaHai9OX9V9UKuJauFtH56WV62UXDQ2+5UJZuSng6514c omgzmTE0e4FNdWFGHv/C43A+KUsjiY7bekcdb3EfwlvCBCbGcgYqmS+2CfcUZBSVcPG8 wOV0g/TUb0xR1yYAjsV+ilYXusXuQvmZVXfy7mJJvvxIsJ4FDJBfqR0kPlE0psijM+mz Lqcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb10-20020a170902bc8a00b00188a63e129csi2841590plb.332.2022.11.16.03.50.27; Wed, 16 Nov 2022 03:50:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232682AbiKPLCs (ORCPT + 91 others); Wed, 16 Nov 2022 06:02:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238967AbiKPLBm (ORCPT ); Wed, 16 Nov 2022 06:01:42 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41F871FFA0; Wed, 16 Nov 2022 02:49:38 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3A20C150C; Wed, 16 Nov 2022 02:49:44 -0800 (PST) Received: from [10.57.40.76] (unknown [10.57.40.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E18253F663; Wed, 16 Nov 2022 02:49:36 -0800 (PST) Message-ID: <774c9e6b-a8f4-66fe-aae0-d1cefedf7df3@arm.com> Date: Wed, 16 Nov 2022 10:49:35 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: linux-next: build failure after merge of the arm64 tree To: Besar Wicaksono , Stephen Rothwell , Catalin Marinas , Will Deacon Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20221116090401.0cd5ccc7@canb.auug.org.au> From: Suzuki K Poulose In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 On 15/11/2022 23:52, Besar Wicaksono wrote: > > >> -----Original Message----- >> From: Stephen Rothwell >> Sent: Tuesday, November 15, 2022 4:04 PM >> To: Catalin Marinas ; Will Deacon >> >> Cc: Besar Wicaksono ; Linux Kernel Mailing List >> ; Linux Next Mailing List > next@vger.kernel.org> >> Subject: linux-next: build failure after merge of the arm64 tree >> >> Hi all, >> >> After merging the arm64 tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> drivers/perf/arm_cspmu/arm_cspmu.c: In function 'arm_cspmu_get_cpus': >> drivers/perf/arm_cspmu/arm_cspmu.c:1114:29: error: implicit declaration of >> function 'get_acpi_id_for_cpu' [-Werror=implicit-function-declaration] >> 1114 | get_acpi_id_for_cpu(cpu)) { >> | ^~~~~~~~~~~~~~~~~~~ >> > > +CC Suzuki for awareness. > > This function is used for searching CPU with matching ACPI Processor ID in PPTT. > I will check if adding PPTT dependency to arm_cspmu would resolve this issue. Please make this dependent on ARM64. That should resolve the failure. As such the helper is available with ARM64 && ACPI. Suzuki > > Regards, > Besar > >> Caused by commit >> >> e37dfd65731d ("perf: arm_cspmu: Add support for ARM CoreSight PMU >> driver") >> >> I have used the arm64 tree from next-20221115 for today. >> >> -- >> Cheers, >> Stephen Rothwell