25 Jan, 2008

6 commits


24 Jan, 2008

5 commits

  • Len Brown
     
  • This reverts commit 93ad7c07ad487b036add8760dabcc35666a550ef.

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

    Signed-off-by: Len Brown

    Len Brown
     
  • If BIOS invokes _OSI(Linux), the kernel response
    depends on what the ACPI DMI list knows about the system,
    and that is reflectd in dmesg:

    1) System unknown to DMI:

    ACPI: BIOS _OSI(Linux) query ignored
    ACPI: DMI System Vendor: LENOVO
    ACPI: DMI Product Name: 7661W1P
    ACPI: DMI Product Version: ThinkPad T61
    ACPI: DMI Board Name: 7661W1P
    ACPI: DMI BIOS Vendor: LENOVO
    ACPI: DMI BIOS Date: 10/18/2007
    ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
    ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org

    2) System known to DMI, but effect of OSI(Linux) unknown:

    ACPI: DMI detected: Lenovo ThinkPad T61
    ...
    ACPI: BIOS _OSI(Linux) query ignored via DMI
    ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org

    3) System known to DMI, which disables _OSI(Linux):

    ACPI: DMI detected: Lenovo ThinkPad T61
    ...
    ACPI: BIOS _OSI(Linux) query ignored via DMI

    4) System known to DMI, which enable _OSI(Linux):

    ACPI: DMI detected: Lenovo ThinkPad T61
    ACPI: Added _OSI(Linux)
    ...
    ACPI: BIOS _OSI(Linux) query honored via DMI

    cmdline overrides take precidence over the built-in
    default and the DMI prescribed default.
    cmdline "acpi_osi=Linux" results in:

    ACPI: BIOS _OSI(Linux) query honored via cmdline

    Signed-off-by: Len Brown

    Len Brown
     
  • This simply allows other sub-systems (such as ACPI)
    to access and print out slots in static dmi_ident[].

    Signed-off-by: Len Brown

    Len Brown
     
  • Signed-off-by: Len Brown

    Len Brown
     

22 Jan, 2008

1 commit

  • Fix compile warning (which becomes compile error due to -Werror). Type of
    argument "flags" for spin_lock_irqsave() was incorrect in some functions.

    Signed-off-by: Frank Rowand
    Signed-off-by: Ralf Baechle

    Frank Rowand
     

18 Jan, 2008

1 commit

  • - Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD.
    The reservation up to page size of memory after init data was previously
    not done if BLK_DEV_INITRD was undefined.
    This caused a kernel oops when init memory pages were freed after startup,
    data placed in the same page as the last init memory would also be freed
    and reused, with disastrous results.

    - Use macros for initcalls and .text sections.

    - Replace hardcoded page size constant with PAGE_SIZE define.

    - Change include/asm-cris/page.h to use the _AC macro to instead
    of testing __ASSEMBLY__.

    Signed-off-by: Jesper Nilsson
    Cc: Sam Ravnborg
    Cc: Mikael Starvik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Nilsson
     

16 Jan, 2008

4 commits

  • Dave Young reported warnings from lockdep that the workqueue API
    can sometimes try to register lockdep classes with the same key
    but different names. This is not permitted in lockdep.

    Unfortunately, I was unaware of that restriction when I wrote
    the code to debug workqueue problems with lockdep and used the
    workqueue name as the lockdep class name. This can obviously
    lead to the problem if the workqueue name is dynamic.

    This patch solves the problem by always using a constant name
    for the workqueue's lockdep class, namely either the constant
    name that was passed in or a string consisting of the variable
    name.

    Signed-off-by: Johannes Berg
    Signed-off-by: Ingo Molnar
    Signed-off-by: Peter Zijlstra

    Johannes Berg
     
  • Devices that misreport the validity bit for word 93 look like SATA. If
    they are on the blacklist then we must not test for SATA but assume 40 wire
    in the 40 wire case (The TSSCorp reports 80 wire on SATA it seems!)

    Signed-off-by: Alan Cox
    Cc: Tejun Heo
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Alan Cox
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86:
    x86: fix RTC_AIE with CONFIG_HPET_EMULATE_RTC
    x86: asm-x86/msr.h: pull in linux/types.h
    x86: fix boot crash on HIGHMEM4G && SPARSEMEM

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Fix boot failure on POWER6
    [POWERPC] Workaround for iommu page alignment

    Linus Torvalds
     

15 Jan, 2008

8 commits


14 Jan, 2008

4 commits

  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] vfp: fix fuitod/fsitod instructions
    [ARM] pxa: silence warnings from cpu_is_xxx() macros

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Fix CPU hotplug when using the SLB shadow buffer
    [POWERPC] efika: add phy-handle property for fec_mpc52xx

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    pnpacpi: print resource shortage message only once
    PM: ACPI and APM must not be enabled at the same time
    ACPI: apply quirk_ich6_lpc_acpi to more ICH8 and ICH9
    ACPICA: fix acpi_serialize hang regression
    ACPI : Not register gsi for PCI IDE controller in legacy mode
    ACPI: Reintroduce run time configurable max_cstate for !CPU_IDLE case
    ACPI: Make sysfs interface in ACPI power optional.
    ACPI: EC: Enable boot EC before bus_scan
    increase PNP_MAX_PORT to 40 from 24

    Linus Torvalds
     
  • task_ppid_nr_ns is called in three places. One of these should never
    have called it. In the other two, using it broke the existing
    semantics. This was presumably accidental. If the function had not
    been there, it would have been much more obvious to the eye that those
    patches were changing the behavior. We don't need this function.

    In task_state, the pid of the ptracer is not the ppid of the ptracer.

    In do_task_stat, ppid is the tgid of the real_parent, not its pid.
    I also moved the call outside of lock_task_sighand, since it doesn't
    need it.

    In sys_getppid, ppid is the tgid of the real_parent, not its pid.

    Signed-off-by: Roland McGrath
    Signed-off-by: Linus Torvalds

    Roland McGrath
     

12 Jan, 2008

4 commits


11 Jan, 2008

4 commits


10 Jan, 2008

1 commit


09 Jan, 2008

2 commits

  • It seems commit fda9ef5d679b07c9d9097aaf6ef7f069d794a8f9 introduced a RCU
    protection for sk_filter(), without a rcu_dereference()

    Either we need a rcu_dereference(), either a comment should explain why we
    dont need it. I vote for the former.

    Signed-off-by: Eric Dumazet
    Acked-by: Herbert Xu
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • alg_key_len is the length in bits of the key, not in bytes.

    Best way to fix this is to move alg_len() function from net/xfrm/xfrm_user.c
    to include/net/xfrm.h, and to use it in xfrm_algo_clone()

    alg_len() is renamed to xfrm_alg_len() because of its global exposition.

    Signed-off-by: Eric Dumazet
    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Eric Dumazet