From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id F34ADAC137C for ; Wed, 31 Jan 2024 13:16:48 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=xMg5GC0+GyMy9vsRFir2uB6jvm/XmRgUajIa1UhcAc4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1706707007; v=1; b=wctLZmvco43gGBlRgkFbh5oXu2fjesECE2q381C5sQMXSny4d763PtGi51vP2mZWNiqqpr4O xul1GGNUU2+v5rA1sj5fa8mhxg0LbjCRzihNyU2BryPTCr4VXmigmoA1R6Ji4jyG3/FU90GrVUY uUl1RrvhsaSMGoU7/JUYKKd8= X-Received: by 127.0.0.2 with SMTP id wR35YY7687511xrnLOPc4v8X; Wed, 31 Jan 2024 05:16:47 -0800 X-Received: from sgoci-sdnproxy-4.icoremail.net (sgoci-sdnproxy-4.icoremail.net [129.150.39.64]) by mx.groups.io with SMTP id smtpd.web11.13535.1706707002958073388 for ; Wed, 31 Jan 2024 05:16:46 -0800 X-Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-7 (Coremail) with SMTP id AQAAfwAnSXA0SLplsAPuBw--.49231S2; Wed, 31 Jan 2024 21:16:36 +0800 (CST) X-Received: from phytium.com.cn (unknown [218.76.62.144]) by mail (Coremail) with SMTP id AQAAfwAH82gzSLpl_ycDAA--.2628S3; Wed, 31 Jan 2024 21:16:35 +0800 (CST) From: "Xiong Yining" To: devel@edk2.groups.io Cc: quic_llindhol@quicinc.com, ardb+tianocore@kernel.org, graeme@xora.org.uk, marcin.juszkiewicz@linaro.org, chenbaozi@phytium.com.cn, Xiong Yining Subject: [edk2-devel] [PATCH 0/1] Add support for generating SRAT tables Date: Wed, 31 Jan 2024 13:15:53 +0000 Message-Id: <20240131131554.3003561-1-xiongyining1480@phytium.com.cn> MIME-Version: 1.0 X-CM-TRANSID: AQAAfwAH82gzSLpl_ycDAA--.2628S3 X-CM-SenderInfo: x0lr0wp1lqx0bjrumio6sk53xlxphulrpou0/1tbiAQABBmW5T2UILAACsW X-Coremail-Antispam: 1Uk129KBjvdXoWruF4Uuw4kAw4rXFy5WrW3Jrb_yoW3JrX_uw sxAr97A3y0qF4kGa4Utr9xtry0vFW09w18Ga4rAr1YkFyrA3909F1DXa13Aw18Ja1Yg34r Cr4ktF1xAw4xWjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrnU Uv73VFW2AGmfu7jjvjm3AaLaJ3UjIYCTnIWjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRUUUUU UUUU= 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 Reply-To: devel@edk2.groups.io,xiongyining1480@phytium.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 6sxAF0TqeaZQe0KvabRbxx91x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=wctLZmvc; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io SbsaQemu can configure with numa-related arguments, but OS cannot identify the numa architecture without SRAT tables. We add supporting for generating SRAT tables at runtime to solve this issue. the numa-related information and memory information can be obtained via SMC calls which is provided on the EDK2 patch "get rid of DeviceTree from SbsaQemu" Xiong Yining (1): SbsaQemu: AcpiDxe: Create SRAT table at runtime .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.h | 27 ++++++ .../Include/Library/SbsaQemuHardwareInfoLib.h | 11 +++ .../Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 92 +++++++++++++++++++ .../SbsaQemuHardwareInfoLib.c | 36 ++++++++ 4 files changed, 166 insertions(+) -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114895): https://edk2.groups.io/g/devel/message/114895 Mute This Topic: https://groups.io/mt/104074354/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-