Re: [edk2-devel] [PATCH] OvmfPkg/ResetVector: Fix assembler bit test flag check

2023-09-19 Thread Lendacky, Thomas via groups.io
On 9/19/23 02:59, Gerd Hoffmann wrote: On Fri, Jul 14, 2023 at 03:28:26PM -0500, Tom Lendacky wrote: Commit 63c50d3ff2854a76432b752af4f2a76f33ff1974 changed the check that is used to determine if SEV-ES is active. Originally, a CMP instruction with a supporting JZ instruction was used for the

Re: [edk2-devel] [PATCH] OvmfPkg/ResetVector: Fix assembler bit test flag check

2023-09-19 Thread Gerd Hoffmann
On Fri, Jul 14, 2023 at 03:28:26PM -0500, Tom Lendacky wrote: > Commit 63c50d3ff2854a76432b752af4f2a76f33ff1974 changed the check that is > used to determine if SEV-ES is active. Originally, a CMP instruction with > a supporting JZ instruction was used for the check. It was changed to use > the BT

Re: [edk2-devel] [PATCH] OvmfPkg/ResetVector: Fix assembler bit test flag check

2023-07-14 Thread Ard Biesheuvel
On Fri, 14 Jul 2023 at 22:28, Tom Lendacky wrote: > > Commit 63c50d3ff2854a76432b752af4f2a76f33ff1974 changed the check that is > used to determine if SEV-ES is active. Originally, a CMP instruction with > a supporting JZ instruction was used for the check. It was changed to use > the BT

[edk2-devel] [PATCH] OvmfPkg/ResetVector: Fix assembler bit test flag check

2023-07-14 Thread Lendacky, Thomas via groups.io
Commit 63c50d3ff2854a76432b752af4f2a76f33ff1974 changed the check that is used to determine if SEV-ES is active. Originally, a CMP instruction with a supporting JZ instruction was used for the check. It was changed to use the BT instruction but not JZ instruction. The result of a BT instruction