From nobody Sat Nov 15 20:35:36 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1748601292349927.9142480129339; Fri, 30 May 2025 03:34:52 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uKx3l-0004jV-EA; Fri, 30 May 2025 06:33:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uKx3h-0004io-Go for qemu-devel@nongnu.org; Fri, 30 May 2025 06:33:53 -0400 Received: from zg8tmja5ljk3lje4ms43mwaa.icoremail.net ([209.97.181.73]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uKx3c-0003F8-Q9 for qemu-devel@nongnu.org; Fri, 30 May 2025 06:33:53 -0400 Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-6 (Coremail) with SMTP id AQAAfwDX3xeEiTlofHfZAg--.21870S2; Fri, 30 May 2025 18:33:40 +0800 (CST) Received: from phytium.com.cn (unknown [218.76.62.144]) by mail (Coremail) with SMTP id AQAAfwD3iyWAiTlo1VtFAA--.9604S4; Fri, 30 May 2025 18:33:39 +0800 (CST) From: wangyuquan To: jonathan.cameron@huawei.com, fan.ni@samsung.com, mst@redhat.com, marcel.apfelbaum@gmail.com Cc: chenbaozi@phytium.com.cn, qemu-devel@nongnu.org, linux-cxl@vger.kernel.org, wangyuquan Subject: [RFC PATCH v2 1/2] hw/pxb-cxl: Rename the pxb cxl host bridge Date: Fri, 30 May 2025 18:33:19 +0800 Message-Id: <20250530103320.534173-2-wangyuquan1236@phytium.com.cn> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250530103320.534173-1-wangyuquan1236@phytium.com.cn> References: <20250530103320.534173-1-wangyuquan1236@phytium.com.cn> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: AQAAfwD3iyWAiTlo1VtFAA--.9604S4 X-CM-SenderInfo: 5zdqw5pxtxt0arstlqxsk13x1xpou0fpof0/1tbiAQAGAWg4uXAFmgAAsA Authentication-Results: hzbj-icmmx-6; spf=neutral smtp.mail=wangyuquan 1236@phytium.com.cn; X-Coremail-Antispam: 1Uk129KBjvJXoW7ZF1UWr4ktw45Xw45WrW7Jwb_yoW8uryUpF yFg3W5tr1DJFWjkw4fCa4kXFyUC3Z7GrWrZFs7Gwn2kF1xWFyYqrsFka4IvF1UJFW0kFyj va1jvFW8uw4fAaUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj DUYxn0WfASr-VFAU7a7-sFnT9fnUUIcSsGvfJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJUUU UUUUU Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=209.97.181.73; envelope-from=wangyuquan1236@phytium.com.cn; helo=zg8tmja5ljk3lje4ms43mwaa.icoremail.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1748601292910116600 Content-Type: text/plain; charset="utf-8" This renames some descriptions and definitions of pxb cxl host bridge, since the original names can be confusing. Signed-off-by: Yuquan Wang Reviewed-by: Jonathan Cameron --- hw/pci-bridge/pci_expander_bridge.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/pci-bridge/pci_expander_bridge.c b/hw/pci-bridge/pci_expand= er_bridge.c index 3a29dfefc2..bd637786d0 100644 --- a/hw/pci-bridge/pci_expander_bridge.c +++ b/hw/pci-bridge/pci_expander_bridge.c @@ -201,7 +201,7 @@ static void pxb_cxl_realize(DeviceState *dev, Error **e= rrp) } =20 /* - * Host bridge realization has no means of knowning state associated + * PXB Host bridge realization has no means of knowning state associated * with a particular machine. As such, it is nececssary to delay * final setup of the host bridge register space until later in the * machine bring up. @@ -240,7 +240,7 @@ static void pxb_cxl_host_class_init(ObjectClass *class,= const void *data) * This is a device to handle the MMIO for a CXL host bridge. It does noth= ing * else. */ -static const TypeInfo cxl_host_info =3D { +static const TypeInfo pxb_cxl_host_info =3D { .name =3D TYPE_PXB_CXL_HOST, .parent =3D TYPE_PCI_HOST_BRIDGE, .instance_size =3D sizeof(CXLHost), @@ -522,7 +522,7 @@ static void pxb_cxl_dev_class_init(ObjectClass *klass, = const void *data) * vendor, device, class, etc. ids are intentionally left out. */ =20 - dc->desc =3D "CXL Host Bridge"; + dc->desc =3D "PXB CXL Host Bridge"; device_class_set_props(dc, pxb_cxl_dev_properties); set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); =20 @@ -549,7 +549,7 @@ static void pxb_register_types(void) type_register_static(&pxb_pcie_bus_info); type_register_static(&pxb_cxl_bus_info); type_register_static(&pxb_host_info); - type_register_static(&cxl_host_info); + type_register_static(&pxb_cxl_host_info); type_register_static(&pxb_dev_info); type_register_static(&pxb_pcie_dev_info); type_register_static(&pxb_cxl_dev_info); --=20 2.34.1