From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web11.31278.1643629555032103232 for ; Mon, 31 Jan 2022 03:45:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YBXGwZqw; spf=pass (domain: kernel.org, ip: 145.40.68.75, 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 ams.source.kernel.org (Postfix) with ESMTPS id 4B6E1B82AB2; Mon, 31 Jan 2022 11:45:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84F7FC340EF; Mon, 31 Jan 2022 11:45:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643629550; bh=xISoZDzR8ZF0WBnAB41d//zIFGB515XvMWZS1dus+co=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YBXGwZqw2bAdKeeP3YzGghiz712oLHwmt+P3eC45swSjEClaCo0ucsY7wCkUM0wEo OLy571eO/Sj6vJQMEBhUCRyunlcXiyGkna/qqHjEkCs0MpBj5NeCvi5fOINxUGXan1 ogEhd3QHoZEpek3UGCrZTUQ8EMLDXzIHcTWI0X6O7ehC6lLhTRGM6xfx/xykdkAvS/ Xphva8AX4J83zTa9eisaSh8JXkAWXSF925ss+PyGe0es+gkNXGuFt8Usth6Pmf1qBt SAYGcclRgVlIApkUjsCfpXHkcSt67aExkSfSqUaNdNvYyp/shTmA9SodiDZzu3EPdU cwonAMvt23ybg== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, rebecca@nuviainc.com, Ard Biesheuvel Subject: [PATCH edk2-platforms 2/4] Platform/HiKey: fix for ARM_CORE_INFO struct layout changes Date: Mon, 31 Jan 2022 12:45:39 +0100 Message-Id: <20220131114541.81163-3-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/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c | 16 ++++++++--= ------ Platform/Hisilicon/HiKey960/Library/HiKey960Lib/HiKey960.c | 16 ++++++++--= ------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c b/Platform/H= isilicon/HiKey/Library/HiKeyLib/HiKey.c index 801d63398524..c0c8b5b9035a 100644 --- a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c +++ b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c @@ -18,56 +18,56 @@ ARM_CORE_INFO mHiKeyInfoTable[] =3D {=0D {=0D // Cluster 0, Core 0=0D - 0x0, 0x0,=0D + 0x000,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 0, Core 1=0D - 0x0, 0x1,=0D + 0x001,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 0, Core 2=0D - 0x0, 0x2,=0D + 0x002,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 0, Core 3=0D - 0x0, 0x3,=0D + 0x003,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 0=0D - 0x1, 0x0,=0D + 0x100,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 1=0D - 0x1, 0x1,=0D + 0x101,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 2=0D - 0x1, 0x2,=0D + 0x102,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 3=0D - 0x1, 0x3,=0D + 0x103,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D diff --git a/Platform/Hisilicon/HiKey960/Library/HiKey960Lib/HiKey960.c b/P= latform/Hisilicon/HiKey960/Library/HiKey960Lib/HiKey960.c index 89cca920ad8d..b5f06fa0f7b1 100644 --- a/Platform/Hisilicon/HiKey960/Library/HiKey960Lib/HiKey960.c +++ b/Platform/Hisilicon/HiKey960/Library/HiKey960Lib/HiKey960.c @@ -16,56 +16,56 @@ ARM_CORE_INFO mHiKey960InfoTable[] =3D {=0D {=0D // Cluster 0, Core 0=0D - 0x0, 0x0,=0D + 0x000,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 0, Core 1=0D - 0x0, 0x1,=0D + 0x001,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 0, Core 2=0D - 0x0, 0x2,=0D + 0x002,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 0, Core 3=0D - 0x0, 0x3,=0D + 0x003,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 0=0D - 0x1, 0x0,=0D + 0x100,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 1=0D - 0x1, 0x1,=0D + 0x101,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 2=0D - 0x1, 0x2,=0D + 0x102,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D },=0D {=0D // Cluster 1, Core 3=0D - 0x1, 0x3,=0D + 0x103,=0D =0D // MP Core MailBox Set/Get/Clear Addresses and Clear Value=0D (UINT64)0xFFFFFFFF=0D --=20 2.30.2