Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1009124rwb; Fri, 7 Oct 2022 07:05:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56XruFAW/s6yDeiXoKXgNT2FMJiqC1kieXGCgtzdhp2CFnhuF6fQOjONRa7osdAQrdA6le X-Received: by 2002:a63:698a:0:b0:41c:8dfb:29cb with SMTP id e132-20020a63698a000000b0041c8dfb29cbmr4690692pgc.170.1665151509536; Fri, 07 Oct 2022 07:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665151509; cv=none; d=google.com; s=arc-20160816; b=mf5xUECjjmJR0QjGWLgFIu/goJtvLs5hrL15cbbuMe0XXSla3iAi8ZHZZ0GMqXvaA5 evLMZqGHjuzLJdt0FTkeH6Zm4cOorXgv9GGkUaRTmPOTUqkIyqFXGq+wL1InNGjbc/EA 0QOjPYQTntI/x6wmZR5WTDxjOhMpKHH5sxo5OZyZVWVXDvvORuXntOj8c6FFlEy1YGe3 UJZY/uiOwaH7ziU1cVov6maKlVFOHSD/bHErbl4FBRCT7TVV6x5QoWMkMuDtW1e5yUsq HWYW3XHMqQdGe0TwWB3J9Swfbz6fuenFML/2Fd0kEBArDRHRC78ehpuFEaJXRJLNuKH0 NCUg== 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=ARRxxUpTH1cRWfQuMFWlcfWJJ+D2p/E//+jJkkPEnYA=; b=OUaONGSObQiI3KB8JAtpBh5nfiQvf/9rsyYbm1H0OMo+fI4l4bvTBE/6OnvXRbHJQg 163hlao6hyCXJPgvjosHodWPmKqeCtqjYvnTCdm53DbfE8MDZHta6wlmtHV+IYGSOP8K QzKtNk1blk96tWPs1SXEgire4WAPEx7cX1TYcSSH1PEX5tbtjDms7ddZQhphidTO33Is w7PIF3QiNEaNBDr4V6Z7xx/kMQkcacJIrAG1HzLSX0An++igPNjEqW+ow+8Bx7jOKHmu Znkt7j5TWpGjTWtCxjWSXj8AvKTt0oxkpC+Di30dLJRF5K7BCAOWVNFtBrQnrlPe4JFE kMPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QJf0BJt9; 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 g7-20020a17090a714700b00205d58e9125si2339059pjs.68.2022.10.07.07.04.49; Fri, 07 Oct 2022 07:05:09 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QJf0BJt9; 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 S229563AbiJGNRP (ORCPT + 99 others); Fri, 7 Oct 2022 09:17:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbiJGNRJ (ORCPT ); Fri, 7 Oct 2022 09:17:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C9DAD018E for ; Fri, 7 Oct 2022 06:17:08 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id BCABCB822E6 for ; Fri, 7 Oct 2022 13:17:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0B4FC433D6; Fri, 7 Oct 2022 13:17:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665148625; bh=f+Qm9GXfjCsCnVzjA7YLDOi76PJFXUc5CeVj8sq1VDU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QJf0BJt9dM1tcDlmrMOKLj4V0MvRJU4e4OoEO+1fxptuqC1ZMXdrfpndRUSqJAuja NmXrDVyDK6zWvhOQ9uZ61ybkQIoV57tphhyHED3iWPpkmXHDRQnV/1LCjszGuRRQBl FDHkcwWbuTtf6Fatlu+Dwuingvsj508QbIyvovy0B+xANLZ0ETlWGhpFa6A6QNiJ0f RsVI0KxSc/tjlEwQVKdjIyTQt7aZgkX+t2kCmg9bcRTzT5RMjW4ItU+2QPXzpKBRbj PBxmTHjvp2NjQsY7AmZZcJDpR72sI+/5sOgJVLBLYzMytQ1mZctMqQiUdTlQW127bf /6WSeZ9E4T57g== Date: Fri, 7 Oct 2022 14:17:00 +0100 From: Will Deacon To: Geert Uytterhoeven , catalin.marinas@arm.com Cc: Mark Rutland , Neng Chen , Jonathan Cameron , Baolin Wang , Hongbo Yao , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers/perf: ALIBABA_UNCORE_DRW_PMU should depend on ACPI Message-ID: <20221007131659.GB26341@willie-the-truck> References: <2a4407bb598285660fa5e604e56823ddb12bb0aa.1664285774.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a4407bb598285660fa5e604e56823ddb12bb0aa.1664285774.git.geert+renesas@glider.be> User-Agent: Mutt/1.10.1 (2018-07-13) 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 Tue, Sep 27, 2022 at 03:37:16PM +0200, Geert Uytterhoeven wrote: > 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. Acked-by: Will Deacon Another one for Catalin to queue as a fix. Will