1. 31 Aug, 2007 12 commits
  2. 30 Aug, 2007 12 commits
  3. 29 Aug, 2007 3 commits
    • Christian Krafft's avatar
      [POWERPC] spu_manage: fix spu_unit_number for celleb device tree · aac2e684
      Christian Krafft authored
      This fixes a regression introduced with 2.6.23-rc4 after on some
      confusion about the device tree interfaces.
      
      IBM QS21 device trees provide "physical-id", so we changed the code to
      run on that and remain compatible with all IBM machines.
      
      However, the Toshiba Celleb device tree provides the "unit-id" property,
      which was in the Linux code, but never used in this way on IBM hardware.
      
      Legacy device tree used the reg property for the physical id of an spe.
      This patch fixes find_spu_unit_number to look for the spu id in that order.
      The length is checked to avoid misinterpretation in case the attributes
      unit-id or reg do not contain the id.
      Signed-off-by: default avatarChristian Krafft <krafft@de.ibm.com>
      Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
      Cc: Jeremy Kerr <jk@ozlabs.org>
      aac2e684
    • Kumar Gala's avatar
      [POWERPC] Update defconfigs · 5cc44e08
      Kumar Gala authored
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      5cc44e08
    • Kumar Gala's avatar
      [POWERPC] Flush registers to proper task context · 0ee6c15e
      Kumar Gala authored
      When we flush register state for FP, Altivec, or SPE in flush_*_to_thread
      we need to respect the task_struct that the caller has passed to us.
      
      Most cases we are called with current, however sometimes (ptrace) we may
      be passed a different task_struct.
      
      This showed up when using gdbserver debugging a simple program that used
      floating point. When gdb tried to show the FP regs they all showed up as
      0, because the child's FP registers were never properly flushed to memory.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      0ee6c15e
  4. 28 Aug, 2007 2 commits
  5. 27 Aug, 2007 11 commits
    • Andrew Vasquez's avatar
      dm-mpath-rdac: don't stomp on a requests transfer bit · f99ba18a
      Andrew Vasquez authored
      Without this, we get qla2xxx complaining about "ISP System Error".
      
      What's happening here is the firmware is detecting a Xfer-ready from the
      storage when in fact the data-direction for a mode-select should be a
      write (DATA_OUT).
      
      The following patch fixes the problem (typo). Verified by Brian, as
      well.
      Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
      Verified-by: default avatarBrian De Wolf <bldewolf@csupomona.edu>
      Signed-off-by: default avatarChandra Seetharaman <sekharan@us.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f99ba18a
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · 5a99efea
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SPARC32]: Make flush_tlb_kernel_range() an inline function.
        [SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c
        [SPARC32]: Kill unused vars and macros from prom/console.c
        [SPARC32]: Add __cmpdi2() libcall implementation ala. MIPS.
        [VIDEO]: Do not prom_halt() in cg3 and bw2 device probe.
        [SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK.
      5a99efea
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 28d9aa61
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [NET]: Mark Paul Moore as maintainer of labelled networking.
        [VLAN/BRIDGE]: Fix "skb_pull_rcsum - Fatal exception in interrupt"
        [ISDN]: Get rid of some pointless allocation casts in common and bsd comp.
        [NET]: Avoid pointless allocation casts in BSD compression module
        [IRDA]: Do not do pointless kmalloc return value cast in KingSun driver
        [NET]: Fix crash in dev_mc_sync()/dev_mc_unsync()
        [PPPOL2TP]: Fix endianness annotations.
        [IOAT]: ioatdma needs to to play nice in a multi-dma-client world
        [SLIP]: trivial sparse warning fix
        [EQL]: sparse warning fix
        [NET]: is_power_of_2 in net/core/neighbour.c
        [TCP]: Describe tcp_init_cwnd() thoroughly in a comment.
        [NET]: Fix IP_ADD/DROP_MEMBERSHIP to handle only connectionless
        [KBUILD]: Sanitize tc_ematch headers.
        [IPSEC] AH4: Update IPv4 options handling to conform to RFC 4302.
      28d9aa61
    • Hugh Dickins's avatar
      fix bogus hotplug cpu warning · d243769d
      Hugh Dickins authored
      Fix bogus DEBUG_PREEMPT warning on x86_64, when cpu brought online after
      bootup: current_is_keventd is right to note its use of smp_processor_id
      is preempt-safe, but should use raw_smp_processor_id to avoid the warning.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d243769d
    • Hugh Dickins's avatar
      reverse CONFIG_ACPI_PROC_EVENT default · 721ebe00
      Hugh Dickins authored
      Sigh.  Again an ACPI assault on the Thinkpad's Fn+F4 to suspend to RAM.
      The default and text for CONFIG_THINKPAD_ACPI_INPUT_ENABLED were fixed
      in -rc3, but now commit 14e04fb3 ("ACPI:
      Schedule /proc/acpi/event for removal") introduces the ACPI_PROC_EVENT
      config entry, and defaults it to 'n' to disable it again.
      
      Change default to y, and add comment to make it clearer that n is for
      future distros.
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <len.brown@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      721ebe00
    • Hugh Dickins's avatar
      fix maxcpus=N parsing · 81340977
      Hugh Dickins authored
      Commit 61ec7567 ('ACPI: boot correctly
      with "nosmp" or "maxcpus=0"') broke 'maxcpus=' handling on x86[-64].
      
      maxcpus=N is now having no effect on x86_64, and freezing bootup on i386
      (because of inconsistency with the separate maxcpus parsing down in
      arch/i386, I guess).  That's because early_param parsing is a little
      different from __setup parsing, and needs the "=" omitted: then it seems
      to work as the original commit intended (no mention of IO-APIC in
      /proc/interrupts when maxcpus=0).
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <len.brown@intel.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      81340977
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 88ede820
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (60 commits)
        [MIPS] Fulong doesn't need ISA DMA.
        [MIPS] IP27: intr_sconnect_level: don't disable interrupts.
        [MIPS] IP27: startup_bridge_irq: connect interrupt.
        [MIPS] IP27: shutdown_bridge_irq: don't free irq.
        [MIPS] Sort out handling of ISA-less PCI systems.
        [MIPS] Add __cmpdi2
        [MIPS] HOTPLUG: Make register_pci_controller __devinit.
        [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
        [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
        [MIPS] Delete duplicate inclusion of <linux/delay.h>.
        [MIPS] Polish <asm/edac.h>.
        [MIPS] IP22: Export sgi_gfxaddr for use by the Newport console driver.
        [MIPS] Maintain si_code field properly for FP exceptions
        [MIPS] SMTC: Fix duplicate status dumps on NMI
        [MIPS] Unconditionally writeback and invalidate caches on kexec.
        [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
        [MIPS] Fix gcc 3.3 warning.
        [MIPS] Fix invalid semicolon after if statement
        [MIPS] Update Cobalt defconfig
        [MIPS] Update workpad_defconfig
        ...
      88ede820
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 96665822
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
        [POWERPC] Fix SLB initialization at boot time
        [POWERPC] Fix undefined reference to device_power_up/resume
        [POWERPC] cell: Update cell_defconfig for 2.6.23
        [POWERPC] axonram: Do not delete gendisks queue in error path
        [POWERPC] axonram: Module modification for latest firmware API changes
        [POWERPC] cell: Support pinhole-reset on IBM cell blades
        [POWERPC] spu_manage: Use newer physical-id attribute
        [POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE
      96665822
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 · d96a2a5c
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
        [PARISC] Add NOTES section
        [PARISC] Use compat_sys_getdents
        [PARISC] Do not allow STI_CONSOLE to be modular
        [PARISC] Clean up sti_flush
        [PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines
        [PARISC] Add empty <asm-parisc/vga.h>
      d96a2a5c
    • Kyle McMartin's avatar
      [PARISC] Add NOTES section · 81b4b98a
      Kyle McMartin authored
      Bisected bizarre kernel-space nullptr dereference in udev to commit
      18991197, adding the NOTES section fixes
      it.
      Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
      81b4b98a
    • Kyle McMartin's avatar
      [PARISC] Use compat_sys_getdents · 88a79078
      Kyle McMartin authored
      Switch to using the generic compat_sys_getdents instead of a
      homebrew one.
      Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
      88a79078