03 Dec, 2006

16 commits


02 Dec, 2006

16 commits

  • This reverts commit 281ea49b0c294649a6de47a6f8fbe5611137726b,
    which broke ACPI Interrupt source overrides that move
    the SCI from one IRQ in PIC mode to another in IOAPIC mode.

    If the SCI shared an interrupt line with another device,
    this would result in a "irq 18: nobody cared" type failure.

    http://bugzilla.kernel.org/show_bug.cgi?id=7601

    Signed-off-by: Len Brown

    Len Brown
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (31 commits)
    [MIPS] Remove duplicate ISA DMA code for 0 DMA channel case.
    [MIPS] Remove unused definition of cpu_to_lelongp()
    [MIPS] Remove userspace proofing from .
    [MIPS] Remove old junk left from old atomic_lock.
    [MIPS] Use conditional traps for BUG_ON on MIPS II and better.
    [MIPS] mips HPT cleanup: make clocksource_mips public
    [MIPS] do_IRQ cleanup
    [MIPS] Avoid dupliate D-cache flush on R400C / R4400 SC and MC variants.
    [MIPS] Remove redundant r4k_blast_icache() calls
    [MIPS] Work around bogus gcc warnings.
    [MIPS] Fix double inclusions
    [MIPS] use generic_handle_irq, handle_level_irq, handle_percpu_irq
    [MIPS] IRQ cleanups
    [MIPS] mips hpt cleanup: get rid of mips_hpt_init
    [MIPS] PB1200: Remove duplicate definitions
    [MIPS] Fix alignment hole in struct cache_desc; shrink struct.
    [MIPS] Oprofile: kernel support for the R10000.
    [MIPS] Remove unused R10000 performance counter definitions.
    [MIPS] Add support for kexec
    [MIPS] Don't print presence of WAIT instruction on bootup.
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (28 commits)
    PCI: make arch/i386/pci/common.c:pci_bf_sort static
    PCI: ibmphp_pci.c: fix NULL dereference
    pciehp: remove unnecessary pci_disable_msi
    pciehp: remove unnecessary free_irq
    PCI: rpaphp: change device tree examination
    PCI: Change memory allocation for acpiphp slots
    i2c-i801: SMBus patch for Intel ICH9
    PCI: irq: irq and pci_ids patch for Intel ICH9
    PCI: pci_{enable,disable}_device() nestable ports
    PCI: switch pci_{enable,disable}_device() to be nestable
    PCI: arch/i386/kernel/pci-dma.c: ioremap balanced with iounmap
    pci/i386: style cleanups
    PCI: Block on access to temporarily unavailable pci device
    pci: fix __pci_register_driver error handling
    pci: clear osc support flags if no _OSC method
    acpiphp: fix missing acpiphp_glue_exit()
    acpiphp: fix use of list_for_each macro
    Altix: Initial ACPI support - ROM shadowing.
    Altix: SN ACPI hotplug support.
    Altix: Add initial ACPI IO support
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
    Driver core: show drivers in /sys/module/
    Documentation/driver-model/platform.txt update/rewrite
    Driver core: platform_driver_probe(), can save codespace
    driver core: Use klist_remove() in device_move()
    driver core: Introduce device_move(): move a device to a new parent.
    Driver core: make drivers/base/core.c:setup_parent() static
    driver core: Introduce device_find_child().
    sysfs: sysfs_write_file() writes zero terminated data
    cpu topology: consider sysfs_create_group return value
    Driver core: Call platform_notify_remove later
    ACPI: Change ACPI to use dev_archdata instead of firmware_data
    Driver core: add dev_archdata to struct device
    Driver core: convert sound core to use struct device
    Driver core: change mem class_devices to be real devices
    Driver core: convert fb code to use struct device
    Driver core: convert firmware code to use struct device
    Driver core: convert mmc code to use struct device
    Driver core: convert ppdev code to use struct device
    Driver core: convert PPP code to use struct device
    Driver core: convert cpuid code to use struct device
    ...

    Linus Torvalds
     
  • Converts from using struct "class_device" to "struct device" making
    everything show up properly in /sys/devices/ with symlinks from the
    /sys/class directory.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Converts from using struct "class_device" to "struct device" making
    everything show up properly in /sys/devices/ with symlinks from the
    /sys/class directory.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This patch makes the needlessly global pci_bf_sort static.

    Signed-off-by: Adrian Bunk
    Acked-by: Matt Domsch
    Signed-off-by: Greg Kroah-Hartman

    Adrian Bunk
     
  • This updated patch adds the Intel ICH9 LPC and SMBus Controller DID's.

    Signed-off-by: Jason Gaston
    Signed-off-by: Greg Kroah-Hartman

    Jason Gaston
     
  • ioremap must be balanced by an iounmap and failing to do so can result
    in a memory leak.

    Tested (compilation only):
    - using allmodconfig
    - making sure the files are compiling without any warning/error due to
    new changes

    Signed-off-by: Amol Lad
    Signed-off-by: Greg Kroah-Hartman

    Amol Lad
     
  • Mostly CodingStyle cleanups for arch/i386/pci/i386.c:
    - fit in 80 columns;
    - use a #defined value instead of an inline constant;
    Also change one resource_size_t (DBG) printk from %08lx to %lx since
    it can be more than 32 bits (more than 8 hexits).

    Signed-off-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • Support a shadowed ROM when running with an ACPI capable PROM.

    Define a new dev.resource flag IORESOURCE_ROM_BIOS_COPY to
    describe the case of a BIOS shadowed ROM, which can then
    be used to avoid pci_map_rom() making an unneeded call to
    pci_enable_rom().

    Signed-off-by: John Keller
    Signed-off-by: Greg Kroah-Hartman

    John Keller
     
  • First phase in introducing ACPI support to SN.
    In this phase, when running with an ACPI capable PROM,
    the DSDT will define the root busses and all SN nodes
    (SGIHUB, SGITIO). An ACPI bus driver will be registered
    for the node devices, with the acpi_pci_root_driver being
    used for the root busses. An ACPI vendor descriptor is
    now used to pass platform specific information for both
    nodes and busses, eliminating the need for the current
    SAL calls. Also, with ACPI support, SN fixup code is no longer
    needed to initiate the PCI bus scans, as the acpi_pci_root_driver
    does that.

    However, to maintain backward compatibility with non-ACPI capable
    PROMs, none of the current 'fixup' code can been deleted, though
    much restructuring has been done. For example, the bulk of the code
    in io_common.c is relocated code that is now common regardless
    of what PROM is running, while io_acpi_init.c and io_init.c contain
    routines specific to an ACPI or non ACPI capable PROM respectively.

    A new pci bus fixup platform vector has been created to provide
    a hook for invoking platform specific bus fixup from pcibios_fixup_bus().

    The size of io_space[] has been increased to support systems with
    large IO configurations.

    Signed-off-by: John Keller
    Signed-off-by: Greg Kroah-Hartman

    John Keller
     
  • This file no longer uses pci_cache_line_size, so delete the declaration

    Signed-off-by: Matthew Wilcox
    Cc: Benjamin Herrenschmidt
    Acked-by: Jeff Garzik
    Signed-off-by: Greg Kroah-Hartman

    Matthew Wilcox
     
  • The setting of the CACHE_LINE_SIZE register in sparc64's pci
    initialisation code isn't quite adequate as the device may have
    incompatible requirements. The generic code tests for this, so switch
    sparc64 over to using it.

    Since sparc64 has different L1 cache line size and PCI cache line size,
    it would need to override the generic code like i386 and ia64 do. We
    know what the cache line size is at compile time though, so introduce a
    new optional constant PCI_CACHE_LINE_BYTES.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: David Miller
    Acked-by: Jeff Garzik
    Signed-off-by: Greg Kroah-Hartman

    Matthew Wilcox
     
  • The pci_generic_prep_mwi() code does everything that pcibios_prep_mwi()
    does on ia64. All we need to do is be sure that pci_cache_line_size
    is set appropriately, and we can delete pcibios_prep_mwi().

    Using SMP_CACHE_BYTES as the default was wrong on uniprocessor machines
    as it is only 8 bytes. The default in the generic code of L1_CACHE_BYTES
    is at least as good.

    Signed-off-by: Matthew Wilcox
    Acked-by: Jeff Garzik
    Signed-off-by: Greg Kroah-Hartman

    Matthew Wilcox
     
  • The number of permutations of crap we do is amazing and almost all of it
    has the wrong effect in 2.6.

    At the heart of this is the PCI SFF magic which says that compatibility
    mode PCI IDE controllers use ISA IRQ routing and hard coded addresses
    not the BAR values. The old quirks variously clears them, sets them,
    adjusts them and then IDE ignores the result.

    In order to drive all this garbage out and to do it portably we need to
    handle the SFF rules directly and properly. Because we know the device
    BAR 0-3 are not used in compatibility mode we load them with the values
    that are implied (and indeed which many controllers actually
    thoughtfully put there in this mode anyway).

    This removes special cases in the IDE layer and libata which now knows
    that bar 0/1/2/3 always contain the correct address. It means our
    resource allocation map is accurate from boot, not "mostly accurate"
    after ide is loaded, and it shoots lots of code. There is also lots more
    code and magic constant knowledge to shoot once this is in and settled.

    Been in my test tree for a while both with drivers/ide and with libata.
    Wants some -mm shakedown in case I've missed something dumb or there are
    corner cases lurking.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     

30 Nov, 2006

8 commits