From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (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 4D431340A6D for ; Thu, 6 Nov 2025 18:24:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762453457; cv=none; b=KO9IGuQAAH+Zoe5PIURc1AMDJhs5SAabwB/x3gAO82vNoLt4tqvxK6XbX1yJh+GhF1tqLgMfG/VPHI/LoLhWpOST8uadB4tW1spEnAOeDNWlCSAc51ZYte3pWEPQq9rVkKDkWqfIHsu+wug/LJ8rRwy9WtRgUntlzWWlYHLPGGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762453457; c=relaxed/simple; bh=I+PMnAnId/4alYkZ2SH222g5oD7TTN8EQAKDuQUrfGw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NFOKaBNMFNMrxV0biGPILPEwheB0dW+gAbQPrMHxLe+6VPY76lAccCaE3KBdMzSGBFOyttYPLr0zYS20MYWJVMg8L5+XQefy5ISDkjrjyDWP0Z7Tu0JypXuw2PLGQwIUmE2nS0daktXPwU0cPCQUsgkDu4TxQBkDq67x7bkoul0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=QVQHL3Wx; arc=none smtp.client-ip=209.85.219.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="QVQHL3Wx" Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-87dfd3cfafbso13416586d6.0 for ; Thu, 06 Nov 2025 10:24:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1762453455; x=1763058255; 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=+DhYqio1jPiAJ5YPea6WrbT/ecqDZeUIacRpFP6YnUE=; b=QVQHL3Wx9FflcHjGKPQ6GEldmfygZI7gZjm2RBoxNH1/5HroRA4qTedo8Ub7hRqUps 7dPW1sQtXbGICkoF+VdLzh+ofEtXXxm7y4hohdzlWlhqHwMNJpiivmskD8ugq/nlknMy lCIX+8I7sfxU1pO/yKOGvRgemWXAs9BJP1taV3UdwrIWj+wsysPTzabjQdj9DMx6tMrW gN/Exh6+jAIekeXZSKpv8q7Qx9PvKdPpvaPmYPn1pz++ieBSexw9Weya+pAGsBdiP4tL Z78CxQTtRio4FWemCY+u1LF1lBoZ3aakC0zkjpmWsaqlra7ZKpnVYlufrN5zCxuDGVYD sKJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762453455; x=1763058255; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+DhYqio1jPiAJ5YPea6WrbT/ecqDZeUIacRpFP6YnUE=; b=VnAtGFXBSbqQcaJdMt3soTKjCzcNWgRj4dQpXJ6S7Mkz5AUNdUQrWwcydTTJwU9W9B yEEO7qOrWxNc1fSjmgfTQiO0pnqpixh6mNm3ctEoCWV1VqEetqIdbSB5sz42hmhZmhLT k+0GrkS8m0eMrXfvYro4+g+3/KHcHXsYuwo/s8OnIBTpmVunWA1z1zWbrx1KROAtR79W OPje3pl6k4/MsghzZJlef6yfpIr0Z7HlqBMsGsHsYjA66Kwn2xOshnmkpDxwxQ38TnO4 hExyDKn5QtHdpyLIs/pnLj9r021bJXQQs428eu9si3t4RtqBG7kZTCP3cUhN/xxZPyv2 YNmA== X-Forwarded-Encrypted: i=1; AJvYcCVoVYQaFuXL+dXN8uI1AFih5NIKKyCto1+bBI5g17iYd/aSVDfdLIGmEC3IQsqUOMXstkkZ7I3OaK0=@vger.kernel.org X-Gm-Message-State: AOJu0Yy8D/dY4TDGxE6k7Iz0+mE046o3McDHumihwFrte5x1ev+FbTGv EjEGW+uc5Z4VGpHtRSx0ffCemT3bXgCaCf/zUObiktkHl6FR86HDmb8d9hqrsjpjXNs= X-Gm-Gg: ASbGncsCsygHoJktm64WH09gyDftk/mC7suht3YIw3HH6uqnnHFYgyjzvcN1Ts7W4IC BmOYdMDLLwQy61ieKmMSP7QYAnnaStWPZSA5wSGmFreGoDemk5QrKVG2eejhOkiJJndri8Kw9Ql vJYXleVoT21ivghjZ2gAm452eWO08+yzPEfm7c168HY1Fu86FyPXFb0OA1evsnkLXqZE4iiQqyK O1L1S0LXd8cki1UsmgXoXAjh07IAvs8mUN07XN9yx6Zv2nbdSxJavmVIhb6eKEUiHeKCc/391he NBCLTTnFOeydrrqipned2pIrPiEo9ezX79D3fogcfbcvjsI4I0H8oV4iqT5vo53Kg+E+wJkmhKH ubMhNEr5R6ydCe1ep5XFD3f1VQZXyLD5Xi6mDC90CFco52izxCL5IuQ0xgKY/pAJX4qbV6Awcfs cuoQEm38sihGtv+tUdmS8f47Wy22LicBKX7ZY4Pk47sq28SSJeq6Gms+xzCRc= X-Google-Smtp-Source: AGHT+IEJbh7T8K3ZC6AAJXZQCu8MCrm6YwZlCjie8EYnkSpY9hGIyoAmakIzFplNDN08Jy63W9bbyg== X-Received: by 2002:a05:6214:2469:b0:880:58ac:be6f with SMTP id 6a1803df08f44-8817673f54emr8035816d6.35.1762453455139; Thu, 06 Nov 2025 10:24:15 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-880828c4570sm25286656d6.10.2025.11.06.10.24.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Nov 2025 10:24:14 -0800 (PST) Date: Thu, 6 Nov 2025 13:24:12 -0500 From: Gregory Price To: "Zhijian Li (Fujitsu)" Cc: Nathan Fontenot , "Koralahalli Channabasappa, Smita" , "Bowman, Terry" , Alison Schofield , "linux-cxl@vger.kernel.org" , Jonathan Cameron , "dan.j.williams@intel.com" , "dave.jiang@intel.com" , "vishal.l.verma@intel.com" , Robert Richter , Fan Ni , Davidlohr Bueso , "Yasunori Gotou (Fujitsu)" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC] CXL/ACPI: Remove overlapping Soft Reserved regions before adding CFMW resources Message-ID: References: <2296acdf-de5d-4591-a165-d59f9f432dee@amd.com> Precedence: bulk X-Mailing-List: linux-cxl@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: On Fri, Jul 11, 2025 at 05:34:27AM +0000, Zhijian Li (Fujitsu) wrote: > > > On 11/07/2025 05:15, Nathan Fontenot wrote: > In this case(with your V4 patch), we would see: > ``` > 5d0000000-6cfffffff : CXL Window 0 > 5d0000000-6cfffffff : region0 > ``` > Actually, it cannot be consumed by the hmem/dax_hmem neither. > > This made me realize that my current idea ignores the case of CXL_ACPI=y && CXL_REGION=n. I quickly tested it(I will take a deeper look later): > > After the OS boots, we can see this resource. Can anyone tell me how to create the corresponding dax_region? Because I tried using dax create-device without success. > ``` > 5d0000000-6cfffffff : CXL Window 0 > 5d0000000-6cfffffff : Soft Reserved > ``` > with CXL_REGION=n you cannot create the dax region. region0 --creates-> dax_region0 --creates-> dax0 all you've done here by setting CXL_REGION=N is break the probe chain but otherwise successfully attributed the memory to the CXL driver. ~Gregory