Attention is currently required from: Arthur Heymans, Jonathan Zhang, Ziang Wang, Paul Menzel, Christian Walter, Angel Pons.
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74054 )
Change subject: include/cpu/x86/lapic.h: Add constraint for SMM
......................................................................
Patch Set 2:
(1 comment)
File src/include/cpu/x86/lapic.h:
https://review.coreboot.org/c/coreboot/+/74054/comment/cbc8adea_46cec172
PS2, Line 64: is_x2apic_mode
The whole function is wrong. It assumes that state of the apic, but that's not valid until MPinit has run.
When CONFIG_X2APIC_ONLY is selected and something is calling lapicid() before MPinit it'll cause an exception. As the exception handler also calls lapicid() it tripple faults.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/74054
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib96f371681b6f79f02a115126f7bd9b692293ece
Gerrit-Change-Number: 74054
Gerrit-PatchSet: 2
Gerrit-Owner: Ziang Wang
ziang.wang@intel.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur.heymans@9elements.com
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Jonathan Zhang
jon.zhixiong.zhang@gmail.com
Gerrit-Reviewer: Lean Sheng Tan
sheng.tan@9elements.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Daocheng Bu
daocheng.bu@intel.com
Gerrit-CC: Nill Ge
geshijian@bytedance.com
Gerrit-CC: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-CC: TangYiwei
Gerrit-Attention: Arthur Heymans
arthur.heymans@9elements.com
Gerrit-Attention: Jonathan Zhang
jon.zhixiong.zhang@gmail.com
Gerrit-Attention: Ziang Wang
ziang.wang@intel.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Christian Walter
christian.walter@9elements.com
Gerrit-Attention: Angel Pons
th3fanbus@gmail.com
Gerrit-Comment-Date: Mon, 17 Apr 2023 16:35:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment