soc/intel/common/pmc: Change GPE DW duplicate message to warning
The message printed when duplicate GPE DW register values are detected was previously logged at the INFO level. This commit changes the log level to WARNING, as duplicate DW values indicate a potential misconfiguration and warrant closer attention. While the system falls back to the default GPE route (as per MISCCFG register), this situation should be investigated to ensure correct platform configuration. This change ensures that developers are more clearly notified of potential GPE routing issues. TEST=Built and booted on a platform using PMC GPE routing. Verified that the message is printed at the WARNING level when duplicate DW values are present. Change-Id: I7804ddfa6e067014e034364bd8efbf6efe746cd7 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86174 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
parent
60b55cc70b
commit
4dff3ff4ee
1 changed files with 2 additions and 1 deletions
|
|
@ -657,7 +657,8 @@ void pmc_gpe_init(void)
|
|||
* are different, and if they aren't use the reset values.
|
||||
*/
|
||||
if (dw0 == dw1 || dw1 == dw2 || dw0 == dw2) {
|
||||
printk(BIOS_INFO, "PMC: Using default GPE route.\n");
|
||||
printk(BIOS_WARNING, "PMC: Duplicate GPE DW register values detected; "
|
||||
"using default GPE route from MISCCFG register\n");
|
||||
gpio_cfg = read32p(pmc_bar + GPIO_GPE_CFG);
|
||||
|
||||
dw0 = (gpio_cfg >> GPE0_DW_SHIFT(0)) & GPE0_DWX_MASK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue