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 EBEFEAC09A6 for ; Wed, 18 Dec 2024 03:24:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=jBDrZQnP04UJubE0ezfRgeE3/McjVWoKuIFKco4aSHY=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To: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-Disposition; s=20240830; t=1734492275; v=1; x=1734751474; b=jgPOYcb8u9F5IEfRcRPXyLnH0c5fvUIKHlCuPOAOyYvCdtyGMxEjzp4/8ddbNBhEnd6KuOxp 0zcpv3Y+VvvI/RNHPLLXKDf84NNfISovaOADQYhj5pn3USoHFL5qxCG2vkgNjTsP3JipVJoYLQw URl+59Hs9KkMoxiIr8CnqvlenBK1FP4TeM2cbBYl00W+zZfzer3IAwr3OAmkKf0dcXJ2g9HlxYt vTUzufUn0jqGj0etU/zQdyZ3h/INxReAWdKgHvGtJXoPC2WSfMklBZJMCqNfRvoqZcEqMRmQv10 Jva5Qb4wfHnDQg2CG9trdi6LV2a3rqlVPpcS/40Kgut5A== X-Received: by 127.0.0.2 with SMTP id ML6KYY7687511xoBNK1N9R1W; Tue, 17 Dec 2024 19:24:34 -0800 X-Received: from zg8tmja5ljk3lje4ms43mwaa.icoremail.net (zg8tmja5ljk3lje4ms43mwaa.icoremail.net [209.97.181.73]) by mx.groups.io with SMTP id smtpd.web11.98367.1734492272673913845 for ; Tue, 17 Dec 2024 19:24:33 -0800 X-Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-6 (Coremail) with SMTP id AQAAfwDHz_NsQGJnGM3PCA--.5734S2; Wed, 18 Dec 2024 11:24:28 +0800 (CST) X-Received: from localhost (unknown [123.150.8.50]) by mail (Coremail) with SMTP id AQAAfwDnOXZZQGJnm_hqAA--.2769S2; Wed, 18 Dec 2024 11:24:23 +0800 (CST) Date: Wed, 18 Dec 2024 11:23:53 +0800 From: "Yuquan Wang" To: jonathan.cameron@huawei.com, Benjamin.Cheatham@amd.com Cc: marcin.juszkiewicz@linaro.org, ardb+tianocore@kernel.org, quic_llindhol@quicinc.com, Jonathan.Cameron@huawei.com, chenbaozi@phytium.com.cn, devel@edk2.groups.io, linux-cxl@vger.kernel.org Subject: Re: [edk2-devel] [RFC PATCH edk2-platforms v4 0/1] add basic support for CXL on sbsa-ref Message-ID: References: <20241210103632.95960-1-wangyuquan1236@phytium.com.cn> <46b1b4e4-8588-46ae-8331-1ccb40a069ac@amd.com> MIME-Version: 1.0 In-Reply-To: X-CM-TRANSID: AQAAfwDnOXZZQGJnm_hqAA--.2769S2 X-CM-SenderInfo: 5zdqw5pxtxt0arstlqxsk13x1xpou0fpof0/1tbiAQADAWdh1gwAZgABs4 X-Coremail-Antispam: 1Uk129KBjvJXoW7Zr4fZF1fCryxZw1xWFyxuFg_yoW8tw15pF WYgF1qyFWktr1UuwnFv348Xw4rtws5ZFW8Zr98Z348K3ZF93WaqFW7tayY9a47GFn5Cw43 Ca1jv3s7Xayjy3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj DUYxn0WfASr-VFAU7a7-sFnT9fnUUIcSsGvfJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJUUU UUUUU 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, 17 Dec 2024 19:24:33 -0800 Resent-From: wangyuquan1236@phytium.com.cn Reply-To: devel@edk2.groups.io,wangyuquan1236@phytium.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3BECxc4M0KsO9mQrTF40bfwBx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=jgPOYcb8; dmarc=none; 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 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: > > > > On 12/10/24 10:36, Yuquan Wang wrote: > > > v3 -> v4: > > > - Align base addresses of CXL relevant Windows > > > > > > v2 -> v3: > > > - PCDs values of pio, mmio32, mmio64 & ecam space for the independent cxl host > > > - CXL Bus range: 0x00 ~ 0xff > > > - Mcfg ecam structure for cxl > > > - Iort RC node for cxl > > > > > > RFC because > > > - Many contents are ported from Jonathan' patch on qemu virt design > > > > > > - Bring plenty of PCDs values > > > > > > - Less experience and not particularly confident in ACPI area > > > > > > This series leverages Jonathan's patches[1] to add acpi0016 & acpi0017 objects into the > > > previous DSDT table of sbsa-ref. Since my latest acpi0016 implementation 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. > > > > > > Hi Yuquan, > > > > > > Is there a roadmap for edk2 supporting other CXL features? > > > Hi, Alejandro > > 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 upstream > now, and mostly system software's work haved been done in linux kernel. > > Regard to cxl patches in edk2, there is a series of patches in reviewing to > support enabling cxl-type3 device as memory expander on Arm/RD platform[1]. > > Link: > [1]: https://edk2.groups.io/g/devel/message/109488 > > > > I have noticed UEFI extensions are not supported yet, specifically > > EFI_ADAPTER_INFO_CDAT_TYPE_GUID as an instance of > > EFI_ADAPTER_INFORMATION_PROTOCOL. > > > > > > Any feedback would be welcome. > > > > > > Thanks > > > > > Hi, Jonathan & Ben 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. Do you know some limitations on this mechanism in QEMU or any suggestions? Many thanks Yuquan -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120909): https://edk2.groups.io/g/devel/message/120909 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] -=-=-=-=-=-=-=-=-=-=-=-