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