Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/41852 )
Change subject: sb/intel/bd82x6x/smihandler: Fix xHCI sleep handler
......................................................................
Patch Set 7:
(3 comments)
https://review.coreboot.org/c/coreboot/+/41852/7/src/southbridge/intel/bd82x...
File src/southbridge/intel/bd82x6x/smihandler.c:
https://review.coreboot.org/c/coreboot/+/41852/7/src/southbridge/intel/bd82x...
PS7, Line 92: sizeof(uint16_t)
this should be `sizeof(uint32_t)`, `read32` is used below
I'd rather check if the entire xHCI MMIO window overlaps with SMRAM.
https://review.coreboot.org/c/coreboot/+/41852/7/src/southbridge/intel/bd82x...
PS7, Line 120: pci_read_config32
Isn't there some function to read a PCI BAR?
https://review.coreboot.org/c/coreboot/+/41852/7/src/southbridge/intel/bd82x...
PS7, Line 138: xhci_bar = pci_read_config32(PCH_XHCI_DEV, PCI_BASE_ADDRESS_0) & ~0xFUL;
This read looks pointless.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/41852
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idc658aa9fe11c8ee93290e3d3ef66e73476f3c57
Gerrit-Change-Number: 41852
Gerrit-PatchSet: 7
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Alexander Couzens
lynxis@fe80.eu
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Bill XIE
persmule@hardenedlinux.org
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Tue, 05 Jan 2021 22:01:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-MessageType: comment