From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id 13D667803D8 for ; Wed, 17 Apr 2024 07:04:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=8EJdfRrxP35Th02pHSG53mbnwPUO0cqJqT7mVFPNRik=; 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=1713337477; v=1; b=MUllRDa8fopr29ZXHTke5dBTVj0eL3qCHohLyFsa2QBVrBDKZmbl1qZ0DQlyVmkNjQmXpkL2 NHZe1lfxEcdVJe6ZvvvjSHF+pLdUOw7TkMPkJ6VMnyg7kZbm/sjqZ3LpehbvaL0uQ0azI0mY+Oo g7qbs6O4Fnamd3eVLE4KbU1CTXb7DYU33kUR49rRFy2OfsVDviwIgnXHjOU89yM75ds9mogR7Xt 5DGnqiCDA8kH3n6hIUnJxd2y42Il8JvFd7l40QUgf4x5F4C4Lc2cH1qlwWz5z0gzH0OAWj6GsUh 1Ku4BBqfK/jBkcQGRVqsz5RVYnnxjRQ5cSqDeBadFsO4Q== X-Received: by 127.0.0.2 with SMTP id vsciYY7687511xyMyrQ0681B; Wed, 17 Apr 2024 00:04:37 -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.web11.6895.1713337476991539052 for ; Wed, 17 Apr 2024 00:04:37 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-297--Tlad6VyNXqo3-2FtbZK8g-1; Wed, 17 Apr 2024 03:04:32 -0400 X-MC-Unique: -Tlad6VyNXqo3-2FtbZK8g-1 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (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 126E33C0ED69; Wed, 17 Apr 2024 07:04:32 +0000 (UTC) X-Received: from dobby.home.kraxel.org (unknown [10.39.192.214]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D69DA51EF; Wed, 17 Apr 2024 07:04:31 +0000 (UTC) X-Received: by dobby.home.kraxel.org (Postfix, from userid 1000) id 7D792EE008; Wed, 17 Apr 2024 09:04:26 +0200 (CEST) Date: Wed, 17 Apr 2024 09:04:26 +0200 From: "Gerd Hoffmann" To: "Wu, Jiaxin" Cc: "thomas.lendacky@amd.com" , "devel@edk2.groups.io" , "Ni, Ray" , "Zeng, Star" , Ard Biesheuvel , "Yao, Jiewen" , "Kumar, Rahul R" 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> <2kd4qwvgbbn4mhlagidemtwfr3uzdgokrf5t3ttsileexkgenf@lmcby5lxm7xs> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 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: Wed, 17 Apr 2024 00:04:37 -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: 3OweeVQ8YFduQzKStkt6tSXvx7686176AA= 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=MUllRDa8; 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.224.9 as permitted sender) smtp.mailfrom=bounce@groups.io On Tue, Apr 16, 2024 at 11:34:00AM +0000, Wu, Jiaxin wrote: > Hi Gerd, > > > Is the SmmRelocationLib approach supposed to work with mixed mode > > firmware where PEI is running in ia32 mode and dxe/smm is running > > in x64 mode (i.e. OvmfPkg/OvmfPkgIa32X64.dsc)? > > Yes, I passed the test on the both OvmfPkgIa32X64 & OvmfPkgX64 for SMM support. The OVMF library I assume? Did you try the AMD library too? > It does has the problem on OvmfPkgIa32 for smm support (same as > master). I did quick check, it's not only the CpuSaveState->x86 or > CpuSaveState->x64 structure issue, but also has some problem to > handler the smi hook return. We can handle this problem in another > topic. Yes, fixing ia32 can be done separately. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117897): https://edk2.groups.io/g/devel/message/117897 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] -=-=-=-=-=-=-=-=-=-=-=-