Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4608192imw; Tue, 19 Jul 2022 09:42:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tUTGNcAO8ZUSkerJrapY7PVU+IQB/44H/0Wx4TN9f/ubuiRP7KWRJ4TZIJy46AKHnc9+5M X-Received: by 2002:a17:907:a053:b0:72b:3051:b79b with SMTP id gz19-20020a170907a05300b0072b3051b79bmr29829804ejc.690.1658248935628; Tue, 19 Jul 2022 09:42:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658248935; cv=none; d=google.com; s=arc-20160816; b=kfmXWVQTapknb7ULlcH5tCGwHuxOG0+CF+ukaqaj6+azVhxTHHJwOqgzN7BI1Fmn5k vrlJKGk2HfGmUh5NEBhC7f9FCCT9RiU4qxA26crSw/Yq/8mpgCVSgiD4aUUX5nmSDozU XXDEmQh7gWxfL8UyujllXyUhoNsmav3wo/NTRTVlfsCCi9P4fd2ZVb0p9qF4e6qzVyi4 y1d/wA8taeHo/o5MSOE+2RpPh4+scfvMEECRoT9agag1UizK8MYWsbwOkKpHy9qFBd5A epeAmJOFCc8LHsVW//1B0rgxhBf6tDlLIdfLRqbiX9+VsucjGLbdjAWj935FJFvkLq4Q jnOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=RCVv/U97sToBnow9THsXV7ZbHU2kvM844gb+NGgMjPo=; b=oTSnadIjGn0r6d3vnQSHahIcQBpccYhyeWO8S+wHLBQuadoLNLc3KpFUZPMaYFbaGS n6LiyHURA5gYDHiBPCOXhQSADJ6He3W3enipkNq+Qj43VJxl4FvmwmCeCX4uDKeYsH6q FX9vnUKuRxLtDTDRVIYh1eSZoLXQ4EI5GagR5ZuJj+itUvKuMNq6tz9y0oarPcsHzYAM 48L3D9qLlh4rUF/ak4lFJdgmWiPGCWsJeIiErd5Bc5dRtS9FT953EEF9xUCQRinPjd45 +oA8Y+i4aOHjclI8Swzu04GvOIItmw530yhFjaW5ZUjiKXo7YM8HxqfgbY3WUR1WhguR uG1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb18-20020a1709076d9200b0072b9ca954b2si20780566ejc.1006.2022.07.19.09.41.50; Tue, 19 Jul 2022 09:42:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234096AbiGSQi2 (ORCPT + 99 others); Tue, 19 Jul 2022 12:38:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbiGSQiZ (ORCPT ); Tue, 19 Jul 2022 12:38:25 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E510C326F8; Tue, 19 Jul 2022 09:38:24 -0700 (PDT) Received: from fraeml706-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4LnPc81Cm5z67Q0K; Wed, 20 Jul 2022 00:36:40 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml706-chm.china.huawei.com (10.206.15.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.24; Tue, 19 Jul 2022 18:38:22 +0200 Received: from localhost (10.81.209.49) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 19 Jul 2022 17:38:21 +0100 Date: Tue, 19 Jul 2022 17:38:20 +0100 From: Jonathan Cameron To: CC: Dan Williams , Bjorn Helgaas , Davidlohr Bueso , Lukas Wunner , Alison Schofield , "Vishal Verma" , Dave Jiang , "Ben Widawsky" , , , Subject: Re: [PATCH V14 4/7] cxl/pci: Create PCI DOE mailbox's for memory devices Message-ID: <20220719173820.00004e6e@Huawei.com> In-Reply-To: <20220715030424.462963-5-ira.weiny@intel.com> References: <20220715030424.462963-1-ira.weiny@intel.com> <20220715030424.462963-5-ira.weiny@intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.81.209.49] X-ClientProxiedBy: lhreml749-chm.china.huawei.com (10.201.108.199) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Jul 2022 20:04:21 -0700 ira.weiny@intel.com wrote: > From: Ira Weiny > > DOE mailbox objects will be needed for various mailbox communications > with each memory device. > > Iterate each DOE mailbox capability and create PCI DOE mailbox objects > as found. > > It is not anticipated that this is the final resting place for the > iteration of the DOE devices. The support of switch ports will drive > this code into the PCIe side. In this imagined architecture the CXL > port driver would then query into the PCI device for the DOE mailbox > array. > > For now creating the mailboxes in the CXL port is good enough for the > endpoints. Later PCIe ports will need to support this to support switch > ports more generically. > > Cc: Dan Williams > Cc: Davidlohr Bueso > Cc: Lukas Wunner > Signed-off-by: Ira Weiny LGTM Reviewed-by: Jonathan Cameron