1. 05 11月, 2009 3 次提交
  2. 15 9月, 2009 1 次提交
    • R
      PCI: Clear saved_state after the state has been restored · 4b77b0a2
      Rafael J. Wysocki 提交于
      Some PCI devices fail if their standard configuration registers are
      restored twice in a row.  Prevent this from happening by making
      pci_restore_state() clear the saved_state flag of the device right
      after the device's standard configuration registers have been
      populated with the previously saved values.
      
      Simplify PCI PM callbacks by removing the direct clearing of
      state_saved from them, as it shouldn't be necessary any more (except
      in pci_pm_thaw(), where it has to be cleared, so that the values saved
      during the "freeze" phase of hibernation are not used later by mistake).
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      4b77b0a2
  3. 10 9月, 2009 3 次提交
  4. 17 6月, 2009 1 次提交
  5. 12 6月, 2009 1 次提交
  6. 04 6月, 2009 1 次提交
  7. 23 4月, 2009 1 次提交
  8. 07 4月, 2009 1 次提交
    • A
      PCI: annotate pci_rescan_bus as __ref, not __devinit · 5446a6bd
      Alex Chiang 提交于
      pci_rescan_bus was annotated as __devinit, which is wrong,
      because it will never be part of device initialization.
      Howevever, we can't simply drop the annotation, because then we
      get section warnings about calling pci_scan_child_bus (which is
      correctly marked as __devinit).
      
      pci_rescan_bus will only get built when CONFIG_HOTPLUG is set,
      meaning that __devinit is a nop, so we know that pci_scan_child_bus
      has not been freed.
      
      Annotate as __ref to silence modpost.
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      5446a6bd
  9. 27 3月, 2009 1 次提交
  10. 21 3月, 2009 11 次提交
  11. 08 1月, 2009 6 次提交
  12. 04 1月, 2009 1 次提交
  13. 13 12月, 2008 1 次提交
    • R
      cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and... · 29c0177e
      Rusty Russell 提交于
      cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scnprintf to take pointers.
      
      Impact: change calling convention of existing cpumask APIs
      
      Most cpumask functions started with cpus_: these have been replaced by
      cpumask_ ones which take struct cpumask pointers as expected.
      
      These four functions don't have good replacement names; fortunately
      they're rarely used, so we just change them over.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NMike Travis <travis@sgi.com>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Cc: paulus@samba.org
      Cc: mingo@redhat.com
      Cc: tony.luck@intel.com
      Cc: ralf@linux-mips.org
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: cl@linux-foundation.org
      Cc: srostedt@redhat.com
      29c0177e
  14. 24 10月, 2008 1 次提交
  15. 23 10月, 2008 1 次提交
    • B
      PCI: Workaround invalid P2P bridge bus numbers · a1c19894
      Benjamin Herrenschmidt 提交于
      Some firmware fail to properly configure P2P bridges, leaving them
      with invalid bus numbers. In some cases, this happens on some embedded
      4xx boards as the result of the kernel allocating different bus space
      than the firmware does to host bridges while not setting
      pcibios_assign_all_busses() for various reasons. In other cases, it can
      just be bogus firmware.
      
      This adds some sanity checking to the PCI probing code. If a bridge is
      found whose primary bus number doesn't match the bus it's sitting on,
      or whose secondary bus number not strictly above it's primary bus
      number, then the bridge bus numbers are deconfigured in the first pass
      of pci_scan_bridge() to be re-assigned in the second pass.
      Tested-by: N"Ayman El-Khashab" <AymanE@tanisys.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      a1c19894
  16. 21 10月, 2008 6 次提交