1. 08 11月, 2017 1 次提交
  2. 16 8月, 2017 1 次提交
  3. 03 8月, 2017 1 次提交
  4. 28 6月, 2017 8 次提交
  5. 05 4月, 2017 4 次提交
  6. 25 1月, 2017 1 次提交
  7. 16 1月, 2017 1 次提交
  8. 14 12月, 2016 1 次提交
  9. 23 11月, 2016 1 次提交
  10. 24 8月, 2016 1 次提交
  11. 14 3月, 2016 1 次提交
  12. 02 3月, 2016 1 次提交
  13. 23 2月, 2016 1 次提交
  14. 26 1月, 2016 5 次提交
  15. 27 11月, 2015 1 次提交
    • G
      s390/pci_dma: fix DMA table corruption with > 4 TB main memory · 69eea95c
      Gerald Schaefer 提交于
      DMA addresses returned from map_page() are calculated by using an iommu
      bitmap plus a start_dma offset. The size of this bitmap is based on the main
      memory size. If we have more than (4 TB - start_dma) main memory, the DMA
      address calculation will also produce addresses > 4 TB. Such addresses
      cannot be inserted in the 3-level DMA page table, instead the entries
      modulo 4 TB will be overwritten.
      
      Fix this by restricting the iommu bitmap size to (4 TB - start_dma).
      Also set zdev->end_dma to the actual end address of the usable
      range, instead of the theoretical maximum as reported by the hardware,
      which fixes a sanity check in dma_map() and also the IOMMU API domain
      geometry aperture calculation.
      Signed-off-by: NGerald Schaefer <gerald.schaefer@de.ibm.com>
      Reviewed-by: NSebastian Ott <sebott@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      69eea95c
  16. 29 7月, 2015 1 次提交
  17. 23 7月, 2015 1 次提交
  18. 22 7月, 2015 1 次提交
  19. 15 4月, 2015 2 次提交
  20. 25 3月, 2015 1 次提交
  21. 19 3月, 2015 1 次提交
    • Y
      PCI: Assign resources before drivers claim devices (pci_scan_root_bus()) · b97ea289
      Yijing Wang 提交于
      Previously, pci_scan_root_bus() created a root PCI bus, enumerated the
      devices on it, and called pci_bus_add_devices(), which made the devices
      available for drivers to claim them.
      
      Most callers assigned resources to devices after pci_scan_root_bus()
      returns, which may be after drivers have claimed the devices.  This is
      incorrect; the PCI core should not change device resources while a driver
      is managing the device.
      
      Remove pci_bus_add_devices() from pci_scan_root_bus() and do it after any
      resource assignment in the callers.
      
      Note that ARM's pci_common_init_dev() already called pci_bus_add_devices()
      after pci_scan_root_bus(), so we only need to remove the first call:
      
        pci_common_init_dev
          pcibios_init_hw
            pci_scan_root_bus
              pci_bus_add_devices        # first call
          pci_bus_assign_resources
          pci_bus_add_devices            # second call
      
      [bhelgaas: changelog, drop "root_bus" var in alpha common_init_pci(),
      return failure earlier in mn10300, add "return" in x86 pcibios_scan_root(),
      return early if xtensa platform_pcibios_fixup() fails]
      Signed-off-by: NYijing Wang <wangyijing@huawei.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Richard Henderson <rth@twiddle.net>
      CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      CC: Matt Turner <mattst88@gmail.com>
      CC: David Howells <dhowells@redhat.com>
      CC: Tony Luck <tony.luck@intel.com>
      CC: Michal Simek <monstr@monstr.eu>
      CC: Ralf Baechle <ralf@linux-mips.org>
      CC: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      CC: Sebastian Ott <sebott@linux.vnet.ibm.com>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: Chris Metcalf <cmetcalf@ezchip.com>
      CC: Chris Zankel <chris@zankel.net>
      CC: Max Filippov <jcmvbkbc@gmail.com>
      CC: Thomas Gleixner <tglx@linutronix.de>
      b97ea289
  22. 28 2月, 2015 2 次提交
  23. 21 1月, 2015 1 次提交
  24. 23 11月, 2014 1 次提交
    • T
      PCI/MSI: Rename mask/unmask_msi_irq treewide · 280510f1
      Thomas Gleixner 提交于
      The PCI/MSI irq chip callbacks mask/unmask_msi_irq have been renamed
      to pci_msi_mask/unmask_irq to mark them PCI specific. Rename all usage
      sites. The conversion helper functions are kept around to avoid
      conflicts in next and will be removed after merging into mainline.
      
      Coccinelle assisted conversion. No functional change.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Cc: x86@kernel.org
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Murali Karicheri <m-karicheri2@ti.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Mohit Kumar <mohit.kumar@st.com>
      Cc: Simon Horman <horms@verge.net.au>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: Yijing Wang <wangyijing@huawei.com>
      280510f1