Kyösti Mälkki has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36686 )
Change subject: include/device: add pci mmio cfg address helpers
......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/36686/3/src/include/device/pci_mmio...
File src/include/device/pci_mmio_cfg.h:
https://review.coreboot.org/c/coreboot/+/36686/3/src/include/device/pci_mmio...
PS3, Line 90: uint8_t *pci_mmio_config8_addr(pci_devfn_t dev, uint16_t reg)
Can we add commentary here, saying caching the pointer returned here is forbidden?
The address returned is dependent of both the MMCONF base address and the assigned PCI bus number of the requested device. We should not really treat those as constants.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/36686
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie6fe22cacc7241a51d47cbe9fc64f30fa49d5a80
Gerrit-Change-Number: 36686
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Niewöhner
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Fri, 15 Nov 2019 08:57:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment