From nobody Sat May 4 21:34:05 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+96834+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+96834+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1669908991; cv=none; d=zohomail.com; s=zohoarc; b=aDssP1rZ9Pw2vZgiHa8/wgHz6n0lZM0prqnPki9k+jg5d9LRjXynurEoXXB5Zgti9/mLuGfmM6Bct0Y/Aojxpt99/yCOruEovngNfwQjyZhFc/w2idfEOazmBaU1VNfxcnMOuGfUrE/yR4oXDxDwja6HvGMc3/96egqW9R3K4c4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669908991; h=Content-Type: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=SRj8fNlRP3Pt4nZGyjWW5HFv+3/xZWNxESWQUU8SRuE=; b=C5plmIfybq8SvYfarJfDQSSrP6kW84qkUO/ZYKIhjailp4IdSDk10pNmrmmk1J3Z905y2cF9EvcIGMRdyC5EnXyBS+I5+xTuf1Q1wTSgOGGSjTF0+FqaBS+o/usB+W6lM7DFE5aQheqPS1uKT1c0L5u3hP/XH0322CWp+MWIAD0= 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+96834+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1669908991193519.7474314205153; Thu, 1 Dec 2022 07:36:31 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id XMiOYY1788612x3oPAGBxTRV; Thu, 01 Dec 2022 07:36:30 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.47061.1669908990189682150 for ; Thu, 01 Dec 2022 07:36:30 -0800 X-Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-211-sUsk-1QrOaOMuueT8UeRIQ-1; Thu, 01 Dec 2022 10:36:28 -0500 X-MC-Unique: sUsk-1QrOaOMuueT8UeRIQ-1 X-Received: by mail-lj1-f200.google.com with SMTP id w21-20020a05651c119500b002797c24427aso427281ljo.4 for ; Thu, 01 Dec 2022 07:36:28 -0800 (PST) X-Gm-Message-State: LziTV05tsMdTclzRmOI94Ap3x1787277AA= X-Received: by 2002:ac2:52b6:0:b0:4a8:df88:f4d2 with SMTP id r22-20020ac252b6000000b004a8df88f4d2mr21599705lfm.463.1669908986585; Thu, 01 Dec 2022 07:36:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7C5LWJwKt6FQ704zHz8ERWrgSnkE8/+eH5ZsczIfmzsIbcgML5N60yNPe9P6EHWUxxqlOIKA== X-Received: by 2002:ac2:52b6:0:b0:4a8:df88:f4d2 with SMTP id r22-20020ac252b6000000b004a8df88f4d2mr21599692lfm.463.1669908986251; Thu, 01 Dec 2022 07:36:26 -0800 (PST) X-Received: from czapka.. ([93.177.91.185]) by smtp.gmail.com with ESMTPSA id z23-20020a2e3517000000b0027755f52a94sm410214ljz.80.2022.12.01.07.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 07:36:25 -0800 (PST) From: =?UTF-8?B?UGF3ZcWCIFBvxYJhd3NraQ==?= To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] PATCH v1 1/1 MdePkg: Remove Itanium leftover data structure Date: Thu, 1 Dec 2022 16:36:15 +0100 Message-Id: <8188524e0c39ae11baf681e3ad375e4c3c284569.1669908382.git.ppolawsk@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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,ppolawsk@redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1669908990; bh=IO1u9fEhAnlVbbIowNmb7dDqu3C+z/jxpRUgeiesA6Q=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=b4L9JMrfDh9hgrt91b5HHI9Z7e8lguzi0X1okwHRJKBP7NNO6YI9YZ4qrnc98FmNLu9 yGh9CrtXqHqBThAAro+gSP23bSomQOEmSA09fGeRp//B51LZKVF6NfxP7qfv/a/hFEeVB TfEcooA03qDChM72fmSGiPaLXTwz5SJmGKw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1669908992544100004 Itanium support has been removed from EDK2 aroun 2019. ITANIUM_HANDOFF_STATUS data structure looks to be some leftover from that process. There is also positive sidefect of this data structure removal. Due to HOB allocation type used in PEI stage there is a limit how much data about virtual CPU can be hold. This limit result in only 1024 vCPU can be used by VM. With Itanium related data structure removed more allocated space can be used for vCPU data and with current allocation limit will change from 1024 to around 8k vCPUs. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Pawe=C5=82 Po=C5=82awski Reviewed-by: Michael D Kinney --- MdePkg/Include/Ppi/SecPlatformInformation.h | 44 -------------------- 1 file changed, 44 deletions(-) diff --git a/MdePkg/Include/Ppi/SecPlatformInformation.h b/MdePkg/Include/P= pi/SecPlatformInformation.h index 02b0711f189e..fbcd205acd96 100644 --- a/MdePkg/Include/Ppi/SecPlatformInformation.h +++ b/MdePkg/Include/Ppi/SecPlatformInformation.h @@ -84,49 +84,6 @@ typedef union { =20 typedef EFI_HEALTH_FLAGS X64_HANDOFF_STATUS; typedef EFI_HEALTH_FLAGS IA32_HANDOFF_STATUS; -/// -/// The hand-off status structure for Itanium architecture. -/// -typedef struct { - /// - /// SALE_ENTRY state : 3 =3D Recovery_Check - /// and 0 =3D RESET or Normal_Boot phase. - /// - UINT8 BootPhase; - /// - /// Firmware status on entry to SALE. - /// - UINT8 FWStatus; - UINT16 Reserved1; - UINT32 Reserved2; - /// - /// Geographically significant unique processor ID assigned by PAL. - /// - UINT16 ProcId; - UINT16 Reserved3; - UINT8 IdMask; - UINT8 EidMask; - UINT16 Reserved4; - /// - /// Address to make PAL calls. - /// - UINT64 PalCallAddress; - /// - /// If the entry state is RECOVERY_CHECK, this contains the PAL_RESET - /// return address, and if entry state is RESET, this contains - /// address for PAL_authentication call. - /// - UINT64 PalSpecialAddress; - /// - /// GR35 from PALE_EXIT state. - /// - UINT64 SelfTestStatus; - /// - /// GR37 from PALE_EXIT state. - /// - UINT64 SelfTestControl; - UINT64 MemoryBufferRequired; -} ITANIUM_HANDOFF_STATUS; =20 /// /// EFI_SEC_PLATFORM_INFORMATION_RECORD. @@ -134,7 +91,6 @@ typedef struct { typedef union { IA32_HANDOFF_STATUS IA32HealthFlags; X64_HANDOFF_STATUS x64HealthFlags; - ITANIUM_HANDOFF_STATUS ItaniumHealthFlags; } EFI_SEC_PLATFORM_INFORMATION_RECORD; =20 /** --=20 2.38.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 (#96834): https://edk2.groups.io/g/devel/message/96834 Mute This Topic: https://groups.io/mt/95384808/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-