coreboot-kgpe-d16/src/soc
Kane Chen 11be5562b2 soc/intel/common/block/pcie/rtd3: Skip Power On if _STA returns 1
RTD3,_ON method sometimes can create delays during system boot.
Even when the power is already up, kernel still tries to call _ON
method to power up device, but it's unnecessary.

RTD3._STA returns device power, so _ON method can check _STA and see
if the power on process can be skipped

BUG=b:249931687
TEST=system can boot to OS with RTD3 pcie storage and save ~80 ms on
     Crota. Suspend stress test passes 100 cycles

Change-Id: I296ce1b85417a5dbaca558511cd7fc51a3a38c84
Signed-off-by: Kane Chen <kane.chen@intel.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69189
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
2022-11-07 14:36:10 +00:00
..
amd soc/amd/common/include/gpio_defs.h: Add comment for accuracy 2022-11-07 12:24:32 +00:00
cavium soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00
example/min86 soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00
intel soc/intel/common/block/pcie/rtd3: Skip Power On if _STA returns 1 2022-11-07 14:36:10 +00:00
mediatek lib/coreboot_table: Rename lb_fill_pcie 2022-11-04 19:17:49 +00:00
nvidia lib/coreboot_table: Simplify API to set up lb_serial 2022-11-04 19:17:13 +00:00
qualcomm lib/coreboot_table: Rename lb_fill_pcie 2022-11-04 19:17:49 +00:00
rockchip soc/rockchip/rk3288/clock.c: Remove trailing semicolon 2022-09-30 23:12:15 +00:00
samsung lib/coreboot_table: Simplify API to set up lb_serial 2022-11-04 19:17:13 +00:00
sifive/fu540 src/soc: Get rid of most src/soc/Kconfig files 2022-06-24 03:59:36 +00:00
ti lib/coreboot_table: Simplify API to set up lb_serial 2022-11-04 19:17:13 +00:00
ucb/riscv soc: Add SPDX license headers to Makefiles 2022-10-31 03:27:13 +00:00