Message ID | 20230216182043.1946553-6-sunilvl@ventanamicro.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp456899wrn; Thu, 16 Feb 2023 10:23:14 -0800 (PST) X-Google-Smtp-Source: AK7set88cVYdoEbMDuLXuE/oXGskchVjPG2O/s+KeZox5fitmvqYiKxngtWy5eydd2BNP2ZC2shg X-Received: by 2002:a05:6402:3890:b0:4ab:10c8:6af0 with SMTP id fd16-20020a056402389000b004ab10c86af0mr2242058edb.0.1676571794142; Thu, 16 Feb 2023 10:23:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676571794; cv=none; d=google.com; s=arc-20160816; b=gCIjHmgh85ngnum1nVYLpxIWxSVgLoKWuU0BuslInW6opJKxe3USMb3z7SButEgErS O487DCvWUfmjLvzDsH++py6ooT9Z8lmNv6YCNRgqC4jL69D+Js2vItJsl7JJfUuPUYl2 D/IEppL6bavRIl9M8Be4xd9P1KrDbQjP2VUKi0CYupFP/Y5bwhekfV7f5BgdqenMIw1R CwcySrNrYcqKaDUbfhuyy+kDweYzOVD9nlKo9LMacAfPkG/qZk0gAdtaEll7fdxjYFn0 f54L7sZnH+H/OUpCcqt69q/LKwl4zYc24CCVsTTPcglfUMRBt1qhE4A/dToMeCYzEHYT gkjw== 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=IRX9Rh9lefADAfWYEbY0yIAAiynI9MZaTYH+yetjREM=; b=vdoUKTX3rdZsYczajW6tZZJ3y4dRGIz5o0Mse/dfqhbgg0VlfnTiMR7GWT7W75VeFu s6jkk6ZBZTxvqYy8GcoKKm4n4kh59MhNNUbpSSoQ6ySbAejti8pwZ1OQI3T55NPjlKIY 5Uh+oi+ici/JtBqVCNrd2PqQdb53WCOOI/isi3I1MpSVxPZJn8xzLr1JHiwJzbc64IvP SALPJWrJYjWIwJdJ1V+mu1W8tJTrGhlM5Hb+Ia6fraBe1YfZaGV2/AJ7FVFAF/gzkchi BwwDVCF36WvUfKiavE6wHXuXeuiUwMN0yRwfBIKVPbL3rtYjK913xEK8H2DfN2pJwlrU +Pug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=IaeR6uCO; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020aa7d441000000b004aac545e7fesi2816672edr.174.2023.02.16.10.22.50; Thu, 16 Feb 2023 10:23:14 -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=@ventanamicro.com header.s=google header.b=IaeR6uCO; 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 S229524AbjBPSVq (ORCPT <rfc822;aimixsaka@gmail.com> + 99 others); Thu, 16 Feb 2023 13:21:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbjBPSVm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 16 Feb 2023 13:21:42 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 757E250340 for <linux-kernel@vger.kernel.org>; Thu, 16 Feb 2023 10:21:17 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id kk7-20020a17090b4a0700b00234463de251so6706382pjb.3 for <linux-kernel@vger.kernel.org>; Thu, 16 Feb 2023 10:21:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IRX9Rh9lefADAfWYEbY0yIAAiynI9MZaTYH+yetjREM=; b=IaeR6uCOYqxkxcPO2OyZK+7eC6B5XWUpETzkV429cXcAgdslHLazNahirlmg6GJ8nt ZxrE9y/gCeS9R3rDQdwL6ajjbBDd26jf7ah+E/ozJpUScU2Hs+caXXwpejxxCR18bBU5 QNKpQffB0OL67KNEN3pFW1lBC/gH9rY9bKHvtpm6/Plg4D4UklunHYOF9ee3xh/FJ8fg YWtE0U1o4BV11Ioa48QOdk/Y5DLLCGTR9ZcNpwCOm0D6MtRbodmOEuxChDMNlSDPHFN5 VLFqJLp/kX3fdGCWO4vPoek08/oItOINvIreIDT7iodgxsdmmImQdjNXsthZ5FVMYJ15 EWaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IRX9Rh9lefADAfWYEbY0yIAAiynI9MZaTYH+yetjREM=; b=LeJleGuRabsfzRAAgRdRXThIyXQxFNY3QXKXTYJX1Xz0Nl8PTtaWGaWs4mhpnTfThe bDjA7W48YxN4/Y6eCr89xzbPbGHRQLmXuIUG++RMUlARhve6lfmGzRGwr6j69Vbd0Jc7 igIUcWm7j7RS9s7eob9eY65LlOL882+MRgxtWWfhI5FoSRKs+M7bF21m5w1BOF40zUq/ UrlDie5BAlg/m3VMo9za5PSwDJTAi/Ux/1Svl06LxzN8Nm+eLZDmPJ5qCjfwBDqoWfXQ 754omaPAml/J1jnPZxteSH905CJEYQJC9oDw7zNXesExGGOQKbEwSgzOEnZFXJ1mvOuQ I+5g== X-Gm-Message-State: AO0yUKXD3CHr+t6FmC9wzWwKUMW5pkG0ChcnUba7UPheXDRj0BAV1Txl j/XxHXsCb+YseiHnwrkyFulfsQ== X-Received: by 2002:a05:6a20:3d0c:b0:bc:61d5:7bf2 with SMTP id y12-20020a056a203d0c00b000bc61d57bf2mr7783217pzi.34.1676571676972; Thu, 16 Feb 2023 10:21:16 -0800 (PST) Received: from kerodi.Dlink ([49.206.14.226]) by smtp.gmail.com with ESMTPSA id n21-20020a637215000000b004dff15fc121sm1517574pgc.36.2023.02.16.10.21.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 10:21:16 -0800 (PST) From: Sunil V L <sunilvl@ventanamicro.com> To: Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Paul Walmsley <paul.walmsley@sifive.com>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Jonathan Corbet <corbet@lwn.net> Cc: linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley <conor.dooley@microchip.com>, Andrew Jones <ajones@ventanamicro.com>, Anup Patel <apatel@ventanamicro.com>, Atish Patra <atishp@rivosinc.com>, Sunil V L <sunilvl@ventanamicro.com>, "Rafael J . Wysocki" <rafael.j.wysocki@intel.com> Subject: [PATCH V2 05/21] ACPI: Kconfig: Enable ACPI_PROCESSOR for RISC-V Date: Thu, 16 Feb 2023 23:50:27 +0530 Message-Id: <20230216182043.1946553-6-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230216182043.1946553-1-sunilvl@ventanamicro.com> References: <20230216182043.1946553-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758012945818722061?= X-GMAIL-MSGID: =?utf-8?q?1758012945818722061?= |
Series |
Add basic ACPI support for RISC-V
|
|
Commit Message
Sunil V L
Feb. 16, 2023, 6:20 p.m. UTC
Enable the ACPI processor driver for RISC-V. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> --- drivers/acpi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, Feb 16, 2023 at 11:50:27PM +0530, Sunil V L wrote: > Enable the ACPI processor driver for RISC-V. > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- > drivers/acpi/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > index ccbeab9500ec..b44ac8e55b54 100644 > --- a/drivers/acpi/Kconfig > +++ b/drivers/acpi/Kconfig > @@ -281,7 +281,7 @@ config ACPI_CPPC_LIB > > config ACPI_PROCESSOR > tristate "Processor" > - depends on X86 || IA64 || ARM64 || LOONGARCH > + depends on X86 || IA64 || ARM64 || LOONGARCH || RISCV > select ACPI_PROCESSOR_IDLE > select ACPI_CPU_FREQ_PSS if X86 || IA64 || LOONGARCH > select THERMAL > -- > 2.34.1 > The commit message doesn't tell me if this is a premature config enablement or if it's already necessary for this series. I think if it's already necessary, then it should point out what requires it in the commit message or be squashed into whatever patch requires it (and also point out in that commit message why it's required). Thanks, drew
On Mon, Feb 20, 2023 at 05:05:18PM +0100, Andrew Jones wrote: > On Thu, Feb 16, 2023 at 11:50:27PM +0530, Sunil V L wrote: > > Enable the ACPI processor driver for RISC-V. > > > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > --- > > drivers/acpi/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > > index ccbeab9500ec..b44ac8e55b54 100644 > > --- a/drivers/acpi/Kconfig > > +++ b/drivers/acpi/Kconfig > > @@ -281,7 +281,7 @@ config ACPI_CPPC_LIB > > > > config ACPI_PROCESSOR > > tristate "Processor" > > - depends on X86 || IA64 || ARM64 || LOONGARCH > > + depends on X86 || IA64 || ARM64 || LOONGARCH || RISCV > > select ACPI_PROCESSOR_IDLE > > select ACPI_CPU_FREQ_PSS if X86 || IA64 || LOONGARCH > > select THERMAL > > -- > > 2.34.1 > > > > The commit message doesn't tell me if this is a premature config > enablement or if it's already necessary for this series. I think > if it's already necessary, then it should point out what requires > it in the commit message or be squashed into whatever patch > requires it (and also point out in that commit message why it's > required). > Thanks Drew. Let me drop this patch. We will need it in future when we need to enable LPI/CPPC etc. Thanks, Sunil
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index ccbeab9500ec..b44ac8e55b54 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -281,7 +281,7 @@ config ACPI_CPPC_LIB config ACPI_PROCESSOR tristate "Processor" - depends on X86 || IA64 || ARM64 || LOONGARCH + depends on X86 || IA64 || ARM64 || LOONGARCH || RISCV select ACPI_PROCESSOR_IDLE select ACPI_CPU_FREQ_PSS if X86 || IA64 || LOONGARCH select THERMAL