Message ID | 20230130182225.2471414-23-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 s9csp2333232wrn; Mon, 30 Jan 2023 10:31:40 -0800 (PST) X-Google-Smtp-Source: AK7set/sIpWKgPD69DOcuCqXFFZmsIhE0jpZWnEjbVJuotYIaqBS148Psr7TMYEIhDMsOcV7AfAY X-Received: by 2002:a05:6a21:3288:b0:bc:50a6:5944 with SMTP id yt8-20020a056a21328800b000bc50a65944mr15125080pzb.38.1675103500472; Mon, 30 Jan 2023 10:31:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675103500; cv=none; d=google.com; s=arc-20160816; b=xSZAKz8IGpIE40PGVarPsOO0yjZMmZTDHt9yE/NHQT+DZCmp/yZC7oerNMakmPM4mI rwBUmNnTcdddxOUDqGBMJDo6UcwtkUxFJYOhDRFof9/H4Ax+vmKRJpPmnDlMBNY8IEqE Bprx5j9jkSVwPDq/lHe5Yh9B2N6LRgKJq527iRI3E3C9dL5QOdVNyjItVftbXMdrJqIS g8fQ5THy6+gM+q0jI4diVflFrQ0UtciwEjPOxYW914KTn66H++5k2YiB9jX3hCIJQlCq A8Fduo4/6nY2GtrW70D7mHbsdOdu9hUIV6Yick2jQm2TyEXs+Jxq0Qt8A2nr+fO0slG1 0JzQ== 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=vkGE01Mpgd0zQdA3GENSlYo9eU6sEMItLJR0OaGMyjQ=; b=Fj0YWvok5sVFzItv/1zQJ9cET1wdOf22ih6mekmsuVrH6Z2J5x0IQCkxoib0I+dujg Q0yq7QA4WEoiAdTicP0gr/FrwD0/B0mbsiZPlSsi9TgOnIAtf2ytzZ1T2JuwTUnx+ddc cfBZKa6H8fng2Q/hLgavDpwbF4MaIvA288Wcz6JVS2E1ufB7r/pZ3FnoCHJGy/dgiCNF 2n4xTD+AqZw5EJX2drudh92LAH/1g14ZNLvlwgELh7ixnt2rnu/n1oUxxuxSn2vluMWJ FTXt6KXl8IwDnXVy+Qs9yFwy0q3llzbv6qAqf1sTICR3RSeVfaWq2gSIjqJvor1OEYBu rTBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=jbIhshr5; 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 v29-20020a63b95d000000b004e2d59b31bdsi9127723pgo.686.2023.01.30.10.31.27; Mon, 30 Jan 2023 10:31:40 -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=jbIhshr5; 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 S238226AbjA3S0l (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Mon, 30 Jan 2023 13:26:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238089AbjA3S0O (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 13:26:14 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD1FC47416 for <linux-kernel@vger.kernel.org>; Mon, 30 Jan 2023 10:24:24 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id b24-20020a17090a551800b0022beefa7a23so16362952pji.5 for <linux-kernel@vger.kernel.org>; Mon, 30 Jan 2023 10:24:24 -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=vkGE01Mpgd0zQdA3GENSlYo9eU6sEMItLJR0OaGMyjQ=; b=jbIhshr5uVfA86th0bcTdtMzr9oS1VyqbMLYF5ZGlBRXNpHrcs8DWHf/D9IgTeFh1F Y5e11T4Vvtref1QDKQ+XiHXojUg0e+i+S38peWV4Apx94P0NKRcB0DAmJRk0RrJle8Fm 3awc1GpI7w1j7MnnGL3ciDCIf90r85C3QXXXCK0L3ojt2238HEnvWEsLTfjYhakRe3hG wbMlKcmEJuWJHEPilJoudPQPRUa6ARXhJ98TEnIkJtu3FyXxlmD89cMv78BzfLFR5kYy Qc3rHv2CCGYsIixWXWQgdM+5g+FKaEJDGviWmeoLzOH5zJk9RSqhHAdf13vmHvrp3x82 1r5Q== 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=vkGE01Mpgd0zQdA3GENSlYo9eU6sEMItLJR0OaGMyjQ=; b=yYB5ig1Zl4dhu8Mes1JNBDXyXoXc6U8QgxSWmcnERpRlLTbhiKocrOvb5+VfxCKflZ WrWe8Td3pQO8nMzzDGwXwbXtkT9s7NWWi0x0sE48jMb5b/6XIL5reGK9G1RsqkptAhhL 6OJymMEnmaSTZJaS2RshJ9+dE3zhQC1ekZdtKhIPLHlFak5L7NONVGkV9PT2/RZRIYZ6 L7sfw6KUNqJJAmE+XxFWsNHDpzoK/FIeQF5MQ4iUaSGPw/qTrMwxdYnTY6gchiGDtxBo Nr058gKv6AeWjy/sZLFQXMKibXxmF0C0j+BHC/Jp8tx+pp9qOUqfG8zfX4SKPaX39X6+ 3tsQ== X-Gm-Message-State: AO0yUKUcBvZ+OKRcQF9xeN4lErf9hY5CrVds+fTL1avbEVjXRZrr56Oi U922OeBuLHmGR8PFGYKzq29RwQ== X-Received: by 2002:a17:90b:3909:b0:22e:5ffa:2a34 with SMTP id ob9-20020a17090b390900b0022e5ffa2a34mr1813190pjb.36.1675103055398; Mon, 30 Jan 2023 10:24:15 -0800 (PST) Received: from kerodipc.Dlink ([49.206.9.96]) by smtp.gmail.com with ESMTPSA id j193-20020a638bca000000b00478162d9923sm7000291pge.13.2023.01.30.10.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 10:24:14 -0800 (PST) From: Sunil V L <sunilvl@ventanamicro.com> To: Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, "Rafael J . Wysocki" <rafael@kernel.org>, Len Brown <lenb@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Jonathan Corbet <corbet@lwn.net> Cc: linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Anup Patel <apatel@ventanamicro.com>, Andrew Jones <ajones@ventanamicro.com>, Atish Patra <atishp@rivosinc.com>, Sunil V L <sunilvl@ventanamicro.com> Subject: [PATCH 22/24] RISC-V: ACPI: Enable ACPI in defconfig Date: Mon, 30 Jan 2023 23:52:23 +0530 Message-Id: <20230130182225.2471414-23-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20230130182225.2471414-1-sunilvl@ventanamicro.com> References: <20230130182225.2471414-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=unavailable 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?1756473327992985472?= X-GMAIL-MSGID: =?utf-8?q?1756473327992985472?= |
Series |
Add basic ACPI support for RISC-V
|
|
Commit Message
Sunil V L
Jan. 30, 2023, 6:22 p.m. UTC
Add support to build ACPI subsystem in defconfig.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
---
arch/riscv/configs/defconfig | 4 ++++
1 file changed, 4 insertions(+)
Comments
Hey Sunil, Two quick comments while I think of them.. On Mon, Jan 30, 2023 at 11:52:23PM +0530, Sunil V L wrote: > RISC-V: ACPI: Enable ACPI in defconfig btw, about half of this series redundantly puts "ACPI:" or "RISC-V: ACPI:" into $subject. None of commits that mention ACPI after the last : should mention ACPI in the prefix IMO, it's just noise. For example, this one should be something like: RISC-V: enable ACPI in defconfig > Add support to build ACPI subsystem in defconfig. > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > --- > arch/riscv/configs/defconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index 128dcf4c0814..8ce06fb0dde8 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -218,3 +218,7 @@ CONFIG_RCU_EQS_DEBUG=y > # CONFIG_FTRACE is not set > # CONFIG_RUNTIME_TESTING_MENU is not set > CONFIG_MEMTEST=y > +CONFIG_ARCH_SUPPORTS_ACPI=y This needs to go into the arch Kconfig file, where it will be selected. Check what arm64 does if you are not sure what I mean. Hopefully I'll get a chance to look at the rest of this this week sometime, Conor.
Hi Conor, On Mon, Jan 30, 2023 at 11:47:35PM +0000, Conor Dooley wrote: > Hey Sunil, > > Two quick comments while I think of them.. > Sure. Thank you! > On Mon, Jan 30, 2023 at 11:52:23PM +0530, Sunil V L wrote: > > RISC-V: ACPI: Enable ACPI in defconfig > > btw, about half of this series redundantly puts "ACPI:" or "RISC-V: > ACPI:" into $subject. None of commits that mention ACPI after the last : > should mention ACPI in the prefix IMO, it's just noise. > > For example, this one should be something like: > RISC-V: enable ACPI in defconfig > I agree. Will update in the next version. I added ACPI in begining so that I could quickly identify them along with other patches in my branch. > > Add support to build ACPI subsystem in defconfig. > > > > Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> > > --- > > arch/riscv/configs/defconfig | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > > index 128dcf4c0814..8ce06fb0dde8 100644 > > --- a/arch/riscv/configs/defconfig > > +++ b/arch/riscv/configs/defconfig > > @@ -218,3 +218,7 @@ CONFIG_RCU_EQS_DEBUG=y > > # CONFIG_FTRACE is not set > > # CONFIG_RUNTIME_TESTING_MENU is not set > > CONFIG_MEMTEST=y > > +CONFIG_ARCH_SUPPORTS_ACPI=y > > This needs to go into the arch Kconfig file, where it will be selected. > Check what arm64 does if you are not sure what I mean. > Yes, I have added in "[PATCH 07/24] RISC-V: ACPI: Enable ACPI build infrastructure". But forgot to remove here. Thanks!. Will update it when I send next revision. > Hopefully I'll get a chance to look at the rest of this this week > sometime, > Conor. > Thanks! Sunil
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 128dcf4c0814..8ce06fb0dde8 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -218,3 +218,7 @@ CONFIG_RCU_EQS_DEBUG=y # CONFIG_FTRACE is not set # CONFIG_RUNTIME_TESTING_MENU is not set CONFIG_MEMTEST=y +CONFIG_ARCH_SUPPORTS_ACPI=y +CONFIG_ACPI=y +CONFIG_ACPI_MCFG=y +# CONFIG_PCI_QUIRKS is not set