19 Mar, 2006

8 commits


17 Mar, 2006

2 commits

  • Bryce reported a bug wherein offlining CPU0 (on x86 box) and then
    subsequently onlining it resulted in a lockup.

    On x86, CPU0 is never offlined. The subsequent attempt to online CPU0
    doesn't take that into account. It actually tries to bootup the already
    booted CPU. Following patch fixes the problem (as acknowledged by Bryce).
    Please consider for inclusion in 2.6.16.

    Check if cpu is already online.

    Signed-off-by: Srivatsa Vaddagiri
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Srivatsa Vaddagiri
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge:
    powerpc: update defconfigs
    [PATCH] powerpc: properly configure DDR/P5IOC children devs
    [PATCH] powerpc: remove duplicate EXPORT_SYMBOLS
    [PATCH] powerpc: RTC memory corruption
    [PATCH] powerpc: enable NAP only on cpus who support it to avoid memory corruption
    [PATCH] powerpc: Clarify wording for CRASH_DUMP Kconfig option
    [PATCH] powerpc/64: enable CONFIG_BLK_DEV_SL82C105
    [PATCH] powerpc: correct cacheflush loop in zImage
    powerpc: Fix problem with time going backwards
    powerpc: Disallow lparcfg being a module

    Linus Torvalds
     

16 Mar, 2006

14 commits

  • Signed-off-by: Paul Mackerras

    Paul Mackerras
     
  • The dynamic add path for PCI Host Bridges can fail to configure children
    adapters under P5IOC controllers. It fails to properly fixup bus/device
    resources, and it fails to properly enable EEH. Both of these steps
    need to occur before any children devices are enabled in
    pci_bus_add_devices().

    Signed-off-by: John Rose
    Signed-off-by: Paul Mackerras

    John Rose
     
  • remove warnings when building a 64bit kernel.
    smp_call_function triggers also with 32bit kernel.

    WARNING: vmlinux: duplicate symbol 'smp_call_function' previous definition was in vmlinux
    arch/powerpc/kernel/ppc_ksyms.c:164:EXPORT_SYMBOL(smp_call_function);
    arch/powerpc/kernel/smp.c:300:EXPORT_SYMBOL(smp_call_function);

    WARNING: vmlinux: duplicate symbol 'ioremap' previous definition was in vmlinux
    arch/powerpc/kernel/ppc_ksyms.c:113:EXPORT_SYMBOL(ioremap);
    arch/powerpc/mm/pgtable_64.c:321:EXPORT_SYMBOL(ioremap);

    WARNING: vmlinux: duplicate symbol '__ioremap' previous definition was in vmlinux
    arch/powerpc/kernel/ppc_ksyms.c:117:EXPORT_SYMBOL(__ioremap);
    arch/powerpc/mm/pgtable_64.c:322:EXPORT_SYMBOL(__ioremap);

    WARNING: vmlinux: duplicate symbol 'iounmap' previous definition was in vmlinux
    arch/powerpc/kernel/ppc_ksyms.c:118:EXPORT_SYMBOL(iounmap);
    arch/powerpc/mm/pgtable_64.c:323:EXPORT_SYMBOL(iounmap);

    Signed-off-by: Olaf Hering
    Signed-off-by: Paul Mackerras

    Olaf Hering
     
  • We should be memset'ing the data we are pointing to, not the pointer
    itself. This is in an error path so we probably don't hit it much.

    Signed-off-by: Michael Neuling
    Signed-off-by: Paul Mackerras

    Michael Neuling
     
  • This patch fixes incorrect setting of powersave_nap to 1 on all
    PowerMacs, potentially causing memory corruption on some models. This
    bug was introuced by me during the 32/64 bits merge.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     
  • The wording of the CRASH_DUMP Kconfig option is not very clear. It gives you a
    kernel that can be used _as_ the kdump kernel, not a kernel that can boot into
    a kdump kernel.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Paul Mackerras

    Michael Ellerman
     
  • Enable the onboard IDE driver for p610, p615 and p630.
    They have the CD connected to this card. All other RS/6000 systems with this
    controller have no connectors and dont need this option.

    Signed-off-by: Olaf Hering
    Signed-off-by: Paul Mackerras

    Olaf Hering
     
  • Correct the loop for cacheflush. No idea where I copied the code from,
    but the original does not work correct. Maybe the flush is not needed.

    Signed-off-by: Olaf Hering
    Signed-off-by: Paul Mackerras

    Olaf Hering
     
  • The recent changes to keep gettimeofday in sync with xtime had the side
    effect that it was occasionally possible for the time reported by
    gettimeofday to go back by a microsecond. There were two reasons:
    (1) when we recalculated the offsets used by gettimeofday every 2^31
    timebase ticks, we lost an accumulated fractional microsecond, and
    (2) because the update is done some time after the notional start of
    jiffy, if ntp is slowing the clock, it is possible to see time go backwards
    when the timebase factor gets reduced.

    This fixes it by (a) slowing the gettimeofday clock by about 1us in
    2^31 timebase ticks (a factor of less than 1 in 3.7 million), and (b)
    adjusting the timebase offsets in the rare case that the gettimeofday
    result could possibly go backwards (i.e. when ntp is slowing the clock
    and the timer interrupt is late). In this case the adjustment will
    reduce to zero eventually because of (a).

    Signed-off-by: Paul Mackerras

    Paul Mackerras
     
  • Patch from Ben Dooks

    arch/arm/kernel/setup.c declares mem_fclk_21285 when
    this is already declared in include/asm-arm/system.h

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     
  • Patch from Ben Dooks

    arch/arm/kernel/compat.c exports two functions,
    convert_to_tag_list and squash_mem_tags which
    are not defined in any header files, and not
    used outside arch/arm/kernel.

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     
  • Patch from Ben Dooks

    Fix the following warnings from sparse:

    arch/arm/kernel/process.c:86:6: warning: symbol 'default_idle' was not declared. Should it be static?
    arch/arm/kernel/process.c:378:5: warning: symbol 'dump_fpu' was not declared. Should it be static?

    Include for dump_fpu() decleration, and
    make default_idle() static as it is not used outside the file.

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     
  • Patch from Albrecht Dreß

    Add DMA resources to s3c2410 spi platform devices - dma_(alloc|free)_coherent should now work as expected.

    Signed-off-by: Albrecht Dreß
    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Albrecht Dreß
     
  • Patch from Pavel Machek

    Enable frontlight during collie bootup, so that display is actually
    readable in anything other than bright sunlight.

    Signed-off-by: Pavel Machek
    Signed-off-by: Richard Purdie
    Signed-off-by: Russell King

    Pavel Machek
     

