1. 26 May, 2014 5 commits
    • Bjorn Helgaas's avatar
      Merge branches 'dma-api', 'pci/virtualization', 'pci/msi', 'pci/misc' and 'pci/resource' into next · e5558d1a
      Bjorn Helgaas authored
      * dma-api:
        iommu/exynos: Remove unnecessary "&" from function pointers
        DMA-API: Update dma_pool_create ()and dma_pool_alloc() descriptions
        DMA-API: Fix duplicated word in DMA-API-HOWTO.txt
        DMA-API: Capitalize "CPU" consistently
        sh/PCI: Pass GAPSPCI_DMA_BASE CPU & bus address to dma_declare_coherent_memory()
        DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t
        DMA-API: Clarify physical/bus address distinction
      
      * pci/virtualization:
        PCI: Mark RTL8110SC INTx masking as broken
      
      * pci/msi:
        PCI/MSI: Remove pci_enable_msi_block()
      
      * pci/misc:
        PCI: Remove pcibios_add_platform_entries()
        s390/pci: use pdev->dev.groups for attribute creation
        PCI: Move Open Firmware devspec attribute to PCI common code
      
      * pci/resource:
        PCI: Add resource allocation comments
        PCI: Simplify __pci_assign_resource() coding style
        PCI: Change pbus_size_mem() return values to be more conventional
        PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resources
        PCI: Support BAR sizes up to 8GB
        resources: Clarify sanity check message
        PCI: Don't add disabled subtractive decode bus resources
        PCI: Don't print anything while decoding is disabled
        PCI: Don't set BAR to zero if dma_addr_t is too small
        PCI: Don't convert BAR address to resource if dma_addr_t is too small
        PCI: Reject BAR above 4GB if dma_addr_t is too small
        PCI: Fail safely if we can't handle BARs larger than 4GB
        x86/gart: Tidy messages and add bridge device info
        x86/gart: Replace printk() with pr_info()
        x86/PCI: Move pcibios_assign_resources() annotation to definition
        x86/PCI: Mark ATI SBx00 HPET BAR as IORESOURCE_PCI_FIXED
        x86/PCI: Don't try to move IORESOURCE_PCI_FIXED resources
        x86/PCI: Fix Broadcom CNB20LE unintended sign extension
      e5558d1a
    • Bjorn Helgaas's avatar
      iommu/exynos: Remove unnecessary "&" from function pointers · 14574674
      Bjorn Helgaas authored
      Remove unnecessary "&" from function pointers in exynos_iommu_ops.
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      14574674
    • Gioh Kim's avatar
      DMA-API: Update dma_pool_create ()and dma_pool_alloc() descriptions · 2af9da86
      Gioh Kim authored
      Use "boundary" to be more descriptive than "alloc" in the dma_pool_create()
      documentation.
      
      Replace "SLAB_KERNEL" and "SLAB_ATOMIC" with the correct "GFP_KERNEL" and
      "GFP_ATOMIC."
      
      [bhelgaas: changelog]
      Signed-off-by: default avatarGioh Kim <gioh.kim@lge.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      2af9da86
    • Emilio López's avatar
      DMA-API: Fix duplicated word in DMA-API-HOWTO.txt · 34c815fb
      Emilio López authored
      "coherent" is written twice when it should be just once.
      Signed-off-by: default avatarEmilio López <emilio@elopez.com.ar>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      34c815fb
    • Bjorn Helgaas's avatar
      DMA-API: Capitalize "CPU" consistently · f311a724
      Bjorn Helgaas authored
      Sometimes we used "cpu," other times "CPU."  Use "CPU" consistently.
      Suggested-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      f311a724
  2. 23 May, 2014 15 commits
  3. 22 May, 2014 2 commits
  4. 20 May, 2014 4 commits
  5. 30 Apr, 2014 2 commits
  6. 29 Apr, 2014 6 commits
    • Bjorn Helgaas's avatar
      Merge branches 'pci/hotplug', 'pci/msi', 'pci/virtualization' and 'pci/misc' into next · 518a6a34
      Bjorn Helgaas authored
      * pci/hotplug:
        PCI: rphahp: Fix endianess issues
        PCI: Allow hotplug service drivers to operate in polling mode
        PCI: pciehp: Acknowledge spurious "cmd completed" event
        PCI: pciehp: Use PCI_EXP_SLTCAP_PSN define
        PCI: hotplug: Remove unnecessary "dev->bus" test
      
      * pci/msi:
        GenWQE: Use pci_enable_msi_exact() instead of pci_enable_msi_block()
        PCI/MSI: Simplify populate_msi_sysfs()
        PCI/portdrv: Use pci_enable_msix_exact() instead of pci_enable_msix()
      
      * pci/virtualization:
        PCI: Add Patsburg (X79) to Intel PCH root port ACS quirk
      
      * pci/misc:
        PCI: Fix use of uninitialized MPS value
        PCI: Remove dead code
        MAINTAINERS: Add arch/x86/kernel/quirks.c to PCI file patterns
        PCI: Remove unnecessary __ref annotations
        PCI: Fail new_id for vendor/device values already built into driver
        PCI: Add new ID for Intel GPU "spurious interrupt" quirk
        PCI: Update my email address
        PCI: Fix incorrect vgaarb conditional in WARN_ON()
        PCI: Use designated initialization in PCI_VDEVICE
        PCI: Remove old serial device IDs
        PCI: Remove unnecessary includes of <linux/init.h>
        powerpc/PCI: Fix NULL dereference in sys_pciconfig_iobase() list traversal
      518a6a34
    • Bjorn Helgaas's avatar
      PCI: Fix use of uninitialized MPS value · 1e358f94
      Bjorn Helgaas authored
      If "pcie_bus_config == PCIE_BUS_PERFORMANCE", we don't initialize "smpss",
      so we pass a pointer to garbage into pcie_bus_configure_set(), where we
      compute "mps" based on the garbage.  We then pass the garbage "mps" to
      pcie_write_mps(), which ignores it in the PCIE_BUS_PERFORMANCE case.
      
      Coverity isn't smart enough to deduce that we ignore the garbage (it's a
      lot to expect from a human, too), so initialize "smpss" to a safe value in
      all cases.
      
      Found by Coverity (CID 146454).
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      1e358f94
    • Bjorn Helgaas's avatar
      PCI: Remove dead code · efdd4070
      Bjorn Helgaas authored
      "pdev" can never be NULL here, so remove the test.
      
      Found by Coverity (CID 744313).
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      efdd4070
    • Bjorn Helgaas's avatar
      MAINTAINERS: Add arch/x86/kernel/quirks.c to PCI file patterns · cad01f91
      Bjorn Helgaas authored
      I'm not asserting any claim over arch/x86/kernel/quirks.c, and I don't plan
      to merge changes to it, but some of the quirks there are PCI-related, and
      I'd like to see changes to them.
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      cad01f91
    • Bjorn Helgaas's avatar
      PCI: Remove unnecessary __ref annotations · 10874f5a
      Bjorn Helgaas authored
      Some PCI functions used to be marked __devinit.  When CONFIG_HOTPLUG was
      not set, these functions were discarded after boot.  A few callers of these
      __devinit functions were marked __ref to indicate that they could safely
      call the __devinit functions even though the callers were not __devinit.
      
      But CONFIG_HOTPLUG and __devinit are now gone, and the need for the __ref
      annotations is also gone, so remove them.  Relevant historical commits:
      
        54b956b9 Remove __dev* markings from init.h
        a8e4b9c1 PCI: add generic pci_hp_add_bridge()
        0ab2b57f PCI: fix section mismatch warning in pci_scan_child_bus
        451124a7 PCI: fix 4x section mismatch warnings
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      10874f5a
    • Bandan Das's avatar
      PCI: Fail new_id for vendor/device values already built into driver · 8895d3bc
      Bandan Das authored
      While using the sysfs new_id interface, the user can unintentionally feed
      incorrect values if the driver static table has a matching entry.  This is
      possible since only the device and vendor fields are mandatory and the rest
      are optional.  As a result, store_new_id() will fill in default values that
      are then passed on to the driver and can have unintended consequences.
      
      As an example, consider the ixgbe driver and the 82599EB network card:
      
        echo "8086 10fb" > /sys/bus/pci/drivers/ixgbe/new_id
      
      This will pass a pci_device_id with driver_data = 0 to ixgbe_probe(), which
      uses that zero to index a table of card operations.  The zeroth entry of
      the table does *not* correspond to the 82599 operations.
      
      This change returns an error if the user attempts to add a dynid for a
      vendor/device combination for which a static entry already exists.
      However, if the user intentionally wants a different set of values, she
      must provide all the 7 fields and that will be accepted.
      
      [bhelgaas: drop KVM text since the problem isn't KVM-specific]
      Signed-off-by: default avatarBandan Das <bsd@redhat.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      Reviewed-by: default avatarAlex Williamson <alex.williamson@redhat.com>
      8895d3bc
  7. 28 Apr, 2014 1 commit
  8. 25 Apr, 2014 5 commits