From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by mx.groups.io with SMTP id smtpd.web12.11085.1644604299969571726 for ; Fri, 11 Feb 2022 10:31:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=cd7OEaaf; spf=permerror, err=parse error for token &{10 18 stspg-customer.com}: limit exceeded (domain: oracle.com, ip: 205.220.165.32, mailfrom: aaron.young@oracle.com) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21BHwNHQ023128 for ; Fri, 11 Feb 2022 18:31:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=x4tReILOQiK3+EvBVwtHRy3zrRkWHqv+g6HwT6G75JI=; b=cd7OEaafbS5ZkHzChmxtfHZE/NMBwQV2kDD+XB5KXm/8kN09r4oL/Ubd7rfhJDyZ8NPo bq2xxq2HdhiZ59kHBrigeNT/0NwGo2kWqIvEYejuBkdsfJfclPZxFywnDnHcWEgNAVCj bx6AQUumvXbocHGz0+XL+73uN/QAElg7Ho3xnLaeYNrQnGHX8KqmdTkcb63dhttS557A 5wUk2JWwxuRcZ7ibXBG1lp4SWpqhZrBNQFpVhFUSeoXzye9Dm8IFjC6wZ+b2nhmRimLL A8SSUXPVlCvJYBxs5M+cGyMs3IgM6uph1AVT4mfImwd50QB9Ltpzr8SClLKd/yZrJ0D6 EQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3e5pmv9108-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 11 Feb 2022 18:31:39 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21BIFi9C015282 for ; Fri, 11 Feb 2022 18:31:38 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2171.outbound.protection.outlook.com [104.47.56.171]) by aserp3020.oracle.com with ESMTP id 3e1h2cv40f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 11 Feb 2022 18:31:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bNIpMQCyMrJbyMvkcY1fHmDfvO2c6l1N1/d2sJP1lVgIo7J38Q6aIJP4V7uM3mn2BYALacrLBybVuPASVsmCmCxV15TcyCmqNw5+zfehiebEYPdnAVeJ44kMEr+i0qudC0ZbpVZc60HIpYX/pmQVwOpUG+oZcWcYhAnDx1eJZCKfPHUDnJ9wEz1aIOt4LzNkqAZfyBhqSpR/eVUfxY8OEoi0Oje+K7FuteJUK9llArGHhNsHee6hHVFyd1oqXAA5azdtqjVW0JoQ6WhAygCGfGkan0/2gj5vwKisxWn5iU0c6KRy2IjFolrql7EbQwynVBsGobQvms/J5av/KUaKpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=x4tReILOQiK3+EvBVwtHRy3zrRkWHqv+g6HwT6G75JI=; b=dWJ/an1TFQFWfjK0SiHcydH/wKiOUdFDYEx/eyTFB2DZLmNvTNgRXJh7L1GqPfDGMofpbG69aWPEo0NtQSlby0wEWpkOTvu4gMfIPcs/v1wAA3T01IuK360eyJIB7ZhG8k99sgfxqiWolinWfMRYNX2HU3WVGpg9uLR0rdwfRY3pNizm/UEMcnKeDiKra2ayGpsEGgEi2oA2gJjC/+wTNvSI3tLG9G4MYNFnCmo40hqXLkhNuQR5DZPsPmpugj953l6gqBn0LpGy+C7z01a8uTYxrE1ogrh1m3k29ZcyaNDQaKtPU4Gf8obvK14hhK6ytdjfzA31GKz4R4AUl6Ox2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x4tReILOQiK3+EvBVwtHRy3zrRkWHqv+g6HwT6G75JI=; b=EJrD9ikcQe35VMyhiD8iPmqL6lc9bazRkmLg0sMov/nj5EE6tulaErg/MmxzMCzF4NJXbae4xiVxseKsRBJ6cb0h57E/EkSTA9SlT13rYsholZa+uBhVrCnyopitSBzGzoO+9xiKpB8e2MsTVOTqR87bfEDmK/sYKWTedx2n328= Received: from MWHPR1001MB2062.namprd10.prod.outlook.com (2603:10b6:301:2f::30) by CH2PR10MB3766.namprd10.prod.outlook.com (2603:10b6:610:a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Fri, 11 Feb 2022 18:31:35 +0000 Received: from MWHPR1001MB2062.namprd10.prod.outlook.com ([fe80::4110:a062:5fee:60d4]) by MWHPR1001MB2062.namprd10.prod.outlook.com ([fe80::4110:a062:5fee:60d4%5]) with mapi id 15.20.4951.018; Fri, 11 Feb 2022 18:31:35 +0000 From: "Aaron Young" To: "devel@edk2.groups.io" CC: Aaron Young Subject: Regression found with latest edk2/OVMF SECUREBOOT/SMM build Thread-Topic: Regression found with latest edk2/OVMF SECUREBOOT/SMM build Thread-Index: AQHYH3U+HevRMgKYxUW8uLIoexuHXA== Date: Fri, 11 Feb 2022 18:31:35 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 6b4bac68-5124-a2ac-cff4-b3010d546905 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a7dd2fea-a987-474d-bfa8-08d9ed8cbc1a x-ms-traffictypediagnostic: CH2PR10MB3766:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:586; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: djVF2iVTHGoqG6ZP9SKc8SOw9RX4bjHTO020emEj7YHT4p4ZGz8CHOwsOHsWMhCKFIKDn7DXF0+Y2vjAg6UZnI7Cv0GQTBg6Mra9svo4bq7DOsdolUfZ5eJ2zRr+WSQQ9H9RaNN7oSNOZqszNR0x+/7FIyMCRqdQhHSiM9P86pvlD9Q5nxS0U7wKK3kfhf6J3QQRa/XOs/nuztYDeGqbZQZfOanOOwzFx87VMmPgWIajxXfLAlE1or+VAnQ7IP0nWSJCeTpioz5717/J09nSR/OHA62frpw5g4FwxwEwcjqJ+OsCePqf2Y2MMLquZgbRAKoFKcfPW4WE+Rg6fflriuyeoDMyshcFH7BdKd9GAI0mz0UsLgIOBKGFWmjHxO9ZIZK2bcN4dbNLXMhGnOU91KI88mYPgOSOWdvUsovawr9fQXo5I78KgGCKa52vlDuMxuUBdDFOuFup1SHPZFDrT5XlX300Gxr249IP3AkHZnEaqwb+Oc1A2TbThNWhsUP2NtLAi5xZebFlJtO+H1TI5RQuyQwZYMRpbF+9J64jqMNqEhKseLCAWZVBy+mM9pvAlfE9POIIL+ubNgqXNGp/nnIXBy83rPnGMLX2GttHo8USll1uYDEAETu3dGTZ/DU2IQZwYhNnOlNNWdWp2gBPcR/Pt9+3RsK9qaNCp7CSpDAQM+gjTOKoQbqKtjvBCUT07D3Hkjr9/04HxWqkS2N/kZc3S7xBOZqJxumGAbsw7aLVS5JTy+IbUIkQwwHgumoPT9Ysz00ti367ciJIprfyMckUtNt25R19bROVVl3j4vg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2062.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(86362001)(55016003)(83380400001)(19627235002)(966005)(316002)(122000001)(508600001)(6916009)(38100700002)(52536014)(9686003)(186003)(2906002)(8676002)(8936002)(6506007)(7696005)(66946007)(4326008)(64756008)(66446008)(66476007)(33656002)(44832011)(71200400001)(5660300002)(66556008)(38070700005)(91956017)(76116006)(107886003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?tJnEx0ehd4rBaPaOlggQlWfGdQBxF1cUasNpARAkTaTE6j6kdqQwHCv5RF?= =?iso-8859-1?Q?l30NBixoJwu4tascP/Jo0yoqx4rpuxv2JCC02MAJPTa61jSX0FBAXOosSP?= =?iso-8859-1?Q?P1YvZNnMYL1aVYJB6fM6VfV3TOeFOIEpKOwSuVFAbF5bU6W7+MPPgylD+y?= =?iso-8859-1?Q?77aLbijhCb64mB50xy1+Gh4PEkGOn+vCBQsZOG6sDA1xhw7aRZ+LpBjRlx?= =?iso-8859-1?Q?jScxOPQwEXUGHj1VtxxZIii5Z3LtDYPCAOdeTjjwtufq7VzmOTgES8+9Ck?= =?iso-8859-1?Q?oimNPaS2wjFAGOKSeZ7iiVjHgZkKtukc7TG6oOVcwctzE2MmtlJNGPX9tK?= =?iso-8859-1?Q?fDPGl39RTRSMM24yObJ7mnvo6acUNNeYPS/Xs1HsrHRWTCJlG0+zj/5m0w?= =?iso-8859-1?Q?wPFbwRnTZCpun3GDPJzd33vBxNBIDZmqRVwekRP/kbFw3mwhFAXhAFJcSg?= =?iso-8859-1?Q?AYwPw3+2CPFRVXCHK+S5zvVMtuK/Hn67+lNecaAnDnA/XzOhmNgLXe0oli?= =?iso-8859-1?Q?qZdzFs+FVZMXOLh8eJ17C4MFzbrxyXaHR8x6Nbl0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qRL9t+TRMm/VhG9IuCMlL/M+4zFbKIyRQA8Iypj?= =?iso-8859-1?Q?n7P6NgYltZYrq2r1kn5p3T/jH7PHpF8qS4xC2X9jBmVFPgf09z/oZ3fz6p?= =?iso-8859-1?Q?y6HGg/RqnLjBQdG49ucf/mwqEl2nEBn48qMuduuTlsPJW74o/LqOWSrG/z?= =?iso-8859-1?Q?SFPulKEGA3hMLYgvbX3DY3OPwbjdpYKaZZEI2ftOQUhrajN/h18iw0cgUV?= =?iso-8859-1?Q?NrO57JLWWmXsip0dP3uLMv/b200cZUoFnp+ZUVPa?= MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2062.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7dd2fea-a987-474d-bfa8-08d9ed8cbc1a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2022 18:31:35.5303 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EaTaMGzloZgFho51ltNz9iJxQQDaP4VavTEBmRlIBlOMWYmFB/FHl47KDJy9LgOXF4DkyvGT8h1vIUua0q1DCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR10MB3766 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10255 signatures=673431 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 bulkscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202110099 X-Proofpoint-GUID: bffcIOIZXPUsWMAd57a_9bNYx81PkGDO X-Proofpoint-ORIG-GUID: bffcIOIZXPUsWMAd57a_9bNYx81PkGDO Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, my apologies if this has already been discovered/discussed/address= ed, but we are seeing a reproducible exception with latest (c9b7c6e0cc7da76= b74bcdd8c90cef956d5ae971c) OVMF x86_64 build with SECURE_BOOT/SMM enabled:= =0A= =0A= Exception:=0A= =0A= !!!! X64 Exception Type - 06(#UD - Invalid Opcode) CPU Apic ID - 00000000 = !!!!=0A= RIP - 00000000000E0000, CS - 0000000000000038, RFLAGS - 0000000000010046= =0A= RAX - 0000000000000000, RCX - 000000007FED2920, RDX - 0000000000000000=0A= RBX - 000000007DB93D98, RSP - 000000007FF26718, RBP - 000000007FFE1630=0A= RSI - 000000007E9EE018, RDI - 0000000000000000=0A= R8 - 000000007FED3230, R9 - 0000000000000210, R10 - 000000000000002D=0A= R11 - 000000007FF26482, R12 - 000000007EAC2201, R13 - 000000007FFFD2B0=0A= R14 - 000000007FF26A88, R15 - 2000000000000000=0A= DS - 0000000000000020, ES - 0000000000000020, FS - 0000000000000020=0A= GS - 0000000000000020, SS - 0000000000000020=0A= CR0 - 0000000080010033, CR2 - 0000000000000000, CR3 - 000000007FF16000=0A= CR4 - 0000000000000668, CR8 - 0000000000000000=0A= DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000=0A= DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400=0A= GDTR - 000000007FED9000 000000000000004F, LDTR - 0000000000000000=0A= IDTR - 000000007FF20000 00000000000001FF, TR - 0000000000000040=0A= FXSAVE_STATE - 000000007FF26370=0A= !!!! Can't find image information. !!!!=0A= =0A= =0A= OVMF Debug Log tail:=0A= =0A= Stacks - 0x7FF21000=0A= mSmmStackSize - 0x6000=0A= PcdCpuSmmStackGuard - 0x1=0A= mXdSupported - 0x1=0A= One Semaphore Size =3D 0x40=0A= Total Semaphores Size =3D 0x1140=0A= PhysicalAddressBits =3D 40, 5LPageTable =3D 0.=0A= 5LevelPaging Needed - 0=0A= 1GPageTable Support - 0=0A= PcdCpuSmmRestrictedMemoryAccess - 1=0A= PhysicalAddressBits - 36=0A= Initialize IDT IST field for SMM Stack Guard=0A= InstallProtocolInterface: 26EEB3DE-B689-492E-80F0-BE8BD7DA4BA7 7FFC6100=0A= SMM IPL registered SMM Entry Point address 7FFE5274=0A= SmmInstallProtocolInterface: EB346B97-975F-4A9F-8B22-F8E92BB3D569 7FFC6040= =0A= SmmInstallProtocolInterface: 69B792EA-39CE-402D-A2A6-F721DE351DFE 7FFC6020= =0A= CpuSmm: SpinLock Size =3D 0x40, PcdCpuSmmMpTokenCountPerChunk =3D 0x40=0A= SmmInstallProtocolInterface: 5D5450D7-990C-4180-A803-8E63F0608307 7FFC6200= =0A= SmmInstallProtocolInterface: 1D202CAB-C8AB-4D5C-94F7-3CFCC0D3D335 7FFC6140= =0A= SMM CPU Module exit from SMRAM with EFI_SUCCESS=0A= SMM IPL closed SMRAM window=0A= InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 7DB93E18=0A= SmmInstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B 7FFE16C0= =0A= Loading SMM driver at 0x0007FECA000 EntryPoint=3D0x0007FECFE6C FvbServicesS= mm.efi=0A= =0A= =0A= Failure bisected to this commit:=0A= =0A= commit ade62c18f4742301bbef474ac10518bde5972fba=0A= Author: Brijesh Singh via groups.io =0A= Date: Thu Dec 9 11:27:42 2021 +0800=0A= =0A= OvmfPkg/MemEncryptSevLib: add support to validate system RAM=0A= =0A= BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3275=0A= =0A= =0A= Our build procedure:=0A= =0A= git clone git@linux-git.oraclecorp.com:QEMU/edk2.git edk2=0A= cd edk2=0A= git submodule update --init=0A= source ./edksetup.sh=0A= make -C BaseTools=0A= build -t GCC48 -D HTTP_BOOT_ENABLE -D FD_SIZE_4MB -D SECURE_BOOT_ENABLE -D = SMM_REQUIRE -D TPM2_ENABLE -a X64 -p OvmfPkg/OvmfPkgX64.dsc=0A= =0A= QEMU command:=0A= =0A= /usr/bin/qemu-system-x86_64 -name guest=3DGuest8 -m 8192 -smp 8,maxcpus=3D1= 6 -machine q35,accel=3Dkvm -drive file=3D/Src/EDK2/edk2-latest1/Build/OvmfX= 64/DEBUG_GCC48/FV/OVMF_CODE.fd,index=3D0,if=3Dpflash,format=3Draw,readonly = -drive file=3D/Src/EDK2/edk2-latest1/Build/OvmfX64/DEBUG_GCC48/FV/OVMF_VARS= .fd,index=3D1,if=3Dpflash,format=3Draw -drive file=3D/root/Test/Disks/Guest= 8.img,format=3Draw,if=3Dvirtio -debugcon file:ovmf_debug.log -global isa-de= bugcon.iobase=3D0x402 -monitor stdio -nodefaults -global ICH9-LPC.disable_s= 3=3D1 -serial telnet:127.0.0.1:4556,server -vnc 0.0.0.0:1=0A= =0A= -Aaron Young=0A= aaron.young@oracle.com=0A=