Andrey Petrov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/35585 )
Change subject: soc/intel/fsp_broadwell_de: move get_busno1() into vtd.c
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/35585/1/src/soc/intel/fsp_broadwell...
File src/soc/intel/fsp_broadwell_de/vtd.c:
https://review.coreboot.org/c/coreboot/+/35585/1/src/soc/intel/fsp_broadwell...
PS1, Line 52: int8_t get_busno1(void)
: {
: uint32_t reg32;
:
: /* Figure out what bus number is assigned for CPUBUSNO(1) */
: reg32 = pci_mmio_read_config32(VTD_PCI_DEV, VTD_CPUBUSNO);
: return ((reg32 >> VTD_CPUBUSNO_BUS1_SHIFT) & VTD_CPUBUSNO_BUS1_MASK);
: }
Is there a reason that you have added it in vtd.c instead of in ubox. […]
because we are reading this register from VTD device not UBOX device
--
To view, visit
https://review.coreboot.org/c/coreboot/+/35585
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I34aee507b8c322c816f92cfcae177c069c749ed7
Gerrit-Change-Number: 35585
Gerrit-PatchSet: 1
Gerrit-Owner: Andrey Petrov
anpetrov@fb.com
Gerrit-Reviewer: Andrey Petrov
anpetrov@fb.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Werner Zeh
werner.zeh@siemens.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Wed, 25 Sep 2019 18:56:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Werner Zeh
werner.zeh@siemens.com
Gerrit-MessageType: comment