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 A976374003B for ; Thu, 21 Sep 2023 11:42:56 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=a3I26s6VW5JmnvvhSR8QZfKfZo/77S5Tmcd7Ms+/pdY=; 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=1695296575; v=1; b=kcFCpwi7T36hm4+S+Rdm/q7QGzddWD4ewalPsTlrGcvL1BvzsjX3a/d+E0tcRPdUWugGZHcC c0QJmn9uTk01cbkSX6utjWZXQsUVlbYlg5+mFeZlPE5fkkrZO3HMlmhaNGbEwYWvIIaurHqZanZ TVfJDx1+K5IBpe4f2LRlSr3E= X-Received: by 127.0.0.2 with SMTP id vl9eYY7687511xizVlvXb1xF; Thu, 21 Sep 2023 04:42:55 -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.14524.1695296574378494823 for ; Thu, 21 Sep 2023 04:42:54 -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 14CD9B82013 for ; Thu, 21 Sep 2023 11:42:52 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4112C4AF7B for ; Thu, 21 Sep 2023 11:42:50 +0000 (UTC) X-Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2c135cf2459so1761791fa.0 for ; Thu, 21 Sep 2023 04:42:50 -0700 (PDT) X-Gm-Message-State: KwLPxZn3AKqFokuhiTLacAKmx7686176AA= X-Google-Smtp-Source: AGHT+IEyn3s37mdQ9C6JBqsgCtUr2N4ud+eP1gWO2LOAjgmXFmS4E/MR5R2RWvisIHInVzzhU2IJtxu34H6rp/Hxz9s= X-Received: by 2002:a2e:8785:0:b0:2bf:7dac:a51 with SMTP id n5-20020a2e8785000000b002bf7dac0a51mr4378232lji.51.1695296568852; Thu, 21 Sep 2023 04:42:48 -0700 (PDT) MIME-Version: 1.0 References: <20230629100847.1132-1-dun.tan@intel.com> In-Reply-To: From: "Ard Biesheuvel" Date: Thu, 21 Sep 2023 11:42:37 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [Patch V8 00/14] Subject: [Patch V8 00/14] Use CpuPageTableLib to create and update smm page table To: "Tan, Dun" Cc: "devel@edk2.groups.io" , "Ni, Ray" , "Kinney, Michael D" 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=kcFCpwi7; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=kernel.org (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, 21 Sept 2023 at 10:10, Tan, Dun wrote: > > Hi Ard, > > Could you send me your build and boot command? > > I think the paging mode for IA32 smm should be PagingPae instead of 'Paging32bit'. Also in previous code logic before my patch PagingPae is created for IA32 smm. > Build like this build -p OvmfPkg/OvmfPkgIa32.dsc -b DEBUG -a IA32 -t GCC5 \ -D SMM_REQUIRE -D SECURE_BOOT_ENABLE -D DEBUG_ON_SERIAL_PORT and boot like this qemu-system-x86_64 -M q35,smm=on -serial stdio \ -drive if=pflash,file=Build/OvmfIa32/DEBUG_GCC5/FV/OVMF_CODE.fd \ -drive if=pflash,file=Build/OvmfIa32/DEBUG_GCC5/FV/OVMF_VARS.fd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108940): https://edk2.groups.io/g/devel/message/108940 Mute This Topic: https://groups.io/mt/99847923/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-