coreboot/src/cpu
Jeremy Compostella 6dff1fd7d5 cpu/intel/common: Define build time physical address reserved bits
According the Intel Software Developer Manual,
CPUID.80000008H:EAX[15:8] reports the physical-address width supported
by the processor.  Unfortunately, it does not necessarily reflect the
physical-address space the system can actulally use as some of those
bits can be reserved for internal hardware use.

It is critical for coreboot to know the actual physical address size.
Overestimating this size can lead to device resource overlaps due to
the hardware ignoring upper reserved bits.  On rex for instance, it
creates some reboot hangs due to an overlap between thunderbolt and
Input Output Manager (IOM) address space.

As some SoCs, such as Meteor Lake, have physical address reserved bits
which cannot be probed at runtime, this commit introduces
`CPU_INTEL_COMMON_RESERVED_PHYS_ADDR_BITS' Kconfig to set the number
of physical address reserved bits at compilation time for those SoCs.

A runtime detection by hardware probing will be attempted if the value
is 0 (default).

BUG=b:288978352

Change-Id: I8748fa3e5bdfd339e973d562c5a201d5616f813e
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78451
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
2023-10-20 17:51:46 +00:00
..
amd cpu/amd/pi/00730F01: Use common code for mp_init 2023-08-08 20:27:50 +00:00
armltd cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
intel cpu/intel/common: Define build time physical address reserved bits 2023-10-20 17:51:46 +00:00
power9 src/cpu/power9: move part of scom.h to scom.c 2023-04-18 13:05:56 +00:00
qemu-power8
qemu-x86 Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00
x86 cpu/x86/mtrr/debug: rename variables in display_variable_mtrr 2023-09-20 18:18:59 +00:00
Kconfig cpu: Enable per-CPUID microcode loading in CBFS 2023-07-08 12:06:00 +00:00
Makefile.inc cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00