linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Bridge window discovery and setup fixes
@ 2013-12-06  0:19 Bjorn Helgaas
  2013-12-06  0:19 ` [PATCH 1/2] PCI: Prevent bus conflicts while checking for bridge apertures Bjorn Helgaas
  2013-12-06  0:19 ` [PATCH 2/2] PCI: Stop clearing bridge Secondary Status when setting up I/O aperture Bjorn Helgaas
  0 siblings, 2 replies; 14+ messages in thread
From: Bjorn Helgaas @ 2013-12-06  0:19 UTC (permalink / raw)
  To: linux-pci; +Cc: Jason Gunthorpe

These are small fixes the way we discover and program PCI-PCI bridge
apertures.

The first (preventing bus conflicts) was found by Jason Gunthorpe.
We wrote 0xf0 to the I/O base/limit registers, which enables the
aperture.  For arches that emulate the bridge config space, this
causes the emulation to open a window we didn't expect.

The second keeps us from inadvertently clearing bits in the bridge
Secondary Status register while programming the I/O aperture.  We
don't really use those status bits, but it doesn't seem like a good
thing to clear them when we didn't intend to.

---

Bjorn Helgaas (2):
      PCI: Prevent bus conflicts while checking for bridge apertures
      PCI: Stop clearing bridge Secondary Status when setting up I/O aperture

 drivers/pci/setup-bus.c |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-12-10 18:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06  0:19 [PATCH 0/2] Bridge window discovery and setup fixes Bjorn Helgaas
2013-12-06  0:19 ` [PATCH 1/2] PCI: Prevent bus conflicts while checking for bridge apertures Bjorn Helgaas
2013-12-09 19:31   ` Jason Gunthorpe
2013-12-09 20:00     ` Bjorn Helgaas
2013-12-09 20:15       ` Jason Gunthorpe
2013-12-06  0:19 ` [PATCH 2/2] PCI: Stop clearing bridge Secondary Status when setting up I/O aperture Bjorn Helgaas
2013-12-09 19:33   ` Jason Gunthorpe
2013-12-09 20:15     ` Bjorn Helgaas
2013-12-09 21:27       ` Jason Gunthorpe
2013-12-09 21:58         ` Bjorn Helgaas
2013-12-10  0:10           ` Jason Gunthorpe
2013-12-10  0:18             ` Bjorn Helgaas
2013-12-10  1:31               ` Jason Gunthorpe
2013-12-10 18:22                 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).