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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97FBBC4332F for ; Wed, 16 Nov 2022 13:27:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FrY99OoQsXFQW9w3Er2KyQoy1YCNcBM5Ish8alNW41Q=; b=11HI3U9ZBN4nwC rNDhIF/ldwePDJQASE3BFKXO6Oy2SsEbjoNUGWMIZU+JTfZU+QtXfqXVODEpTnrRR4cfG3LHBhrN2 5HbqrwIhUVMV2ln4ZJwuYoE8O98Gx8P2D4cuKUXRT/HoXvYWUVzhuD+ZzVL0RkPDO3JgF2lIBp5/4 qI4CgmVdae89RZLqv1FDTuZ+m1M+5EAyf0F4+Q7exLmmJXSrQGTyE5gCSN70O4jII/Hl2197r1WaZ 3glJfSr513xwXxYMTitVXILKFYhMjw0CRA22k9zhFxcr95KqNuggYYk24TT2YB+8OjRhqTNabkyec /Cbfs7lMn6J6c5blNX4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovIQj-003tz8-IY; Wed, 16 Nov 2022 13:26:17 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovIQg-003tww-N2 for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 13:26:16 +0000 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 30C731477; Wed, 16 Nov 2022 05:26:15 -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 B91BB3F663; Wed, 16 Nov 2022 05:26:07 -0800 (PST) Message-ID: <3da71d06-e3ed-e0d1-f57e-117fd6550b85@arm.com> Date: Wed, 16 Nov 2022 13:26:06 +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: arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-g9500fc6e9e60) To: Will Deacon , "kernelci.org bot" , bwicaksono@nvidia.com Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, kernel-build-reports@lists.linaro.org, kernelci-results@groups.io References: <63744192.a70a0220.b0ecf.2266@mx.google.com> <20221116122019.GA1848@willie-the-truck> From: Suzuki K Poulose In-Reply-To: <20221116122019.GA1848@willie-the-truck> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_052614_847428_A397F178 X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16/11/2022 12:20, Will Deacon wrote: > Besar, Suzuki, > > On Tue, Nov 15, 2022 at 05:49:06PM -0800, kernelci.org bot wrote: >> arm64/for-kernelci build: 2 builds: 1 failed, 1 passed (v6.1-rc5-63-g9500fc6e9e60) >> >> Full Build Summary: https://kernelci.org/build/arm64/branch/for-kernelci/kernel/v6.1-rc5-63-g9500fc6e9e60/ >> >> Tree: arm64 >> Branch: for-kernelci >> Git Describe: v6.1-rc5-63-g9500fc6e9e60 >> Git Commit: 9500fc6e9e6077616c0dea0f7eb33138be94ed0c >> Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git >> Built: 1 unique architecture >> >> Build Failure Detected: >> >> arm64: >> allmodconfig: (gcc-10) FAIL > > This is caused by the new arm_cspmu modules: > > | depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu -> arm_cspmu > | depmod: ERROR: Found 2 modules in dependency cycles! > > Please can you send patches to fix this and the other build issue reported > by Stephen Rothwell? Sigh ! Apologies, I didn't spot this. A proper fix is too invasive, with addition of a provision for individual backend drivers to register an "impl_match" with generic arm_cspmu driver. Until we get this, we could fold the nvidia_cspmu driver into the arm_csmpu module. Something like : diff --git a/drivers/perf/arm_cspmu/Makefile b/drivers/perf/arm_cspmu/Makefile index 641db85c018b..169bc64334d4 100644 --- a/drivers/perf/arm_cspmu/Makefile +++ b/drivers/perf/arm_cspmu/Makefile @@ -2,6 +2,5 @@ # # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += \ - arm_cspmu.o \ - nvidia_cspmu.o +obj-$(CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU) += arm_cspmu_core.o +arm_cspmu_core-y := arm_cspmu.o nvidia_cspmu.o Besar, Please could you add a separate patch (for fixing it in later versions) as mentioned above ? Thoughts ? Suzuki > > Cheers, > > Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel