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 BB95733EAF5; Wed, 12 Nov 2025 15:52:38 +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=1762962760; cv=none; b=YNZBGBjw+W+q5Fm5x9v/HVR9ttts4SDa6waVIZFQE7m9mXyzEOeTmtCtCd5EUWQg1EzL/6SJxOLtMTC6dYFTMDKDma0AxLxcH+Ms7y592zRzLOsapEnJh3OylruKSaXhPkCWr0nam4kIoQfBtrBY6HuaID6LDvn+izFbnRwBm0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762962760; c=relaxed/simple; bh=JjP2Uj1wrcs/fXVWNZZOvNM7sRau7gRQRHR2EmLZUkw=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DkdF9Mw/CRxwIMQaDdFeMTKy4GBj5+cSCuLQyMXXxSbwq9fB5DDSU7LQIivFzwMpmaa48Eom0Owg1ZYuYcav9v6c2BPpL5eqjIbBLrAIcOSOV9BMLQ/JEvhCtq1KJhtmIGjjNck4799kbtRf3/CKU7FI7bIpbIJR3HoeXbIEDis= 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.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4d67FY2XBJzHnH6q; Wed, 12 Nov 2025 23:52:17 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id A515E140373; Wed, 12 Nov 2025 23:52:36 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Wed, 12 Nov 2025 15:52:34 +0000 Date: Wed, 12 Nov 2025 15:52:33 +0000 From: Jonathan Cameron To: CC: , , , , , , , , , Alejandro Lucero , Ben Cheatham Subject: Re: [PATCH v20 08/22] cxl/sfc: Initialize dpa without a mailbox Message-ID: <20251112155233.0000243e@huawei.com> In-Reply-To: <20251110153657.2706192-9-alejandro.lucero-palau@amd.com> References: <20251110153657.2706192-1-alejandro.lucero-palau@amd.com> <20251110153657.2706192-9-alejandro.lucero-palau@amd.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: netdev@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: lhrpeml100011.china.huawei.com (7.191.174.247) To dubpeml100005.china.huawei.com (7.214.146.113) On Mon, 10 Nov 2025 15:36:43 +0000 alejandro.lucero-palau@amd.com wrote: > From: Alejandro Lucero > > Type3 relies on mailbox CXL_MBOX_OP_IDENTIFY command for initializing > memdev state params which end up being used for DPA initialization. > > Allow a Type2 driver to initialize DPA simply by giving the size of its > volatile hardware partition. > > Move related functions to memdev. > > Add sfc driver as the client. > > Signed-off-by: Alejandro Lucero > Reviewed-by: Dan Williams > Reviewed-by: Dave Jiang > Reviewed-by: Ben Cheatham Reviewed-by: Jonathan Cameron > --- Side note that it would be really handy when we are down to this last version or so before merge to have a short change log in each patch (here under the ---) Saves a bunch of reviewer time checking back on what we need to look out for when it might be trivial: such as the patch description change in this one