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 E4459AC1794 for ; Thu, 27 Jul 2023 15:40:47 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zgDuGbguJwuebXHTUdCLCtWCuQw+67PLjvS9yE+iwe8=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-Received:X-Received:X-Received:X-WM-Sender:X-Originating-IP:X-WM-AuthFlag:X-WM-AuthUser:From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:X-Gm-Message-State:Content-Transfer-Encoding; s=20140610; t=1690472446; v=1; b=rzQq9kCvNjhDUT0cyRG9Pom1IUq1+9UQKAU8oXXtaKV4Gg6ZkGfYTfrbqrubL0VoL6iKrcTt l+QvUbiXt3yWssmQDtFiQ6zBD2qTomdVX8jghl5z4MGvTCfnKGPzod+SksqbdVN0tb/jjRPoRpZ UHFO9eWdsXgHkypi9/EASYXA= X-Received: by 127.0.0.2 with SMTP id PJJvYY7687511xlsD6M9iBnE; Thu, 27 Jul 2023 08:40:46 -0700 X-Received: from zrleap.intel-email.com (zrleap.intel-email.com [114.80.218.36]) by mx.groups.io with SMTP id smtpd.web11.7450.1690364898123097545 for ; Wed, 26 Jul 2023 02:48:19 -0700 X-Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 7FFDDA32E0C6 for ; Wed, 26 Jul 2023 17:48:12 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id E3C86A32E0A6 for ; Wed, 26 Jul 2023 17:48:11 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by zrleap.intel-email.com (Postfix) with SMTP id AF430A32E0B7 for ; Wed, 26 Jul 2023 17:48:09 +0800 (CST) X-Received: from localhost.localdomain ([58.240.103.249]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 26 Jul 2023 17:48:06 +0800 X-WM-Sender: xueshengfeng@byosoft.com.cn X-Originating-IP: 58.240.103.249 X-WM-AuthFlag: YES X-WM-AuthUser: xueshengfeng@byosoft.com.cn From: "xueshengfeng via groups.io" To: devel@edk2.groups.io, eric.dong@intel.com, ray.ni@intel.com, rahul1.kumar@intel.com, kraxel@redhat.com, debkumar.de@intel.com, catharine.west@intel.com Cc: mingliangx.wu@intel.com, Wu Subject: [edk2-devel] [PATCH V1 1/1] UefiCpuPkg/ResetVector: Cache Disable should not be set by default in CR0 Date: Wed, 26 Jul 2023 17:47:54 +0800 Message-Id: <20230726094754.171-1-xueshengfeng@byosoft.com.cn> MIME-Version: 1.0 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,xueshengfeng@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: nLVEBAX60342pucq1ZeVQHfvx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rzQq9kCv; dmarc=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 From: "Wu, MingliangX" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4511 With 64 bit build we are seeing the CD in control register CR 0 set. This causes the NEM to disabled for some specific bios profiles. Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Debkumar De Cc: Catharine West Signed-off-by: Wu, Mingliang --- UefiCpuPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm b/UefiCp= uPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm index f59fc6ead4ba..4af2e875c31c 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm +++ b/UefiCpuPkg/ResetVector/Vtf0/Ia16/Real16ToFlat32.asm @@ -7,7 +7,7 @@ ; ;-----------------------------------------------------------------------= ------- =20 -%define SEC_DEFAULT_CR0 0x40000023 +%define SEC_DEFAULT_CR0 0x00000023 %define SEC_DEFAULT_CR4 0x640 =20 BITS 16 --=20 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107303): https://edk2.groups.io/g/devel/message/107303 Mute This Topic: https://groups.io/mt/100367559/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-