• Bjorn Helgaas's avatar
    Merge branch 'pci/resource' into next · 6e6f498b
    Bjorn Helgaas authored
    * pci/resource:
      PCI: Simplify pci_create_attr() control flow
      PCI: Don't leak memory if sysfs_create_bin_file() fails
      PCI: Simplify sysfs ROM cleanup
      PCI: Remove unused IORESOURCE_ROM_COPY and IORESOURCE_ROM_BIOS_COPY
      MIPS: Loongson 3: Keep CPU physical (not virtual) addresses in shadow ROM resource
      MIPS: Loongson 3: Use temporary struct resource * to avoid repetition
      ia64/PCI: Keep CPU physical (not virtual) addresses in shadow ROM resource
      ia64/PCI: Use ioremap() instead of open-coded equivalent
      ia64/PCI: Use temporary struct resource * to avoid repetition
      PCI: Clean up pci_map_rom() whitespace
      PCI: Remove arch-specific IORESOURCE_ROM_SHADOW size from sysfs
      PCI: Set ROM shadow location in arch code, not in PCI core
      PCI: Don't enable/disable ROM BAR if we're using a RAM shadow copy
      PCI: Don't assign or reassign immutable resources
      PCI: Mark shadow copy of VGA ROM as IORESOURCE_PCI_FIXED
      x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs
      PCI: Disable IO/MEM decoding for devices with non-compliant BARs
    6e6f498b
pci-sysfs.c 38.5 KB