[PATCH 0/2] Bridge window discovery and setup fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux