From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 659E57803CD for ; Tue, 24 Dec 2024 16:07:09 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=o9ORA8ypzeTW24D8eXS1C4u/M/Zqo4X+RVuoQWODXuA=; c=relaxed/simple; d=groups.io; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20240830; t=1735056429; v=1; x=1735315627; b=o0LCihdGiFNl4twCKnYqS+2MBt827w6ANnHGPQe6R4of4xlEGWqHp+3V/FdsHFpRyl6QuznS 8Hiabz7J/j+nIZ12zfVLj50e8zeqDxJz+SklB5kCgHuAPVT9FtzhJ6fIp1RivDl7xufC1m0gLS6 Lk/NjyRXWbjZRVDbS6CAw52JEr+wO2GS9WeyUpYfAT4IXLq7I90PQ3mQtYNe/z7HNIRK3KcqXVj OGOV+m1jeDWRxU/47EhWNso8an51XxxPWdklrOnvtA26yI+KmPydGdwYoYs+eVS/rnADETCW+qT jDQ132RBivmnqDn8TxvCkSTnUTlg5uys8w/sYdbj3D2zw== X-Received: by 127.0.0.2 with SMTP id hOGYYY7687511xhgRlCCOyN8; Tue, 24 Dec 2024 08:07:07 -0800 X-Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mx.groups.io with SMTP id smtpd.web10.35937.1735056421506860879 for ; Tue, 24 Dec 2024 08:07:02 -0800 X-Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4YHfsC12qYz6K6Nl; Wed, 25 Dec 2024 00:06:39 +0800 (CST) X-Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id 39487140133; Wed, 25 Dec 2024 00:06:59 +0800 (CST) X-Received: from localhost (10.48.156.150) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 24 Dec 2024 17:06:58 +0100 Date: Tue, 24 Dec 2024 16:06:57 +0000 From: "Jonathan Cameron via groups.io" To: Yuquan Wang CC: , , , , , , Subject: Re: [edk2-devel] [RFC PATCH edk2-platforms v4 0/1] add basic support for CXL on sbsa-ref Message-ID: <20241224160657.000040ca@huawei.com> In-Reply-To: References: <20241210103632.95960-1-wangyuquan1236@phytium.com.cn> <46b1b4e4-8588-46ae-8331-1ccb40a069ac@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.48.156.150] X-ClientProxiedBy: lhrpeml500004.china.huawei.com (7.191.163.9) To frapeml500008.china.huawei.com (7.182.85.71) Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 24 Dec 2024 08:07:02 -0800 Resent-From: jonathan.cameron@huawei.com Reply-To: devel@edk2.groups.io,jonathan.cameron@huawei.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 0Luxisiu7ndVc6f2fpOGzu4kx7686176AA= Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=o0LCihdG; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Wed, 18 Dec 2024 11:23:53 +0800 "Yuquan Wang" wrote: > On Thu, Dec 12, 2024 at 11:51:54AM +0800, Yuquan Wang wrote: > > On Wed, Dec 11, 2024 at 03:40:03PM +0000, Alejandro Lucero Palau wrote:= =20 > > >=20 > > > On 12/10/24 10:36, Yuquan Wang wrote: =20 > > > > v3 -> v4: > > > > - Align base addresses of CXL relevant Windows > > > >=20 > > > > v2 -> v3: > > > > - PCDs values of pio, mmio32, mmio64 & ecam space for the independe= nt cxl host > > > > - CXL Bus range: 0x00 ~ 0xff > > > > - Mcfg ecam structure for cxl > > > > - Iort RC node for cxl > > > >=20 > > > > RFC because > > > > - Many contents are ported from Jonathan' patch on qemu virt design > > > >=20 > > > > - Bring plenty of PCDs values > > > >=20 > > > > - Less experience and not particularly confident in ACPI area > > > >=20 > > > > This series leverages Jonathan's patches[1] to add acpi0016 & acpi0= 017 objects into the > > > > previous DSDT table of sbsa-ref. Since my latest acpi0016 implement= ation model on qemu > > > > side is a new host bridge qemu object rather than pxb-cxl, the cxl = host(Segment 0001) > > > > would have its own ECAM sapce. Meanwhile, this adds exclusive pio, = mmio32 & mmio64 space > > > > for cxl host. =20 > > >=20 > > >=20 > > > Hi Yuquan, > > >=20 > > >=20 > > > Is there a roadmap for edk2 supporting other CXL features? > > > =20 > > Hi, Alejandro > >=20 > > Emmm. I have not find such edk2 roadmap (docs/webs/blog) yet. According= to > > what I've learnd, the edk2 upstream only support some head files which > > define cxl registers structs and no cxl drivers have merged into upstre= am > > now, and mostly system software's work haved been done in linux kernel. > >=20 > > Regard to cxl patches in edk2, there is a series of patches in reviewin= g to > > support enabling cxl-type3 device as memory expander on Arm/RD platform= [1]. > >=20 > > Link: > > [1]: https://edk2.groups.io/g/devel/message/109488 =20 > > >=20 > > > I have noticed UEFI extensions are not supported yet, specifically > > > EFI_ADAPTER_INFO_CDAT_TYPE_GUID as an instance of > > > EFI_ADAPTER_INFORMATION_PROTOCOL. > > >=20 > > >=20 > > > Any feedback would be welcome. > > >=20 > > >=20 > > > Thanks > > >=20 > > > =20 > > =20 > Hi, Jonathan & Ben >=20 > Recently I am trying to test EINJ for cxl error on sbsa-ref based on Ben > Cheatham's patches, but there seems no sample for cxl EINJ table in edk2. > Hence, I manage to write the EINJ table by what I have learnd in ACPI > SPEC, but I am struggling with which error injection actions need me to > build. >=20 > Do you know some limitations on this mechanism in QEMU or any suggestions= ? Sorry no idea. For error injection I've always focused on doing it from QEMU, not in firmw= are and on arm/virt not sbsa-ref so I have complete control of the ACPI tables. Not sure what's needed to make the EDK2 / SBSAref version work. Jonathan >=20 > Many thanks > Yuquan >=20 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120934): https://edk2.groups.io/g/devel/message/120934 Mute This Topic: https://groups.io/mt/110023229/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-