Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1275430lqz; Mon, 1 Apr 2024 00:19:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKCv3W2Yahupu7SrgDNzp4r+l8mz2zkFupNHc7M+InRxparJtOUu7p5hFWh8QHkwLB0Pn/TCbmQCUQI+5HDWxXngW7y90SlN6xdeC5RA== X-Google-Smtp-Source: AGHT+IEeIXR/96RZQ8CliVcSHWLVhqg1DDulY6g6a/Ra4pQ+IFvVmo1a5ruChiHLFAXAr1f0aj6S X-Received: by 2002:a05:6402:2806:b0:566:4a85:ceba with SMTP id h6-20020a056402280600b005664a85cebamr5919461ede.1.1711955950401; Mon, 01 Apr 2024 00:19:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711955950; cv=pass; d=google.com; s=arc-20160816; b=WCbUtEWlgPaTVjBWtytnRBT3y1K7jGSscp+NN3Pnq3i7Qx1Tsf17kN4gSoaTzFMNCz /AlyTnhyuVUkh1BfpTHRJgITWu6gJFaH2JXatGNbGV+WpWqomf79kjdDG2VSsUFQRX6Y MEi51hTC+GNvMRJc0snmSVtzjmhPZB0ZkqUOPhGx3/u8PaCVBeu2ufauI7ssOpn2ZHvH HWRLy0Bsz/P2QZ0s/8RJvUidogdzR08QyysbloUk4OzNeby9ullslXoWq4IaKdCxxkbH aWOg+wbFj9heNCffismaNSgBo8TkaTNrX+FktkkYj7cwd/T14i9KiXHvHWPCCA4qnA40 AQXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KmnMPiHdZwTuSyiAmUBbotIL+Wtz9SccD/2TsEE+0ng=; fh=5p5nYq8aZ/pxiIc7nfWtRXBZnYJtobzembUaBtz0JHs=; b=BbQxSL9Q5+1Dted6vdhd4Ng4dGYb7KubzXrNzw/HkOPvzS2lLeNHBlBFOrb6ddvfMk UNLQylDOZzuVJlsY4HH+3dLIJY1EDE0NyazSOLvKO4JksprlJbFGguK/X7dYwgq6Ffz5 BpsSa7ahEBs5v4yqMf88A1Y1idtPQrEnd68IICCrAClLHWPrd5pyhj4T/HlYDow/+iOo zCfJo9DvhxfONN2ujzeGZssHv1oBaLD4ep2tXrIFdr3/PbGjUhwNFOZfhR0NGYm0GIQr i6sFg0wwWdIii2EHFWe5T3VeTjX7hYas8MbqX/f5l+IDNeEkPWs6ZsvwgkhjvJ3Kwr52 vI7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NJkaCS96; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-126492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126492-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z21-20020a05640240d500b0056c53d8f9ffsi4245443edb.454.2024.04.01.00.19.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 00:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NJkaCS96; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-126492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126492-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 25EEE1F215F0 for ; Mon, 1 Apr 2024 07:19:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0ADCB676; Mon, 1 Apr 2024 07:19:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="NJkaCS96" Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE8599468 for ; Mon, 1 Apr 2024 07:18:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711955941; cv=none; b=E/fDrUKYaDQXLh2mFI6tnxhDq9dEjpi20hTu9Zdc+QCanlVp/BsPm9rKCfwWSw64Omc8sgZ1VsBjW6fr++oX3GbrBvV8IEbovXZW82B2V5poLO/FnqoAvqdIbx6QXthPYIfknjoFM5ni4CtaFzgqlP7WMaS+yPvzTredY2Bh8BM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711955941; c=relaxed/simple; bh=MD+7DnurC6++x6pB8zRG9Hnf+SzLYopSLmHUgVuanGo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PvMNaUMZ66WOhLGx+GmhmbsDpxK6gnZt/J0PJFQYKYcduskKI11NIGVmT32nzFqRTkKn0D3zEe0HZQEX/jhfIlkbaNeBnBVLALluW1BjBWbMuwKznRFfB35kKDqK+wL6SptnFPLzeOq7zbE8aPsj063uE6N8q/zdJIfov1om34k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=NJkaCS96; arc=none smtp.client-ip=209.85.210.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-ot1-f49.google.com with SMTP id 46e09a7af769-6e89bdd4e3fso369326a34.0 for ; Mon, 01 Apr 2024 00:18:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1711955939; x=1712560739; darn=vger.kernel.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=KmnMPiHdZwTuSyiAmUBbotIL+Wtz9SccD/2TsEE+0ng=; b=NJkaCS96oo9PoHrqunR0SGK5UCEYm6NAkf0BbpiFlw16fiAS4UuLhwJfn9/7FW4Gra Bg4Ni03q6MDMDq1mFoOv3Edlg/C68r0zvaZQX9yBGk1A4RQxPgO6B0Ril0kbqhG+nGnC 1FTMlAuQSz+xaVwcq/JT48iXe3gVUONBKXubyrGL+q3HW5g79y/HqkPSRMjPilsq+Ymp U4tlQNGOU2/uZLgv7ZpoMJ5Mx+hKmB2vIqvCv9Ty0F2A4P9mNk0JzAwycpyQ5rrnVZlb sloZVEBmdA0clJkLOJKf1kkek3VOsxdra5bE4u6piQ4L2+/Fp8E+pm0A1kFsU6Z6/5eR abJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711955939; x=1712560739; 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=KmnMPiHdZwTuSyiAmUBbotIL+Wtz9SccD/2TsEE+0ng=; b=VEydumdUzwgwJ2v7QNn243+V/KVUXyvtGFkeSZA8fBNOO0hnwvovi5xuTqAT7fChjQ nxwhUwiNveUWZ070T1x5FmK6tKMtL/Dpck7SSEPajHiq8fopNIYSvhdc0rAu5OPv09kM frzNB66QPNsVezudh5PFLXGfz36viepTd3kM9rp2Dpycft8cHW67Qnrx2a1Bw74kTJRZ snxApjBAo6OL9hTCXUQnc3kG9opXIEozRwVI7fmJRUKgNrJLwMe7V1ktpGaxodQiksXT KcddaSjNUIbAUy1OdOyxHjppUM8/9XfRMBR4rhFkX97aK+WOv0iD+nZVqONX/g6eGp8+ XbRA== X-Forwarded-Encrypted: i=1; AJvYcCVpSB5NOo/YBErtNQCURclqPtQEhVmfNNFxodMiplmC/3aD/9wk9UQ7B4OPOrl/KN4OcjWjIw63qk3JQAklNAQRfS/1cLdaYcJNaW3Q X-Gm-Message-State: AOJu0YxaY463qiUBz1ffQAWuVSZQlQ34vx6ZM1HWkSaIMyBgW4LwGW5/ 5cFWXW2/Ou60yNflKxCLPnwk+Ul7RcHuDPMeigrOaF1vmpEXPOQBp2S6lwb7nrc= X-Received: by 2002:a05:6870:2309:b0:221:9227:e006 with SMTP id w9-20020a056870230900b002219227e006mr10279412oao.47.1711955938782; Mon, 01 Apr 2024 00:18:58 -0700 (PDT) Received: from sunil-laptop ([106.51.187.230]) by smtp.gmail.com with ESMTPSA id gy8-20020a056870288800b00222649d5b4esm2717950oab.16.2024.04.01.00.18.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 00:18:58 -0700 (PDT) Date: Mon, 1 Apr 2024 12:48:42 +0530 From: Sunil V L To: Haibo Xu Cc: xiaobo55x@gmail.com, ajones@ventanamicro.com, Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J. Wysocki" , Len Brown , Robert Moore , Conor Dooley , Guo Ren , Alexandre Ghiti , Greentime Hu , Charlie Jenkins , Sami Tolvanen , Zong Li , Jisheng Zhang , Baoquan He , =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Greg Kroah-Hartman , Chen Jiahao , Arnd Bergmann , James Morse , "Russell King (Oracle)" , Evan Green , Samuel Holland , Marc Zyngier , Anup Patel , Tony Luck , Ard Biesheuvel , Yuntao Wang , Alison Schofield , Dave Hansen , Dan Williams , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev Subject: Re: [PATCH v2 6/6] ACPI: RISCV: Enable ACPI based NUMA Message-ID: References: <01cb5780041565784d459cd94a5c4f55eaa87739.1709780590.git.haibo1.xu@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01cb5780041565784d459cd94a5c4f55eaa87739.1709780590.git.haibo1.xu@intel.com> Hi Haibo, On Thu, Mar 07, 2024 at 04:47:58PM +0800, Haibo Xu wrote: > Enable ACPI based NUMA for RISCV in Kconfig. > > Signed-off-by: Haibo Xu > --- > arch/riscv/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 0bfcfec67ed5..0fb55f166701 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -447,6 +447,7 @@ config NUMA > select HAVE_SETUP_PER_CPU_AREA > select NEED_PER_CPU_EMBED_FIRST_CHUNK > select NEED_PER_CPU_PAGE_FIRST_CHUNK > + select ACPI_NUMA if ACPI If the firmware didn't provide the SRAT/SLIT on ACPI based systems, then there will be a message "Failed to initialise from firmware" from arch_acpi_numa_init(). This is not specific to RISC-V. But I am wondering why should it be pr_info instead of pr_debug. Thanks, Sunil > select OF_NUMA > select USE_PERCPU_NUMA_NODE_ID > help > -- > 2.34.1 >