Attention is currently required from: Ravi kumar, Furquan Shaikh, Arthur Heymans, Prasad Malisetty.
Shelley Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/57615 )
Change subject: libpayload: Add support for PCI MMIO CONFIG access.
......................................................................
Patch Set 18:
(1 comment)
File payloads/libpayload/drivers/pci_ops.c:
https://review.coreboot.org/c/coreboot/+/57615/comment/75948de3_c7ace065
PS17, Line 34: uintptr_t get_pci_mmio_cfgbase(pcidev_t dev)
ATU configuration needed for every config/mem read/write. […]
Hi Prasad. Sorry if I was unclear. I meant that the code should be functionally equivalent to the code implemented in coreboot, specifically the pcicfg() function that I proposed which does the address translation that needs to be run for every read/write: https://review.coreboot.org/c/coreboot/+/58668/4/src/soc/qualcomm/sc7280/pci...
My assumption is that in the future, you will need to map > 1 device at a time in the MMIO space. Is that not true?
Also, please take a look at CB:57861 for the details on how we are reorganizing everything.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/57615
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7d1217502cbd7d4d0cdd298919ae82435630d61c
Gerrit-Change-Number: 57615
Gerrit-PatchSet: 18
Gerrit-Owner: Ravi kumar
rbokka@codeaurora.org
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Furquan Shaikh
furquan.m.shaikh@gmail.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-CC: Prasad Malisetty
pmaliset@qualcomm.corp-partner.google.com
Gerrit-CC: Shelley Chen
shchen@google.com
Gerrit-Attention: Ravi kumar
rbokka@codeaurora.org
Gerrit-Attention: Furquan Shaikh
furquan.m.shaikh@gmail.com
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Prasad Malisetty
pmaliset@qualcomm.corp-partner.google.com
Gerrit-Comment-Date: Thu, 11 Nov 2021 00:53:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Shelley Chen
shchen@google.com
Comment-In-Reply-To: Prasad Malisetty
pmaliset@qualcomm.corp-partner.google.com
Gerrit-MessageType: comment