15 Mar, 2006

3 commits

  • Signed-off-by: Russell King

    Russell King
     
  • lapic_shutdown() re-enables interrupts which is un-desirable for panic
    case, so use local_irq_save() and local_irq_restore() to keep the irqs
    disabled for kexec on panic case, and close a possible race window while
    kdump shutdown as shown in this stack trace

    -- BUG: spinlock lockup on CPU#1, bash/4396, c52781a0
    [] _raw_spin_lock+0xb7/0xd2
    [] _spin_lock+0x6/0x8
    [] scheduler_tick+0xe7/0x328
    [] update_process_times+0x51/0x5d
    [] smp_apic_timer_interrupt+0x4f/0x58
    [] lapic_shutdown+0x76/0x7e
    [] apic_timer_interrupt+0x1c/0x30
    [] lapic_shutdown+0x76/0x7e
    [] machine_crash_shutdown+0x83/0xaa
    [] crash_kexec+0xc1/0xe3
    [] _spin_lock+0x6/0x8
    [] crash_kexec+0xad/0xe3
    [] __handle_sysrq+0x84/0xfd
    [] write_sysrq_trigger+0x2c/0x35
    [] vfs_write+0xa2/0x13b
    [] sys_write+0x3b/0x64
    [] syscall_call+0x7/0xb

    Signed-off-by: Maneesh Soni
    Signed-off-by: Linus Torvalds

    Maneesh Soni
     
  • This reverts commit c33d4568aca9028a22857f94f5e0850012b6444b.

    Andrew Clayton and Hugh Dickins report that it's broken for them and
    causes strange page table and slab corruption, and spontaneous reboots.

    Let's get it right next time.

    Cc: Andrew Clayton
    Cc: Hugh Dickins
    Cc: Andi Kleen
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

14 Mar, 2006

1 commit

  • The lparcfg code needs several things which are pretty arcane internal
    details and which we don't want to export, which means that lparcfg
    doesn't work when built as a module. This makes it a bool instead of
    a tristate in the Kconfig so that users can't try to build it as a
    module.

    Signed-off-by: Paul Mackerras

    Paul Mackerras
     

13 Mar, 2006

3 commits

  • EM64T CPUs have somewhat weird error reporting for non canonical RIPs in
    SYSRET.

    We can't handle any exceptions there because the exception handler would
    end up running on the user stack which is unsafe.

    To avoid problems any code that might end up with a user touched pt_regs
    should return using int_ret_from_syscall. int_ret_from_syscall ends up
    using IRET, which allows safe exceptions.

    Cc: Ernie Petrides
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] iwmmxt thread state alignment
    [ARM] 3350/1: Enable 1-wire on ARM
    [ARM] 3356/1: Workaround for the ARM1136 I-cache invalidation problem
    [ARM] 3355/1: NSLU2: remove propmt depends
    [ARM] 3354/1: NAS100d: fix power led handling
    [ARM] Fix muldi3.S

    Linus Torvalds
     
  • This patch removes the reliance of iwmmxt on hand coded alignments.
    Since thread_info is always 8K aligned, specifying that fpstate is
    8-byte aligned achieves the same effect without needing to resort
    to hand coded alignments.

    Signed-off-by: Russell King

    Russell King
     

11 Mar, 2006

3 commits


10 Mar, 2006

6 commits