1. 31 8月, 2007 6 次提交
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 644b55ce
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: psmouse - make dummy touchkit_ps2_detect() static
        Input: gscps2 - convert to use kzalloc
        Input: iforce - fix 'unused variable' warning
        Input: i8042 - fix retrun value of i8042_aux_test_irq
        Input: gpio_keys - remove duplicate includes
      644b55ce
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · feabb06b
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 4561/1: i.MX/MX1 GPIO parenthes omission and input setup fix
        [ARM] 4557/1: Fix PXA irq gpio initialization
        [ARM] 4551/1: s3c24xx: fix wrong virtual address offsets
        [ARM] 4552/1: i.MX/MX1 GPIO output setup fix
        [ARM] 4553/1: ARM at91: define FIQ_START
        [ARM] 4554/1: replace consistent_sync() with flush_ioremap_region()
        ARM: OMAP: Enable serial idling and wakeup features
        ARM: OMAP2: Force APLLs always active
        ARM: OMAP: H3 workqueue fixes
        ARM: OMAP: OSK led fixes
        ARM: OMAP: fix OMAP1 dmtimer build warning
        ARM: OMAP: Fix 32k timer unsupported one-shot mode
      feabb06b
    • H
      fix maxcpus=1 oops in show_stat() · 62e6f1e8
      Hugh Dickins 提交于
      Alexey Dobriyan reports that maxcpus=1 is still broken in 2.6.23-rc4:
      if CONFIG_HOTPLUG_CPU is not set, x86_64 bootup oopses in show_stat() -
      for_each_possible_cpu accesses a per-cpu area which was never set up.
      
      Alexey identified commit 61ec7567
      (ACPI: boot correctly with "nosmp" or "maxcpus=0") as the origin;
      but it's not really to blame, just exposes a bug in 2.6.23-rc1's commit
      8b3b2955 (Especially when !CONFIG_HOTPLUG_CPU,
      avoid needlessy allocating resources for CPUs that can never become available).
      
      rc1's test for max_cpus < 2 in start_kernel() wasn't working because
      max_cpus was still NR_CPUS at that point: until rc4 moved the maxcpus
      parsing earlier.  Now it sets cpu_possible_map to 1 before allocating
      all possible per-cpu areas; then smp_init() expands cpu_possible_map
      to cpu_present_map (0xf in my case) later on.
      
      rc1's commit has good intentions, but expects cpu_present_map to be
      limited by maxcpus, which is only the case on i386.  cpus_and(possible,
      possible,present) might be good, but needs an audit of cpu_present_map
      uses - there may well be assumptions that any cpu present is possible.
      
      So stay safe for now and just revert those #ifndef CONFIG_HOTPLUG_CPU
      optimizations in rc1's commit.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Cc: Alexey Dobriyan <adobriyan@sw.ru>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Jan Beulich <jbeulich@novell.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      62e6f1e8
    • L
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · a1c582d0
      Linus Torvalds 提交于
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
        [POWERPC] PS3: Fix bug where the major version part is not compared
        [POWERPC] Update defconfigs
        [POWERPC] spufs: Don't call spu_run_init from spu_reacquire_runnable
        [POWERPC] spufs: Fix update of mailbox status register during backed wbox write
        [POWERPC] spu_manage: fix spu_unit_number for celleb device tree
        [POWERPC] Update defconfigs
        [POWERPC] Flush registers to proper task context
      a1c582d0
    • A
      xtensa process.c must #include <linux/fs.h> · b5f281a6
      Adrian Bunk 提交于
      Another fallout from the removal of #include <linux/fs.h> from mm.h
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b5f281a6
    • R
      Fix lguest page-pinning logic ("lguest: bad stack page 0xc057a000") · 8057d763
      Rusty Russell 提交于
      If the stack pointer is 0xc057a000, then the first stack page is at
      0xc0579000 (the stack pointer is decremented before use).  Not
      calculating this correctly caused guests with CONFIG_DEBUG_PAGEALLOC=y
      to be killed with a "bad stack page" message: the initial kernel stack
      was just proceeding the .smp_locks section which
      CONFIG_DEBUG_PAGEALLOC marks read-only when freeing.
      
      Thanks to Frederik Deweerdt for the bug report!
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8057d763
  2. 30 8月, 2007 11 次提交
  3. 29 8月, 2007 2 次提交
  4. 28 8月, 2007 10 次提交
    • L
      Linux 2.6.23-rc4 · b07d68b5
      Linus Torvalds 提交于
      b07d68b5
    • A
      dm-mpath-rdac: don't stomp on a requests transfer bit · f99ba18a
      Andrew Vasquez 提交于
      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: NAndrew Vasquez <andrew.vasquez@qlogic.com>
      Verified-by: NBrian De Wolf <bldewolf@csupomona.edu>
      Signed-off-by: NChandra Seetharaman <sekharan@us.ibm.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f99ba18a
    • L
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · 5a99efea
      Linus Torvalds 提交于
      * '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
    • L
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 28d9aa61
      Linus Torvalds 提交于
      * '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
    • H
      fix bogus hotplug cpu warning · d243769d
      Hugh Dickins 提交于
      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: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d243769d
    • H
      reverse CONFIG_ACPI_PROC_EVENT default · 721ebe00
      Hugh Dickins 提交于
      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: NHugh Dickins <hugh@veritas.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <len.brown@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      721ebe00
    • H
      fix maxcpus=N parsing · 81340977
      Hugh Dickins 提交于
      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: NHugh 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: NLinus Torvalds <torvalds@linux-foundation.org>
      81340977
    • L
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 88ede820
      Linus Torvalds 提交于
      * '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
    • L
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 96665822
      Linus Torvalds 提交于
      * '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
    • L
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 · d96a2a5c
      Linus Torvalds 提交于
      * '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
  5. 27 8月, 2007 11 次提交