Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1047116rwb; Fri, 18 Nov 2022 11:55:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf60tReZrHJzTd1pIlqOhTzaUuq17IH6PPlqalcE7mdX4TSAYTNfLagVsx0+M0t4pY80mCK2 X-Received: by 2002:a63:d556:0:b0:435:7957:559d with SMTP id v22-20020a63d556000000b004357957559dmr7752479pgi.122.1668801310969; Fri, 18 Nov 2022 11:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668801310; cv=none; d=google.com; s=arc-20160816; b=LgFZ9CKaNy95yJ7XUkhejdeNU63Fzzm2rcyf8g/z7YgUHsXOwpGmM/wY6PlmBdZIGA rYad9l0oIGvGXKcIwTnfuJZSBw0MrUhi2JskVGFd9C60bZISzyDLLR6BOO52gzGjc7Co 2gxf0Kxq2p0KQGNH7Yfdo1T3l4hg6rFP8fMIedVcy+/oWO/ZGZeFQlPEHW7/E4FbUsPe n+oPHtfdBowERxRJ/aJ98u4F91St+fWFI9csLhObgGIDnuDfxzxY/gdj3v+8vP2btb4P em28m6+xSgkSWeOKZwwGs5X+w/u7yVmnyU98P5EZuvSZlheflV29IwAnnYvf+5R+gkMs NEkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y3vq4qoFu63vUMmAICDx81vhcWNQtcnvAp6YxqmImhg=; b=loNXlwMdIpzUbuf4kxUj2Ka9bugJXuOdItz1EgfHo+f3Y+5IcZ42DGKJ3t7LDBbwRE qRsdOtHn6YV4PLuihKwuLTAfD2qlZqwqixVPa9e/T7VIYsmJ0JWZ6vtjSfukey9CZlm0 QB15t/ZGb29EIRJ/aDTr8Mdox8j9gXeorib1//YSWvzuYZy/9bCXG6RLf7shjoeBLAcF 68QVULUFY0u3A4vpxLNdOAK1zvrlimpoch0zD1qwr5JN4xBQ8hNW8oqzE1W+oMlA+44D brEae2CLaBDmme+VhEV2AKRKeoQ5s6Qiof5t9+t7enGa/iAta8gQY638F89E4RN2hrDA BscA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RuwrqeHR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s82-20020a632c55000000b004768796b231si4572713pgs.41.2022.11.18.11.54.59; Fri, 18 Nov 2022 11:55:10 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RuwrqeHR; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234351AbiKRTlU (ORCPT + 90 others); Fri, 18 Nov 2022 14:41:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241896AbiKRTlM (ORCPT ); Fri, 18 Nov 2022 14:41:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22F178C4B5; Fri, 18 Nov 2022 11:41:09 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B3C706275F; Fri, 18 Nov 2022 19:41:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7570C433C1; Fri, 18 Nov 2022 19:41:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668800468; bh=gMurl95kRBLvoj+dTtcCxEZ2JyEw7e+FRQDZAoRXyIc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RuwrqeHRn03zJx6z8HXce2pwGFOg/O4YGayaIuEJd7ZxsM7XsCvUwNMSUAYtMFcUi 6pqVznXeisdoQSebpu1K9NJUjY0ej7rXjaOS4+HVfL+UjgBxB6Z70npngkYHp7N+Kq qcw1FxtKHUdtO2OqekLQHWQLj8T6wdl1zxqTImxthsaQhQdo5eTQYMYrJOQZ0lXxBT Do2LV2N1d+A8lg4z6NDfIPNznkBHDCOmo1wN9cPO2rtNd5HxcYhJpLZJ4aHUWHYdGe C01kqnAYb4s16nHDVEOo/U0/xekZ3hNXZ1fL83bxPZsgLmznOgP4UcQyDyDOcPk4Um uHiEvvuI0cuWg== From: Will Deacon To: suzuki.poulose@arm.com, mark.rutland@arm.com, catalin.marinas@arm.com, Besar Wicaksono Cc: kernel-team@android.com, Will Deacon , ywan@nvidia.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, vsethi@nvidia.com, linux-tegra@vger.kernel.org, jonathanh@nvidia.com, treding@nvidia.com Subject: Re: [PATCH] perf: arm_cspmu: Fix module cyclic dependency Date: Fri, 18 Nov 2022 19:40:43 +0000 Message-Id: <166877833240.3584782.4730226198999894697.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221116203952.34168-1-bwicaksono@nvidia.com> References: <20221116203952.34168-1-bwicaksono@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Wed, 16 Nov 2022 14:39:52 -0600, Besar Wicaksono wrote: > Build on arm64 allmodconfig failed with: > | depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu -> arm_cspmu > | depmod: ERROR: Found 2 modules in dependency cycles! > > The arm_cspmu.c provides standard functions to operate the PMU and the > vendor code provides vendor specific attributes. Both need to be built as > single kernel module. > > [...] Applied to will (for-next/perf), thanks! [1/1] perf: arm_cspmu: Fix module cyclic dependency https://git.kernel.org/will/c/a91bbd5c9984 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev