coreboot-kgpe-d16/src
Kangheui Won 5f027fa4c2 soc/amd/picasso: copy local info to transfer buf
We added transfer_info_struct to contain various information about
memory region we pass from PSP to x86 in commit 0c12abe462.

This should be at the start of transfer region but we only manipulated
it as local variable and didn't put data into the region, resulting
garbage data for transfer_info when x86 tries to read it.

Copy the content of local variable to beginning of _transfer_buffer
before requesting transfer to PSP so coreboot on x86 can access it.

BUG=b:159220781
BRANCH=zork
TEST=check transfer_info_struct is correctly populated on romstage

Signed-off-by: Kangheui Won <khwon@chromium.org>
Change-Id: I14bc34e6af501240a6f633db3999a7759e88d60b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44751
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-09-14 07:08:39 +00:00
..
acpi src/acpi: Drop unneeded empty lines 2020-08-24 09:16:59 +00:00
arch memory_info: add max_speed_mts and configured_speed_mts 2020-09-03 21:27:54 +00:00
commonlib src: Remove incorrect x86 exception not from TS_DONE_LOADING description 2020-08-28 06:07:37 +00:00
console ec/system76: Add console support 2020-09-07 21:46:34 +00:00
cpu cpu/intel/model_1067x: enable PECI 2020-09-12 10:50:33 +00:00
device device: Add method to configure bus mastering based on Kconfig 2020-08-31 18:34:22 +00:00
drivers include/console/uart: make index parameter unsigned 2020-09-12 14:59:33 +00:00
ec src/ec: Drop unneeded empty lines 2020-09-11 17:07:03 +00:00
include include/superio/hwm5_conf.h: Fix copy-pasted comments 2020-09-14 07:08:03 +00:00
lib lib/Makefile.inc: fix hex-to-bin conversion of SPD files 2020-09-10 17:30:00 +00:00
mainboard mb/google/dedede/var/boten: Add audio configuration 2020-09-14 07:07:24 +00:00
northbridge nb/intel/ironlake: Use an enum for gpu_panel_port_select 2020-09-08 05:27:26 +00:00
security security/intel/txt/getsec.c: Do not check lock bit 2020-08-30 19:26:48 +00:00
soc soc/amd/picasso: copy local info to transfer buf 2020-09-14 07:08:39 +00:00
southbridge sb/intel/lynxpoint/acpi: Do not determine PCH type at runtime 2020-09-14 07:07:12 +00:00
superio src/superio: Use 'PNP_IDX_*' macros instead of magic numbers 2020-09-11 22:19:38 +00:00
vendorcode src/vendorcode/intel/fsp/fsp2_0/cpx-sp: add prev boot error info HOB header file 2020-09-14 07:05:41 +00:00
Kconfig Kconfig: Update ASan config options 2020-08-21 07:42:21 +00:00