Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR
Change-Id: I4a4e988d38b548e1c88ffcc5f5ada2e91ff6ba91 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/cpu/x86/64bit/exit32.inc 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/48178/1
diff --git a/src/cpu/x86/64bit/exit32.inc b/src/cpu/x86/64bit/exit32.inc index 6722cfd..d35eb13 100644 --- a/src/cpu/x86/64bit/exit32.inc +++ b/src/cpu/x86/64bit/exit32.inc @@ -24,8 +24,9 @@
drop_longmode: /* Ensure cache is clean. */ +#if defined(__RAMSTAGE__) wbinvd - +#endif /* Set 32-bit code segment and ss */ mov $CODE_SEG, %rcx /* SetCodeSelector32 will drop us to protected mode on return */
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48178/4/src/cpu/x86/64bit/exit32.in... File src/cpu/x86/64bit/exit32.inc:
https://review.coreboot.org/c/coreboot/+/48178/4/src/cpu/x86/64bit/exit32.in... PS4, Line 27: #if defined(__RAMSTAGE__) maybe !ENV_ROMSTAGE_OR_BEFORE?
Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48178
to look at the new patch set (#5).
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR
Change-Id: I4a4e988d38b548e1c88ffcc5f5ada2e91ff6ba91 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/cpu/x86/64bit/exit32.inc 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/48178/5
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48178/4/src/cpu/x86/64bit/exit32.in... File src/cpu/x86/64bit/exit32.inc:
https://review.coreboot.org/c/coreboot/+/48178/4/src/cpu/x86/64bit/exit32.in... PS4, Line 27: #if defined(__RAMSTAGE__)
maybe !ENV_ROMSTAGE_OR_BEFORE?
Done
Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48178
to look at the new patch set (#7).
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR
Change-Id: I4a4e988d38b548e1c88ffcc5f5ada2e91ff6ba91 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/cpu/x86/64bit/exit32.inc 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/48178/7
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48178/7/src/cpu/x86/64bit/exit32.in... File src/cpu/x86/64bit/exit32.inc:
https://review.coreboot.org/c/coreboot/+/48178/7/src/cpu/x86/64bit/exit32.in... PS7, Line 26: ENV_ROMSTAGE_OR_BEFORE sry: !ENV_CACHE_AS_RAM is even better.
Hello build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48178
to look at the new patch set (#8).
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR
Change-Id: I4a4e988d38b548e1c88ffcc5f5ada2e91ff6ba91 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com --- M src/cpu/x86/64bit/exit32.inc 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/48178/8
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
Patch Set 8: Code-Review+2
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
Patch Set 8:
(1 comment)
https://review.coreboot.org/c/coreboot/+/48178/7/src/cpu/x86/64bit/exit32.in... File src/cpu/x86/64bit/exit32.inc:
https://review.coreboot.org/c/coreboot/+/48178/7/src/cpu/x86/64bit/exit32.in... PS7, Line 26: ENV_ROMSTAGE_OR_BEFORE
sry: !ENV_CACHE_AS_RAM is even better.
Done
Patrick Rudolph has submitted this change. ( https://review.coreboot.org/c/coreboot/+/48178 )
Change subject: cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR ......................................................................
cpu/x86/64bit/exit32.inc: Don't invalidate cache in CAR
Change-Id: I4a4e988d38b548e1c88ffcc5f5ada2e91ff6ba91 Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/48178 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Arthur Heymans arthur@aheymans.xyz --- M src/cpu/x86/64bit/exit32.inc 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Arthur Heymans: Looks good to me, approved
diff --git a/src/cpu/x86/64bit/exit32.inc b/src/cpu/x86/64bit/exit32.inc index 6722cfd..91cccb5 100644 --- a/src/cpu/x86/64bit/exit32.inc +++ b/src/cpu/x86/64bit/exit32.inc @@ -23,9 +23,10 @@ #endif
drop_longmode: +#if !ENV_CACHE_AS_RAM /* Ensure cache is clean. */ wbinvd - +#endif /* Set 32-bit code segment and ss */ mov $CODE_SEG, %rcx /* SetCodeSelector32 will drop us to protected mode on return */