coreboot/src/cpu
Kyösti Mälkki bebd766f16 binaryPI: Disable CAR with empty stack
Calling disable_cache_as_ram() with valuables in stack is not
a stable solution, as per documentation AMD_DISABLE_STACK
should destroy stack in cache.

While we still preserve cache contents (there is wbinvd deep
inside AMD_DISABLE_STACK macro), we now actually do a stack
switch and much more closely meet the specification of CAR
teardown sequence in AGESA specifications.

We now somewhat incorrectly include files from agesa/ tree,
but the whole agesawrapper.c file removal will address the
issue of overall directory layout.

Change-Id: I2bac098099c1caffea181356c63924f4b5a93b54
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/18525
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-07-17 19:31:09 +00:00
..
allwinner Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
amd binaryPI: Disable CAR with empty stack 2017-07-17 19:31:09 +00:00
armltd vboot2: add verstage 2015-01-27 01:41:40 +01:00
dmp src/cpu: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:25 +00:00
intel Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
qemu-power8 cpu/qemu-power8: don't enable it for qemu-x86 2016-02-19 20:03:52 +01:00
qemu-x86 qemu-x86: Enable SMP support 2015-12-08 15:54:27 +01:00
ti Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
via cpu/*: Add whitespace around '<<' 2017-06-28 00:23:32 +00:00
x86 src/cpu: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:25 +00:00
Kconfig arch/x86: remove CAR global migration when postcar stage is used 2017-04-08 23:22:02 +02:00
Makefile.inc Microcode: Show a useful warning when microcode bins are missing 2016-12-28 03:36:10 +01:00