1. 13 12月, 2016 6 次提交
  2. 30 9月, 2016 1 次提交
  3. 28 9月, 2016 2 次提交
  4. 21 9月, 2016 1 次提交
  5. 15 9月, 2016 2 次提交
    • B
      PCI/AER: Remove aerdriver.forceload kernel parameter · 7ece1417
      Bjorn Helgaas 提交于
      Per the PCI Firmware spec, r3.0, sec 4.5.1, on ACPI systems, the OS must
      not use AER unless _OSC is present and _OSC grants AER control to the OS.
      The aerdriver.forceload kernel parameter was a way to enable Linux AER
      support on ACPI systems that lack _OSC or fail to grant control the the OS.
      
      Enabling Linux AER support when the firmware doesn't want us to is a recipe
      for problems, e.g., the firmware might be handling AER itself.
      
      Remove the aerdriver.forceload kernel parameter and related supporting
      code.
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      7ece1417
    • B
      PCI/AER: Remove aerdriver.nosourceid kernel parameter · 9ff25e6b
      Bjorn Helgaas 提交于
      The aerdriver.nosourceid kernel parameter was intended for working around
      broken chipsets don't supply the source ID for AER events.  We recently
      added PCI_BUS_FLAGS_NO_AERSID, which can be set by quirks for the same
      purpose.
      
      Remove the aerdriver.nosourceid kernel parameter.  For anything other than
      debugging, asking users to find and use kernel parameters is a poor user
      experience.  Instead, we should add PCI_BUS_FLAGS_NO_AERSID quirks for any
      hardware that needs it.
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      9ff25e6b
  6. 07 9月, 2016 1 次提交
  7. 25 8月, 2016 4 次提交
    • B
      PCI: Add PTM clock granularity information · 8b2ec318
      Bjorn Helgaas 提交于
      The PTM Control register (PCIe r3.1, sec 7.32.3) contains an Effective
      Granularity field:
      
        This provides information relating to the expected accuracy of the PTM
        clock, but does not otherwise affect the PTM mechanism.
      
      Set the Effective Granularity based on the PTM Root and any intervening PTM
      Time Sources.
      
      This does not set Effective Granularity for Root Complex Integrated
      Endpoints because I don't know how to figure out clock granularity for
      them.  The spec says:
      
        ... system software must set [Effective Granularity] to the value
        reported in the Local Clock Granularity field by the associated PTM
        Time Source.
      
      but I don't know how to identify the associated PTM Time Source.  Normally
      it's the upstream bridge, but an integrated endpoint has no upstream
      bridge.
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      8b2ec318
    • P
      PCI/AER: Make explicitly non-modular · 8756336c
      Paul Gortmaker 提交于
      This code is not being built as a module by anyone:
      
        obj-$(CONFIG_PCIEAER) += aerdriver.o
        aerdriver-objs := aerdrv_errprint.o aerdrv_core.o aerdrv.o
      
        drivers/pci/pcie/aer/Kconfig:config PCIEAER
        drivers/pci/pcie/aer/Kconfig:  bool "Root Port Advanced Error Reporting support"
      
      Remove uses of MODULE_DESCRIPTION(), MODULE_AUTHOR(), MODULE_LICENSE(),
      etc., so that when reading the driver there is no doubt it is builtin-only.
      The information is preserved in comments at the top of the file.
      
      Note that for non-modular code, module_init() translates to
      device_initcall().
      
      [bhelgaas: changelog]
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Tom Long Nguyen <tom.l.nguyen@intel.com>
      8756336c
    • P
      PCI/PME: Make explicitly non-modular · d7def204
      Paul Gortmaker 提交于
      This code is not being built as a module by anyone:
      
        config PCIE_PME
              def_bool y
              depends on PCIEPORTBUS && PM
      
      Remove traces of modularity so that when reading the driver there is no
      doubt it is builtin-only.
      
      Also delete the .remove function, since that doesn't seem to have a
      sensible use case.  With "normal" endpoint drivers, we have in the past set
      the suppress_bind_attrs bit to make it clear that the use of ".remove" in a
      builtin driver was deleted, but here for PCI, it seems overkill to jump
      through the pcie_port_service_driver and into the struct device_driver in
      order to finally try and do something similar with the bind setting.
      
      Note that for non-modular code, module_init() translates to
      device_initcall().
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      d7def204
    • P
      PCI: Make DPC explicitly non-modular · 61612e6d
      Paul Gortmaker 提交于
      This code is not being built as a module by anyone:
      
        drivers/pci/pcie/Kconfig:config PCIE_DPC
        drivers/pci/pcie/Kconfig:  bool "PCIe Downstream Port Containment support"
      
      Remove uses of MODULE_DESCRIPTION(), MODULE_AUTHOR(), MODULE_LICENSE(),
      etc., so that when reading the driver there is no doubt it is builtin-only.
      The information is preserved in comments at the top of the file.
      
      Note that for non-modular code, module_init() translates to
      device_initcall().
      
      [bhelgaas: changelog]
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Keith Busch <keith.busch@intel.com>
      CC: Mika Westerberg <mika.westerberg@linux.intel.com>
      61612e6d
  8. 24 8月, 2016 1 次提交
    • P
      PCI: portdrv: Make explicitly non-modular · a7dadf45
      Paul Gortmaker 提交于
      This code is not being built as a module by anyone:
      
        pcieportdrv-y               := portdrv_core.o portdrv_pci.o portdrv_bus.o
        obj-$(CONFIG_PCIEPORTBUS)   += pcieportdrv.o
      
        drivers/pci/pcie/Kconfig:config PCIEPORTBUS
        drivers/pci/pcie/Kconfig:  bool "PCI Express Port Bus support"
      
      Remove uses of MODULE_DESCRIPTION(), MODULE_AUTHOR(), MODULE_LICENSE(),
      etc., so that when reading the driver there is no doubt it is builtin-only.
      The information is preserved in comments at the top of the file.
      
      Note that for non-modular code, MODULE_DEVICE_TABLE is a no-op and
      module_init() translates to device_initcall().
      
      [bhelgaas: changelog, remove unused DRIVER_* macros]
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Tom Long Nguyen <tom.l.nguyen@intel.com>
      a7dadf45
  9. 19 8月, 2016 1 次提交
  10. 16 8月, 2016 1 次提交
  11. 26 7月, 2016 2 次提交
  12. 22 6月, 2016 2 次提交
  13. 14 6月, 2016 2 次提交
  14. 11 6月, 2016 1 次提交
  15. 05 5月, 2016 1 次提交
  16. 03 5月, 2016 3 次提交
  17. 09 4月, 2016 2 次提交
  18. 15 3月, 2016 1 次提交
  19. 09 3月, 2016 4 次提交
  20. 06 2月, 2016 2 次提交
    • B
      PCI/PME: Restructure pcie_pme_suspend() to prevent compiler warning · 41ccebae
      Bjorn Helgaas 提交于
      Previously we had this:
      
        if (wakeup)
          ret = enable_irq_wake(...);
        if (!wakeup || ret)
          ...
      
      "ret" is only evaluated when "wakeup" is true, and it is always initialized
      in that case, but gcc isn't smart enough to figure that out and warns:
      
        drivers/pci/pcie/pme.c:414:14: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      Restructure the code slightly to make it easier for gcc (and maybe for
      humans as well).
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com
      41ccebae
    • B
      PCI/PME: Remove redundant port lookup · 4e48fe41
      Bjorn Helgaas 提交于
      We've already looked up srv->port a few lines earlier, and there's no need
      to do it again.  Remove the redundant lookup.
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com
      4e48fe41