coreboot-kgpe-d16/src/cpu
Subrata Banik fb28799ed5 arch/x86: Fix MAX_CPUS check proper for late X2APIC config
The X2APIC_LATE_WORKAROUND kconfig allows bringing APs in XAPIC mode initially hence, it won't work if LAPIC ID is > 0xff.

This patch ensures the MAX_CPUS logic is appropriate while selecting X2APIC_LATE_WORKAROUND kconfig from SoC.

BUG=b:219061518, b:219053812
TEST=Able to build Google/Rex.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I466e6cc568024a9dea80af21e0ebf3572e74a1f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66110
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2022-07-25 10:06:18 +00:00
..
amd treewide: Remove unused <cpu/x86/mtrr.h> 2022-07-20 13:18:39 +00:00
armltd
intel cpu: Get rid of unnecessary blank line {before,after} barce 2022-07-17 18:57:54 +00:00
power9 src/cpu/power9: add file structure for power9, implement SCOM access 2022-02-11 13:53:29 +00:00
qemu-power8
qemu-x86 mb/emulation/qemu-q35: Support PARALLEL_MP with SMM_ASEG 2022-06-01 10:43:07 +00:00
x86 arch/x86: Fix MAX_CPUS check proper for late X2APIC config 2022-07-25 10:06:18 +00:00
Kconfig
Makefile.inc cpu/Makefile.inc: Fix rebuilding a new target 2022-06-17 14:26:55 +00:00