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 1B842D80186 for ; Wed, 6 Sep 2023 08:51:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=8XKzyA6XflwhQXx3oMEjr5lm8FqXR9p9Bx672CMphf8=; 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=1693990269; v=1; b=n914FqPCJxQ4O+RFc2ETzjvZrfPJGfGM+LFb9az7bRkvGLjABXQAGmTMdfjWXDkPtq2EPJKv b+L3BiPXNq5Qu9lrMKsaeBWPVT0RAc8oWAe2xLyr4YHSvFzybaEEfmR/MKdkfR12LaLmMUPzdNj moxHftffTpVsbBNJQjBKEj9k= X-Received: by 127.0.0.2 with SMTP id To6qYY7687511xFhhG2gH5pi; Wed, 06 Sep 2023 01:51:09 -0700 X-Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web10.4224.1693990268670268166 for ; Wed, 06 Sep 2023 01:51:09 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 855D7B8190C for ; Wed, 6 Sep 2023 08:51:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BFEFC433C9 for ; Wed, 6 Sep 2023 08:51:05 +0000 (UTC) X-Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2bcc187e0b5so54001931fa.1 for ; Wed, 06 Sep 2023 01:51:05 -0700 (PDT) X-Gm-Message-State: j4zRqLB58HBdynTe2xnycDFSx7686176AA= X-Google-Smtp-Source: AGHT+IG6ug7wusKCVhHpYgfA0YmssGnQMa8Y4dkDCEk0Du5nQuxZdCQFnQV5ldquBjLcG29h4R/XoX9c2jHcefVfv1c= X-Received: by 2002:a2e:b04d:0:b0:2bd:f8:1b6a with SMTP id d13-20020a2eb04d000000b002bd00f81b6amr1537582ljl.36.1693990263245; Wed, 06 Sep 2023 01:51:03 -0700 (PDT) MIME-Version: 1.0 References: <20220209122558.60329-1-huangming@linux.alibaba.com> <20220209122558.60329-3-huangming@linux.alibaba.com> <14f25a95-7153-4eec-8804-a3da768ccb11@linux.alibaba.com> <0e0bc14c-88a1-21a8-0be7-34ed023e1127@amperemail.onmicrosoft.com> <59c604a4-7e65-4319-8441-806a29327f6f@linux.microsoft.com> <2485a946-3cab-9b9e-feb9-47084074c35c@amperemail.onmicrosoft.com> In-Reply-To: <2485a946-3cab-9b9e-feb9-47084074c35c@amperemail.onmicrosoft.com> From: "Ard Biesheuvel" Date: Wed, 6 Sep 2023 10:50:51 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH v1 2/2] StandaloneMmPkg: Fix HOB space and heap space conflicted issue To: Nhi Pham Cc: "Ni, Ray" , "devel@edk2.groups.io" , "nhi@os.amperecomputing.com" , "osde@linux.microsoft.com" , "huangming@linux.alibaba.com" , Sami Mujawar , Ard Biesheuvel , "Yao, Jiewen" , Supreeth Venkatesh , "ming.huang-@outlook.com" 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=n914FqPC; 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) On Wed, 6 Sept 2023 at 09:56, Nhi Pham wrote: > > On 9/6/2023 1:33 PM, Ni, Ray wrote: > > [EXTERNAL EMAIL NOTICE: This email originated from an external sender. > > Please be mindful of safe email handling and proprietary information > > protection practices.] > > > > I am a bit confused. > > > > The HOB list in standalone MM is read-only. Why could any module call > > BuildGuidHob() to modify the HOB. > > > > I saw Oliver mentioned something about StMM. I don't know what that is. > > But it seems that's ARM specific. Then, I don't think it's proper to > > modify code here for a specific arch ARM. > > The HOB creation is available in the > StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf. If > other architectures also use that instance, I think the issue is not > specific to ARM. > The question here is whether the implementation follows the PI spec, and whether HOB creation should be supported to begin with. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108315): https://edk2.groups.io/g/devel/message/108315 Mute This Topic: https://groups.io/mt/89020085/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-