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 2AD6BC64EC7 for ; Mon, 13 Feb 2023 15:24:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230095AbjBMPX6 (ORCPT ); Mon, 13 Feb 2023 10:23:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjBMPX4 (ORCPT ); Mon, 13 Feb 2023 10:23:56 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE1C1CA08 for ; Mon, 13 Feb 2023 07:23:55 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id mg23so5696782pjb.0 for ; Mon, 13 Feb 2023 07:23:55 -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=EIG79omTuAqh92FYqalRSBErGwvaWBx/kFaBBIuHnJI=; b=RkzvbBqCzhcJq+aCvWqxW0ulR29Msgdt+7aIn1JRBsFQoncmghs+GZc7d6YCR4iGkS TDgqJ8VaI/QQAxI2uyjQ4hdzy2T8OqrZHYhP7SLLaryY09RagnCpfl1kVP5LYDinXD5b yHNCpg3Aaw/RfOjSWwaHpUe7QRkbs0SJNEtalDt+w9awYarvdRhnPxAXWRa6D8EywR6P HW7+/l8ILedEd4ocGvSKTpKtj1YsVohZhldYRn41xQelvMv+ODbyDhRDDXhhEDjvtzu9 wjiYwWF4k2lgiTecS+Vugi7ZOdbzcm9WBS5ZXjyY2DbfdwG/ZXrqOnIfL/kaaM8GTSci AlGg== 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=EIG79omTuAqh92FYqalRSBErGwvaWBx/kFaBBIuHnJI=; b=a6S5OvFJAjL8Tj2ucEAd1q6xFiVDD/jCer2yhK4d/c+qqguPpmVIW2pGOpp48efqnw 7Rhmjd7h4ITxl8IA4ilaEmVW0Crr3UMiXWuT3L3mBbRyKZTHNXW6NKUuuM+HhtsiSsT+ +nYeG2AFkGPNMnQruPJ137gVrjU0ujg/PH2uQ2A3Jkv1t967pUmR2mYO4xMMJOhO9a2K OtQ4ZGbhuBcUCbbLiimri5iyOjfZnwIKz8HhvBEo5DtbZop/XwjoNnus7TGa0C+7tkZH rNk16Hhosf/d/afdTNrQ7OHgiHIhjVqBaoyx2yuaCEDp/E/3irVgl94VlV14Evhrbbp4 WQOQ== X-Gm-Message-State: AO0yUKVGqLA0A6ef5QixVumiItzcJrWbWHOxaQeDk2SngzaF/t9QuEWR 9Mvil4nBkyg3/BGRkv6iAvJcZw== X-Google-Smtp-Source: AK7set+hb1XmMLJh/78y4oD9MeKNqlA8guKewewIHXEIqcAaBoXEVpek0ge/MjnZYOUUPYr2o5Tjbg== X-Received: by 2002:a17:903:120c:b0:197:35fc:6a5d with SMTP id l12-20020a170903120c00b0019735fc6a5dmr26864926plh.30.1676301835225; Mon, 13 Feb 2023 07:23:55 -0800 (PST) Received: from sunil-laptop ([49.206.14.226]) by smtp.gmail.com with ESMTPSA id l3-20020a170903120300b00196053474a8sm8365196plh.53.2023.02.13.07.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 07:23:54 -0800 (PST) Date: Mon, 13 Feb 2023 20:53:46 +0530 From: Sunil V L To: Conor Dooley Cc: Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Thomas Gleixner , Marc Zyngier , Daniel Lezcano , Jonathan Corbet , linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Anup Patel , Andrew Jones , Atish Patra Subject: Re: [PATCH 07/24] RISC-V: ACPI: Enable ACPI build infrastructure Message-ID: References: <20230130182225.2471414-1-sunilvl@ventanamicro.com> <20230130182225.2471414-8-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 08, 2023 at 09:31:44PM +0000, Conor Dooley wrote: > On Mon, Jan 30, 2023 at 11:52:08PM +0530, Sunil V L wrote: > > Enable build infrastructure to add ACPI support for > > RISC-V. > > > > Signed-off-by: Sunil V L > > --- > > arch/riscv/Kconfig | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > > index d153e1cd890b..f664350679bc 100644 > > --- a/arch/riscv/Kconfig > > +++ b/arch/riscv/Kconfig > > @@ -12,6 +12,9 @@ config 32BIT > > > > config RISCV > > def_bool y > > + select ACPI_GENERIC_GSI if ACPI > > + select ACPI_MCFG if (ACPI && PCI) > > These brackets are not needed, right? > Okay. > > + select ACPI_REDUCED_HARDWARE_ONLY if ACPI > > select ARCH_CLOCKSOURCE_INIT > > select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION > > select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2 > > @@ -598,6 +601,7 @@ config EFI_STUB > > config EFI > > bool "UEFI runtime support" > > depends on OF && !XIP_KERNEL > > + select ARCH_SUPPORTS_ACPI if 64BIT > > select LIBFDT > > select UCS2_STRING > > select EFI_PARAMS_FROM_FDT > > @@ -703,3 +707,4 @@ source "drivers/cpufreq/Kconfig" > > endmenu # "CPU Power Management" > > > > source "arch/riscv/kvm/Kconfig" > > +source "drivers/acpi/Kconfig" > > For consistency with the rest of the file, a newline before drivers > would be in order here. > Sure. Thanks Sunil