<p><a href="https://review.coreboot.org/c/coreboot/+/30244">View Change</a></p><p>8 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30244/8//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8//COMMIT_MSG@12">Patch Set #8, Line 12:</a> <code style="font-family:monospace,monospace">This mostly reimplements what sandybridge does albeit a bit simpler.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">As usual, I would love to see common code. Any reason not to share code<br>with sandy?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8//COMMIT_MSG@14">Patch Set #8, Line 14:</a> <code style="font-family:monospace,monospace">TESTED with PCIe coalescing (root port 0 disabled in devicetree)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This is confusing because you reuse the term "coalescing" but what you<br>do is only fixing a missing function 0, not filling every potential gap.<br>Which is fine but should probably have a better name.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30244/8/src/northbridge/intel/i945/early_init.c">File src/northbridge/intel/i945/early_init.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8/src/northbridge/intel/i945/early_init.c@181">Patch Set #8, Line 181:</a> <code style="font-family:monospace,monospace">       RCBA32_OR(FD, 1);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">hmmm, do it in southbridge_intel_i82801gx_ops.init()?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.h">File src/southbridge/intel/i82801gx/i82801gx.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.h@241">Patch Set #8, Line 241:</a> <code style="font-family:monospace,monospace">#define RPFN_FNMASK(port)       (7 << ((port) * 4))</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">tabs please</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.h@285">Patch Set #8, Line 285:</a> <code style="font-family:monospace,monospace">#define ICH_DISABLE_PCIE(x)        (1 << (16 + x))</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">parentheses around (x)</p><p style="white-space: pre-wrap; word-wrap: break-word;">why not name it FD_PCIE(x)?</p><p style="white-space: pre-wrap; word-wrap: break-word;">The numbers are off-by-one compared to the explicitly named versions... are the latter still needed at all?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.h@296">Patch Set #8, Line 296:</a> <code style="font-family:monospace,monospace">#define ICH_DISABLE_UHCI(x)      (1 << (8 + x))</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">same here</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.c">File src/southbridge/intel/i82801gx/i82801gx.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.c@77">Patch Set #8, Line 77:</a> <code style="font-family:monospace,monospace">  for (dev = all_devices; dev; dev = dev->next) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">it should be enough to walk bus 0?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/30244/8/src/southbridge/intel/i82801gx/i82801gx.c@155">Patch Set #8, Line 155:</a> <code style="font-family:monospace,monospace">            pci_write_config32(dev, PCI_COMMAND, reg32);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Hmmm, move the whole thing into ich_hide_devfn()?</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30244">change 30244</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/c/coreboot/+/30244"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I83576599538a02d295fe00b35826f98d8c97d1cf </div>
<div style="display:none"> Gerrit-Change-Number: 30244 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>
<div style="display:none"> Gerrit-Reviewer: Alexander Couzens <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz> </div>
<div style="display:none"> Gerrit-Reviewer: Damien Zammit <damien@zamaudio.com> </div>
<div style="display:none"> Gerrit-Reviewer: HAOUAS Elyes <ehaouas@noos.fr> </div>
<div style="display:none"> Gerrit-Reviewer: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-CC: Peter Lemenkov <lemenkov@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 18 Dec 2018 21:44:18 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>