Christian Walter has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39454 )
Change subject: soc/intel/cannonlake: Steal no memory for disabled IGD
......................................................................
Patch Set 13:
(3 comments)
https://review.coreboot.org/c/coreboot/+/39454/13/src/soc/intel/cannonlake/r...
File src/soc/intel/cannonlake/romstage/fsp_params.c:
https://review.coreboot.org/c/coreboot/+/39454/13/src/soc/intel/cannonlake/r...
PS13, Line 42: pci_read_config16(SA_DEV_IGD, PCI_VENDOR_ID) == 0xffff))
if dev and dev->enabled are true, can this still be false? And wouldn't we have to mark the device a […]
If dev, but there is no IGD (Read from PCI_VENDOR_ID == 0xffff) it should be disabled, otherwise it will crash.
https://review.coreboot.org/c/coreboot/+/39454/13/src/soc/intel/cannonlake/r...
PS13, Line 42: dev
not needed
Why? We should only do this if dev. If dev is not enabled anyways we do need to read this.
https://review.coreboot.org/c/coreboot/+/39454/13/src/soc/intel/cannonlake/r...
PS13, Line 98: dev
"dev" was declared const above...
Seems like a common rule to override this..
e.g.
dev = pcidev_path_on_root(PCH_DEVFN_HDA);
dev = pcidev_path_on_root(SA_DEVFN_IPU);
so either we have to fix all of these or _ignore_ the const.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39454
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f9e0f9855224614471d8ed23bf2a9786386ddca
Gerrit-Change-Number: 39454
Gerrit-PatchSet: 13
Gerrit-Owner: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Aamir Bohra
aamir.bohra@intel.com
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Jamie Chen
jamie.chen@intel.com
Gerrit-Reviewer: John Zhao
john.zhao@intel.com
Gerrit-Reviewer: Kane Chen
kane.chen@intel.com
Gerrit-Reviewer: Lijian Zhao
lijian.zhao@intel.com
Gerrit-Reviewer: Maulik V Vaghela
maulik.v.vaghela@intel.com
Gerrit-Reviewer: Nate DeSimone
nateman1352@gmail.com
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Praveen Hodagatta pranesh
praveen.hodagatta.pranesh@intel.com
Gerrit-Reviewer: Rizwan Qureshi
riz.pro@gmail.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Angel Pons
th3fanbus@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 06 Apr 2020 14:48:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment