01 Oct, 2008

1 commit


29 Sep, 2008

4 commits


27 Sep, 2008

8 commits

  • This patch defines pcibios_map_irq() and pcibios_plat_dev_init() for
    the BCM47xx platform.

    It fixes the regression introduced by commit
    aab547ce0d1493d400b6468c521a0137cd8c1edf.

    Signed-off-by: Aurelien Jarno
    Signed-off-by: Ralf Baechle

    Aurelien Jarno
     
  • pcibios_map_irq is no way of returning an error but on IP27 an interrupt
    is possibly not routable when running out of resources. So do the
    interrupt routing at pcibios_enable_device time.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     
  • David Brownell wrote:
    > The problem is that "value" is zero-or-nonzero.
    > This code wrongly assumes it's zero-or-one.
    > Possible fix: "((!!value) << gpio)".

    Signed-off-by: Bruno Randolf
    Signed-off-by: Ralf Baechle

    Bruno Randolf
     
  • This patch contains the following cleanups:
    - make the following needlessly global code static:
    - entry.S: resume_userspace
    - process.c: pm_idle
    - process.c: default_idle()
    - smp.c: send_IPI_allbutself()
    - time.c: timer_interrupt()
    - time.c: struct irq0
    - traps.c: set_eit_vector_entries()
    - traps.c: kstack_depth_to_print
    - traps.c: show_trace()
    - traps.c: die_lock
    - remove the following unused code:
    - head.S: startup_32
    - process.c: hlt_counter
    - process.c: disable_hlt()
    - process.c: enable_hlt()
    - process.c: dump_task_regs()
    - remove the following variables and their usages since they were
    always 0:
    - irq.c: irq_err_count
    - irq.c: irq_mis_count

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Hirokazu Takata

    Adrian Bunk
     
  • ERROR: "__ndelay" [drivers/spi/spi_bitbang.ko] undefined!

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Hirokazu Takata

    Adrian Bunk
     
  • ERROR: "empty_zero_page" [fs/ext4/ext4dev.ko] undefined!

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Hirokazu Takata

    Adrian Bunk
     
  • As far as I know no M32R hardware actually has ISA slots.

    And ISA drivers don't compile on M32R.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Hirokazu Takata

    Adrian Bunk
     
  • Remove the unused NOHIGHMEM option.

    Reviewed-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Hirokazu Takata

    Adrian Bunk
     

26 Sep, 2008

3 commits

  • Delete ARM's own cnt32_to_63.h as the copy in include/linux/ should now be
    used instead.

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • On x86_64 the gdb serial register structure defines the PS (also known
    as eflags), CS and SS registers as 4 bytes entities.

    This patch splits the x86_64 regnames enum into a 32 and 64 version to
    account for the 32 bit entities in the gdb serial packets.

    Also the program counter is properly filled in for the sleeping
    threads.

    Signed-off-by: Jason Wessel

    Jason Wessel
     
  • On the x86 arch, user space single step exceptions should be ignored
    if they occur in the kernel space, such as ptrace stepping through a
    system call.

    First check if it is kgdb that is executing a single step, then ensure
    it is not an accidental traversal into the user space, while in kgdb,
    any other time the TIF_SINGLESTEP is set, kgdb should ignore the
    exception.

    On x86, arm, mips and powerpc, the kgdb_contthread usage was
    inconsistent with the way single stepping is implemented in the kgdb
    core. The arch specific stub should always set the
    kgdb_cpu_doing_single_step correctly if it is single stepping. This
    allows kgdb to correctly process an instruction steps if ptrace
    happens to be requesting an instruction step over a system call.

    Signed-off-by: Jason Wessel

    Jason Wessel
     

25 Sep, 2008

5 commits


24 Sep, 2008

6 commits


23 Sep, 2008

