summaryrefslogtreecommitdiff
path: root/AppPkg
diff options
context:
space:
mode:
authorBenjamin You <benjamin.you@intel.com>2018-06-04 11:23:21 +0800
committerBenjamin You <benjamin.you@intel.com>2018-06-11 16:16:30 +0800
commit271d8cd7df0c346f19803938d98fe7cbb7b63be4 (patch)
tree5e0788670ed300ab91cc5c9be99de711b11ebb4f /AppPkg
parentf75c7478280b96d191e86856c0b1c49ff711c284 (diff)
downloadedk2-271d8cd7df0c346f19803938d98fe7cbb7b63be4.zip
edk2-271d8cd7df0c346f19803938d98fe7cbb7b63be4.tar.gz
edk2-271d8cd7df0c346f19803938d98fe7cbb7b63be4.tar.bz2
CorebootModulePkg/CbSupportDxe: Remove SCI_EN setting
Current implemenation sets PM1_CNT.SCI_EN bit at ReadyToBoot event. However, this should not be done because this causes OS to skip triggering FADT.SMI_CMD, which leads to the functions implemented in the SMI handler being omitted. This issue was identified by Matt Delco <delco@google.com>. The fix does the following: - The SCI_EN bit setting is removed from CbSupportDxe driver. - Some additional checks are added in CbParseFadtInfo() in CbParseLib.c to output some error message and ASSERT (FALSE) if ALL of the following conditions are met: 1) HARDWARE_REDUCED_ACPI is not set; 2) SMI_CMD field is zero; 3) SCI_EN bit is zero; which indicates the ACPI enabling status is inconsistent: SCI is not enabled but the ACPI table does not provide a means to enable it through FADT->SMI_CMD. This may cause issues in OS. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Prince Agyeman <prince.agyeman@intel.com> Cc: Matt Delco <delco@google.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Benjamin You <benjamin.you@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com> Reviewed-by: Matt Delco <delco@google.com>
Diffstat (limited to 'AppPkg')
0 files changed, 0 insertions, 0 deletions