From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85013+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85013+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692488; cv=none; d=zohomail.com; s=zohoarc; b=ip5KGA3LNtXhlvApIwnZWTxgOdihkua2RImW23NOffud3EirdaokeN9/gw2BifkuJXRyUbtkQfOvW5HmV3hoHT3jQCUkC7kdAvFrqxtoqdS7+MAbBy8zAT69yA7SdYBsUV3je9QYBgXghmmcRUL247fYLghP5Y+Fx8StUHo33x8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692488; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=zyiCm/52hvR78FzkEsJzgUXeLoVWsQPoo0MgiH0nlp8=; b=MZBkgeFLn+SpmXZhWp0oWLIJnBp77S4Y43faZt8TyeFMEEkEC8FSqiZsOOW57lUw9P4RgPs5wgNU8r1nkp8J9GARwDxxF84q128R5ouNLJ5z9Gfy4MvA8pIgrcDMCxiSs9cyE/8fLzZrIkg5EuXMG0pD+/UG+txhoHu/QB8i3GA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85013+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692488657426.21521793063096; Thu, 16 Dec 2021 14:08:08 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id uQGsYY1788612xhn1TOOrbew; Thu, 16 Dec 2021 14:08:08 -0800 X-Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mx.groups.io with SMTP id smtpd.web09.971.1639692487666914238 for ; Thu, 16 Dec 2021 14:08:07 -0800 X-Received: by mail-pg1-f172.google.com with SMTP id k4so284194pgb.8 for ; Thu, 16 Dec 2021 14:08:07 -0800 (PST) X-Gm-Message-State: 04d2qK4RM2DetxMnNLob3vrAx1787277AA= X-Google-Smtp-Source: ABdhPJyl+B5gMlAMZ8oix0hCtdVpQ2akgxIgcijxreSizn5COKHTqTDZyKv74xrIpAGmyeBMOtuGMg== X-Received: by 2002:a63:e50:: with SMTP id 16mr148215pgo.619.1639692486818; Thu, 16 Dec 2021 14:08:06 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:06 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 01/17] Platform/ARM: Add MpInitLib instance Date: Thu, 16 Dec 2021 15:07:44 -0700 Message-Id: <20211216220800.9628-2-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692488; bh=4Vf1zI2OOId64nG4l6YLfkCZ4Qh90hTgttlS9h/qxR4=; h=Cc:Date:From:Reply-To:Subject:To; b=H1wj2pgcuf638R1EuuZL8gETd9d3pI9krH0VLeNCaIV914SVJcsdA2IKr0qzN7uiE7B E90ekFGDDqxhLVDC3XCX5HjRcRBo9a/uWdPMrJb8Bwubzy9mjSEJYSWnyb/Fcl3E0wKIN 4MDV5rM/qzClbPd5Zlzp7bTuMbjBM4Z5G1o= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692488912100005 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Platform/ARM/JunoPkg/ArmJuno.dsc | 1 + Platform/ARM/Morello/MorelloPlatform.dsc.inc | 1 + Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 1 + Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 1 + Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 + 5 files changed, 5 insertions(+) diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJun= o.dsc index 3b7a63b6437a..61f5f2673d7a 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -76,6 +76,7 @@ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i= nf PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [BuildOptions] GCC:*_*_ARM_PLATFORM_FLAGS =3D -march=3Darmv8-a diff --git a/Platform/ARM/Morello/MorelloPlatform.dsc.inc b/Platform/ARM/Mo= rello/MorelloPlatform.dsc.inc index dccd22248318..3d29153c8281 100644 --- a/Platform/ARM/Morello/MorelloPlatform.dsc.inc +++ b/Platform/ARM/Morello/MorelloPlatform.dsc.inc @@ -50,6 +50,7 @@ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i= nf PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc b/Platform/ARM/N1Sdp/N1Sd= pPlatform.dsc index 7488bdc03609..4b8a990d1211 100644 --- a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc +++ b/Platform/ARM/N1Sdp/N1SdpPlatform.dsc @@ -78,6 +78,7 @@ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i= nf PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf PciExpressLib|Silicon/ARM/NeoverseN1Soc/Library/NeoverseN1SocPciExpressL= ib/PciExpressLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/= SgiPlatform.dsc.inc index 4fe3ccf9a530..ca4eaa101b4d 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -83,6 +83,7 @@ PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.i= nf PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VE= xpressPkg/ArmVExpress.dsc.inc index d6f31ecda42f..207cf75a5671 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc @@ -211,6 +211,7 @@ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.UEFI_APPLICATION] PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf --=20 2.31.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 (#85013): https://edk2.groups.io/g/devel/message/85013 Mute This Topic: https://groups.io/mt/87777815/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85015+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85015+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692498; cv=none; d=zohomail.com; s=zohoarc; b=Mk8ceRexrzyKlbebnovsmg8RcNIrt3GqgmJq3/91QvRWybAnEX/wKcaQ11gNmi5JqXawvl+6s3/O2/Z1OXchz+795ij0MYkP2ysZ5hOdfNt+BP1N3QV4GwIGMoxUlc3/pdk09tI/6ne+jR2/ztzscFxTAqx6hX1dAJKbHWklyJ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692498; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=1nd+seAkOBILfC+dKVoZOTpwvz2E5ogkAfeYv1TbcQo=; b=X/U/fgDBwoBwpR9YupGAHH1JS1JrJ+YICeWX9Vc2wHiG+c/ElIDKeMVi2d+JH+oKzMZzVUFlxyu7kew7PECv+BB1NFV5JZjPIQfs+m4hCZn/au8nj0pcf3BVaqor7ZI0ktr5Ped9KIXFN68zhR2j5VzfftCcNzFbVsmolFQAdnw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85015+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692498154204.98357377941863; Thu, 16 Dec 2021 14:08:18 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id xtsjYY1788612xpliLVma3Ed; Thu, 16 Dec 2021 14:08:17 -0800 X-Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web12.999.1639692497327409843 for ; Thu, 16 Dec 2021 14:08:17 -0800 X-Received: by mail-pf1-f172.google.com with SMTP id f11so513602pfc.9 for ; Thu, 16 Dec 2021 14:08:17 -0800 (PST) X-Gm-Message-State: Nm535XXA0JoJchc1GNepsBSrx1787277AA= X-Google-Smtp-Source: ABdhPJzhlPQrma3aY/6TD9f8dWo4bDBAFb7LjphOeBiwJl2Zp+aEvwk8YpQhF/DBcCJ/Up9umgpn6g== X-Received: by 2002:a62:1c0f:0:b0:4a3:4f16:89de with SMTP id c15-20020a621c0f000000b004a34f1689demr56985pfc.22.1639692489737; Thu, 16 Dec 2021 14:08:09 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:08 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 02/17] Platform/Socionext: Add instance of MpInitLib Date: Thu, 16 Dec 2021 15:07:45 -0700 Message-Id: <20211216220800.9628-3-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692497; bh=i5KtS+xhrdWeY/fePQ9RIKYuM4SSPLp9OZWc2uF9s2I=; h=Cc:Date:From:Reply-To:Subject:To; b=sIPlDxQ6s1Us+QsRmn5mt/GjbAvB37g1aFzeMP2gMld7XP1LcN3aMIrvZz9NvcO4rNx XVgrzDjy7hKgvtKBvXrehcT6XBBrx5SWWATNT8cMWWEjTw+tOtJBb4zAt/IDh3cN+9q4/ 6y33vPsYtmdMHQYLi4fxRRu1qSidas/VVZc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692498737100006 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 1 + Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/So= cionext/DeveloperBox/DeveloperBox.dsc index 8419c89318fb..0abf954e6e2e 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -106,6 +106,7 @@ FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 # # Firmware update diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b= /Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc index e5315897624b..272e632194e5 100644 --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc @@ -164,6 +164,7 @@ FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 # # Firmware update --=20 2.31.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 (#85015): https://edk2.groups.io/g/devel/message/85015 Mute This Topic: https://groups.io/mt/87777820/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85014+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85014+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692497; cv=none; d=zohomail.com; s=zohoarc; b=e3nSziIYQzn4iyZtBsbW/DNqZnSWkkT1Pf5k1kwCsg3LFfHCOF9vMTC9UQv9hIIP8Q0LeCrOB0GpqXcE7Vr9dHLnFSTPeJB1iDLfSPz5Nx1oaIjFoX/Sgx7J7p5AOkWr8+6Q2q06JKhG+hcUYtW4z72W6jLyaIvubFNWILBfQGo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692497; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=MRECxTeHtVY8FOYEvVZ7Y3JLtAuONjhFb2p7G1CzX2M=; b=X5YKQzeQiKBZH9RAw34rrzuAGWTt5I7eFYbu6gVFKK2MPCityW7vVVJucrIGCaxceb9wMr5qkkmlDC4/ZCg0UIsr4LtTm/zPsK0mXnLKSbb+k28dRr1rqm0TyQzffBZItDIlvCGPCCvnZWNI5nH3EgfhclUXedEeB91H5s7ZXqk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85014+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692497083766.1929184496415; Thu, 16 Dec 2021 14:08:17 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id hIvPYY1788612xjANQoegzMA; Thu, 16 Dec 2021 14:08:16 -0800 X-Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mx.groups.io with SMTP id smtpd.web11.1016.1639692496017745376 for ; Thu, 16 Dec 2021 14:08:16 -0800 X-Received: by mail-pj1-f43.google.com with SMTP id fv9-20020a17090b0e8900b001a6a5ab1392so722908pjb.1 for ; Thu, 16 Dec 2021 14:08:15 -0800 (PST) X-Gm-Message-State: RTWS4ze5DriwTcCDcF1Zt9e3x1787277AA= X-Google-Smtp-Source: ABdhPJw1A8MLadeT+t3hX2xP5wRppIgK+0ynP1RBlxjGJHw+tAxjrrU+byU7QHVleGeiiUds1J42Fg== X-Received: by 2002:a17:90a:1f85:: with SMTP id x5mr125443pja.211.1639692494943; Thu, 16 Dec 2021 14:08:14 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:14 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 03/17] Silicon/Marvell: Add instance of MpInitLib Date: Thu, 16 Dec 2021 15:07:46 -0700 Message-Id: <20211216220800.9628-4-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692496; bh=q2LPdC1VpF4UUry3SmeoWbTw0/Ov4JeWJygTgSHohZk=; h=Cc:Date:From:Reply-To:Subject:To; b=DpdDoL+e6gFuual0aEkRIukU/1Mr3kENXdVBWs4hcNY0oNvuIAWl/Oz+h0IdBkD2ma3 j2vyY3uQt3+hNhh3nm27SoediAX7y/Pzwtr5kamE9Go37NIv59CUMRYZPw0QwJ1S6iW/h H81EbyFG7MQhA3wOfzIhCKfRj/YqjRJ1sMY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692498550100001 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvel= l/Armada7k8k/Armada7k8k.dsc.inc index 3b76acd99c98..71778d43cacd 100644 --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc @@ -176,6 +176,7 @@ NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverabl= eDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf DtPlatformDtbLoaderLib|EmbeddedPkg/Library/DxeDtPlatformDtbLoaderLibDefa= ult/DxeDtPlatformDtbLoaderLibDefault.inf VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Var= iablePolicyHelperLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.UEFI_APPLICATION] PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf --=20 2.31.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 (#85014): https://edk2.groups.io/g/devel/message/85014 Mute This Topic: https://groups.io/mt/87777819/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85016+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85016+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692498; cv=none; d=zohomail.com; s=zohoarc; b=RZo0EtVqMyYRy6A06cZYozWwY6iikVaTYJX8zBeJKhTQuBsm65SJaWgjrLIrgzxO1j7Ea02ZG3woWD8v6Xwq6WgrkSL/4gtOJeR4hqAFqvbbeGen2nE9D13OQY4/otU9kie64cMV/lEmWgNjZWL6t9kELClLOk+bFtzctn+rYoc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692498; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=duHTzi9YDhYe2ZvSXS4soZn6KJs1Yd9DJ9xg+sQ5L5I=; b=gvSKKWV1CIcIjqdvWoVHPoq06gs/4l37sYwK7qRy5uGjxzBE/T4Tm/NSIDHWcsgh/qewy3zxP9g7tU1l/9w+LQPqegArTm5oOQUL5AkuYeFBFy/Dm+MmGJjw1k6HWtn3sA+ANt5PwXREJj225ay2iFBrIF0KjXG9xOuRTNf8oFQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85016+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692498754641.6071643326862; Thu, 16 Dec 2021 14:08:18 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id FSk4YY1788612xRGGatz1caC; Thu, 16 Dec 2021 14:08:18 -0800 X-Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.web11.1018.1639692497846834060 for ; Thu, 16 Dec 2021 14:08:18 -0800 X-Received: by mail-pl1-f176.google.com with SMTP id b13so179700plg.2 for ; Thu, 16 Dec 2021 14:08:17 -0800 (PST) X-Gm-Message-State: ydPel1cTiEiSdfyNtTdZP0ONx1787277AA= X-Google-Smtp-Source: ABdhPJxxZ5y2W1ZAP7mvwsn5Uiqyxd4o1ss2wdiM3unCGNrDNFGDANHoZ7D3NqCKLdZgvc3ejBzcJg== X-Received: by 2002:a17:90b:4c8b:: with SMTP id my11mr8555993pjb.96.1639692497098; Thu, 16 Dec 2021 14:08:17 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:16 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 04/17] Platform/Qemu: Add instance of MpInitLib Date: Thu, 16 Dec 2021 15:07:47 -0700 Message-Id: <20211216220800.9628-5-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692498; bh=1ooeZ2emU5M7pgqjcQt9GhUTgB6cA+1AJdwUpcwUpz4=; h=Cc:Date:From:Reply-To:Subject:To; b=t1vkiLTeLwFaF+VpJoFoHck+7cKtEhjNxbhBstnL8/ce+CLTq7Ndem1m6XvDbL3kIvh YTUR0emeMFGt0o/HfU1BEO2N7IbENuvOIu2rpPQAjBc3gqYci2KFYu3R/YeFXGv303YhI spXn945gYACx9k2l8PJb8jTZBPsTckpHOOA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692500816100010 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc b/Platform/Qemu/SbsaQemu/S= bsaQemu.dsc index 1d1a25196e22..021c20ed7abe 100644 --- a/Platform/Qemu/SbsaQemu/SbsaQemu.dsc +++ b/Platform/Qemu/SbsaQemu/SbsaQemu.dsc @@ -244,6 +244,7 @@ DEFINE NETWORK_HTTP_BOOT_ENABLE =3D FALSE SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf=20 =20 NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverabl= eDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf =20 --=20 2.31.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 (#85016): https://edk2.groups.io/g/devel/message/85016 Mute This Topic: https://groups.io/mt/87777821/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85017+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85017+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692500; cv=none; d=zohomail.com; s=zohoarc; b=lDAWi3V7bfqOHD7fN0KVMCIQJLf9I/81ZGQjergmE1GpcLYBqtD/+Doj10+hfQiwpt0UTuo6pwQD+j2vyZBkMuASgZr2QAECosTpbxkk5SHR8LX/WPmSz7DyLEQIDPan4nW/iCrj+E2zfC5MxPJA1WOYNZD2f5FsLdS1pvlK3yc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692500; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=TXTsi5FifoJN0SZjFdqEFRP/UCHe8d3OVybjqCx05NI=; b=bZI9qcoINA4sPgngs3PDvm8XDu9gthX8yExc46F4Vk07ayWONSyBnEJ4w0qoe0BqJ7HPis/S2F6STW9zeGVr1CvnL3GdgHoPeNgvlW7bnugfWRd6m0WHtEok1h4+FLakeIQeLXpE77gpuXN3tQj7tlgU8c9FhwF8VNJx0XVQa04= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85017+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692500747296.7451555196525; Thu, 16 Dec 2021 14:08:20 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id VQCnYY1788612xxluwLi3bLF; Thu, 16 Dec 2021 14:08:20 -0800 X-Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web11.1019.1639692499851088041 for ; Thu, 16 Dec 2021 14:08:20 -0800 X-Received: by mail-pl1-f175.google.com with SMTP id z6so166899plk.6 for ; Thu, 16 Dec 2021 14:08:19 -0800 (PST) X-Gm-Message-State: gpA26PrxPwNpVT3XwzDigjDzx1787277AA= X-Google-Smtp-Source: ABdhPJz72Pyuonn3+Mir1bfwfYx7knCz64y2y8ckG9NjVyKzCrOpXwm1HDjIAM/vFxxENqPioWnAyg== X-Received: by 2002:a17:90b:314b:: with SMTP id ip11mr8291508pjb.133.1639692499134; Thu, 16 Dec 2021 14:08:19 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:18 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 05/17] Platform/ARM: Update ARM_CORE_INFO initializer for MPIDR field change Date: Thu, 16 Dec 2021 15:07:48 -0700 Message-Id: <20211216220800.9628-6-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692500; bh=1WoIcz0sT6Gsy63VxRkUNAzE9DvCu8/Vxb3tllTJFK8=; h=Cc:Date:From:Reply-To:Subject:To; b=AviuRUg94WI5ztw/yS85XBijjnJp9LxDVKfeX0FPFyxmngD9DbmThi3Nb9rdA+C+Mmi eY8sxNxhWxmqctpj4SoMlEvHEq0WaupDT9xvrIEKHhxtshsJXEUluvjFbkCsMe7Apac19 +JVD5tnS/aB2rvxV8D3tkAsKqEqU6h81OW4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692501045100014 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update the initializer. Signed-off-by: Rebecca Cran --- Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c | 12 ++= ++++------ Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c | 16 ++= ++++++-------- Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c | 16 ++= ++++++-------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c b/Platform/A= RM/JunoPkg/Library/ArmJunoLib/ArmJuno.c index c5d4f70fc0f5..a5d5f3fd9b79 100644 --- a/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c +++ b/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c @@ -19,7 +19,7 @@ ARM_CORE_INFO mJunoInfoTable[] =3D { { // Cluster 0, Core 0 - 0x0, 0x0, + 0x000, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -29,7 +29,7 @@ ARM_CORE_INFO mJunoInfoTable[] =3D { }, { // Cluster 0, Core 1 - 0x0, 0x1, + 0x001, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -39,7 +39,7 @@ ARM_CORE_INFO mJunoInfoTable[] =3D { }, { // Cluster 1, Core 0 - 0x1, 0x0, + 0x100, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -49,7 +49,7 @@ ARM_CORE_INFO mJunoInfoTable[] =3D { }, { // Cluster 1, Core 1 - 0x1, 0x1, + 0x101, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -59,7 +59,7 @@ ARM_CORE_INFO mJunoInfoTable[] =3D { }, { // Cluster 1, Core 2 - 0x1, 0x2, + 0x102, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -69,7 +69,7 @@ ARM_CORE_INFO mJunoInfoTable[] =3D { }, { // Cluster 1, Core 3 - 0x1, 0x3, + 0x103, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, diff --git a/Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-= A7.c b/Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c index 09521bdf003a..d51784a47c0e 100644 --- a/Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c +++ b/Platform/ARM/VExpressPkg/Library/ArmVExpressLibCTA15-A7/CTA15-A7.c @@ -18,7 +18,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { { // Cluster 0, Core 0 - 0x0, 0x0, + 0x000, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A15_BX_ADDR0, @@ -28,7 +28,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { }, { // Cluster 0, Core 1 - 0x0, 0x1, + 0x001, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A15_BX_ADDR1, @@ -39,7 +39,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { #ifndef ARM_BIGLITTLE_TC2 { // Cluster 0, Core 2 - 0x0, 0x2, + 0x002, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A15_BX_ADDR2, @@ -49,7 +49,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { }, { // Cluster 0, Core 3 - 0x0, 0x3, + 0x003, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A15_BX_ADDR3, @@ -60,7 +60,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { #endif { // Cluster 1, Core 0 - 0x1, 0x0, + 0x100, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A7_BX_ADDR0, @@ -70,7 +70,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { }, { // Cluster 1, Core 1 - 0x1, 0x1, + 0x101, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A7_BX_ADDR1, @@ -80,7 +80,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { }, { // Cluster 1, Core 2 - 0x1, 0x2, + 0x102, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A7_BX_ADDR2, @@ -91,7 +91,7 @@ ARM_CORE_INFO mVersatileExpressCTA15A7InfoTable[] =3D { #ifndef ARM_BIGLITTLE_TC2 ,{ // Cluster 1, Core 3 - 0x1, 0x3, + 0x103, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_CTA15A7_SPC_A7_BX_ADDR3, diff --git a/Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c b/P= latform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c index e7a8c1dbbde8..eed1a98324b5 100644 --- a/Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c +++ b/Platform/ARM/VExpressPkg/Library/ArmVExpressLibRTSM/RTSM.c @@ -31,7 +31,7 @@ ArmGetCpuCountPerCluster ( ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { { // Cluster 0, Core 0 - 0x0, 0x0, + 0x000, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -41,7 +41,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 1 - 0x0, 0x1, + 0x001, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -51,7 +51,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 2 - 0x0, 0x2, + 0x002, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -61,7 +61,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 3 - 0x0, 0x3, + 0x003, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -71,7 +71,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 1, Core 0 - 0x1, 0x0, + 0x100, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -81,7 +81,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 1, Core 1 - 0x1, 0x1, + 0x101, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -91,7 +91,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 1, Core 2 - 0x1, 0x2, + 0x102, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, @@ -101,7 +101,7 @@ ARM_CORE_INFO mVersatileExpressMpCoreInfoTable[] =3D { }, { // Cluster 1, Core 3 - 0x1, 0x3, + 0x103, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)ARM_VE_SYS_FLAGS_REG, --=20 2.31.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 (#85017): https://edk2.groups.io/g/devel/message/85017 Mute This Topic: https://groups.io/mt/87777822/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85018+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85018+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692503; cv=none; d=zohomail.com; s=zohoarc; b=L0SMQ/FilT774iuiCPqgJZnLnXOU6rWQPQN3vr7ZjPXnzXlSS9R/vqq7+9slzaaXd1zcQ3sVRt3CXtMcSkZ4yN7SAtZ5c7kgey6Fa1nFSe/YXcEy6ylSA+DjMkj9td4PfCeHJQ6LS545yS6/t+ZW6KbQH/0aL0SxnRmqdgl9w4c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692503; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=zj1HIIFm6vN7doR6XKIL+r5bRScozhvZYq5+obdsfpc=; b=i6cmnVUUvw1tCDH/t0QKjZgZ5GnAFejqALhESMk3ER4I6lbikYjrWaZfMBkr5tNRIwxCWfDIEbGRkfKPTA91ghHajpZjOX7C6A/+zzZ7lHoT8fuJ6Wujh22bevpHpZWWjMzAIL4NNbDLX08uh5pMKqNsiMw98rTic9BymyKVIfw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85018+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692503190948.0247495755958; Thu, 16 Dec 2021 14:08:23 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id BWAlYY1788612xYffjWUcXpS; Thu, 16 Dec 2021 14:08:22 -0800 X-Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web11.1021.1639692501811172286 for ; Thu, 16 Dec 2021 14:08:21 -0800 X-Received: by mail-pj1-f51.google.com with SMTP id a11-20020a17090a854b00b001b11aae38d6so719076pjw.2 for ; Thu, 16 Dec 2021 14:08:21 -0800 (PST) X-Gm-Message-State: Tl9KPK96RO7HmKlLBhS7qhpcx1787277AA= X-Google-Smtp-Source: ABdhPJyxol6xDO+VbNtugdDuQlRe9H4lUU2QbzICH4bcYViQ9A2iN8pfIFjC4yAnnUKGueGxcMyYUA== X-Received: by 2002:a17:90a:ba95:: with SMTP id t21mr140385pjr.113.1639692501081; Thu, 16 Dec 2021 14:08:21 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:20 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 06/17] Silicon/Marvell: Update ARM_CORE_INFO initializer for MPIDR field change Date: Thu, 16 Dec 2021 15:07:49 -0700 Message-Id: <20211216220800.9628-7-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692502; bh=Ug07gRWr7lMLoQ0HOqEIsoVrAteokVRKVdWCnKuLL9E=; h=Cc:Date:From:Reply-To:Subject:To; b=KJhZfHHCf+vMA2PwjHM12gy2lTVwiP3FS9//C3bt+ybwdUi/jrmmZj4d7A6VKZ4rRoV xUiYuPXat1l8HkUlqT9XbGq1H6WKEyElfgwcmOFJM6zLsa41/kWwjvaTxnfo2LyINM1YT AxobLyTo5FhBd6nwFUtd8ljyESTE9fnifrE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692503491100020 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update the initializer. Signed-off-by: Rebecca Cran --- Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.c | 8 ++++-= --- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib= .c b/Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.c index df838ff5ef3f..317fff85be69 100644 --- a/Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.c +++ b/Silicon/Marvell/Armada7k8k/Library/Armada7k8kLib/Armada7k8kLib.c @@ -14,7 +14,7 @@ ARM_CORE_INFO mArmada7k8kMpCoreInfoTable[] =3D { { // Cluster 0, Core 0 - 0x0, 0x0, + 0x000, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, @@ -24,7 +24,7 @@ ARM_CORE_INFO mArmada7k8kMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 1 - 0x0, 0x1, + 0x001, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, @@ -34,7 +34,7 @@ ARM_CORE_INFO mArmada7k8kMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 2 - 0x0, 0x2, + 0x002, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, @@ -44,7 +44,7 @@ ARM_CORE_INFO mArmada7k8kMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 3 - 0x0, 0x3, + 0x003, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, --=20 2.31.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 (#85018): https://edk2.groups.io/g/devel/message/85018 Mute This Topic: https://groups.io/mt/87777823/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85019+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85019+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692505; cv=none; d=zohomail.com; s=zohoarc; b=fKoaEtvFZghdYY9q8LYrkKJ+vvXLiu9xNPiLYKctP6FfFKYsHqg8HlkIRnA3QAnLupfypd6G6CxVWEu6ms3okrEoV+jZrAunZjckq2bv0pYWCzBVxdU/gimzV/9SlBWwr9VqWVVx7zqHvyeDPv3hKtNu5N2b/siNu+sCrEISZgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692505; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=LWIt9oXYnLWnFy4yw5girGalH6pVdglQWDfe+MEVkDU=; b=geE2d03yUVkt0YfW93SMqB1MlVzU3iNVh4xddXaJV9CqTvX4couejWiRI8BeICJ82/0KjpmPUFe3DBQBtBAgaD6/ZPN04GORcNs5eTNEcxRWA0b/btb7MmXPpJwkdI7Nqkaf2BMTLEm6jnQm3gsDXmsQnswlfH5OV5APx9z8P0g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85019+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692505359865.1378951396376; Thu, 16 Dec 2021 14:08:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id MbN2YY1788612x9jjFQK9aFe; Thu, 16 Dec 2021 14:08:25 -0800 X-Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web09.977.1639692504449192092 for ; Thu, 16 Dec 2021 14:08:24 -0800 X-Received: by mail-pj1-f49.google.com with SMTP id c22-20020a17090a109600b001b101f02dd1so3883158pja.5 for ; Thu, 16 Dec 2021 14:08:24 -0800 (PST) X-Gm-Message-State: XzzbFtLWYTX8qeifQFDOtZR5x1787277AA= X-Google-Smtp-Source: ABdhPJz4o78dR25/6klUidBW87sAIThhcbzfqoSS7z5OHxc3ZB6QYoio35zs69ts7VDbl9EMBRSVkg== X-Received: by 2002:a17:90b:33ca:: with SMTP id lk10mr8379132pjb.18.1639692503397; Thu, 16 Dec 2021 14:08:23 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:23 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 07/17] Silicon/Socionext: Update ARM_CORE_INFO initializer for MPIDR field change Date: Thu, 16 Dec 2021 15:07:50 -0700 Message-Id: <20211216220800.9628-8-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692505; bh=K17mVdvkKo9o90SxBM6lvyVUu3IToe03WPWwfBNZUv4=; h=Cc:Date:From:Reply-To:Subject:To; b=TnW2Mq4WADory9ESDxnpHcb2CTGOT8THWpwUWnCfmaw2kolPoYAiuA+Aym1fX/bst5Y 077XWLHsqcXp4LXHZoyfxVIPZzQhwKikW34shdeLKjtWwCZhqMyZi3sM7+lGs8SUb1mo6 v+L6Hs3T+O6zV+4OA6uZ3gGUJHCZEqU24u8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692506128100001 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update the initializer. Signed-off-by: Rebecca Cran --- Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c | 48 ++++++++= ++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c b= /Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c index a6c915b73c15..5ef929fface2 100644 --- a/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c +++ b/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c @@ -13,30 +13,30 @@ #include =20 STATIC ARM_CORE_INFO mSynQuacerInfoTable[] =3D { - { 0x0, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 0, Core 0 - { 0x0, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 0, Core 1 - { 0x1, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 1, Core 0 - { 0x1, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 1, Core 1 - { 0x2, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 2, Core 0 - { 0x2, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 2, Core 1 - { 0x3, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 3, Core 0 - { 0x3, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 3, Core 1 - { 0x4, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 4, Core 0 - { 0x4, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 4, Core 1 - { 0x5, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 5, Core 0 - { 0x5, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 5, Core 1 - { 0x6, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 6, Core 0 - { 0x6, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 6, Core 1 - { 0x7, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 7, Core 0 - { 0x7, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 7, Core 1 - { 0x8, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 8, Core 0 - { 0x8, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 8, Core 1 - { 0x9, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 9, Core 0 - { 0x9, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 9, Core 1 - { 0xa, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 10, Core 0 - { 0xa, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 10, Core 1 - { 0xb, 0x0, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 11, Core 0 - { 0xb, 0x1, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 11, Core 1 + { 0x000, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 0, Core 0 + { 0x001, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 0, Core 1 + { 0x100, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 1, Core 0 + { 0x101, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 1, Core 1 + { 0x200, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 2, Core 0 + { 0x201, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 2, Core 1 + { 0x300, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 3, Core 0 + { 0x301, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 3, Core 1 + { 0x400, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 4, Core 0 + { 0x401, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 4, Core 1 + { 0x500, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 5, Core 0 + { 0x501, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 5, Core 1 + { 0x600, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 6, Core 0 + { 0x601, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 6, Core 1 + { 0x700, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 7, Core 0 + { 0x701, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 7, Core 1 + { 0x800, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 8, Core 0 + { 0x801, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 8, Core 1 + { 0x900, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 9, Core 0 + { 0x901, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 9, Core 1 + { 0xa00, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 10, Core 0 + { 0xa01, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 10, Core 1 + { 0xb00, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 11, Core 0 + { 0xb01, 0x0, 0x0, 0x0, (UINT64)0xFFFFFFFF }, // Cluster 11, Core 1 }; =20 /** --=20 2.31.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 (#85019): https://edk2.groups.io/g/devel/message/85019 Mute This Topic: https://groups.io/mt/87777827/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85020+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85020+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692506; cv=none; d=zohomail.com; s=zohoarc; b=Zd9dhewIIcmIn3Xu/Z7OUWM8bqrP4cSuYzgs5rXFSr0yyjlXLnVWW2v0RJ0mXbt7WyL9rSxglV7gtRUpDFgDUcfGrFg7IGeBOHbMCI28NBIZb7ZCOV0Rg0gGNE1jN0ev81X2EwrhQqBMg7NAVBW/996ZfoO85uFSZc8GIRjLd9A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692506; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=HyuKhmkk6RsQHs0vKfjn0q71Zqs0xh2ogRAUfrOpMIE=; b=TV3XqMGxUNaeYo8Kb49MW8qwMHK01IXwPNRALmbn4ZGDf9bqv8iaBG7p9CFNpK8KA59OgFQDSVn4ye394lpqqyyQsUS4MLx82bzo1470HM80pE7j2iS4YY1jqLNRn/o++Qx3lP7RX2N0dv70K8DfsmS44tkRn3VA/yvLqK0Np80= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85020+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692506962786.0574651088268; Thu, 16 Dec 2021 14:08:26 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id hrHCYY1788612xafngkU5ABR; Thu, 16 Dec 2021 14:08:26 -0800 X-Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web08.1018.1639692506100709545 for ; Thu, 16 Dec 2021 14:08:26 -0800 X-Received: by mail-pf1-f170.google.com with SMTP id x131so501810pfc.12 for ; Thu, 16 Dec 2021 14:08:26 -0800 (PST) X-Gm-Message-State: WnCDovHXuagECcAEDJFSOAGQx1787277AA= X-Google-Smtp-Source: ABdhPJzTobH0T77uBvgAF21InZLbe/oRjtpy5sKUB7AuVgfVwseMaxBtW9fxH6kfgIet5WvSRY0LVg== X-Received: by 2002:a63:154e:: with SMTP id 14mr187834pgv.302.1639692505415; Thu, 16 Dec 2021 14:08:25 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:25 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 08/17] Silicon/Qemu: Update ARM_CORE_INFO initializer for MPIDR field change Date: Thu, 16 Dec 2021 15:07:51 -0700 Message-Id: <20211216220800.9628-9-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692506; bh=s+2n82lLMsTKCzfNHqfPapaKC5MRWmVFMFRva/gx7wU=; h=Cc:Date:From:Reply-To:Subject:To; b=d1WjtoKs+GV6SUPUJ9kyv+f9m8dpv+EQXy+kH5rzZ/drkX+/ER7PCcv2+JtZk9xcDjo bOzn/exLN943eUsHPgxnq9OJcRUvLk+tLGw4WpkBK6GwnbGg0L/LO/W4Aiy40k8mUT/Qe 8YcQIyqUgd6tjoRdg2bqAof93JMdUf0g9SU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692508550100001 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update the initializer. Signed-off-by: Rebecca Cran Reviewed-by: Graeme Gregory --- Silicon/Qemu/SbsaQemu/Library/SbsaQemuLib/SbsaQemuLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Silicon/Qemu/SbsaQemu/Library/SbsaQemuLib/SbsaQemuLib.c b/Sili= con/Qemu/SbsaQemu/Library/SbsaQemuLib/SbsaQemuLib.c index fa9047020e6c..411f653913bd 100644 --- a/Silicon/Qemu/SbsaQemu/Library/SbsaQemuLib/SbsaQemuLib.c +++ b/Silicon/Qemu/SbsaQemu/Library/SbsaQemuLib/SbsaQemuLib.c @@ -15,7 +15,7 @@ ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable[] =3D { { // Cluster 0, Core 0 - 0x0, 0x0, + 0x000, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, @@ -25,7 +25,7 @@ ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 1 - 0x0, 0x1, + 0x001, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, @@ -35,7 +35,7 @@ ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 2 - 0x0, 0x2, + 0x002, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, @@ -45,7 +45,7 @@ ARM_CORE_INFO mArmPlatformNullMpCoreInfoTable[] =3D { }, { // Cluster 0, Core 3 - 0x0, 0x3, + 0x003, =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, --=20 2.31.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 (#85020): https://edk2.groups.io/g/devel/message/85020 Mute This Topic: https://groups.io/mt/87777828/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85021+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85021+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692509; cv=none; d=zohomail.com; s=zohoarc; b=VxywcywNqJjRMUn+zFPMFBL62XS2JRH4Pucv+JFDH55kZXcgTrobf8WtrNu0BgT3e8r+XeaLd6nd1lX3mazJAWZUgi28a8+DNYGfF2jC4Vcok4unMyPmeIo27o0Z5LaOjyQKj7c3tXkpZA2rC/Aa4yREn74NlTQoAliaUaBhnsE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692509; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=zpft7ntqP7Xyegy0YE77zfgj1MaDtHGpCZ7PGF86Sb0=; b=F6qDZFlhBbasLB9V2qmxLwauichxKqpoik1V157wSB9IEjx5DD2iz3QzfufX0kAD4a5kDx9aN/4/fs4UzxHMPH5JnBBV/rfaIHFXr8B3X0GIZMykh1nfjBY6n0Ce45QUxVn4TFtwxwgqSySxwnpbPJN8ygcm1xZqcSQAKAlO/w0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85021+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692509010769.0392971184784; Thu, 16 Dec 2021 14:08:29 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id n1QPYY1788612xzWOYIChvcH; Thu, 16 Dec 2021 14:08:28 -0800 X-Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web10.991.1639692508092471753 for ; Thu, 16 Dec 2021 14:08:28 -0800 X-Received: by mail-pj1-f49.google.com with SMTP id gj24so466237pjb.0 for ; Thu, 16 Dec 2021 14:08:28 -0800 (PST) X-Gm-Message-State: nzpfhouBLJDbTQfPvsrmyjFcx1787277AA= X-Google-Smtp-Source: ABdhPJwU+Nt272P/5r4abMOgv0+DVxyrBRHFkSctyUOvVf7gTId+sehW2IuQkUAoQFat+4MZKn1Umg== X-Received: by 2002:a17:90a:680a:: with SMTP id p10mr172979pjj.144.1639692507422; Thu, 16 Dec 2021 14:08:27 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:27 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 09/17] Platform/AMD: Add instance of MpInitLib to OverdriveBoard.dsc Date: Thu, 16 Dec 2021 15:07:52 -0700 Message-Id: <20211216220800.9628-10-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692508; bh=iR1+PgP+XMuPGZID7zLTtJL8wizvF0y68W6YR8LKyQ0=; h=Cc:Date:From:Reply-To:Subject:To; b=CCiNd0YQyAP48IMhTMSzPA1mB7BRA5zJGbymXWaaQszDLUaKs0t8K+xuciGK+ZCmi6N 9UsO0pWwdD2LBubJZzejkmZlJ+i19VfVY672p+6ui0T48TiHMrdUle3OCzrgZUTlR60BM fEpjg6q8VZq9zLvowJNZFuUYklPRuIpTmMk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692510986100001 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/= OverdriveBoard/OverdriveBoard.dsc index af207391209c..a57369e0f136 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc @@ -210,6 +210,7 @@ DEFINE X64EMU_ENABLE =3D FALSE MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverabl= eDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Var= iablePolicyHelperLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf --=20 2.31.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 (#85021): https://edk2.groups.io/g/devel/message/85021 Mute This Topic: https://groups.io/mt/87777831/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85022+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85022+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692511; cv=none; d=zohomail.com; s=zohoarc; b=kwXGwRDiXKxAQhKEO6kHB6S6ikDuXC01PqSHTi6ARXAoK/hXjuXEgvAtx8injwzqhkwYmvG51QEq5AD8azg2zQ1NS7LrHgcIQSiiZ4bVFoMLPGZr7+sMy7CtFez9STkFTKYLJ3H4+I+8HtsTC0bjAI12JrIz3eeHRWLIW836+c0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692511; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=uyvvUM/aNSyn4UYbk2+tm2NtORSQthnrZa2Kgon1190=; b=XmyRasb9MwGkwxtYkMWYVz6qZ1DEXFf0+OrDvOfkQN3LW5p9MgUwgXP59blgJd0LVPYfTgK5jHlAO39sw+y/wk9A5V9uzyI3/HXx54n3+mifpqLZOo9+s+9lQitzcDzuIcIt4PQ3Ru0bsMoMY78QoVHg6YxycSgIORZLp5SpkdM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85022+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692511100613.3607074763222; Thu, 16 Dec 2021 14:08:31 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id b00oYY1788612xGoA3YGvMCk; Thu, 16 Dec 2021 14:08:30 -0800 X-Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mx.groups.io with SMTP id smtpd.web12.1003.1639692510123784513 for ; Thu, 16 Dec 2021 14:08:30 -0800 X-Received: by mail-pj1-f49.google.com with SMTP id y16-20020a17090a6c9000b001b13ffaa625so1406418pjj.2 for ; Thu, 16 Dec 2021 14:08:30 -0800 (PST) X-Gm-Message-State: QTLUACBVIGCmhLIqCaqKfr0yx1787277AA= X-Google-Smtp-Source: ABdhPJzD0RtowP/Tb9Xiy3buTHxlHIM2XpgZIAAIQYDj6LsbenJb5NDrL8lyeL4fSdSn/Y4sp0PDAw== X-Received: by 2002:a17:902:ea83:b0:148:95f3:4f4d with SMTP id x3-20020a170902ea8300b0014895f34f4dmr15665157plb.54.1639692509431; Thu, 16 Dec 2021 14:08:29 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:29 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 10/17] Platform/SoftIron: Add instance of MpInitLib to Overdrive1000Board.dsc Date: Thu, 16 Dec 2021 15:07:53 -0700 Message-Id: <20211216220800.9628-11-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692510; bh=FCyKsCdnA0jrTu2dx5cBEad7DGrwgqjY67GporXXdh0=; h=Cc:Date:From:Reply-To:Subject:To; b=L0bM717BvfDUx/Q1LKA/9JhQU6XIIXhwO8nTt2dPy9160+pPDK0+eRHHUobizh9xDq7 GV+ZHiRu80+Jyqr6fheAmO5Fw8W3Mc/D4OvRwFZVdoB4xo/M3ALsFrnQEju3zIwtMYbMA YqPP0BPEV704LaR4eGv8I31LL4O+J0hMSHU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692513256100007 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc b/= Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc index 57b9e9f38121..f817391b82be 100644 --- a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc +++ b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc @@ -204,6 +204,7 @@ DEFINE NUM_CORES =3D 4 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverabl= eDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/Var= iablePolicyHelperLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.DXE_RUNTIME_DRIVER] HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf --=20 2.31.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 (#85022): https://edk2.groups.io/g/devel/message/85022 Mute This Topic: https://groups.io/mt/87777833/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85023+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85023+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692513; cv=none; d=zohomail.com; s=zohoarc; b=MaB8r7AD4DJdjyo/lUR26rYnhnRuJBbNBpT53sRrcE4gdTn0um/10PlKywdvZo23n0fymJADYH3kpI3Ec9e71lhI267xecMbFIz9lsUuEbjJ84Z/CQsmagKU5YRjU38FMkBiGRM/75pDwC6BSKbX3IPeJnN+sEJoQcYU0Am5zw8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692513; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=x7X4eCebYtYaOBkrJGeLuzo3aeeNk8Kyz+Fs676DPXQ=; b=DZhzjhaI2Qqv3Wh1e2J8l9SN9U+YEOSD0Unxsu5ABI9S6qSYOeeUXcMPHXQpgWmtWh+HDrpS04ZxeFTRL0/7MYI1Bj+f450zbmnX3IUnn4+ho//a+dQfMVOcriA2FLJYMwWodKBADerlzUCZO4Hk2qwDf0fXiMFOMIqCaPN++KE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85023+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692513089568.438530437056; Thu, 16 Dec 2021 14:08:33 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id NwfIYY1788612xYeylNiyEcW; Thu, 16 Dec 2021 14:08:32 -0800 X-Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web08.1019.1639692512160041891 for ; Thu, 16 Dec 2021 14:08:32 -0800 X-Received: by mail-pf1-f179.google.com with SMTP id x131so501991pfc.12 for ; Thu, 16 Dec 2021 14:08:32 -0800 (PST) X-Gm-Message-State: sSVslvUM2vjyhWoeIKqB9W2Zx1787277AA= X-Google-Smtp-Source: ABdhPJyglSPnaW9F8ATC+GdfAODzllDqQSEiqIdXkb5yYF9iQ8lyWtDTzty1uaj+ybjb5nTTNfeQGQ== X-Received: by 2002:a05:6a00:1ac7:b0:4ad:59c4:2d80 with SMTP id f7-20020a056a001ac700b004ad59c42d80mr16024745pfv.1.1639692511411; Thu, 16 Dec 2021 14:08:31 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:31 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 11/17] Platform/RaspberryPi: Add instance of MpInitLib to RPi3.dsc and RPi4.dsc Date: Thu, 16 Dec 2021 15:07:54 -0700 Message-Id: <20211216220800.9628-12-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692512; bh=lfSyBfZFefRX6byGtP1UO1/ijunn3U/Ck5wWFHzcJX8=; h=Cc:Date:From:Reply-To:Subject:To; b=aOnQxrzXMkJyrQ9FSt3JusjjNkGgCe3uul9yFxNaBFLKEil4zGlVepP9mGtd8wL+rQ+ 4D3UoQjbut5HupkZT2KMlN+28dndXJr+FYmJGrZfWCB8hRvk7kPy56hLsIRGQw1NLhL1a lQKo4NSYlgbK66ydPsIpFgYIarq888tisEc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692513590100010 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + Platform/RaspberryPi/RPi4/RPi4.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index 6ab5d1ae6d4d..d39491c63bd2 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -201,6 +201,7 @@ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf !if $(INCLUDE_TFTP_COMMAND) =3D=3D TRUE ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4= /RPi4.dsc index 44ed60ab2f68..054607258e18 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -209,6 +209,7 @@ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf !if $(INCLUDE_TFTP_COMMAND) =3D=3D TRUE ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf --=20 2.31.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 (#85023): https://edk2.groups.io/g/devel/message/85023 Mute This Topic: https://groups.io/mt/87777835/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85024+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85024+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692515; cv=none; d=zohomail.com; s=zohoarc; b=bFSfAgv0ieCWkcn5zcCtB67hGOHXHf/mWOddMLmn8BKKZHDw4tZcKFW63WHgD4C4RBinOi/h402Z4ueIFsI3wxmWGlJV52m705aYujxmOBY4nKH3tGbtoQo/2EpK/yMaiD+Tsqp/PZljA+xWrRyLnSRJ7OjpRs/uYVFt+9BW/1U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692515; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=JSkqQh1KTSVcGnS7BSr5cNqxMO7mZ1d3nMOxomn9teY=; b=Kz37ncNbyIxeN2L8LpA/BgeT+2VEoyNzrLIlgLZ3BrTfClfBMkz4/IYlzTSjVUnmQRnxmEDKJ5diHr5kxlLcfBcErUUjk+lWYqnT2xQdVUUXLAa5fstud8WBvfzWS+LeK9m8QY5Cj5QYQQRYoXJQJexLyNeIRBnKhmub0xKYdCU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85024+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692515133652.87037620565; Thu, 16 Dec 2021 14:08:35 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id MUxzYY1788612x2ON8kDy6LD; Thu, 16 Dec 2021 14:08:34 -0800 X-Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web10.993.1639692514211318164 for ; Thu, 16 Dec 2021 14:08:34 -0800 X-Received: by mail-pf1-f170.google.com with SMTP id z6so519790pfe.7 for ; Thu, 16 Dec 2021 14:08:34 -0800 (PST) X-Gm-Message-State: h4I4NwGHLxtZ5lSXNJVoKNdex1787277AA= X-Google-Smtp-Source: ABdhPJzBu+v9FWHTvL/gYqZfgrqLxzMu0YqIIGId50vReDxI70O8Wgdb9rvEOcbbQjbOcL8OHwT6/Q== X-Received: by 2002:a05:6a00:188e:b0:4a4:f2fd:d7b9 with SMTP id x14-20020a056a00188e00b004a4f2fdd7b9mr15725392pfh.20.1639692513482; Thu, 16 Dec 2021 14:08:33 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:33 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 12/17] Silicon/AMD: Update Styx code to work with changes ARM_CORE_INFO struct Date: Thu, 16 Dec 2021 15:07:55 -0700 Message-Id: <20211216220800.9628-13-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692514; bh=2fVZkcwj69T2ccNoDxsnlbLKvmOR3x40EtLPuRXgWT8=; h=Cc:Date:From:Reply-To:Subject:To; b=b6X/lftr3DWptK0XH7Fjh0LBVZtntE88LbpsIrZyKapvhi/hmJsUCYZ+NIo57k7MRNC eSrYpKZSb0Lp0LRyHUs2kAePwcHM5TZEPY88a3RJLC47miyWwPt/1GYqA90gzEgkXYgKo 3mCNjaHJV3w0WMRiowW/UmcOReG1Fs8U/BQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692515852100002 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update the Styx code in AcpiPlatformDxe, PlatInitPei and StyxDtbLoaderLib. Signed-off-by: Rebecca Cran --- Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c | 3 +-- Silicon/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.c | 8 +++---- Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c | 22 ++++++++= +----------- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c b/Sili= con/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c index 7c267542db19..5f059110ff0c 100644 --- a/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c +++ b/Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatform.c @@ -100,8 +100,7 @@ EnableAvailableCores ( =20 while (CoreCount--) { for (Index =3D 0; Index < MAX_CORES; Index++) { - if (GicC[Index].MPIDR =3D=3D GET_MPID (ArmCoreInfoTable->ClusterId, - ArmCoreInfoTable->CoreId)) { + if (GicC[Index].MPIDR =3D=3D ArmCoreInfoTable->Mpidr) { GicC[Index].Flags |=3D EFI_ACPI_5_1_GIC_ENABLED; break; } diff --git a/Silicon/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.c b/Silicon/A= MD/Styx/Drivers/PlatInitPei/PlatInitPei.c index 3f359ffbd2d8..45490aa33c5a 100644 --- a/Silicon/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.c +++ b/Silicon/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.c @@ -166,12 +166,12 @@ PlatInitPeiEntryPoint ( ASSERT (CpuResetInfo.CoreStatus.Status !=3D CPU_CORE_DISABLED); ASSERT (CpuResetInfo.CoreStatus.Status !=3D CPU_CORE_UNDEFINED); =20 - mAmdMpCoreInfoTable[Index].ClusterId =3D CpuResetInfo.CoreStatus.Clu= sterId; - mAmdMpCoreInfoTable[Index].CoreId =3D CpuResetInfo.CoreStatus.CoreId; + mAmdMpCoreInfoTable[Index].Mpidr =3D GET_MPID (CpuResetInfo.CoreStat= us.ClusterId, + CpuResetInfo.CoreStatus.CoreId); =20 DEBUG ((EFI_D_ERROR, "Core[%d]: ClusterId =3D %d CoreId =3D %d\n", - Index, mAmdMpCoreInfoTable[Index].ClusterId, - mAmdMpCoreInfoTable[Index].CoreId)); + Index, GET_MPIDR_AFF1 (mAmdMpCoreInfoTable[Index].Mpidr), + GET_MPIDR_AFF0 (mAmdMpCoreInfoTable[Index].Mpidr))); =20 // Next core in Table ++Index; diff --git a/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c b= /Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c index 75e529021d09..178fb5698504 100644 --- a/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c +++ b/Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.c @@ -50,7 +50,7 @@ ClusterInRange ( ) { do { - if (ClusterId =3D=3D ArmCoreInfoTable[LowIndex].ClusterId) + if (ClusterId =3D=3D GET_MPIDR_AFF1 (ArmCoreInfoTable[LowIndex].Mpidr)) return TRUE; } while (++LowIndex <=3D HighIndex); =20 @@ -70,7 +70,7 @@ NumberOfCoresInCluster ( =20 Cores =3D 0; for (Index =3D 0; Index < NumberOfEntries; ++Index) { - if (ClusterId =3D=3D ArmCoreInfoTable[Index].ClusterId) + if (ClusterId =3D=3D GET_MPIDR_AFF1 (ArmCoreInfoTable[Index].Mpidr)) ++Cores; } =20 @@ -92,7 +92,7 @@ NumberOfClustersInTable ( Cores =3D NumberOfEntries; while (Cores) { ++Clusters; - ClusterId =3D ArmCoreInfoTable[Index].ClusterId; + ClusterId =3D GET_MPIDR_AFF1 (ArmCoreInfoTable[Index].Mpidr); Cores -=3D NumberOfCoresInCluster (ArmCoreInfoTable, NumberOfEntries, ClusterId); @@ -100,7 +100,7 @@ NumberOfClustersInTable ( do { ++Index; } while (ClusterInRange (ArmCoreInfoTable, - ArmCoreInfoTable[Index].ClusterId, + GET_MPIDR_AFF1 (ArmCoreInfoTable[Index].Mp= idr), 0, Index-1)); } } @@ -402,8 +402,7 @@ PrepareFdt ( =20 fdt_setprop_string (Fdt, CpuNode, "enable-method", "psci"); =20 - MpId =3D (UINTN)GET_MPID (ArmCoreInfoTable[Index].ClusterId, - ArmCoreInfoTable[Index].CoreId); + MpId =3D ArmCoreInfoTable[Index].Mpidr; MpId =3D cpu_to_fdt64 (MpId); fdt_setprop (Fdt, CpuNode, "reg", &MpId, sizeof (MpId)); fdt_setprop (Fdt, CpuNode, "compatible", mCpuCompatible, @@ -417,7 +416,7 @@ PrepareFdt ( fdt_setprop_cell (Fdt, CpuNode, "d-cache-line-size", 64); fdt_setprop_cell (Fdt, CpuNode, "d-cache-sets", 256); fdt_setprop_cell (Fdt, CpuNode, "l2-cache", - L2Phandle[ArmCoreInfoTable[Index].ClusterId]); + L2Phandle[GET_MPIDR_AFF1 (ArmCoreInfoTable[Index].Mpidr)]); } =20 // Create /cpu-map node @@ -435,7 +434,7 @@ PrepareFdt ( return EFI_INVALID_PARAMETER; } =20 - ClusterId =3D ArmCoreInfoTable[ClusterIndex].ClusterId; + ClusterId =3D GET_MPIDR_AFF1 (ArmCoreInfoTable[ClusterIndex].Mpidr); CoreIndex =3D ClusterIndex; CoresInCluster =3D NumberOfCoresInCluster (ArmCoreInfoTable, ArmCoreCount, @@ -454,7 +453,7 @@ PrepareFdt ( if (CoresInCluster) { do { --CoreIndex; - } while (ClusterId !=3D ArmCoreInfoTable[CoreIndex].ClusterId); + } while (ClusterId !=3D GET_MPIDR_AFF1 (ArmCoreInfoTable[CoreInd= ex].Mpidr)); } } =20 @@ -463,7 +462,7 @@ PrepareFdt ( do { --ClusterIndex; } while (ClusterInRange (ArmCoreInfoTable, - ArmCoreInfoTable[ClusterIndex].ClusterId, + GET_MPIDR_AFF1 (ArmCoreInfoTable[ClusterI= ndex].Mpidr), ClusterIndex + 1, ArmCoreCount - 1)); } @@ -481,8 +480,7 @@ PrepareFdt ( =20 // append PMU interrupts for (Index =3D 0; Index < ArmCoreCount; Index++) { - MpId =3D (UINTN)GET_MPID (ArmCoreInfoTable[Index].ClusterId, - ArmCoreInfoTable[Index].CoreId); + MpId =3D (UINTN)ArmCoreInfoTable[Index].Mpidr; =20 Status =3D AmdMpCoreInfoProtocol->GetPmuSpiFromMpId (MpId, &PmuInt.I= ntId); if (EFI_ERROR (Status)) { --=20 2.31.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 (#85024): https://edk2.groups.io/g/devel/message/85024 Mute This Topic: https://groups.io/mt/87777837/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85025+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85025+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692517; cv=none; d=zohomail.com; s=zohoarc; b=hlDwDv5AjEu8XyzTc++aFBS2czDKk6yRKobCt+DIuMY2CZrAx3YVV0b7BBMXq0tnkym6lotSKplRzec1Z3Mkh/UU0N98tau5HDIf8xvmaYfinHBiO71Z1EntctK8JCKWLGzVFtq1aHavqm9us8jZjyzQs/RZTu+sWxomEfG7mSw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692517; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=+W78G7tMkjAuVv3JB/zzKOCjB6Qt/4Gp4TqfskZEfyk=; b=OBLDu6Hs0UsT7PylfW8i6L1jJGPyhOo+Lf1sHaQeC6fNTAjoU8KyZKc0nDw0jq5jvV6vAUf4ONnZEhUKh+OuNONqZ/CcHnwDImYq2uipbSUM/PmZXOgzkaBsCch85+EIjMLH0SporQrtZ1Hqpoon3cYVZi4mRYuyiyAlnVBYW2o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85025+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692517249660.5835007313011; Thu, 16 Dec 2021 14:08:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id OhdfYY1788612xVIkoeZvusY; Thu, 16 Dec 2021 14:08:36 -0800 X-Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.994.1639692516238037264 for ; Thu, 16 Dec 2021 14:08:36 -0800 X-Received: by mail-pf1-f181.google.com with SMTP id 8so537614pfo.4 for ; Thu, 16 Dec 2021 14:08:36 -0800 (PST) X-Gm-Message-State: n4bkXWbplRDnPPGrTHKcreAnx1787277AA= X-Google-Smtp-Source: ABdhPJyaPZh5ylztPeYj+hiI5wwzyG9OohU+BoNWub/nWUffRjvTZ5IGaYr9rfn7LMk7TiTmd0pZ/Q== X-Received: by 2002:a63:a50c:: with SMTP id n12mr186044pgf.558.1639692515491; Thu, 16 Dec 2021 14:08:35 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:35 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 13/17] Silicon/Ampere: Add instance of MpInitLib to AmpereAltraPkg.dsc Date: Thu, 16 Dec 2021 15:07:56 -0700 Message-Id: <20211216220800.9628-14-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692516; bh=xBCFYW95PCmxyoqIsYBVPaZ79kFgPi1QJM0g7/GiCGY=; h=Cc:Date:From:Reply-To:Subject:To; b=cbUcODIQHro32Aq9l9yqX38CokYveXjuSFhb0EmqOgUomelwAU13p27VAL0p+Rs19zz 54Uy5+rslYF2HH4xPd80StC694DVIAWas07tROHLuoJbwFNzH2zJIbgH4U+2/46zt5xte QpbwgkwxfFzwLoLxufEReHyEu4w9bURgy2c= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692519435100002 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon= /Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc index 99e00f82aac8..00b378ab6acd 100644 --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc @@ -223,6 +223,7 @@ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.UEFI_APPLICATION] UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCust= omDecompressLib.inf --=20 2.31.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 (#85025): https://edk2.groups.io/g/devel/message/85025 Mute This Topic: https://groups.io/mt/87777838/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85026+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85026+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692519; cv=none; d=zohomail.com; s=zohoarc; b=HVAqumiWu8vVFr2TWdz+vSj+2ZynAlptxAYaQfAQpWycis4C26EoxaVHuAq6oc4knpi1PwYhDKyfXvGTZLgdXAM/wK0kGtKFS2V763KhVs9YvwvgSXEPLsZs/tIz3M0WOMqB13Qeaii0ZDw3tk3x5vrSTJZooxDX9IgTaYJWqec= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692519; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=jQWbHjxzWE5nb5InfS/szJnIxQF4tXXgblKqVb9RzSg=; b=TniI2CJ62VIkQdiJIvxbw8e1HhgcoBMhPTQz77hShQBJ8x/H/dPAm0ULdWWoBAQQzTvotOCXH0KchZvkaNpI04NAG5bOGSmigkLFXuWuJDOF/9Y9fly5qUFr81HkJWJlpaGlQsXNg/Wu4y3p9gsOsNv9dHuhVrbASdfpAyBn5AA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85026+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692519306682.2450988875424; Thu, 16 Dec 2021 14:08:39 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id x38pYY1788612xpk527jlC0I; Thu, 16 Dec 2021 14:08:38 -0800 X-Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mx.groups.io with SMTP id smtpd.web11.1024.1639692518225373657 for ; Thu, 16 Dec 2021 14:08:38 -0800 X-Received: by mail-pg1-f170.google.com with SMTP id 133so269893pgc.12 for ; Thu, 16 Dec 2021 14:08:38 -0800 (PST) X-Gm-Message-State: b7qNmWXqeFChlZiJJ4gm2d1Xx1787277AA= X-Google-Smtp-Source: ABdhPJwx/gpGynZDgWpRm+yVLOhirtrCBa/s1Dg4RP8X7p+s4cSIOkQ3gtJQLdmwTPWm8glwdD5FKw== X-Received: by 2002:a63:5c64:: with SMTP id n36mr172020pgm.61.1639692517489; Thu, 16 Dec 2021 14:08:37 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:37 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 14/17] Silicon/Ampere: Update ArmPlatformLib to work with changed ARM_CORE_INFO Date: Thu, 16 Dec 2021 15:07:57 -0700 Message-Id: <20211216220800.9628-15-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692518; bh=9auU0wt/lJaK+LHSOJ82t6bTe76dFGFffGugUUZhUhQ=; h=Cc:Date:From:Reply-To:Subject:To; b=gWtG59bXoX9hA6/I2kQM6rFwNspDPFsnMOQugGyz6beUjByp+aUWfJl0P9vU47V5E4C h+ENUSSRaqVcfzLgdyFs6PbZxRGaAEsLmiY2NrHnXJKpdb5hlyZrSp3OB1EY0bGo9p1wW 29xpm27i5SOw+ooVn3lF7qKslzxuiyy3XjA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692520111100005 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update ArmPlatformLib. Signed-off-by: Rebecca Cran --- Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c | 5 = ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatfo= rmLib.c b/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformL= ib.c index 5b4be0e55516..f2ec923d6f8d 100644 --- a/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c +++ b/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c @@ -108,9 +108,8 @@ PrePeiCoreGetMpCoreInfo ( } SocketId =3D SOCKET_ID (Index); ClusterId =3D CLUSTER_ID (Index); - mArmPlatformMpCoreInfoTable[mArmPlatformCoreCount].ClusterId =3D Socke= tId; - mArmPlatformMpCoreInfoTable[mArmPlatformCoreCount].CoreId =3D - (ClusterId << 8) | (Index % PLATFORM_CPU_NUM_CORES_PER_CPM); + mArmPlatformMpCoreInfoTable[mArmPlatformCoreCount].Mpidr =3D GET_MPID ( + SocketId, (ClusterId << 8) | (Index % PLATFORM_CPU_NUM_CORES_PER_CPM= )); mArmPlatformMpCoreInfoTable[mArmPlatformCoreCount].MailboxClearAddress= =3D 0; mArmPlatformMpCoreInfoTable[mArmPlatformCoreCount].MailboxClearValue = =3D 0; mArmPlatformMpCoreInfoTable[mArmPlatformCoreCount].MailboxGetAddress = =3D 0; --=20 2.31.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 (#85026): https://edk2.groups.io/g/devel/message/85026 Mute This Topic: https://groups.io/mt/87777839/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85027+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85027+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692521; cv=none; d=zohomail.com; s=zohoarc; b=UbbEOPnCI4ZDuBT2LmZtGICBsQmEHRNclaJto3InSfa3HZG7ynX/3woPm8iahU41K1AkIrUtCNH3u8wAPo4xZyQumsZD7dAG7/IgKqd2M0SxeklsYBKqE0R2W/5mhNzMnDU0T/dsfXL9tfwdKldX6jjTjxdGu+wDj0I4C9Bp97c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692521; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=bvxQdh/6PkiwdS0hOf6vqXCt+dmNccR7Uk+y9guhbuA=; b=MXrhipwFkUsEww1QoZioi2vffSHr0U2MPkbUzSXMXxBwGRrQYvIiHsX3XU+Du1rVfKewsma1pf5ZVeFgVdzUcVuQi95sUZAbb9xLHiZE29+0eNHbI9EIc/LAcVPBxyKR6MMZ66Q8xRlUG6nmc678YKqekjmqQ/iEIQlUguzaisQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85027+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692521185167.95764579489878; Thu, 16 Dec 2021 14:08:41 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 80AzYY1788612xccb3mtKVlq; Thu, 16 Dec 2021 14:08:40 -0800 X-Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web10.996.1639692520290574349 for ; Thu, 16 Dec 2021 14:08:40 -0800 X-Received: by mail-pf1-f169.google.com with SMTP id 8so537740pfo.4 for ; Thu, 16 Dec 2021 14:08:40 -0800 (PST) X-Gm-Message-State: gMG8xJcAUls5lvkWQ7T4ew4gx1787277AA= X-Google-Smtp-Source: ABdhPJx74OtQqYFXJ8vLFIBfSZoT/ukwZz7WLrgcywr0QO9VaBDpDjF2EhfI7wQuQlM24B5vLUND6w== X-Received: by 2002:a05:6a00:24c9:b0:4b8:c9d9:9adb with SMTP id d9-20020a056a0024c900b004b8c9d99adbmr11790233pfv.74.1639692519527; Thu, 16 Dec 2021 14:08:39 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:39 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 15/17] Silicon/Phytium: Add instance of MpInitLib to PhytiumCommonPkg.dsc.inf Date: Thu, 16 Dec 2021 15:07:58 -0700 Message-Id: <20211216220800.9628-16-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692520; bh=v8QlVKyIhKg93JDCZH9UTZFViL1Le+mBUB8ttDIV9Yo=; h=Cc:Date:From:Reply-To:Subject:To; b=VpKtyWQqGait629H3Qp4T5jGYlJsyzE24SkOaeQnoLu++4ClnHqNewbvvNaz9/F6wrb I6MLbclsNxtY68I0YuLgib9ggLrNPir1zBQDmmR2rivLmHLuA/2N7NKk6Q31sV2xEB27v L7MVlXGf+L1OjRbk58gJHhb9kZ8WMwZSbTQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692522390100010 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc b/Si= licon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc index 2565b8ac626a..a4e3283ac48b 100644 --- a/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc +++ b/Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc @@ -147,6 +147,7 @@ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyL= ib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.UEFI_APPLICATION] DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf --=20 2.31.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 (#85027): https://edk2.groups.io/g/devel/message/85027 Mute This Topic: https://groups.io/mt/87777841/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85028+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85028+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692523; cv=none; d=zohomail.com; s=zohoarc; b=ZnhvBbELO91zHo7CWvtzYXpUjA5AR/gqTdgr+Xad/W94sK36mvCP4JqBx68gJXnaxaQeqFydOXJSnENL8w6c3tMrp5XYDiy0ZSVNUrZoxSDEjt77TIReW+g42etZ41NktXl0Tn6dYJ3JBpxZ7xGBgAPLvqkMo3yfbXd6WdE7Dgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692523; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=3tM9B41f8ymdEiujd8Ix/ljyx6+gOTgJR4Vv+G51+L4=; b=Rf7QdJbB0CtmWl/nfVBl+qzs2ylSQgFYsxmcBhyWMsUIf9+/rzNu7QOlnfivdqwVXIQtvF1cqnFOa+upL9FNTlbRQpW959OpdLwkIvyYmabz0rojM4pDkl3HEPJhBsh5hrScw2qaDXUfCpA3R4r+GS5bIsTfnwdrJu5bE/hG8Vg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85028+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692523156565.7632346854851; Thu, 16 Dec 2021 14:08:43 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id UbFbYY1788612xWuN08DZwp3; Thu, 16 Dec 2021 14:08:42 -0800 X-Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mx.groups.io with SMTP id smtpd.web09.982.1639692522207509225 for ; Thu, 16 Dec 2021 14:08:42 -0800 X-Received: by mail-pj1-f50.google.com with SMTP id y16-20020a17090a6c9000b001b13ffaa625so1406854pjj.2 for ; Thu, 16 Dec 2021 14:08:42 -0800 (PST) X-Gm-Message-State: zeVIv83E7wvIRQoGoSMzFekzx1787277AA= X-Google-Smtp-Source: ABdhPJzHwoXQw70vAWr6UYjkLlOw9Dg5be1MqTxDSdySOEdY0EL+14vzdY4Zr23vowrcesjSUf6p4A== X-Received: by 2002:a17:902:8347:b0:148:ac82:998e with SMTP id z7-20020a170902834700b00148ac82998emr224633pln.92.1639692521503; Thu, 16 Dec 2021 14:08:41 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:41 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 16/17] Silicon/Phytium: Update FT2000-4Pkg PlatformLib for ARM_CORE_INFO change Date: Thu, 16 Dec 2021 15:07:59 -0700 Message-Id: <20211216220800.9628-17-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692522; bh=Q9Cz+/5inlor9hbSdxGEPGtMFqPKZurHSOBSU0ixxWc=; h=Cc:Date:From:Reply-To:Subject:To; b=kU4TmeJRip2vjdHMg9SE2R6w/im4ZHHSoa93l8f9M024jCt2S/N+mEjUB5fT3sE/qKS LPdchHHIco/zbMlZUP/Wgxd2ZjugtxPL+59/3/zOarMHU92ZKlSwhg7FUNyx2Lgpq/D0h wQEs7ksYdWLbcNAT5Ezb+/TnXyuuSi0X9ps= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692524721100002 Content-Type: text/plain; charset="utf-8" The ARM_CORE_INFO struct has been updated so the MPIDR is now a single field instead of separate cluster/core fields. Update FT2000-4Pkg PlatformLib. Signed-off-by: Rebecca Cran --- Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.c = b/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.c index 6a8d22657489..a192797d1cfa 100644 --- a/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.c +++ b/Silicon/Phytium/FT2000-4Pkg/Library/PlatformLib/PlatformLib.c @@ -15,7 +15,7 @@ =20 ARM_CORE_INFO mPhytiumMpCoreInfoTable[] =3D { { - 0x0, 0x0, // Cluster 0, Core 0 + 0x000, // Cluster 0, Core 0 =20 // MP Core MailBox Set/Get/Clear Addresses and Clear Value (EFI_PHYSICAL_ADDRESS)0, --=20 2.31.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 (#85028): https://edk2.groups.io/g/devel/message/85028 Mute This Topic: https://groups.io/mt/87777844/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- From nobody Tue May 7 13:34:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85029+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85029+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1639692525; cv=none; d=zohomail.com; s=zohoarc; b=jIZEkxSCL5Bl3m/+1VmP2kjPCCm9Zc0oQ16LS9ymv2S+KVpoSIqoZhUPpjvlk/yuXrE2rmOX0zKYgr22dT5UaesK7YpdpcZDlSPfkAHFpToJtcJgTmenjAw2fS+5hXQckJf06ioygUWJPBbiZ8v54BtnzDETfHB+fETK32vl6sA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1639692525; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=d2mbuLI8vU8G4A0P7WEXja/rnSETZowrz7w7sg7AgLg=; b=Zd0w65FvxdwGnCm2MlgpjPIvJCq8iYQglehLBmu+XHbKZ9lLehpuWeYioNBd/DvVv5mj8xE8ZbRtffebIZfu9EPi9VzSo1FcIR8miSZnVHZIQGs6HslMjwyrtbFZR7QTGfVKtwsT92nFJftIanF+7bwS0gExQDPC2OylWR3x37o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85029+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1639692525121893.1798257405691; Thu, 16 Dec 2021 14:08:45 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id JH64YY1788612xUCJ5tHHIGZ; Thu, 16 Dec 2021 14:08:44 -0800 X-Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mx.groups.io with SMTP id smtpd.web11.1026.1639692524323137852 for ; Thu, 16 Dec 2021 14:08:44 -0800 X-Received: by mail-pj1-f51.google.com with SMTP id np6-20020a17090b4c4600b001a90b011e06so689921pjb.5 for ; Thu, 16 Dec 2021 14:08:44 -0800 (PST) X-Gm-Message-State: 2J555e29PUXAvrdkEtJZp64Vx1787277AA= X-Google-Smtp-Source: ABdhPJzLRKR9qP0n7Ft//5rIP72MpMzFdVN5RjXtug0eQ9BygkEwjXSA7frP/resQJEEtz9LbQ9WMg== X-Received: by 2002:a17:90a:c58f:: with SMTP id l15mr129675pjt.227.1639692523522; Thu, 16 Dec 2021 14:08:43 -0800 (PST) X-Received: from linbox.ba.nuviainc.com ([2601:681:4300:69e:9e7b:efff:fe2b:884c]) by smtp.gmail.com with ESMTPSA id 32sm5982619pgs.48.2021.12.16.14.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 14:08:43 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Samer El-Haj-Mahmoud , Leif Lindholm , Sami Mujawar , Wenyi Xie , Peng Xie , Ling Jia , Yiqi Shu , Nhi Pham , Vu Nguyen , Thang Nguyen , Chuong Tran , Pete Batard , Masami Hiramatsu , Graeme Gregory , Radoslaw Biernacki , Marcin Wojtas Cc: Rebecca Cran Subject: [edk2-devel] [PATCH v2 17/17] Silicon/Hisilicon: Add instance of MpInitLib to Hisilicon.dsc.inc Date: Thu, 16 Dec 2021 15:08:00 -0700 Message-Id: <20211216220800.9628-18-rebecca@nuviainc.com> In-Reply-To: <20211216220800.9628-1-rebecca@nuviainc.com> References: <20211216220800.9628-1-rebecca@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,rebecca@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1639692524; bh=5ropEF86/C8mCp4yqH9gtHFhWnB7M/1C5PH173ghg2E=; h=Cc:Date:From:Reply-To:Subject:To; b=qhOX4LdEP3X368uF3/RErJwGbT4giV+PiRDwQKnvlTzIMLEgA6cjOc4JybKFUvfHBzv 3gMbNOrhExMOnVt7KszTuCYm+dz3TdrUUfA62rObZELav84xXQbqZ2vRQxD/fDRAJH1Ia 0HhmolI3mFMQQz8tkaKUiyPE1TIkE9/gRh4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1639692527104100001 Content-Type: text/plain; charset="utf-8" MpInitLib is now required for all users of ArmPkg/Drivers/CpuDxe. Add ArmPkg/Library/MpInitLib/DxeMpInitLib.inf . Signed-off-by: Rebecca Cran --- Silicon/Hisilicon/Hisilicon.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc b/Silicon/Hisilicon/Hisili= con.dsc.inc index 6bacd9cafd7a..00e97837d036 100644 --- a/Silicon/Hisilicon/Hisilicon.dsc.inc +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc @@ -177,6 +177,7 @@ SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf + MpInitLib|ArmPkg/Library/MpInitLib/DxeMpInitLib.inf =20 [LibraryClasses.common.UEFI_APPLICATION] PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.= inf --=20 2.31.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 (#85029): https://edk2.groups.io/g/devel/message/85029 Mute This Topic: https://groups.io/mt/87777845/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-