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 1866C2749DC; Fri, 23 Jan 2026 12:49:56 +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=1769172600; cv=none; b=EaoKEwXjoW6b0OzlRIXe/cGNHhEyLGOvrMN4xHDbQu+V5GpqlHAcO4s6FQHwWFAIdw/Fz84flgxBeIx4lfn9uUwqgg/PPWEEw6vRilq3n8iBRtVzh7keKy9FM0ULXUYT22U7dZXh+aTKcLKxUdTAr4Fl81mUlfuKK+KbEufuUXI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769172600; c=relaxed/simple; bh=yQ+r69jgqz6ryIBrbS+b/Z/i6dREkQsh5etFmNwoxm8=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SQlcs8/g1Z6dPROTt9BWYeBoyRWrtm+zG5CEHbh6hlsMe+cyj6Vilj5FsaMwvEET44WnDXAfUye5W9wQZN+XWDIs5FK/kJo1jqWTXddIsni8gZGEcn++/MrSvSDYnjZw/Ts0Eg9RzDYigvcLUKFK1CG5qkoie+99VCE5S2bEpJA= 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.83]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4dyHn86nz4zHnH2m; Fri, 23 Jan 2026 20:49:16 +0800 (CST) Received: from dubpeml500005.china.huawei.com (unknown [7.214.145.207]) by mail.maildlp.com (Postfix) with ESMTPS id 93CCD40572; Fri, 23 Jan 2026 20:49:54 +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; Fri, 23 Jan 2026 12:49:43 +0000 Date: Fri, 23 Jan 2026 12:49:41 +0000 From: Jonathan Cameron To: Neeraj Kumar CC: , , , , , , Subject: Re: [PATCH V6 17/18] cxl/pmem_region: Create pmem region using information parsed from LSA Message-ID: <20260123124941.00007c37@huawei.com> In-Reply-To: <20260123113112.3488381-18-s.neeraj@samsung.com> References: <20260123113112.3488381-1-s.neeraj@samsung.com> <20260123113112.3488381-18-s.neeraj@samsung.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) 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-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100010.china.huawei.com (7.191.174.197) To dubpeml500005.china.huawei.com (7.214.145.207) On Fri, 23 Jan 2026 17:01:11 +0530 Neeraj Kumar wrote: > create_pmem_region() creates CXL region based on region information > parsed from the Label Storage Area (LSA). This routine requires cxl > endpoint decoder and root decoder. Add cxl_find_root_decoder_by_port() > and cxl_find_free_ep_decoder() to find the root decoder and a free > endpoint decoder respectively. > > Signed-off-by: Neeraj Kumar Reviewed-by: Jonathan Cameron