cpu/x86: Allow SoC to select the `X2APIC_LATE_WORKAROUND`
Intel Meteor Lake SoC expects to select late x2APIC enablement where AP bring up will use xAPIC and later x2APIC gets enabled using CPU init. This patch provides an option where SoC code choose the correct LAPIC access mode using choice selection. BUG=b:219061518, b:219053812 TEST=Able to build Google/Rex. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I6b50a0f5e39a95c25cd2c72219d2b402550a6fad Reviewed-on: https://review.coreboot.org/c/coreboot/+/65786 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
2125a17c6a
commit
55d300c11b
|
@ -31,10 +31,16 @@ config DEFAULT_X2APIC_RUNTIME
|
||||||
help
|
help
|
||||||
Allow SoC code to set LAPIC_ACCESS_MODE to X2APIC_RUNTIME.
|
Allow SoC code to set LAPIC_ACCESS_MODE to X2APIC_RUNTIME.
|
||||||
|
|
||||||
|
config DEFAULT_X2APIC_LATE_WORKAROUND
|
||||||
|
def_bool n
|
||||||
|
help
|
||||||
|
Allow SoC code to set LAPIC_ACCESS_MODE to X2APIC_LATE_WORKAROUND.
|
||||||
|
|
||||||
choice LAPIC_ACCESS_MODE
|
choice LAPIC_ACCESS_MODE
|
||||||
prompt "APIC operation mode"
|
prompt "APIC operation mode"
|
||||||
default X2APIC_ONLY if DEFAULT_X2APIC
|
default X2APIC_ONLY if DEFAULT_X2APIC
|
||||||
default X2APIC_RUNTIME if DEFAULT_X2APIC_RUNTIME
|
default X2APIC_RUNTIME if DEFAULT_X2APIC_RUNTIME
|
||||||
|
default X2APIC_LATE_WORKAROUND if DEFAULT_X2APIC_LATE_WORKAROUND
|
||||||
default XAPIC_ONLY
|
default XAPIC_ONLY
|
||||||
|
|
||||||
config XAPIC_ONLY
|
config XAPIC_ONLY
|
||||||
|
|
Loading…
Reference in New Issue