coreboot-kgpe-d16/src
Subrata Banik 65b64b3f03 soc/intel/alderlake: Select FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN config
At present the problem has only been reported with Alder Lake and
Raptor Lake FSP where MultiPhaseSiInit API is unable to return any ERROR
status. Hence, this patch ensures to select applicable W/A config to
read FSP return status from the FSP Reset HOB.

BUG=b:278665768
TEST=Able to select FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN for ADL/RPL SoC
code and call into this API to know the return status from
MultiPhaseSiInit FSP API.

Without this patch:

  IshInit() Start
  IshDisable() Start
  IshPerformGlobalReset()
  ....
  ....
  FSP returning control to Bootloader with reset required return
       status 40000003
  FspMultiPhaseSiInit Index-1 returned 0 <-- after control returns
       into coreboot, the `status` from the FSP API is reset to `0`
       instead 0x40000003. Hence, coreboot avoid hitting the reset.

With this patch:

  IshInit() Start
  IshDisable() Start
  IshPerformGlobalReset()
  ....
  ....
  FSP returning control to Bootloader with reset required return
       status 40000003
  FSP: handling reset type 40000003 <-- coreboot is able to understand
                                        the reset request in proper.
  GLOBAL RESET!
  global_reset() called!
  HECI: Global Reset(Type:1) Command

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I18a918cca7e19e03ed6020c55c86c64a94212963
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74785
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
2023-05-02 10:51:33 +00:00
..
acpi acpi: Add missing cbfs_unmap() 2023-05-01 14:41:45 +00:00
arch ACPI: Make FADT entries for RTC/CMOS architectural 2023-04-29 01:20:54 +00:00
commonlib {commonlib, soc/intel/cmn/cse}: Store CSE firmware version into CBMEM 2023-04-21 17:22:00 +00:00
console console: Deselect using ANSI escape characters when SimNow is used 2023-03-30 13:36:35 +00:00
cpu treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
device lib/version: Move board identification strings 2023-04-22 16:20:49 +00:00
drivers drivers/intel/fsp2_0: Apply FSP Reset Status W/A for MultiPhaseSiInit 2023-05-02 10:51:17 +00:00
ec ec/starlabs/merlin: Change the fallback value for fn_ctrl_swap 2023-04-28 15:30:25 +00:00
include acpigen: Add a runtime method to override exposed _Sx sleep states 2023-05-01 06:38:36 +00:00
lib lib/version: Move board identification strings 2023-04-22 16:20:49 +00:00
mainboard protectcli/vault_bsw: Drop USB power control bits in GNVS 2023-05-01 17:34:10 +00:00
northbridge AMD binaryPI: Use ACPI_COMMON_MADT_IOAPIC 2023-04-26 11:06:40 +00:00
sbom
security security/tpm: make usage of PCRs configurable via Kconfig 2023-04-10 04:01:08 +00:00
soc soc/intel/alderlake: Select FSP_MULTIPHASE_SI_INIT_RETURN_BROKEN config 2023-05-02 10:51:33 +00:00
southbridge acpigen: Add a runtime method to override exposed _Sx sleep states 2023-05-01 06:38:36 +00:00
superio treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00
vendorcode vendorcode/mediatek/mt8192: Cast enum types 2023-05-01 14:38:43 +00:00
Kconfig SMBIOS: Group Kconfig dependency 2023-05-01 17:32:06 +00:00