render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame SOURCES/edk2-MdePkg-Remove-Itanium-leftover-data-structure-RH-onl.patch

795857
From 0517c19dff1e3fd8e16a38533d39e4b9bd32f54e Mon Sep 17 00:00:00 2001
795857
From: =?UTF-8?q?Pawe=C5=82=20Po=C5=82awski?= <ppolawsk@redhat.com>
795857
Date: Tue, 15 Nov 2022 01:02:51 +0100
795857
Subject: [PATCH 2/2] MdePkg: Remove Itanium leftover data structure (RH only)
795857
MIME-Version: 1.0
795857
Content-Type: text/plain; charset=UTF-8
795857
Content-Transfer-Encoding: 8bit
795857
795857
RH-Author: Pawel Polawski <ppolawsk@redhat.com>
795857
RH-MergeRequest: 22: MdePkg: Remove Itanium leftover data structure (RH only)
795857
RH-Bugzilla: 1983086
795857
RH-Acked-by: Gerd Hoffmann <kraxel@redhat.com>
795857
RH-Acked-by: Oliver Steffen <osteffen@redhat.com>
795857
RH-Commit: [1/1] d7f46e0657016668a3c00309ed1d95aea7c55c97
795857
795857
Itanium support has been removed from EDK2 aroun 2019.
795857
ITANIUM_HANDOFF_STATUS data structure looks to be
795857
some leftover from that process.
795857
795857
There is also positive sidefect of this data structure removal.
795857
Due to HOB allocation type used in PEI stage there is a limit
795857
how much data about virtual CPU can be hold. This limit result
795857
in only 1024 vCPU can be used by VM.
795857
With Itanium related data structure removed more allocated space
795857
can be used for vCPU data and with current allocation limit
795857
will change from 1024 to around 8k vCPUs.
795857
795857
Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
795857
---
795857
 MdePkg/Include/Ppi/SecPlatformInformation.h | 44 ---------------------
795857
 1 file changed, 44 deletions(-)
795857
795857
diff --git a/MdePkg/Include/Ppi/SecPlatformInformation.h b/MdePkg/Include/Ppi/SecPlatformInformation.h
795857
index 02b0711f18..fbcd205acd 100644
795857
--- a/MdePkg/Include/Ppi/SecPlatformInformation.h
795857
+++ b/MdePkg/Include/Ppi/SecPlatformInformation.h
795857
@@ -84,49 +84,6 @@ typedef union {
795857
 
795857
 typedef EFI_HEALTH_FLAGS X64_HANDOFF_STATUS;
795857
 typedef EFI_HEALTH_FLAGS IA32_HANDOFF_STATUS;
795857
-///
795857
-/// The hand-off status structure for Itanium architecture.
795857
-///
795857
-typedef struct {
795857
-  ///
795857
-  /// SALE_ENTRY state : 3 = Recovery_Check
795857
-  /// and 0 = RESET or Normal_Boot phase.
795857
-  ///
795857
-  UINT8     BootPhase;
795857
-  ///
795857
-  /// Firmware status on entry to SALE.
795857
-  ///
795857
-  UINT8     FWStatus;
795857
-  UINT16    Reserved1;
795857
-  UINT32    Reserved2;
795857
-  ///
795857
-  /// Geographically significant unique processor ID assigned by PAL.
795857
-  ///
795857
-  UINT16    ProcId;
795857
-  UINT16    Reserved3;
795857
-  UINT8     IdMask;
795857
-  UINT8     EidMask;
795857
-  UINT16    Reserved4;
795857
-  ///
795857
-  /// Address to make PAL calls.
795857
-  ///
795857
-  UINT64    PalCallAddress;
795857
-  ///
795857
-  /// If the entry state is RECOVERY_CHECK, this contains the PAL_RESET
795857
-  /// return address, and if entry state is RESET, this contains
795857
-  /// address for PAL_authentication call.
795857
-  ///
795857
-  UINT64    PalSpecialAddress;
795857
-  ///
795857
-  /// GR35 from PALE_EXIT state.
795857
-  ///
795857
-  UINT64    SelfTestStatus;
795857
-  ///
795857
-  /// GR37 from PALE_EXIT state.
795857
-  ///
795857
-  UINT64    SelfTestControl;
795857
-  UINT64    MemoryBufferRequired;
795857
-} ITANIUM_HANDOFF_STATUS;
795857
 
795857
 ///
795857
 /// EFI_SEC_PLATFORM_INFORMATION_RECORD.
795857
@@ -134,7 +91,6 @@ typedef struct {
795857
 typedef union {
795857
   IA32_HANDOFF_STATUS       IA32HealthFlags;
795857
   X64_HANDOFF_STATUS        x64HealthFlags;
795857
-  ITANIUM_HANDOFF_STATUS    ItaniumHealthFlags;
795857
 } EFI_SEC_PLATFORM_INFORMATION_RECORD;
795857
 
795857
 /**
795857
-- 
795857
2.31.1
795857