8 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    sparc64: Fix missing devices due to PCI bridge test in of_create_pci_dev().
    sparc64: Fix disappearing PCI devices on e3500.

    Linus Torvalds
     
  • Impact: Functional TSC is marked unstable on AMD family 0x10 and 0x11 CPUs.

    This would be wrong because for those CPUs "invariant TSC" means:

    "The TSC counts at the same rate in all P-states, all C states, S0,
    or S1"

    (See "Processor BIOS and Kernel Developer's Guides" for those CPUs.)

    [ tglx: Changed C1E to AMD C1E in the printks to avoid confusion
    with Intel C1E ]

    Signed-off-by: Andreas Herrmann
    Signed-off-by: Thomas Gleixner

    Andreas Herrmann
     
  • Impact: System hang when AMD C1E machines switch into C2/C3

    AMD C1E enabled systems do not work with normal ACPI C-states
    even if the BIOS is advertising them. Limit the C-states to
    C1 for the ACPI processor idle code.

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • Impact: hang which happens across CPU offline/online on AMD C1E systems.

    When a CPU goes offline then the corresponding bit in the broadcast
    mask is cleared. For AMD C1E enabled CPUs we do not reenable the
    broadcast when the CPU comes online again as we do not clear the
    corresponding bit in the c1e_mask, which keeps track which CPUs
    have been switched to broadcast already. So on those !$@#& machines
    we never switch back to broadcasting after a CPU offline/online cycle.

    Clear the bit when the CPU plays dead.

    Signed-off-by: Thomas Gleixner

    Thomas Gleixner
     
  • 27-rc fails to boot up if configured to use modules.

    Turns out vsmp_patch was marked __init, and vsmp_patch being the
    pvops 'patch' routine for vsmp, a call to vsmp_patch just turns out
    to execute a code page with series of 0xcc (POISON_FREE_INITMEM -- int3).

    vsmp_patch has been marked with __init ever since pvops, however,
    apply_paravirt can be called during module load causing calls to
    freed memory location.

    Since apply_paravirt can only be called during init/module load, make
    vsmp_patch with "__init_or_module"

    Signed-off-by: Ravikiran Thirumalai
    Signed-off-by: Ingo Molnar

    Ravikiran G Thirumalai
     
  • Just like in the arch/sparc64/kernel/of_device.c code fix commit
    071d7f4c3b411beae08d27656e958070c43b78b4 ("sparc64: Fix SMP bootup
    with CONFIG_STACK_DEBUG or ftrace.") we have to check the OF device
    node name for "pci" instead of relying upon the 'device_type' property
    being there on all PCI bridges.

    Tested by Meelis Roos, and confirmed to make the PCI QFE devices
    reappear on the E3500 system.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Currently a memory segment in memory map with attribute of EFI_MEMORY_UC
    is denoted as "System RAM" in /proc/iomem, while memory of attribute
    (EFI_MEMORY_WB|EFI_MEMORY_UC) is also labeled the same.

    The kexec utility then includes uncached memory as part of vmcore. The
    kdump kernel MCA'ed when it tries to save the vmcore to a disk. A normal
    "cached" access may cause MCAs.

    This patch would label memory with attribute of EFI_MEMORY_UC only as
    "Uncached RAM" so that kexec would know not to include it in the vmcore.
    I will submit a separate kexec-tools patch to the kexec list.

    Signed-off-by: Jay Lan
    Acked-by: Simon Horman
    Signed-off-by: Tony Luck

    Jay Lan
     
  • Peter Chubb reported that commit 3463a93def55c309f3c0d0a8aaf216be3be42d64
    (Update check_sal_cache_flush to use platform_send_ipi()) broke
    Ski because it does not implement IPIs.

    Tony Luck suggested we just #ifndef out the call (since the simulator
    does not have the SAL bug that this code is attempting to detect and
    workaround)

    Signed-off-by: Alex Chiang
    Signed-off-by: Tony Luck

    Alex Chiang
     

22 Sep, 2008

2 commits

  • nmi_shutdown() calls unregister_die_notifier() from an atomic context
    after setting preempt_disable() via get_cpu_var():

    [ 1049.404154] BUG: scheduling while atomic: oprofiled/7796/0x00000002
    [ 1049.404171] INFO: lockdep is turned off.
    [ 1049.404176] Modules linked in: oprofile af_packet rfcomm l2cap kvm_intel kvm i915 drm acpi_cpufreq cpufreq_userspace cpufreq_conservative cpufreq_ondemand cpufreq_powersave freq_table container sbs sbshc dm_mod arc4 ecb cryptomgr aead snd_hda_intel crypto_blkcipher snd_pcm_oss crypto_algapi snd_pcm iwlagn iwlcore snd_timer iTCO_wdt led_class btusb iTCO_vendor_support snd psmouse bluetooth mac80211 soundcore cfg80211 snd_page_alloc intel_agp video output button battery ac dcdbas evdev ext3 jbd mbcache sg sd_mod piix ata_piix libata scsi_mod dock tg3 libphy ehci_hcd uhci_hcd usbcore thermal processor fan fuse
    [ 1049.404362] Pid: 7796, comm: oprofiled Not tainted 2.6.27-rc5-mm1 #30
    [ 1049.404368] Call Trace:
    [ 1049.404384] [] thread_return+0x4a0/0x7d3
    [ 1049.404396] [] generic_exec_single+0x52/0xe0
    [ 1049.404405] [] generic_exec_single+0xda/0xe0
    [ 1049.404414] [] smp_call_function_single+0x73/0x150
    [ 1049.404423] [] schedule_timeout+0x95/0xd0
    [ 1049.404430] [] wait_for_common+0x43/0x180
    [ 1049.404438] [] wait_for_common+0x114/0x180
    [ 1049.404448] [] default_wake_function+0x0/0x10
    [ 1049.404457] [] synchronize_rcu+0x30/0x40
    [ 1049.404463] [] wakeme_after_rcu+0x0/0x10
    [ 1049.404472] [] _spin_unlock_irqrestore+0x40/0x80
    [ 1049.404482] [] atomic_notifier_chain_unregister+0x3f/0x60
    [ 1049.404501] [] nmi_shutdown+0x51/0x90 [oprofile]
    [ 1049.404517] [] oprofile_shutdown+0x34/0x70 [oprofile]
    [ 1049.404532] [] event_buffer_release+0xe/0x40 [oprofile]
    [ 1049.404543] [] __fput+0xcd/0x240
    [ 1049.404551] [] filp_close+0x54/0x90
    [ 1049.404560] [] put_files_struct+0xb1/0xd0
    [ 1049.404568] [] do_exit+0x18f/0x930
    [ 1049.404576] [] restore_args+0x0/0x30
    [ 1049.404584] [] do_group_exit+0x36/0xa0
    [ 1049.404592] [] system_call_fastpath+0x16/0x1b

    This can be easily triggered with 'opcontrol --shutdown'.

    Simply move get_cpu_var() above unregister_die_notifier().

    Signed-off-by: Andrea Righi
    Acked-by: Robert Richter
    Signed-off-by: Ingo Molnar

    Andrea Righi
     
  • * 'kvm-updates/2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
    KVM: ia64: 'struct fdesc' build fix

    Linus Torvalds
     

21 Sep, 2008

3 commits