09 Jan, 2009

15 commits


08 Jan, 2009

6 commits

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (98 commits)
    PCI PM: Put PM callbacks in the order of execution
    PCI PM: Run default PM callbacks for all devices using new framework
    PCI PM: Register power state of devices during initialization
    PCI PM: Call pci_fixup_device from legacy routines
    PCI PM: Rearrange code in pci-driver.c
    PCI PM: Avoid touching devices behind bridges in unknown state
    PCI PM: Move pci_has_legacy_pm_support
    PCI PM: Power-manage devices without drivers during suspend-resume
    PCI PM: Add suspend counterpart of pci_reenable_device
    PCI PM: Fix poweroff and restore callbacks
    PCI: Use msleep instead of cpu_relax during ASPM link retraining
    PCI: PCIe portdrv: Add kerneldoc comments to remining core funtions
    PCI: PCIe portdrv: Rearrange code so that related things are together
    PCI: PCIe portdrv: Fix suspend and resume of PCI Express port services
    PCI: PCIe portdrv: Add kerneldoc comments to some core functions
    x86/PCI: Do not use interrupt links for devices using MSI-X
    net: sfc: Use pci_clear_master() to disable bus mastering
    PCI: Add pci_clear_master() as opposite of pci_set_master()
    PCI hotplug: remove redundant test in cpq hotplug
    PCI: pciehp: cleanup register and field definitions
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (24 commits)
    trivial: chack -> check typo fix in main Makefile
    trivial: Add a space (and a comma) to a printk in 8250 driver
    trivial: Fix misspelling of "firmware" in docs for ncr53c8xx/sym53c8xx
    trivial: Fix misspelling of "firmware" in powerpc Makefile
    trivial: Fix misspelling of "firmware" in usb.c
    trivial: Fix misspelling of "firmware" in qla1280.c
    trivial: Fix misspelling of "firmware" in a100u2w.c
    trivial: Fix misspelling of "firmware" in megaraid.c
    trivial: Fix misspelling of "firmware" in ql4_mbx.c
    trivial: Fix misspelling of "firmware" in acpi_memhotplug.c
    trivial: Fix misspelling of "firmware" in ipw2100.c
    trivial: Fix misspelling of "firmware" in atmel.c
    trivial: Fix misspelled firmware in Kconfig
    trivial: fix an -> a typos in documentation and comments
    trivial: fix then -> than typos in comments and documentation
    trivial: update Jesper Juhl CREDITS entry with new email
    trivial: fix singal -> signal typo
    trivial: Fix incorrect use of "loose" in event.c
    trivial: printk: fix indentation of new_text_line declaration
    trivial: rtc-stk17ta8: fix sparse warning
    ...

    Linus Torvalds
     
  • The _OSC capability OSC_MSI_SUPPORT is set when the root bridge is added
    with pci_acpi_osc_support(), so we no longer need to do it in the PCI
    MSI driver. Also adds the function pci_msi_enabled, which returns true
    if pci=nomsi is not on the kernel command-line.

    Signed-off-by: Andrew Patterson
    Signed-off-by: Jesse Barnes

    Andrew Patterson
     
  • The _OSC capabilities OSC_ACTIVE_STATE_PWR_SUPPORT and
    OSC_CLOCK_PWR_CAPABILITY_SUPPORT are set when the root bridge is added
    with pci_acpi_osc_support(), so we no longer need to do it in the ASPM
    driver. Also add the function pcie_aspm_enabled, which returns true if
    pcie_aspm=off is not on the kernel command-line.

    Signed-off-by: Andrew Patterson
    Signed-off-by: Jesse Barnes

    Andrew Patterson
     
  • The _OSC capability OSC_EXT_PCI_CONFIG_SUPPORT is set when the root
    bridge is added with pci_acpi_osc_support() if we can access PCI
    extended config space.

    This adds the function pci_ext_cfg_avail which returns true if we can
    access PCI extended config space (offset greater than 0xff). It
    currently only returns false if arch=x86 and raw_pci_ext_ops is not set
    (which might happen if pci=nommcfg is set on the kernel command-line).

    Signed-off-by: Andrew Patterson
    Signed-off-by: Jesse Barnes

    Andrew Patterson
     
  • Add pci_acpi_osc_support() and call it when a PCI bridge is added. This
    allows us to avoid having every individual PCI root bridge driver call
    _OSC support for every root bridge in their probe functions, a
    significant savings in boot time.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Jesse Barnes

    Andrew Patterson
     

07 Jan, 2009

1 commit

  • While looking at reducing the amount of architecture namespace pollution
    in the generic kernel, I found that asm/irq.h is included in the vast
    majority of compilations on ARM (around 650 files.)

    Since asm/irq.h includes a sub-architecture include file on ARM, this
    causes a negative impact on the ccache's ability to re-use the build
    results from other sub-architectures, so we have a desire to reduce the
    dependencies on asm/irq.h.

    It turns out that a major cause of this is the needless include of
    linux/hardirq.h into asm-generic/local.h. The patch below removes this
    include, resulting in some 250 to 300 files (around half) of the kernel
    then omitting asm/irq.h.

    My test builds still succeed, provided two ARM files are fixed
    (arch/arm/kernel/traps.c and arch/arm/mm/fault.c) - so there may be
    negative impacts for this on other architectures.

    Note that x86 does not include asm/irq.h nor linux/hardirq.h in its
    asm/local.h, so this patch can be viewed as bringing the generic version
    into line with the x86 version.

    [kosaki.motohiro@jp.fujitsu.com: add #include to acpi/processor_idle.c]
    [adobriyan@gmail.com: fix sparc64]
    Signed-off-by: Russell King
    Signed-off-by: KOSAKI Motohiro
    Cc: Steven Rostedt
    Cc: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Russell King
     

06 Jan, 2009

2 commits


04 Jan, 2009

1 commit


31 Dec, 2008

15 commits