From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail03.groups.io (mail03.groups.io [45.79.227.220]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1047EAC0E1A for ; Thu, 11 Apr 2024 07:11:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=DdKfdQ0JxaEUJUjfmcQDRCAHZR/ul39h15FWSvR2jcQ=; 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=1712819473; v=1; b=yyPstjvpPhKsPMk+wRY6/OowCzwm68PGbwMwKu+dXGPbd7RPrXQnQwI9WmNTxz58DQnTuaKq PROgwyROUn0Tx2Ir5FtH8qDKAyeON4Xm63rHZZuyJ4P2l4EUXVjIZxRq4BnhkDdglaWxGjB1JXy 2d4FLCLfeZoZjoKmM0ciJjZDAADjKM5M3dHW+T8a643UkAF2PXj5bUqQI0tMzXFYN7sjh8DgXke 0/mcS6YiQepAQ9LoyiSorNgFbTPh3wVdGkcSssLt4F+wr9SwB7udWJna/bHK+ZZxy+PiDu+qsld N8tpxoBrx00V7YeJt+aRuHqWEaUAHcfB3y/juP/+mQ65A== X-Received: by 127.0.0.2 with SMTP id OUwgYY7687511xd044NMDKWi; Thu, 11 Apr 2024 00:11:13 -0700 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.web10.11783.1712819472848868806 for ; Thu, 11 Apr 2024 00:11:13 -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-427-H17R29aGNnKf-cr60Vcxjg-1; Thu, 11 Apr 2024 03:11:06 -0400 X-MC-Unique: H17R29aGNnKf-cr60Vcxjg-1 X-Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 56C158026B9; Thu, 11 Apr 2024 07:11:06 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.204]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1A5042026D06; Thu, 11 Apr 2024 07:11:06 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id D052A180063D; Thu, 11 Apr 2024 09:11:00 +0200 (CEST) Date: Thu, 11 Apr 2024 09:11:00 +0200 From: "Gerd Hoffmann" To: Jiaxin Wu Cc: devel@edk2.groups.io, Ray Ni , Zeng Star , Ard Biesheuvel , Jiewen Yao , Rahul Kumar Subject: Re: [edk2-devel] [PATCH v1 03/13] UefiCpuPkg/SmmRelocationLib: Add library instance for OVMF Message-ID: References: <20240410135724.15344-1-jiaxin.wu@intel.com> <20240410135724.15344-4-jiaxin.wu@intel.com> MIME-Version: 1.0 In-Reply-To: <20240410135724.15344-4-jiaxin.wu@intel.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 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: Thu, 11 Apr 2024 00:11:13 -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: BbvyZys6OGCONvm8rO05IiOFx7686176AA= 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=yyPstjvp; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.227.220 as permitted sender) smtp.mailfrom=bounce@groups.io On Wed, Apr 10, 2024 at 09:57:14PM +0800, Jiaxin Wu wrote: > Due to the definition difference of SMRAM Save State, > SmmBase config in SMRAM Save State for OVMF is also different. > > This patch provides the OvmfSmmRelocationLib library instance > to handle the SMRAM Save State difference. Why ovmf needs its own version? Patch #4 adds an AMD version, and given that KVM uses the AMD smram layout that library should work for OVMF too, no? take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117618): https://edk2.groups.io/g/devel/message/117618 Mute This Topic: https://groups.io/mt/105441992/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-