From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2FC8ED806CB for ; Tue, 30 Apr 2024 09:58:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Ztx49APXwljaH0JpHFUafLy/9saL1qspRnrdzQpSEeo=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240206; t=1714471107; v=1; b=p4rNhhpqdFGsAkHBBy6d04NKd1OcyUdu2fk8A/92sUDnaPGGglRdnGS3MJO2AveobzEgmn4X KDiMd+FO/DbTmp7iYzHkVZIIcWWqEtTmT5334NaD7Spu7YvQyz2cdTS4AMFtsXe3pUpA9iOZnfj qUb15/RvwjWxwE+asQSi3uVwxKFXn2vG+kPNqHg+R9j4kWjwhUPAIjncLlf4US3nZdvndfZpvej 95wUqt9c6+BL9Dvv/jiOo3W63PCLdKiYSOhdZtdQ56/gUzUWDNzIPq6Nw8I66oEXLkWgrtvDuur 74wtgNvyLz7vCKfxknSGLUpJyS6nnVuB9VMTLYiLHufEg== X-Received: by 127.0.0.2 with SMTP id l3woYY7687511xlGXnS4ISaM; Tue, 30 Apr 2024 02:58:27 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.11328.1714471107169240210 for ; Tue, 30 Apr 2024 02:58:27 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-624-nK4o8AiGM4OtKkpU0_3nZw-1; Tue, 30 Apr 2024 05:58:22 -0400 X-MC-Unique: nK4o8AiGM4OtKkpU0_3nZw-1 X-Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CE511811000; Tue, 30 Apr 2024 09:58:21 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.134]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5A7D7581C8; Tue, 30 Apr 2024 09:58:21 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 49A6E1829F19; Tue, 30 Apr 2024 11:58:20 +0200 (CEST) Date: Tue, 30 Apr 2024 11:58:20 +0200 From: "Gerd Hoffmann" To: Jiaxin Wu Cc: devel@edk2.groups.io, Ray Ni , Zeng Star , Rahul Kumar , Guo Dong , Sean Rhodes , James Lu , Gua Guo , Ard Biesheuvel , Jiewen Yao , Abdul Lateef Attar , Abner Chang , Tom Lendacky Subject: Re: [edk2-devel] [PATCH v4 00/14] Add SmmRelocationLib Message-ID: <6zvp3uh3umupxnb2hxexkgp6lu7fz7s3mlk4tjbuinfn2mnbbn@fhnbov6lwrx6> References: <20240426121720.54308-1-jiaxin.wu@intel.com> MIME-Version: 1.0 In-Reply-To: <20240426121720.54308-1-jiaxin.wu@intel.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.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 Resent-Date: Tue, 30 Apr 2024 02:58:27 -0700 Resent-From: kraxel@redhat.com Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: uhlrSgjOZwRxLzmFzQfxCSaqx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=p4rNhhpq; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none) On Fri, Apr 26, 2024 at 08:17:06PM GMT, Jiaxin Wu wrote: > PR: https://github.com/tianocore/edk2/pull/5546 > > Intel plans to separate the smbase relocation logic from > PiSmmCpuDxeSmm driver, and the related behavior will be > moved to the new interface defined by the SmmRelocationLib > class. > > The SmmRelocationLib class provides the SmmRelocationInit() > interface for platform to do the smbase relocation, which > shall provide below 2 functionalities: > 1. Relocate smbases for each processor. > 2. Create the gSmmBaseHobGuid HOB. > > With SmmRelocationLib, PiSmmCpuDxeSmm driver (which runs at > a later phase) can be simplfied as below for SMM init: > 1. Consume the gSmmBaseHobGuid HOB for the relocated smbases > for each Processor. > 2. Execute the early SMM Init. Series: Tested-by: Gerd Hoffmann Acked-by: Gerd Hoffmann take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118433): https://edk2.groups.io/g/devel/message/118433 Mute This Topic: https://groups.io/mt/105748911/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-