07 Feb, 2008
40 commits
-
Conflicts:
drivers/acpi/video.c
Signed-off-by: Len Brown
-
…gzilla-7186', 'bugzilla-8269', 'bugzilla-8570', 'bugzilla-9139', 'bugzilla-9277', 'bugzilla-9341', 'bugzilla-9444', 'bugzilla-9614', 'bugzilla-9643' and 'bugzilla-9644' into release
-
Add a default poll idle state with 0 latency. Provides an option to users
to use poll_idle by using 0 as the latency requirement.Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Len Brown -
Show C1 idle time in /sysfs cpuidle interface. C1 idle time may not
be entirely accurate in all cases. It includes the time spent
in the interrupt handler after wakeup with "hlt" based C1. But, it will
be accurate with "mwait" based C1.Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Len Brown -
Add MWAIT idle for C1 state instead of halt, on platforms that support
C1 state with MWAIT.Renames cx->space_id to something more appropriate.
Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Len Brown -
acpi_safe_halt() needs interrupts to be disabled for atomic
need_resched check and safe halt. Otherwise we may miss an
interrupt and go into halt.acpi_safe_halt() also does not enable interrupts on all return paths.
So the callers should handle enable and disable interrupts around it.
Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Len Brown -
Signed-off-by: Pavel Machek
Acked-by: Rafael J. Wysocki
Signed-off-by: Len Brown -
fix bug in safety net for TPEC fan control mode
eaa7571b2d1a08873e4bdd8e6db3431df61cd9adSigned-off-by: Roel Kluin
Acked-by: Henrique de Moraes Holschuh
Signed-off-by: Len Brown -
Signed-off-by: Matthias Kaehlcke
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
Remove duplicated warning message in acpi_power_transition()
ACPI: Transitioning device [%s] to D%d\n
This warning message is printed by acpi_bus_set_power() so we don't
need to print it again.Signed-off-by: Miguel Botón
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
Add support for ASUS F3Sa notebook. Features:
- LCD on/off
- Brightness
- Wifi kill
- Bluetooth killSigned-off-by: Luca Tettamanti
Cc: Corentin Chary
Cc: Karol Kozimor
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown -
'!' has a higher priority than '&': bitanding has no effect.
Signed-off-by: Roel Kluin
Signed-off-by: Len Brown -
Just a little modification of write_acpi_int
Signed-off-by: Corentin Chary
Signed-off-by: Len Brown -
See Documentation/ABI/testing/sysfs-firmware-acpi
Based-on-original-patch-by: Luming Yu
Acked-by: Greg Kroah-Hartman
Signed-off-by: Len Brown -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
9p: fix p9_printfcall export
9p: transport API reorganization
9p: add remove function to trans_virtio
9p: Convert semaphore to spinlock for p9_idpool
9p: fix mmap to be read-only
9p: add support for sticky bit
9p: Fix soft lockup in virtio transport
9p: fix bug in attach-per-user
9p: block-based virtio client
9p: create transport rpc cut-thru
9p: fix bug in p9_clone_stat -
ERROR: "p9_printfcall" [net/9p/9pnet_virtio.ko] undefined!
Signed-off-by: Andrew Morton
Acked-by: Eric Van Hensbergen -
This merges the mux.c (including the connection interface) with trans_fd
in preparation for transport API changes. Ultimately, trans_fd will need
to be rewritten to clean it up and simplify the implementation, but this
reorganization is viewed as the first step.Signed-off-by: Eric Van Hensbergen
-
Request from rusty:
Just cleaning up patches for 2.6.25 merge, and noticed that
net/9p/trans_virtio.c doesn't have a remove function. This will crash when
removing the module (console doesn't have one because it can't really be
removed).Signed-off-by: Eric Van Hensbergen
-
When booting from v9fs, down_interruptible in p9_idpool_get() triggered a BUG
as it was being called with IRQs disabled. A spinlock seems like the right
thing to be using since the idr functions go out of their way not to sleep.This patch eliminates the BUG by converting the semaphore to a spinlock.
Signed-off-by: Anthony Liguori
Acked-by: Eric Van Hensbergen -
v9fs was allowing writable mmap which could lead to kernel BUG() cases.
This sets the mmap function to generic_file_readonly_mmap which (correctly)
returns an error to applications which open mmap for writing.Signed-off-by: Eric Van Hensbergen
-
GDM gets unhappy if /var/gdm doesn't have the sticky bit set. This patch adds
support for the sticky bit in much the same way setuid/setgid is supported.With this patch, I can launch X from a v9fs rootfs (although I quickly run out
of fds in the server once gnome starts up).Signed-off-by: Anthony Liguori
Acked-by: Eric Van Hensbergen -
This fixes a poorly placed spinlock which could result in a
soft lockup condition.Signed-off-by: Eric Van Hensbergen
-
When a new user attached at a directory other than the root, he would end
up in the parent directory of the cwd. This was due to a logic error in
the code which attaches the user at the mount point and walks back to the
cwd. This patch fixes that.Signed-off-by: Eric Van Hensbergen
-
This replaces the console-based virto client with a block-based
client using a single request queue.Signed-off-by: Eric Van Hensbergen
-
Add a new transport function which allows a cut-thru directly to
the transport instead of processing request through the mux if the
cut-thru exists.Signed-off-by: Eric Van Hensbergen
-
This patch fixes a bug in the copying of 9P
stat information where string references
weren't being updated properly.Signed-off-by: Martin Sava
Signed-off-by: Eric Van Hensbergen -
Docbook fatal error, file was moved:
docproc: linux-2.6.24-git15/drivers/base/dmapool.c: No such file or directorySigned-off-by: Randy Dunlap
Signed-off-by: Linus Torvalds -
* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86:
x86: fix deadlock, make pgd_lock irq-safe
virtio: fix trivial build bug
x86: fix mttr trimming
x86: delay CPA self-test and repeat it
x86: fix 64-bit sections
generic: add __FINITDATA
x86: remove suprious ifdefs from pageattr.c
x86: mark the .rodata section also NX
x86: fix iret exception recovery on 64-bit
cpuidle: dubious one-bit signed bitfield in cpuidle.h
x86: fix sparse warnings in powernow-k8.c
x86: fix sparse error in traps_32.c
x86: trivial sparse/checkpatch in quirks.c
x86 ptrace: disallow null cs/ss
MAINTAINERS: RDC R-321x SoC maintainer
brk randomization: introduce CONFIG_COMPAT_BRK
brk: check the lower bound properly
x86: remove X2 workaround
x86: make spurious fault handler aware of large mappings
x86: make traps on entry code be debuggable in user space, 64-bit -
lockdep just caught this one:
=================================
[ INFO: inconsistent lock state ]
2.6.24 #38
---------------------------------
inconsistent {in-softirq-W} -> {softirq-on-W} usage.
swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
(pgd_lock){-+..}, at: [] mm_init+0x1da/0x250
{in-softirq-W} state was registered at:
[] 0xffffffffffffffff
irq event stamp: 394559
hardirqs last enabled at (394559): [] get_page_from_freelist+0x30a/0x4c0
hardirqs last disabled at (394558): [] get_page_from_freelist+0x125/0x4c0
softirqs last enabled at (393952): [] __do_softirq+0xce/0xe0
softirqs last disabled at (393945): [] call_softirq+0x1c/0x30other info that might help us debug this:
no locks held by swapper/1.stack backtrace:
Pid: 1, comm: swapper Not tainted 2.6.24 #38Call Trace:
[] print_usage_bug+0x18b/0x190
[] mark_lock+0x53d/0x560
[] __lock_acquire+0x3ca/0xed0
[] lock_acquire+0xa8/0xe0
[] ? mm_init+0x1da/0x250
[] _spin_lock+0x30/0x70
[] mm_init+0x1da/0x250
[] mm_alloc+0x39/0x50
[] bprm_mm_init+0x2a/0x1a0
[] do_execve+0x7b/0x220
[] sys_execve+0x46/0x70
[] kernel_execve+0x64/0xd0
[] ? _stext+0x1e/0x20
[] init_post+0x9a/0xf0
[] ? trace_hardirqs_on_thunk+0x35/0x3a
[] ? trace_hardirqs_on+0xba/0xd0
[] ? child_rip+0xa/0x12
[] ? restore_args+0x0/0x44
[] ? child_rip+0x0/0x12turns out that pgd_lock has been used on 64-bit x86 in an irq-unsafe
way for almost two years, since commit 8c914cb704a11460e.Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
fix build bug:
drivers/virtio/virtio_balloon.c: In function 'fill_balloon':
drivers/virtio/virtio_balloon.c:98: error: implicit declaration of function 'msleep'Acked-by: Rusty Russell
Signed-off-by: Ingo Molnar