Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D08F6C61DA4 for ; Fri, 24 Feb 2023 12:38:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjBXMiA (ORCPT ); Fri, 24 Feb 2023 07:38:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjBXMh7 (ORCPT ); Fri, 24 Feb 2023 07:37:59 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04B8F1287C for ; Fri, 24 Feb 2023 04:37:58 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id h17-20020a17090aea9100b0023739b10792so2578202pjz.1 for ; Fri, 24 Feb 2023 04:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=D5cdK82uYYWIkMpYOxPb+LiZ+QZGBRA1VBR3+aMujYg=; b=cC2qAF4jOGUX/vmGUCUQNb2G05k02Hy6IUMPzKnWHG+TFFoluwLfg5ooCUzQXLR9Py ZVl4JZ4i6W9qK2CihvOj9q4hJF88V8eBBrltKOD9MaYvoCyvO2bvO4UiI6aNWkmNJMKY vC/JYJyn8YIj9xWuJopjfxJH54fPWVO+yQ8XEC9J63bSd+rVtSYNZvRa71spmyrfLG4w //UUsTiSnXgW6s8TGKzE0Vl00UigDqakMeyMZ9DpFgZzxWajuJHV+P7lvoGjML77gAJF ncBmyPr5evHqoQ/zoy6/sjiFq5gKFpzjJCsBZz+gB84rzWYq2FAlQUO+1FekkMWeDlGF cW/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=D5cdK82uYYWIkMpYOxPb+LiZ+QZGBRA1VBR3+aMujYg=; b=0LYpbJGwl4bGGGtkwLVfWHPc6qNvSrn9sZa2XC1Cj7w6JdUXO/13xGlSlZAhVpAYp0 xGsbyfJ2jl81R9AoDGos18ef0ZyjBuTs/iPawwQJ39IdYUgd+fHmGDNH7mJcLBkKwNb5 hbOkUER/LbdWknGdAQD6Wc/lInooPkBwaNjaXFRBzI1DM09eKGCgzWKYAKPkt8bA6tW4 64fg4wiqFdvZBzbHiTsZb071dlY9pahXanjjjJJnwnzsot+5CKIGIvStdQ298vmfcf5+ jTzHnREH2RU0B6mkXlGYmOzf/Gn3Dw36FWdiqLmQLuJlguyDhzbGgM8QW7M/wLlej18L sliQ== X-Gm-Message-State: AO0yUKUrgEwVgIQsUlvet0hc2p4MyHp/kKOutVH20mSSatZowge7B1lc fmO2Zhefr82Z/rShlcGFC5Oeqw== X-Google-Smtp-Source: AK7set+n8H0sjTNOAzuYeNksjuz1vlAaBpY0t2F3L1sUMLaPKnrtXpH5OEf5yUzRpzs0fZkCR1zrNA== X-Received: by 2002:a05:6a20:914e:b0:cc:7967:8a75 with SMTP id x14-20020a056a20914e00b000cc79678a75mr2021251pzc.46.1677242277425; Fri, 24 Feb 2023 04:37:57 -0800 (PST) Received: from sunil-laptop ([49.206.14.226]) by smtp.gmail.com with ESMTPSA id e4-20020aa78c44000000b005aa80fe8be7sm4841450pfd.67.2023.02.24.04.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 04:37:57 -0800 (PST) Date: Fri, 24 Feb 2023 18:07:47 +0530 From: Sunil V L To: Andrew Jones Cc: Palmer Dabbelt , Albert Ou , Paul Walmsley , "Rafael J . Wysocki" , Len Brown , Thomas Gleixner , Marc Zyngier , Jonathan Corbet , linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley , Anup Patel , Atish Patra , "Rafael J . Wysocki" Subject: Re: [PATCH V2 21/21] Documentation/kernel-parameters.txt: Add RISC-V for ACPI parameter Message-ID: References: <20230216182043.1946553-1-sunilvl@ventanamicro.com> <20230216182043.1946553-22-sunilvl@ventanamicro.com> <20230220201556.i3dihi3oj2lwckno@orel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230220201556.i3dihi3oj2lwckno@orel> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 20, 2023 at 09:15:56PM +0100, Andrew Jones wrote: > On Thu, Feb 16, 2023 at 11:50:43PM +0530, Sunil V L wrote: > > With ACPI support added for RISC-V, this kernel parameter is also > > supported on RISC-V. Hence, update the documentation. > > > > Signed-off-by: Sunil V L > > Acked-by: Rafael J. Wysocki > > --- > > Documentation/admin-guide/kernel-parameters.txt | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > > index 6cfa6e3996cf..b3a5a5844daa 100644 > > --- a/Documentation/admin-guide/kernel-parameters.txt > > +++ b/Documentation/admin-guide/kernel-parameters.txt > > @@ -1,17 +1,17 @@ > > - acpi= [HW,ACPI,X86,ARM64] > > + acpi= [HW,ACPI,X86,ARM64,RISC-V] > > Advanced Configuration and Power Interface > > Format: { force | on | off | strict | noirq | rsdt | > > copy_dsdt } > > force -- enable ACPI if default was off > > - on -- enable ACPI but allow fallback to DT [arm64] > > + on -- enable ACPI but allow fallback to DT [arm64,riscv] > > off -- disable ACPI if default was on > > noirq -- do not use ACPI for IRQ routing > > strict -- Be less tolerant of platforms that are not > > strictly ACPI specification compliant. > > rsdt -- prefer RSDT over (default) XSDT > > copy_dsdt -- copy DSDT to memory > > - For ARM64, ONLY "acpi=off", "acpi=on" or "acpi=force" > > - are available > > + For ARM64 and RISC-V, ONLY "acpi=off", "acpi=on" or > > + "acpi=force" are available > > > > See also Documentation/power/runtime_pm.rst, pci=noacpi > > > > -- > > 2.34.1 > > > > I'd squash this into patch 18, "RISC-V: Add ACPI initialization in > setup_arch()" > Sure. Let me squash in the next revision. Thanks, Sunil