From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 345312C11C6; Thu, 22 Jan 2026 16:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769099172; cv=none; b=aEN6hPXRNrMfZFzYxmErd4rddyit9HZru6wUMRfiSZAT+Lfq9iIjir9zRFCL1WDHSSp0rp7iKFfoGsTDqumQQyC457CTnwtfzUqH9v8z+Xw7Y/NninLx76IeOtADPAjHdVr6W+7o+7m4KYD74BobStBAzJxUZswvzqpKa5XS//Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769099172; c=relaxed/simple; bh=Yux+13WebJSh2CuLYkyVFAPCg7jEDaQF1QMBa/gn6mw=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=PHsQ0ngjMkbIr5p7yRB7MQ0yl3Zp4G6MpH7mR36nF63FvQYcVoxUuNIU4ql3ok6ZSc56/5VhFoMLCu/RSYJU0ZpQGFLqtv4a4pgugaFLGonuFBPlsH6D89lRA7NKd7jwNmBn+GAnX3uXlUH5CIymjNq8s9a2A4vx/Qsfq3hWwIg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.224.150]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4dxmcz1cPBzHnGdN; Fri, 23 Jan 2026 00:25:23 +0800 (CST) Received: from dubpeml500005.china.huawei.com (unknown [7.214.145.207]) by mail.maildlp.com (Postfix) with ESMTPS id 3626740563; Fri, 23 Jan 2026 00:25:59 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml500005.china.huawei.com (7.214.145.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 22 Jan 2026 16:25:57 +0000 Date: Thu, 22 Jan 2026 16:25:56 +0000 From: Jonathan Cameron To: Smita Koralahalli CC: , , , , , Ard Biesheuvel , "Alison Schofield" , Vishal Verma , Ira Weiny , Dan Williams , Yazen Ghannam , "Dave Jiang" , Davidlohr Bueso , "Matthew Wilcox" , Jan Kara , "Rafael J . Wysocki" , Len Brown , Pavel Machek , Li Ming , Jeff Johnson , Ying Huang , Yao Xingtao , "Peter Zijlstra" , Greg Kroah-Hartman , Nathan Fontenot , Terry Bowman , Robert Richter , Benjamin Cheatham , Zhijian Li , Borislav Petkov , Tomasz Wolski Subject: Re: [PATCH v5 4/7] cxl/region: Add helper to check Soft Reserved containment by CXL regions Message-ID: <20260122162556.0000184d@huawei.com> In-Reply-To: <20260122045543.218194-5-Smita.KoralahalliChannabasappa@amd.com> References: <20260122045543.218194-1-Smita.KoralahalliChannabasappa@amd.com> <20260122045543.218194-5-Smita.KoralahalliChannabasappa@amd.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500009.china.huawei.com (7.191.174.84) To dubpeml500005.china.huawei.com (7.214.145.207) On Thu, 22 Jan 2026 04:55:40 +0000 Smita Koralahalli wrote: > Add a helper to determine whether a given Soft Reserved memory range is > fully contained within the committed CXL region. > > This helper provides a primitive for policy decisions in subsequent > patches such as co-ordination with dax_hmem to determine whether CXL has > fully claimed ownership of Soft Reserved memory ranges. > > No functional changes are introduced by this patch. Given it's not used yet, I'd not have this line of description. We tend to say things like that on refactor patches. > > Signed-off-by: Smita Koralahalli Reviewed-by: Jonathan Cameron