From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web09.31161.1643629549844857189 for ; Mon, 31 Jan 2022 03:45:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XQKIhiGE; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 467D461465; Mon, 31 Jan 2022 11:45:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2055FC340FB; Mon, 31 Jan 2022 11:45:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643629549; bh=/3lspnS527QYSdHV7+yi/lt6ECjOmKl7hsl8H0JpbGY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XQKIhiGEMH5QJ39b/JIR9ZlTFAGU8EwMBPmNdn6eAHe8Fqe1ZzYpByJiSIFz+yWQL G25W9fMVMbhNQL/EUlji+hQJoBbqPF87uez3Oeof4NHhLfTDg8TS/NRH0MJ1ZDNecU Zn9MEEFgblSvMfPV22QgIHX12aHP0I8eY7ND1yyZb8GDH2wI/u8gv8zZFHVpL9q5Xr DIgm5w7ySGtS1JRkPdqfKyzSfhyv6Z3pk7lsyL+fej2/N6cNViuLoo5GK5ZEeZr5uf BRh3ZTZNWaFCga12wShH9EcAYlA02HXv5AitCAoxhM8ZKdbfpRDEM8UrkwpmNC4Yni sEY9BvZVRCTiw== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, rebecca@nuviainc.com, Ard Biesheuvel Subject: [PATCH edk2-platforms 1/4] Platform/ARM: fix for ARM_CORE_INFO struct layout changes Date: Mon, 31 Jan 2022 12:45:38 +0100 Message-Id: <20220131114541.81163-2-ardb@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220131114541.81163-1-ardb@kernel.org> References: <20220131114541.81163-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: Ard Biesheuvel --- Platform/ARM/Morello/Library/PlatformLib/PlatformLib.c | 8 ++++---- Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c | 2 +- Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Platform/ARM/Morello/Library/PlatformLib/PlatformLib.c b/Platf= orm/ARM/Morello/Library/PlatformLib/PlatformLib.c index 52318a62911a..894a53c9ca01 100644 --- a/Platform/ARM/Morello/Library/PlatformLib/PlatformLib.c +++ b/Platform/ARM/Morello/Library/PlatformLib/PlatformLib.c @@ -10,10 +10,10 @@ #include =0D =0D STATIC ARM_CORE_INFO mCoreInfoTable[] =3D {=0D - { 0x0, 0x0 }, // Cluster 0, Core 0=0D - { 0x0, 0x1 }, // Cluster 0, Core 1=0D - { 0x1, 0x0 }, // Cluster 1, Core 0=0D - { 0x1, 0x1 } // Cluster 1, Core 1=0D + { 0x000 }, // Cluster 0, Core 0=0D + { 0x001 }, // Cluster 0, Core 1=0D + { 0x100 }, // Cluster 1, Core 0=0D + { 0x101 } // Cluster 1, Core 1=0D };=0D =0D /**=0D diff --git a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c b/Platfo= rm/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c index a982e3d403fa..2a1c96c7a776 100644 --- a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c +++ b/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.c @@ -20,7 +20,7 @@ STATIC SGI_NT_FW_CONFIG_INFO_PPI mNtFwConfigDtInfoPpi; STATIC ARM_CORE_INFO mCoreInfoTable[] =3D {=0D {=0D // Cluster 0, Core 0=0D - 0x0, 0x0,=0D + 0x0,=0D },=0D };=0D =0D diff --git a/Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.c b/= Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.c index c0effd37f333..faf476c18812 100644 --- a/Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.c +++ b/Silicon/ARM/NeoverseN1Soc/Library/PlatformLib/PlatformLib.c @@ -11,10 +11,10 @@ #include =0D =0D STATIC ARM_CORE_INFO mCoreInfoTable[] =3D {=0D - { 0x0, 0x0 }, // Cluster 0, Core 0=0D - { 0x0, 0x1 }, // Cluster 0, Core 1=0D - { 0x1, 0x0 }, // Cluster 1, Core 0=0D - { 0x1, 0x1 } // Cluster 1, Core 1=0D + { 0x000 }, // Cluster 0, Core 0=0D + { 0x001 }, // Cluster 0, Core 1=0D + { 0x100 }, // Cluster 1, Core 0=0D + { 0x101 } // Cluster 1, Core 1=0D };=0D =0D /**=0D --=20 2.30.2