Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp997178rwb; Tue, 27 Sep 2022 07:12:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4A9xsfULg/bbcO56tbutZbz5nn5Eo6DJIUAD7xqNlI3Lfr4nVYaaCJIvyOoQmR3AK0KoO2 X-Received: by 2002:a17:907:25cc:b0:77b:a6c7:6d2b with SMTP id ae12-20020a17090725cc00b0077ba6c76d2bmr23219178ejc.148.1664287966010; Tue, 27 Sep 2022 07:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664287966; cv=none; d=google.com; s=arc-20160816; b=CVk6dP9rjRXOQuxSxEuzjIatSHurzEYIlNVnks79Snq333Cqt4O1FZw3yD92oHJkbh RS1Vmkxiti6SimlPCK/rn5I8O3Xj8FF1lbYOcEuZ766EwRoJuGuisVOJDSF9qy8V+qE3 3cDpSo0S9p2pOJedWmJJ4e2leK+S6Gg55Cc+qfQH23v9BxJq43Tp8nhKfV0/k4xQvyq8 a8NWT4DuvAzFEQLKhNYxxmM14R9op2tb/DnT4lbYGrWgERY/Q9sM/II5xxJtT/3GCWra GzvDVDyb8XQ2cjmqDb0ku9Cz9TYz6fOSJF4SkIrj0U3U4kDPXQSii/KNIBOvintedmZA S0Tw== 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 :message-id:date:subject:cc:to:from; bh=AkgTaCSPowt3rIju8dFeQhAyznYpRmY5+1c4ejVaQe4=; b=hPI1uDg9UEsXq9jWc/KVOXt2r3Aq3whssNks6CnnAs1WAvOb+bEsuOYD1+dhcvdqN5 N9XpZ/TvajWa5jtVVkkmQ85Xa6zefM3LJJf5gxO2Ied6pvOyxT1QE12eo45gZDUjKiwP 0q4hU3+1Jo9DZabJ1CAiTFB9Fy+QADkggTA8mPJZ8g+ZVtM3uCWZ74Ewr/xlLcI7SBme EMqLTzrYEl9Z2Dbf8nNh49+cD8aRIi37NlpJ7M4mrGHEbUU/Syjg5eoegt1cRtuQi7LK 08CatlrFbBiq4sNkMB+7Unu7lZuxKnTZwJPZ6zwWOvyFdZbBMFSgciElzRUOK+m/um36 p79Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s17-20020aa7c551000000b00456ef916c75si1645554edr.71.2022.09.27.07.12.12; Tue, 27 Sep 2022 07:12:45 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231381AbiI0NhY (ORCPT + 99 others); Tue, 27 Sep 2022 09:37:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbiI0NhW (ORCPT ); Tue, 27 Sep 2022 09:37:22 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6FDA7E301 for ; Tue, 27 Sep 2022 06:37:20 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:d95b:5c9b:4085:7c0d]) by albert.telenet-ops.be with bizsmtp id R1dJ2800R3Qogd1061dJc1; Tue, 27 Sep 2022 15:37:19 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1odAly-006QeR-5E; Tue, 27 Sep 2022 15:37:18 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1odAlx-000vnq-Jy; Tue, 27 Sep 2022 15:37:17 +0200 From: Geert Uytterhoeven To: Will Deacon , Mark Rutland , Neng Chen , Jonathan Cameron , Baolin Wang , Hongbo Yao Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] drivers/perf: ALIBABA_UNCORE_DRW_PMU should depend on ACPI Date: Tue, 27 Sep 2022 15:37:16 +0200 Message-Id: <2a4407bb598285660fa5e604e56823ddb12bb0aa.1664285774.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,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 The Alibaba T-Head Yitian 710 DDR Sub-system Driveway PMU driver relies solely on ACPI for matching. Hence add a dependency on ACPI, to prevent asking the user about this driver when configuring a kernel without ACPI support. Fixes: cf7b61073e4526ca ("drivers/perf: add DDR Sub-System Driveway PMU driver for Yitian 710 SoC") Signed-off-by: Geert Uytterhoeven --- drivers/perf/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 44c07ea487f4482a..341010f20b777905 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -185,7 +185,7 @@ config APPLE_M1_CPU_PMU config ALIBABA_UNCORE_DRW_PMU tristate "Alibaba T-Head Yitian 710 DDR Sub-system Driveway PMU driver" - depends on ARM64 || COMPILE_TEST + depends on (ARM64 && ACPI) || COMPILE_TEST help Support for Driveway PMU events monitoring on Yitian 710 DDR Sub-system. -- 2.25.1