coreboot/src/cpu/amd
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
..
agesa vendorcode/amd/agesa: Tidy up gcccar.inc 2017-07-15 16:10:19 +00:00
car cpu/amd: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:34 +00:00
dualcore cpu/amd: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:34 +00:00
family_10h-family_15h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
geode_gx2 cpu/amd: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:34 +00:00
geode_lx cpu/amd: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:34 +00:00
microcode src/cpu: Add required space before opening parenthesis '(' 2016-08-28 18:47:23 +02:00
model_fxx K8: Fix indirect includes 2017-07-14 07:23:18 +00:00
mtrr cpu/*: Add whitespace around '<<' 2017-06-28 00:23:32 +00:00
pi binaryPI: Disable CAR with empty stack 2017-07-17 19:31:09 +00:00
quadcore cpu/amd: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:34 +00:00
smm x86 SMM: Fix use with RELOCATABLE_RAMSTAGE 2016-12-11 08:56:40 +01:00
socket_754 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_939 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_940 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_AM2 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_AM2r2 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_AM3 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_ASB2 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_C32 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_F x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_F_1207 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_FM2 cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
socket_G34 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_S1G1 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
Kconfig cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
Makefile.inc cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00