Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59871 )
Change subject: src/arch/x86/exit_car: Fix regression on x86_64 ......................................................................
src/arch/x86/exit_car: Fix regression on x86_64
The commit d023909b "treewide: Disable R_AMD64_32S relocation support" introduced clflush cbmem_top() instead of _cbmem_top_ptr, which isn't intended.
Fix that by providing the correct address to clflush.
Change-Id: If74591e7753cd9c3c097516430a212d416f53e4d Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/arch/x86/exit_car.S 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/59871/1
diff --git a/src/arch/x86/exit_car.S b/src/arch/x86/exit_car.S index 527a3cb..9b89ffb 100644 --- a/src/arch/x86/exit_car.S +++ b/src/arch/x86/exit_car.S @@ -62,7 +62,7 @@ btl $CPUID_FEATURE_CLFLUSH_BIT, %edx jnc skip_clflush #if ENV_X86_64 - movabs _cbmem_top_ptr, %rax + movabs $_cbmem_top_ptr, %rax clflush (%rax) #else clflush _cbmem_top_ptr