From 45789141538030777f302a9c141e9d1a4c9fbd3b Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 29 Apr 2022 14:22:18 +0530 Subject: [PATCH] soc/intel/alderlake: Call into PMC IPC to inform PCI enumeration done MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch calls into the PMC IPC function that informs about PMC enumeration. Note: Alder Lake FSP Notify Phase 1 callback missed to send this PMC IPC, hence, this patch is considered as an improvement over FSP Notify Phase API. BUG=b:211954778 TEST=Able to build and boot google/redrix to OS without any PMC IPC error. Signed-off-by: Subrata Banik Change-Id: I43cfad25a5861c5aa5dae293ff42c9cefe862ea2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63954 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Angel Pons Reviewed-by: Lean Sheng Tan --- src/soc/intel/alderlake/lockdown.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/soc/intel/alderlake/lockdown.c b/src/soc/intel/alderlake/lockdown.c index d926dbbe2d..c291e34331 100644 --- a/src/soc/intel/alderlake/lockdown.c +++ b/src/soc/intel/alderlake/lockdown.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -36,6 +37,9 @@ static void pmc_lockdown_cfg(int chipset_lockdown) setbits32(pmcbase + PM_CFG, PM_CFG_DBG_MODE_LOCK | PM_CFG_XRAM_READ_DISABLE); } + + /* Send PMC IPC to inform about PCI enumeration done */ + pmc_send_pci_enum_done(); } static void pch_lockdown_cfg(void)