From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id D7A5B740032 for ; Fri, 19 Jul 2024 00:57:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=C+JpbCIIpErTP0SOWodPes+zpwUPWw8LipaE1qZ9J2k=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:User-Agent:Subject:To:CC:References:From:In-Reply-To:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1721350654; v=1; b=Fd+Tcb7eLz3xSecIfyvP9VFK47RN/QuaRWt3iqm81ywNWCWtE8PEL/kbFEclBQfDG9Sf9tJr l72QHeo9S6nBfIedovigxwTOe7m0XmysGYmGs0uIbQAklDQEuAd+bG4POmOcprA030ZEHFDN24F hvhxH46tBZ1DYtMqAa2h1L8R19NgP0bgj5PB6PYja8AvBu6VJ6cIN25tpWdHWiwFaE4cybaUX45 De5vSNfOTqC+lTuAb1DBoNjioX9QQZk62U9krOzYYAEQmpfbH0OBFJsvJyPmtw7vFNeGzLG4Ek3 JqEBSmQ+A3NBGJmkscA24m3luVHPdq0UTb/PzW5BIGnMA== X-Received: by 127.0.0.2 with SMTP id YgFzYY7687511xOZPyBy4W3a; Thu, 18 Jul 2024 17:57:33 -0700 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.84]) by mx.groups.io with SMTP id smtpd.web10.8889.1721350652581688694 for ; Thu, 18 Jul 2024 17:57:32 -0700 X-Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by CH0PR12MB8529.namprd12.prod.outlook.com (2603:10b6:610:18d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.19; Fri, 19 Jul 2024 00:57:27 +0000 X-Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52%7]) with mapi id 15.20.7784.017; Fri, 19 Jul 2024 00:57:25 +0000 Message-ID: Date: Thu, 18 Jul 2024 19:57:27 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [edk2-devel] [PATCH 1/3] OvmfPkg/PlatformInitLib: Detect FlashNvVarStore before validate it To: =?UTF-8?B?6Z+p6YeM5rSL?= , devel@edk2.groups.io CC: erdemaktas@google.com, jejb@linux.ibm.com, jiewen.yao@intel.com, min.m.xu@intel.com, kraxel@redhat.com References: <20240714122455.136148-1-wojiaohanliyang@163.com> <20240714122455.136148-2-wojiaohanliyang@163.com> <5c722bb7-e1cb-9f4d-f9e2-48b0a99db781@amd.com> <7dc6b311-69d0-69c6-77ee-65b945ee1b5c@amd.com> <1a14dc5e.26b5.190be867682.Coremail.wojiaohanliyang@163.com> From: "Lendacky, Thomas via groups.io" In-Reply-To: <1a14dc5e.26b5.190be867682.Coremail.wojiaohanliyang@163.com> X-ClientProxiedBy: SA9PR13CA0143.namprd13.prod.outlook.com (2603:10b6:806:27::28) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|CH0PR12MB8529:EE_ X-MS-Office365-Filtering-Correlation-Id: 44525811-cf0b-4f90-4d33-08dca78dc176 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?wKDqYhAkBI8HcmMmPyIuPfau6622glpFp1vzsg3IFqgEzJ22X24M0uPclB+a?= =?us-ascii?Q?CsWU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YgqHULcP5szeeJANDjD?= =?us-ascii?Q?kW9gILPbrfQmCtzK+qsKlfg58pWMVAf5O3PivSlBzQR6CPFe0cVMizeFsKdH?= =?us-ascii?Q?BtdE9g6WzcW6sC+lZ0/6CZpySfNOhwJ2QLpXhqJ+M1Ep5455q7gzlqCMhIgC?= =?us-ascii?Q?kqBWzTHv4ohMhgS2yq9SPqTLNiYcUZ95rvZfSnMzuAH68Sa6B7KH2xcyvMRg?= =?us-ascii?Q?bWsiMYrYAfC9nsabgVfLAkrL2ZcP0MSb/PX9lfXZZqux5b9PelJwZIH4sP4b?= =?us-ascii?Q?LsJUm3BZ5qpylDXG0d/T1q7TB5XHiWm7tAUyxN3rdWcIi0GVxIy8BV6uHxiO?= =?us-ascii?Q?3PjclD5QSaZXKutAysD4RQgyuAYSUMeSCTmqvt6gfl0Tw+/zJmwepJVs3fxn?= =?us-ascii?Q?LMg=3D?= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?gW0bjtD4nifxC8dAMMyfhVdhUeWABjVMdmRcOteH9iFgaBM67h2q8vhcCDwe?= =?us-ascii?Q?VMyR2QOU+k0svJLOz3TvvnEJA866QGg+FUcQQiEoHpMmOLF3Ewb5nUXmvDak?= =?us-ascii?Q?LvH5svq9D+Bh/dEi3lu0r85YtrSBhBfVQTUL/jHSUEEINIt+NjS1Cq0xvHW4?= =?us-ascii?Q?x3M4euBDLAHNmAmZqx0modQqO090vVUJ6eFadtfOVZMDBpXo84RBmAlJPZ1d?= =?us-ascii?Q?L/gf8kchnI7N+Q3sbxDIyvwDgoGnPYrL8npwJAPI6ZT9a67q+EvLjddXO95v?= =?us-ascii?Q?E+6E4yJZetBFM0d5pWy5EGst86mA4yyfqPzYmkCAtXIkuf/VP5Y59Vf8ChVW?= =?us-ascii?Q?GWn9idcFJnrZWYXR35KqKg505VNQVEWH+sv6QvFMTUvHwQfb1nv2Dvmo3e63?= =?us-ascii?Q?D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Z0Rm4EU+SrPDr3H?= =?us-ascii?Q?pgWMqhTO+VJetmiJ57mODZFG657hhxxDOnYh2Gk8ktqpzArmdl3uJPGWedyU?= =?us-ascii?Q?UMfoBv8zq42Cr5s5bYT/wyQqc0UT9Qu1Hngvmqkk2drA44lmAPNKllYsuW1T?= =?us-ascii?Q?tbyxxXdo4Gg3eNkYslXtHDTDwP04pbdEQ1CbfaEuSVjYKZMrozs2x//0dXvX?= =?us-ascii?Q?kYowqT310TCLBGewF230RBxgql943pJQEMFTC4AdYt81AtpnXf39C83MS6W/?= =?us-ascii?Q?7CwQC21a6n3hHDoCyqB5ZM5v00nkLO3ppfmXPc9G?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44525811-cf0b-4f90-4d33-08dca78dc176 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2024 00:57:25.8710 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yrVJODdJilvGt19iwKmKFbdNyreAz+BVGP0akN+njCXAUjKKhg/Syk4s/AbW0JpuWal2W98hJ9zuaA2HWjodbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB8529 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, 18 Jul 2024 17:57:32 -0700 Resent-From: thomas.lendacky@amd.com Reply-To: devel@edk2.groups.io,thomas.lendacky@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: ZZS1ltYjbc8GMFYsCsYckhJvx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Fd+Tcb7e; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On 7/16/24 21:30, =E9=9F=A9=E9=87=8C=E6=B4=8B wrote: > Hi Tom, >=20 >=20 >=20 >=20 > Thank you for your response. >=20 > In fact, I'm unable to proceed with the development of the fix patch loca= lly as I don't have a SEV-SNP hardware for experimentation. However, it has= proven to be crucial for effectively testing and completing the patch. >=20 > Given your expertise and potentially available hardware, would your team = be able to take over the fixing of this issue? (bugzilla: https://bugzilla.= tianocore.org/show_bug.cgi?id=3D4807 ) Secure Boot is not supported under SEV-ES and SEV-SNP because SMM is required in order for Secure Boot to be secure. And SMM is not supported under SEV-ES and SEV-SNP because the hypervisor is not allowed to alter the vCPU register state that is needed to use SMM. Thanks, Tom >=20 > Thank you very much for your time and consideration. >=20 > Best regards, >=20 > hanliyang >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119977): https://edk2.groups.io/g/devel/message/119977 Mute This Topic: https://groups.io/mt/107212942/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-