diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2023-07-08 20:17:59 +0300 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-07-08 18:54:24 +0000 |
commit | 0834b222c9fd9c3e2b054b81581d2d03ad9dfbc6 (patch) | |
tree | f47b80e27dc87a1072a3316d94507066ceda3965 /.checkpatch.conf | |
parent | 3c1b7b485b6a9e2213d90cd4b904c2dacf79f666 (diff) |
cpu/x86/lapic: Fix regression with X2APIC_LATE_WORKAROUND
This patch fixes the boot hang due to commit 053a45bcdb3ccf8 ("cpu/x86/lapic: Fix X2APIC_ONLY regression") on platform which selects X2APIC_LATE_WORKAROUND config.
[EMERG] Switching from X2APIC to XAPIC mode is not implemented.
Without this patch: Boot gets stuck inside at BS_WRITE_TABLES when enable_lapic() gets called after X2APIC mode has been enabled. The fix is to change enable_lapic() to track when late enablement for X2APIC mode happens with X2APIC_LATE_WORKAROUND.
TEST=Able to build and boot google/rex to chromeos.
Change-Id: I41e72380e9cfb59721d0df607ad875d7b6546974
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76384
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions