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 767032D77FF; Tue, 7 Oct 2025 13:22:05 +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=1759843329; cv=none; b=IoEdsJ1pFEaf1F71COXWKlFSXiQH70/u6zke0ljTHqCa1Ovs2ei9nTuSTaZzAFZWllhGlHLc76HTRPxibebgtO5xCLCEBUE/8uoOBFbw6UNjDYGn0tVyeykuY43PO9qubHuNXpHKL1KYPjBOcBHLgvEqMZSG6iSC73kXuFFwDBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759843329; c=relaxed/simple; bh=5TU8FHnQaEqyow6KHDzKj/enOXak8oqqD7sbJJrw1cM=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NzX3/w1EdbFhKDH/21bk5rcr7DwKJi6wNdIB8t1Yt4VJogtxIUq/7AL5fpW7MXbMf/8aQBKbiCK5lEd5rVBEjrFbXWPMOvdkWD/Cjv9u5oOgJlNLL5JB/4c4OaNymJg6ZA9xKHz373l7r5c5HdsmnoIcPfkr6o2xPo49NWtQoxY= 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.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4cgxY20Qwcz6M4dG; Tue, 7 Oct 2025 21:18:46 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id 399EF140159; Tue, 7 Oct 2025 21:22:03 +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.11; Tue, 7 Oct 2025 14:22:02 +0100 Date: Tue, 7 Oct 2025 14:22:00 +0100 From: Jonathan Cameron To: CC: , , , , , , , , , Alejandro Lucero , Ben Cheatham Subject: Re: [PATCH v19 08/22] cxl: Support dpa initialization without a mailbox Message-ID: <20251007142200.00007840@huawei.com> In-Reply-To: <20251006100130.2623388-9-alejandro.lucero-palau@amd.com> References: <20251006100130.2623388-1-alejandro.lucero-palau@amd.com> <20251006100130.2623388-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: 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: lhrpeml100009.china.huawei.com (7.191.174.83) To dubpeml100005.china.huawei.com (7.214.146.113) On Mon, 6 Oct 2025 11:01:16 +0100 wrote: > From: Alejandro Lucero I think this also needs to mention sfc in the patch title as we'll need an appropriate RB/Ack for that part. Lazy option would be cxl/sfc: Support dpa initialization without a mailbox but there are probably better options. > > 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