From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AABF2C25B79 for ; Wed, 22 May 2024 17:35:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LvqLEVr/DdhLMmPcBzIyMcElx5Lm9jIu+VJxdFcE8Y8=; b=C9bFiN932WkCzb v9XUTRdmShcwLQJC8wLs8lmacMghFrlPkULXdHtrpcvKl07Fiqh7fTbt1exuQnNfssFUiQN9hqcQH dc1A8EkBh4g1IHyok7gONQtBKfljR17jdfSNJ3GEZ7kTYcxNcQ3HfrY5g2FEpHFBRP8ey0037VwEE IkiKdMAXnzcqC165D2uJWHFBCg5lEafBrLbmbGNMvKf2I9AbCjeMVpvOUV6W8e700Znq3AaHib9g6 y4z7R2fVtaU8Vm7hSgF9zjCrnJzp2DV1befo4irOjm5SM1+2baj4f1F5Hy4l8vGMDUgpc9QQlPMvI M1TZjUu5vG0rXbWUokEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9ps7-00000003fXv-0Wrm; Wed, 22 May 2024 17:35:27 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9ps4-00000003fXC-27J2 for linux-arm-kernel@lists.infradead.org; Wed, 22 May 2024 17:35:25 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6f4f2b1c997so1598670b3a.0 for ; Wed, 22 May 2024 10:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1716399322; x=1717004122; darn=lists.infradead.org; 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=jtcwHXQhuywjWtHL8fvX3LFZZ/ytDiic4eCWATEojeU=; b=IcIyAVKgMAEbvdQcuvO+ZFHz7Xb3f7hOqPfibKyByjAMjp6qHG0Ue84hxUOaOsr3V6 i4AWbl7/A3zjfw8/Dq8iL5OP9W4xJYnaU6VjyyxUBtBlne7dWiw8MxIlFJMlW7Eq4K05 kxoTdTBl33wLf3QIe3UfTdkBKVO2TpzdECGsw9U29LYOSjn4g3BCTm4W1BLOWD3oiNZG 5NXjW6SrgOfFR84U8YtGF2LhU53XNIey1+RXL6SOGKI/am+oyvsjcB5hSBqxBTync1n/ 87Rmkk/SLBikqA7s+gUKKOfLfkiBdIYTgMwVxwm7kjPIQHdwitzaNJEyw0EmixzDfjZe i3yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716399322; x=1717004122; 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=jtcwHXQhuywjWtHL8fvX3LFZZ/ytDiic4eCWATEojeU=; b=fTVZR1tL7rlWHJ2jFyIcRXhshsLCuJE4GGAMGUJjnzWrVBREZl749h/C+kmjLbbmqD 0lwdHdDTZqQ5pwgBrtdIv+AYRi2F4RnKBsSBL0rVviujSj9WS4NQyFyu3rYEC1YJonh7 l/nzDav5izrME2oIp6pmF0TvSHn6NwIAPAz1d8e2bqYZQq6OmxROjCyV2aNlMAwdOFAA /faHAXk/Nq0klcpgsN/z/Sv7Ts3PVjUwoqPRlPTeys0qhI/zCapPbM0deqS7YLTfDTFB APPrs5mkJY9OckfwHtANd+LrO8h6S512nozyMBdSNnDR0UX4eZqwfH8reH7haZ4eKx8j QBiA== X-Forwarded-Encrypted: i=1; AJvYcCXdcsBKy3f57URcX12bBnaiJcGwWg6TYqiez80VuAW9C04W0nMynyYKkpavJIr1JjpDICeMrgyvCiQMBKw/ZCmtD85p3JdtVBp+La7ILLPRsOaKH/M= X-Gm-Message-State: AOJu0Yztc1vrX1LPlKkPbceenAt4ArzY7IFOqL4vmpZGTqX28M857SAy AKm8Mhv9TewWcQ3/MIgu5Me3S7l4e+LSD5kBs8Q2tRC77OEewjtGt8Z8QfO5oAI= X-Google-Smtp-Source: AGHT+IFnVExZ9w4FLsmZMki4aPDFIr85cfle6enyYjYsVAi4+pfoOCqX9NTQeS826YOJ4cg7meMOkA== X-Received: by 2002:a05:6a00:3cc7:b0:6f3:ecdc:220e with SMTP id d2e1a72fcca58-6f6d617a507mr3058370b3a.24.1716399321714; Wed, 22 May 2024 10:35:21 -0700 (PDT) Received: from sunil-laptop ([106.51.188.31]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a9d976sm22673408b3a.89.2024.05.22.10.35.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:35:21 -0700 (PDT) Date: Wed, 22 May 2024 23:05:03 +0530 From: Sunil V L To: Haibo Xu Cc: arnd@arndb.de, xiaobo55x@gmail.com, ajones@ventanamicro.com, Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , Robert Moore , Conor Dooley , Alexandre Ghiti , Guo Ren , Baoquan He , Charlie Jenkins , Greentime Hu , Sami Tolvanen , Zong Li , =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Chen Jiahao , Jisheng Zhang , "Russell King (Oracle)" , James Morse , Samuel Holland , Evan Green , Thomas Gleixner , Ard Biesheuvel , Tony Luck , Yuntao Wang , Alison Schofield , Dave Jiang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev Subject: Re: [PATCH v3 5/6] ACPI: NUMA: change the ACPI_NUMA to a hidden option Message-ID: References: <5c3a005a67096010cf3c465f8e3362651763fe3b.1713778236.git.haibo1.xu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5c3a005a67096010cf3c465f8e3362651763fe3b.1713778236.git.haibo1.xu@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240522_103524_577902_A9AD59D9 X-CRM114-Status: GOOD ( 20.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 24, 2024 at 01:46:25PM +0800, Haibo Xu wrote: > x86/arm64/loongarch would select ACPI_NUMA by default and riscv > would do the same thing, so change it to a hidden option and the > select statements except for the X86_64_ACPI_NUMA can also go away. > > Suggested-by: Arnd Bergmann > Suggested-by: Sunil V L > Signed-off-by: Haibo Xu > --- > arch/arm64/Kconfig | 1 - > arch/loongarch/Kconfig | 1 - > drivers/acpi/numa/Kconfig | 5 +---- > 3 files changed, 1 insertion(+), 6 deletions(-) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 7b11c98b3e84..c6c667898da6 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -1439,7 +1439,6 @@ config HOTPLUG_CPU > config NUMA > bool "NUMA Memory Allocation and Scheduler Support" > select GENERIC_ARCH_NUMA > - select ACPI_NUMA if ACPI > select OF_NUMA > select HAVE_SETUP_PER_CPU_AREA > select NEED_PER_CPU_EMBED_FIRST_CHUNK > diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig > index a5f300ec6f28..29d574a5c34c 100644 > --- a/arch/loongarch/Kconfig > +++ b/arch/loongarch/Kconfig > @@ -465,7 +465,6 @@ config NR_CPUS > config NUMA > bool "NUMA Support" > select SMP > - select ACPI_NUMA if ACPI > help > Say Y to compile the kernel with NUMA (Non-Uniform Memory Access) > support. This option improves performance on systems with more > diff --git a/drivers/acpi/numa/Kconfig b/drivers/acpi/numa/Kconfig > index 849c2bd820b9..f33194d1e43f 100644 > --- a/drivers/acpi/numa/Kconfig > +++ b/drivers/acpi/numa/Kconfig > @@ -1,9 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0 > config ACPI_NUMA > - bool "NUMA support" > - depends on NUMA > - depends on (X86 || ARM64 || LOONGARCH) > - default y if ARM64 > + def_bool NUMA && !X86 > LGTM. Reviewed-by: Sunil V L _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel