From nobody Mon Feb 9 08:57:57 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+56282+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+56282+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1585133629; cv=none; d=zohomail.com; s=zohoarc; b=CTMa6iyDDexcDW7RZw4U85WnIXRtYmnQkw58GzR2xEfMBSw4pF0lZskQpyz8utWnMd1AYAyGBWTCB0MtrgaiaCJeBqPFRxH9qDcV4dTS01djIrS6QaCVNMY9iY3NnKRjNZHNAV9J+rsI2vTFxZ0J6fM3t0SnJrLC62j00atA9uI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585133629; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=hszHf/Lw91RUS3YfH6Im6EmIT2WvagqkaOy9gTMszmw=; b=TaTSRfBh6Hn39dGiMYN/auV+YbCuERbc1CYewEMyczCV+mJKcgGRBHQPHTBgGDpwEIN+1R6xOQQpjNMVDdG+jCJdonz592Voa4DBNosFJFfxSnOckke6gyDfqkawEm6QxGVfPXgaa5LPU+uRK+9ncJGZzFSauoTni7kgpobCDmk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+56282+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1585133628876716.2269772601296; Wed, 25 Mar 2020 03:53:48 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id fP11YY1788612x2xThNmXmfl; Wed, 25 Mar 2020 03:53:48 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.8823.1585133627500264246 for ; Wed, 25 Mar 2020 03:53:47 -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 3FB98FEC; Wed, 25 Mar 2020 03:53:47 -0700 (PDT) X-Received: from usa.arm.com (a073440-lin.blr.arm.com [10.162.16.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D397D3F71F; Wed, 25 Mar 2020 03:53:45 -0700 (PDT) From: "Aditya Angadi" To: devel@edk2.groups.io Cc: Aditya Angadi , Leif Lindholm , Ard Biesheuvel Subject: [edk2-devel] [edk2-platforms][PATCH v3 8/9] Platform/ARM/Sgi: add initial support Date: Wed, 25 Mar 2020 16:22:51 +0530 Message-Id: <20200325105252.13905-9-aditya.angadi@arm.com> In-Reply-To: <20200325105252.13905-1-aditya.angadi@arm.com> References: <20200325105252.13905-1-aditya.angadi@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,aditya.angadi@arm.com X-Gm-Message-State: qtrPvxrAI8gxXFsbdoa3x1Tix1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1585133628; bh=K1OK89giwG1lTx7F2zW/3AI1Rhp7BiRbVCcZXEHZGxk=; h=Cc:Date:From:Reply-To:Subject:To; b=QuNQwbxbLbxqbdHULHE1HEox8EXrD/BuxPZcUqhAgsSuTNN/Vx6pvMsu/6qFpgWVl+P hs0pOcoKksI3SQ+O5ESIOEK5mWFJCdNum33w0QT0luKPAElI33qzMAGwhOB1sFXXoSqVN 15Aui/XcLM9sRrl5em0JOfrlqQTTySAwC3Q= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" For RD-Daniel Config-XLR, use multichip mode information from the SGI platform descriptor HOB to pick the correct ACPI table to be installed. Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Aditya Angadi --- Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c | 5 +++++ Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf | 1 + Platform/ARM/SgiPkg/Include/SgiPlatform.h | 1 + 3 files changed, 7 insertions(+) diff --git a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c b/Platfo= rm/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c index 7e0de765f753..b1f5714b934d 100644 --- a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c +++ b/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.c @@ -51,6 +51,11 @@ STATIC SGI_PLATFORM_ACPI_TABLE_GUID_LOOKUP AcpiTableGuid= Lookup[] =3D { RD_DANIEL_CFGM_CONF_ID, MULTI_CHIP_MODE_DISABLED, &gRdDanielCfgMAcpiTablesFileGuid), + ACPI_GUID_LOOKUP ( + RD_DANIEL_PART_NUM, + RD_DANIEL_CFGXLR_CONF_ID, + MULTI_CHIP_MODE_ENABLED, + &gRdDanielCfgXlrAcpiTablesFileGuid), }; =20 VOID diff --git a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf b/Plat= form/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf index 82569820b78c..00cbe608c219 100644 --- a/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf +++ b/Platform/ARM/SgiPkg/Drivers/PlatformDxe/PlatformDxe.inf @@ -35,6 +35,7 @@ [Guids] gRdN1EdgeX2AcpiTablesFileGuid gRdE1EdgeAcpiTablesFileGuid gRdDanielCfgMAcpiTablesFileGuid + gRdDanielCfgXlrAcpiTablesFileGuid =20 [FeaturePcd] gArmSgiTokenSpaceGuid.PcdVirtioBlkSupported diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/SgiPk= g/Include/SgiPlatform.h index b6a427b8b657..9822858f6ea0 100644 --- a/Platform/ARM/SgiPkg/Include/SgiPlatform.h +++ b/Platform/ARM/SgiPkg/Include/SgiPlatform.h @@ -73,6 +73,7 @@ //RDDANIEL Platform Identification values #define RD_DANIEL_PART_NUM 0x78A #define RD_DANIEL_CFGM_CONF_ID 0x1 +#define RD_DANIEL_CFGXLR_CONF_ID 0x2 =20 #define SGI_CONFIG_MASK 0x0F #define SGI_CONFIG_SHIFT 0x1C --=20 2.17.1 -=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 (#56282): https://edk2.groups.io/g/devel/message/56282 Mute This Topic: https://groups.io/mt/72538029/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-