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 51B62AC11F3 for ; Tue, 10 Oct 2023 11:38:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=j3BGKLTLmlWNCu+oT75q92tTd1aPBRbLP8bsLHvUZIM=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: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=1696937926; v=1; b=xWM9T2301enTomzRX3cSpQqhXk4jy9gOAp+Ek4EkvFXc6HFh4CgbIAlQ8MjbArfba4ddOgO1 NGCJelv+KafaVMNC9QgqbjIBeNftfOPiWymeQ1UIm369/KKwKxBesYohccSYVIdBgZggkgyPjZh fJH592gXP/op5wp8vWGzR4m0= X-Received: by 127.0.0.2 with SMTP id 5KnYYY7687511xb3uuiAqb1Y; Tue, 10 Oct 2023 04:38:46 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.88821.1696937923634841817 for ; Tue, 10 Oct 2023 04:38:43 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0496CC15; Tue, 10 Oct 2023 04:39:24 -0700 (PDT) X-Received: from usa.arm.com (a077432.blr.arm.com [10.162.46.9]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0D9143F7A6; Tue, 10 Oct 2023 04:38:41 -0700 (PDT) From: "Sayanta Pattanayak" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar Subject: [edk2-devel] [edk2-platforms][PATCH v1 4/4] Platform/Sgi: add CXL driver support Date: Tue, 10 Oct 2023 17:08:29 +0530 Message-Id: <20231010113829.647426-5-sayanta.pattanayak@arm.com> In-Reply-To: <20231010113829.647426-1-sayanta.pattanayak@arm.com> References: <20231010113829.647426-1-sayanta.pattanayak@arm.com> MIME-Version: 1.0 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,sayanta.pattanayak@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 74pKeuQGzv2Ph9IRrgTiNrucx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=xWM9T230; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=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 CxlDxe discovers CXL capable device with memory expander capability and reads out memory range details. Platform drivers fetch the remote memory details and include as part of system memory through ACPI tables. Signed-off-by: Sayanta Pattanayak --- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 1 + Platform/ARM/SgiPkg/SgiPlatform.fdf | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPk= g/SgiPlatform.dsc.inc index fbe5b0b705..d1d833d9e6 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -314,6 +314,7 @@ # SRAT/HMAT Table generator # !if $(EDK2_ENABLE_REMOTE_CXL_MEM) =3D=3D TRUE + edk2-platforms/Platform/ARM/Drivers/CxlDxe/CxlDxe.inf Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerator.i= nf !endif =20 diff --git a/Platform/ARM/SgiPkg/SgiPlatform.fdf b/Platform/ARM/SgiPkg/Sg= iPlatform.fdf index b1a227f22e..ae48719979 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.fdf +++ b/Platform/ARM/SgiPkg/SgiPlatform.fdf @@ -194,10 +194,15 @@ READ_LOCK_STATUS =3D TRUE INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf =20 - # - # SRAT/HMAT Table generator - # !if $(EDK2_ENABLE_REMOTE_CXL_MEM) =3D=3D TRUE + # + # Cxl Device driver + # + INF edk2-platforms/Platform/ARM/Drivers/CxlDxe/CxlDxe.inf + + # + # SRAT/HMAT Table generator + # INF Platform/ARM/SgiPkg/Library/AcpiTableGeneratorLib/AcpiTableGenerat= or.inf !endif =20 --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109492): https://edk2.groups.io/g/devel/message/109492 Mute This Topic: https://groups.io/mt/101872997/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-