From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 3760B377563 for ; Thu, 5 Mar 2026 11:26:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772709987; cv=none; b=EVPhm1EVUvEqNXcJxzFwYJZlaDqdD9dfVGWsqWLDbbnG60yyWPFRCpp1UZFXmdJnG+8nL7WPwVZD1KDhPPDt7CVa72LA/kTAzvVArg1p70PN+/BWVa8EhY4tOyh+l1VJlr+5WbCN2GVK7APmWvERFoUpJXCL1LFO7J0732yzAMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772709987; c=relaxed/simple; bh=1e5FmJqr0d5Nr1ikMsAxK6bIvG+kQKpIeszylR7qdmg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AfdUxL1jRH5kT0RSHBci9KV/b4njeUzAWcF6lenXI76HSlnGyVADLXg8sO5Y58taV9yo5ot4X9NYcHvYJIz+UMg7/REBSKzE3qZWf5jzzlP5HeGXFLELWdjuRp6uSdy4J9qmRikKzv+kYkKbLLtaZHZyo8j2s8NiICy4M6xChYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com; spf=pass smtp.mailfrom=shopee.com; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b=N3zqnHq7; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shopee.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b="N3zqnHq7" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-82984c077b2so346310b3a.1 for ; Thu, 05 Mar 2026 03:26:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1772709985; x=1773314785; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ysqjtnihLzlMKmZvTnyQ/HF3OaRcuwAeEcdn2G2RcKg=; b=N3zqnHq7jAgUcauG/TKePtAtMHzaV2BTqTTPlVORTHCRmY9tP9kpc6bxuU1X5mXF69 9UWFtTD2t1Ekaa0O0Qp2JCAw4hZbjjClKwR2T0harDLeOAz3VDPhnh+AzlGBbm+zqW/q cux0lPNYLLKTbtCJu9hiMzvNrQHlWXpwEugITs38h57ykdKkqeR5HnUuxKAAn05CoI+N MH12kP+oDlGiIUH7kYLFelTqfILyltVcZQRJHFpK7eY1Q1mNht3uU6kU6kEmwaKVpljC ulDa/dwV0A81v8bsZfk99RBss8Y6UbUoU3jLHTay0+ZCdaAuJW1o/qVFbpcvzZmu9CdE zE6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772709985; x=1773314785; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ysqjtnihLzlMKmZvTnyQ/HF3OaRcuwAeEcdn2G2RcKg=; b=S+N272AVn2D27iVclULcqZarp/eBTiwHrIjZdyN+9seFBuUMPCWc+z03Y/eVAg8avV 0pIwWfXoQ5xdG6BOxrySTI6p6vA1RSsd37YW1Dmd9DOdhFAksPTB7WHHw6d/P8/zggn3 78kkpUcfebdAr+yfJDocoSajMR2vQQYdbNjQcBYy9FRvA+t3r/nlUj6GcWWao2w+pbM7 nlxA8BQTAf/zPMi2CDc1G/SZHILgvaqCf1t/34zXB3UuFev1xWWva7JFTBT+u1g8Musz 8rfpTbQqgLeHal3ErX06T3RLOpvn3AM9i3ogaRoQl0ims4mLRX1JEN9Sf1APN69aD5zN gxxg== X-Forwarded-Encrypted: i=1; AJvYcCX7sl2pfI9l9nNF6knGS37NfW4FhJLOoNyyzYrT/EF3elFnuJnahT/VIYWO6qQmBQxSmyauaQe/MNbmSZg=@vger.kernel.org X-Gm-Message-State: AOJu0Yxc+6PYxLWAdubZjs0SFjXNeyqvw7PNWWOuFLMtcXjAa1KJ+pSx JCzR5cI6IZAUFBZJwsqZPnzjMuDXrLEDFwH2Qrx1CKGHbm3ahGtJyVarDUiTRkdzfnw= X-Gm-Gg: ATEYQzzA1WavrRt2/Jxlqwhey0xtp9aXvkJLS9MjnBKbRDEKSO1lPp/IiSjaQzV7Zgw i5qE+gichjf1jcspIw0SruL3UlxVT/oQxDyUkiXqBuT/cfzvC2Pm+aaCsa7xrVQnxK2twJG1isy MyGesf/Y8ITdgU301a0cx9lCrqbZDePoKB6F/yeA2mYw8UnA46vgsPpE5r9Kje3s/fY4YG418NF PfY9CSv7hHHObAepsFuLw03SRY8X0tGyaufXIwwp1cA/yanJOa8fW/d+0ZVDykktZW/j1YMflru OMSNBclKCZEfKbYYnmQzv3sj7nb1XR9roFohemqo7RBkvf3MoYE5As8oxf0WKXlyUgDjfJNjTpR 1u/r3uDXb2QdJ1htzBZMHu0JtBsuPGMVuMUN+YypjrlIno6Xuxi2OPGD3PnVGopslFIDTAuU6By q8hKOppollZeFCS0nERX5eGshQt0khv7o30G0+P/bWAE0gfgMc9E8F9vng1V4HEG2AvhH7iA2di 54HqOIhims= X-Received: by 2002:a05:6a00:1488:b0:81f:23b5:dc33 with SMTP id d2e1a72fcca58-82972c9eeccmr5183569b3a.30.1772709985579; Thu, 05 Mar 2026 03:26:25 -0800 (PST) Received: from [10.54.26.107] (static-ip-148-99-134-202.rev.dyxnet.com. [202.134.99.148]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82739d4e10csm21738076b3a.1.2026.03.05.03.26.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Mar 2026 03:26:25 -0800 (PST) Message-ID: Date: Thu, 5 Mar 2026 19:26:18 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ACPI: NUMA: Only parse CFMWS at boot when CXL_ACPI is on To: "Huang, Kai" , "Schofield, Alison" , "gourry@gourry.net" Cc: "nunodasneves@linux.microsoft.com" , "lenb@kernel.org" , "akpm@linux-foundation.org" , "thorsten.blum@linux.dev" , "wangyuquan1236@phytium.com.cn" , "linux-kernel@vger.kernel.org" , "Williams, Dan J" , "rafael@kernel.org" , "xueshuai@linux.alibaba.com" , "linux-cxl@vger.kernel.org" , "linux-acpi@vger.kernel.org" References: <20260304213342.5776-1-kai.huang@intel.com> <4809035f61dcd6ace773532efe46b0f1928be313.camel@intel.com> <8355402a-e4f0-42b5-854a-ee42f9505612@shopee.com> From: Haifeng Xu In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2026/3/5 18:25, Huang, Kai wrote: > >> >> By the way, If insert real cxl memory but disable CXL_ACPI, how the kernel >> initilaizes the cxl memory and assigns the numa node? can you provide the >> related kernel souce code? > > Sorry I am a bit confused what you want to do. > " It only avoids detecting CFMWS, which doesn't provide any NUMA info actually -- that's why kernel assigns a 'faked' NUMA node for each of them." Sorry I misunderstand what you said above. I originally thought that the inserted cxl memory was assigned to a 'faked' NUMA node if disable CXL_ACPI. > If you have actual CXL memory installed, that means you want to use that? > > But if you want to use CXL memory, you cannot disable CXL_ACPI IIUC. > > If you don't want to use CXL memory in your deployment then you can either > disable CXL memory in your BIOS or, with this patch, disable CXL_ACPI in > your kernel. > I see. Thanks!