coreboot/src
Felix Held 46e6a5883e Revert "drivers/intel/fsp2_0: use FSP to allocate APEI BERT memory region"
This reverts commit ce0e2a0140 which was
originally introduced as a workaround for the bug that the Linux kernel
doesn't know what to do with type 16 memory region in the e820 table
where CBMEM resides and disallowed accessing it. After depthcharge was
patched to mark the type 16 region as a normal reserved region, the
Linux kernel now can access the BERT region and print BERT errors. When
SeaBIOS was used as payload it already marked the memory region
correctly, so it already worked in that case.

After commit 8c3a8df102 that removed the
usage of the BERT memory region reserved by the FSP driver by the AMD
Picasso and Cezanne SoCs and made them use CBMEM for the BERT region,
no other SoC code uses this functionality. The Intel Alderlake and
Tigerlake SoCs put the BERT region in CBMEM and never used this reserved
memory region and the change for the Intel server CPU to use this was
abandoned and never landed in upstream coreboot. AMD Stoneyridge is the
only other SoC/chipset that selects ACPI_BERT, but since it doesn't
select or use the FSP driver, it also won't be affected by this change.

TEST=Behavior of the BERT code doesn't change on Mandolin

Change-Id: I6ca095ca327cbf925edb59b89fff42ff9f96de5d
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56163
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-07-12 17:34:00 +00:00
..
acpi acpi: Add function to simplify If (CondRefOf (..)) sequences 2021-07-12 07:34:44 +00:00
arch ppc64/byteorder.h: define use of big endian 2021-07-09 11:46:30 +00:00
commonlib timestamp,vc/google/chromeos/cr50: Add timestamp for enable update 2021-07-05 10:50:06 +00:00
console Asm code: Use NO_EARLY_BOOTBLOCK_POSTCODES to remove Asm port80s 2021-06-25 15:51:20 +00:00
cpu cpu/amd/*/model_*_init: use mca_get_bank_count() 2021-07-12 13:33:03 +00:00
device device: Reflow strings in printk statements 2021-07-05 10:52:19 +00:00
drivers Revert "drivers/intel/fsp2_0: use FSP to allocate APEI BERT memory region" 2021-07-12 17:34:00 +00:00
ec ec/google: Use EC_HOST_EVENT_NONE 2021-06-30 04:57:16 +00:00
include include/cpu/x86/msr: fix MCG_CTL_P definition 2021-07-12 15:45:06 +00:00
lib selfboot: Add support for selfload in romstage 2021-07-02 00:47:23 +00:00
mainboard mb/google/brya: Update generic device number for mipi_camera device 2021-07-12 15:16:40 +00:00
northbridge nb/intel/x4x: Expose x86_64 support 2021-07-06 06:09:48 +00:00
security security/intel/txt: add missing cpu/x86/msr.h include 2021-07-12 15:29:29 +00:00
soc soc/amd/*/mca: use mca_get_bank_count() 2021-07-12 15:29:13 +00:00
southbridge sb/intel/i82801gx: Prepare for x86_64 2021-07-05 10:49:12 +00:00
superio src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00
vendorcode vc/amd/sb800: Cast to UINT32 for shift out of bounds fix 2021-07-12 07:32:24 +00:00
Kconfig option: Allow mainboards to implement the API 2021-05-28 11:37:25 +00:00