From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 72C1AD811BF for ; Wed, 3 Jan 2024 15:11:32 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=HE85moBibB/4oH1uxsvlo1xbtB7Id4bXIsLptHT8k9E=; c=relaxed/simple; d=groups.io; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1704294691; v=1; b=cWT+sIuM74Mc5lldj3xq6H7y9Y0J0NBYruPJFUnpYNNwMjLQU2XcBxRZuGfdsjzWkaVLGy+3 nf7JbSSr5Zrm/BSPQ5Zl3GlzyOsbGudH43Lt/L665vyqsSjiNbRSgf1gedUY60caBOGQnoMvevO KVrvrN9xev4SpGLN9sJqQ+ZI= X-Received: by 127.0.0.2 with SMTP id BZPfYY7687511xeOrKe0X2sO; Wed, 03 Jan 2024 07:11:31 -0800 X-Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by mx.groups.io with SMTP id smtpd.web11.19499.1704294689770987015 for ; Wed, 03 Jan 2024 07:11:30 -0800 X-Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 4FE8CCE1683 for ; Wed, 3 Jan 2024 15:11:26 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5CEDC433C8 for ; Wed, 3 Jan 2024 15:11:24 +0000 (UTC) X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-50e7b273352so7173305e87.1 for ; Wed, 03 Jan 2024 07:11:24 -0800 (PST) X-Gm-Message-State: RqK6Tb4SxF3uNrjcCPcHmVyMx7686176AA= X-Google-Smtp-Source: AGHT+IHv1gJEOVYByS+jTW6nT5sRZMIoTIlVdAwfbDgvMqnln8zTU9XeYDRUr4LWBGulFQaXiW/OhuatPf/JAGWQLfY= X-Received: by 2002:a19:ee13:0:b0:50e:73fe:c118 with SMTP id g19-20020a19ee13000000b0050e73fec118mr6112897lfb.71.1704294683197; Wed, 03 Jan 2024 07:11:23 -0800 (PST) MIME-Version: 1.0 References: <17985FA7D8DAB616.3002@groups.io> In-Reply-To: From: "Ard Biesheuvel" Date: Wed, 3 Jan 2024 16:11:11 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [Patch V2 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. To: "Tan, Dun" , Samer El-Haj-Mahmoud , Jose Marinho Cc: Ard Biesheuvel , "Ni, Ray" , "devel@edk2.groups.io" Precedence: Bulk 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,ardb@kernel.org List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=cWT+sIuM; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) (cc Samer and Jose) Hello Dun Tan, On Fri, 17 Nov 2023 at 10:57, Tan, Dun wrote: > > Hi Ard, > > I'm working on moving gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg in this patch series. Currently in Edk2, the HOB is only consumed by StandaloneMmCpu.inf. > > As we know that this HOB is used to provide a lightweight static information of MP processor. However, there might be a concern that the maximum HOB size 64KB is not large enough when CPU number is 1~2000 or bigger. > > May I know if you considered this situation or is there any solution to avoid this issue on Arm? > I don't think this has ever come up. Is this maximum HOB size a PI limitation? Or simply a limitation of the existing implementation? > > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of duntan > Sent: Friday, November 17, 2023 5:40 PM > To: devel@edk2.groups.io > Subject: [edk2-devel] [Patch V2 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. > > In the V2 patch set: Added more comments in the new MpInformation.h to document that some fields in this HOB may be invalidated. > > Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. > > Previously, the HOB is defined, created and consumed only in StandaloneMmPkg. The HOB contains the number of processors and EFI_PROCESSOR_INFORMATION structure. This is the same as the information that PiSmmCpuDxeSmm uses EfiMpServiceProtocolGuid to get. > > The incoming plan is to create gMpInformationHobGuid for both StandaloneMm and legacy DXE_SMM in early phase(for example in CpuMpPei). Then PiSmmCpuDxeSmm can consume the hob, which can simplify code logic in PiSmmCpuDxeSmm driver. > > So move this HOB definition to UefiCpuPkg in this patch series. > > Dun Tan (3): > UefiCpuPkg: Create MpInformation.h in UefiCpuPkg > StandaloneMmPkg:Add UefiCpuPkg.dec in DependencyCheck > StandaloneMmPkg:Remove MpInformation.h > > StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf | 1 + > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf | 1 + > StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 3 ++- > StandaloneMmPkg/StandaloneMmPkg.dec | 1 - > {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h | 6 +++++- > UefiCpuPkg/UefiCpuPkg.dec | 3 +++ > 6 files changed, 12 insertions(+), 3 deletions(-) rename {StandaloneMmPkg => UefiCpuPkg}/Include/Guid/MpInformation.h (71%) > > -- > 2.31.1.windows.1 > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113099): https://edk2.groups.io/g/devel/message/113099 Mute This Topic: https://groups.io/mt/102644629/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-