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 0910ED8094F for ; Wed, 6 Sep 2023 06:56:49 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9LJtmMvwtrn3GJnoPJ1rMSWE96A3RfFvpxOl5LgnLMo=; 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=1693983408; v=1; b=LJPr4oyad7SyfsrO/PqZ0y8DyEbVoVvrGXuCqQCAQ1DtVcjI2wSzVU6V9Pcg7p0FzEZIk0WU Hv05UXAUPcB5h0jNjWrbLosaxNCyvBFn9Tvs+VOSYC53V7w7u+JgETvVb+isICh8QjKijmq7t4+ ZfLPyD0buqBwsd5VtDehJpy4= X-Received: by 127.0.0.2 with SMTP id 3maAYY7687511xDpCYKMET0I; Tue, 05 Sep 2023 23:56:48 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.2960.1693983408154967492 for ; Tue, 05 Sep 2023 23:56:48 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2BC7D60F71 for ; Wed, 6 Sep 2023 06:56:47 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 194A8C433CB for ; Wed, 6 Sep 2023 06:56:46 +0000 (UTC) X-Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-501bd164fbfso2645911e87.0 for ; Tue, 05 Sep 2023 23:56:45 -0700 (PDT) X-Gm-Message-State: 8JgIDK1IKb09ArtKttbXqXKFx7686176AA= X-Google-Smtp-Source: AGHT+IEQoYIjDU1X3sTfDiDwBHpPRHdveyV9MHjkGiuabDtpYzD+ca+U93ahWJpbkPgEDb4hXIHMOyKiDk7FBu2vCOY= X-Received: by 2002:a05:6512:3711:b0:4fe:993:2218 with SMTP id z17-20020a056512371100b004fe09932218mr1412237lfr.31.1693983404023; Tue, 05 Sep 2023 23:56:44 -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> In-Reply-To: From: "Ard Biesheuvel" Date: Wed, 6 Sep 2023 08:56:32 +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: "Ni, Ray" Cc: Nhi Pham , "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=LJPr4oya; 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 08:33, Ni, Ray wrote: > > 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. > Hello Ray, StMM == Standalone MM Does the PI spec document that the standalone MM hob list is read-only? If so, the HOB build routines shouldn't be exposed (and/or ASSERT in DEBUG builds). If not, they should work. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108308): https://edk2.groups.io/g/devel/message/108308 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] -=-=-=-=-=-=-=-=-=-=-=-