diff options
author | Kane Chen <kane.chen@intel.corp-partner.google.com> | 2022-11-03 23:18:44 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-07 14:36:10 +0000 |
commit | 11be5562b2344e8395b64bba5f835d203ae4b910 (patch) | |
tree | bfda01b62a2079abb2e687a9e5cf2e8dc4481e4f /payloads/libpayload/.gitignore | |
parent | 778c7af37ae399cfd72178f4585f3ba626ed84cf (diff) |
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>
Diffstat (limited to 'payloads/libpayload/.gitignore')
0 files changed, 0 insertions, 0 deletions