Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34724 )
Change subject: soc/intel/common: Implement power-failure-state handling
......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34724/5/src/soc/intel/common/block/...
File src/soc/intel/common/block/pmc/pmclib.c:
https://review.coreboot.org/c/coreboot/+/34724/5/src/soc/intel/common/block/...
PS5, Line 583: void pmc_set_power_failure_state(const pci_devfn_t dev)
Why does the caller need to provide a dev pointer here? SoC knows how to get to the GEN_PMCON* reg o […]
It's passed on to pmc_soc_set_afterg3_en(). In `skylake/pmc.c`, it's still
used for PCI config access. Ofc, we can use a constant there. It's just not
how the code was written.
Won't look nice, locally, but I guess it will make the API cleaner.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34724
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic6970a79d9b95373c2855f4c92232d2aa05963bb
Gerrit-Change-Number: 34724
Gerrit-PatchSet: 5
Gerrit-Owner: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Thu, 08 Aug 2019 07:28:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment