Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44922 )
Change subject: arch/x86/exit_car.S: Fix checking clflush support ......................................................................
arch/x86/exit_car.S: Fix checking clflush support
The BT instruction stores it result in CF and not ZF so use the correct jump instruction.
Change-Id: I704e3c579150fb9b9a292ef0e83050e7bf7cb078 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/arch/x86/exit_car.S 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/44922/1
diff --git a/src/arch/x86/exit_car.S b/src/arch/x86/exit_car.S index dc356b2..fae7899 100644 --- a/src/arch/x86/exit_car.S +++ b/src/arch/x86/exit_car.S @@ -59,7 +59,7 @@ movl $1, %eax cpuid btl $CPUID_FEATURE_CLFLUSH_BIT, %edx - jz skip_clflush + jnc skip_clflush clflush _cbmem_top_ptr
skip_clflush: