commit 88026842b0a760145aa71d69e74fbc9ec118ca44
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Mon Jan 2 19:21:10 2006 -0800
Linux v2.6.15
Hey, it's fifteen years today since I bought the machine that got Linux
started. January 2nd is a good date.
commit 8f493d797bc1fe470377adc9d8775845427e240e
Author: Andi Kleen <ak@suse.de>
Date: Tue Jan 3 00:07:28 2006 +0100
[PATCH] Make sure interleave masks have at least one node set
Otherwise a bad mem policy system call can confuse the interleaving
code into referencing undefined nodes.
Originally reported by Doug Chapman
I was told it's CVE-2005-3358
(one has to love these security people - they make everything sound important)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit abe842eb98c45e2b77c5868ef106616ca828a3e4
Author: Dag-Erling Smørgrav <des@linpro.no>
Date: Mon Jan 2 15:57:06 2006 +0100
[PATCH] Avoid namespace pollution in <asm/param.h>
In commit 3D59121003721a8fad11ee72e646fd9d3076b5679c, the x86 and x86-64
<asm/param.h> was changed to include <linux/config.h> for the
configurable timer frequency.
However, asm/param.h is sometimes used in userland (it is included
indirectly from <sys/param.h>), so your commit pollutes the userland
namespace with tons of CONFIG_FOO macros. This greatly confuses
software packages (such as BusyBox) which use CONFIG_FOO macros
themselves to control the inclusion of optional features.
After a short exchange, Christoph approved this patch
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f12f4d90308a22396ac87f6c3a7b2620589614c3
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Mon Jan 2 13:04:44 2006 +1100
[PATCH] powerpc: more g5 overtemp problem fix
Some G5s still occasionally experience shutdowns due to overtemp
conditions despite the recent fix. After analyzing logs from such
machines, it appears that the overtemp code is a bit too quick at
shutting the machine down when reaching the critical temperature (tmax +
8) and doesn't leave the fan enough time to actually cool it down. This
happens if the temperature of a CPU suddenly rises too high in a very
short period of time, or occasionally on boot (that is the CPUs are
already overtemp by the time the driver loads).
This patches makes the code a bit more relaxed, leaving a few seconds to
the fans to do their job before kicking the machine shutown.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 557962a926c62a9c4bd79d6b36df873d4f8c51ef
Author: Stas Sergeev <stsp@aknet.ru>
Date: Sun Jan 1 04:18:52 2006 +0300
[PATCH] x86: teach dump_task_regs() about the -8 offset.
This should fix multi-threaded core-files
Signed-off-by: stsp@aknet.ru
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit de9e007d9105bf8fa613a89810feff32a43add03
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sat Dec 31 17:00:29 2005 -0800
sysctl: make sure to terminate strings with a NUL
This is a slightly more complete fix for the previous minimal sysctl
string fix. It always terminates the returned string with a NUL, even
if the full result wouldn't fit in the user-supplied buffer.
The returned length is the full untruncated length, so that you can
tell when truncation has occurred.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 82c9df820112c6286a8e8fbe482e94b65b49062c
Author: Yi Yang <yang.y.yi@gmail.com>
Date: Fri Dec 30 16:37:10 2005 +0800
[PATCH] Fix false old value return of sysctl
For the sysctl syscall, if the user wants to get the old value of a
sysctl entry and set a new value for it in the same syscall, the old
value is always overwritten by the new value if the sysctl entry is of
string type and if the user sets its strategy to sysctl_string. This
issue lies in the strategy being run twice if the strategy is set to
sysctl_string, the general strategy sysctl_string always returns 0 if
success.
Such strategy routines as sysctl_jiffies and sysctl_jiffies_ms return 1
because they do read and write for the sysctl entry.
The strategy routine sysctl_string return 0 although it actually read
and write the sysctl entry.
According to my analysis, if a strategy routine do read and write, it
should return 1, if it just does some necessary check but not read and
write, it should return 0, for example sysctl_intvec.
Signed-off-by: Yi Yang <yang.y.yi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8febdd85adaa41fa1fc1cb31286210fc2cd3ed0c
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Fri Dec 30 17:18:53 2005 -0800
sysctl: don't overflow the user-supplied buffer with '\0'
If the string was too long to fit in the user-supplied buffer,
the sysctl layer would zero-terminate it by writing past the
end of the buffer. Don't do that.
Noticed by Yi Yang <yang.y.yi@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8b90db0df7187a01fb7177f1f812123138f562cf
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Fri Dec 30 08:39:10 2005 -0800
Insanity avoidance in /proc
The old /proc interfaces were never updated to use loff_t, and are just
generally broken. Now, we should be using the seq_file interface for
all of the proc files, but converting the legacy functions is more work
than most people care for and has little upside..
But at least we can make the non-LFS rules explicit, rather than just
insanely wrapping the offset or something.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 40c37213a081990b1d3778f57630f97df75a7ec1
Author: Denny Priebe <spamtrap@siglost.org>
Date: Thu Dec 29 22:19:09 2005 -0500
[PATCH] Input: wacom - fix X axis setup
This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ae5536d6f7f9b51f7a0451421eade1988cfd7126
Author: Dmitry Torokhov <dtor_core@ameritech.net>
Date: Thu Dec 29 22:19:08 2005 -0500
[PATCH] Input: warrior - fix HAT0Y axis setup
This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1994754412536d4ab902a81530b49bcaf496a59c
Author: Dmitry Torokhov <dtor_core@ameritech.net>
Date: Thu Dec 29 22:19:07 2005 -0500
[PATCH] Input: kbtab - fix Y axis setup
This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f02aa3f9a3dea4375759ae1d87bebf2467719b72
Author: Erik Hovland <erik@hovland.org>
Date: Fri Dec 30 15:57:35 2005 +0000
[ARM] 3216/1: indent and typo in drivers/serial/pxa.c
Patch from Erik Hovland
This patch provides two changes. An indent is supplied for an if/else clause so that it is more readable. An acronym is incorrectly typed as UER when it should be IER.
Signed-off-by: Erik Hovland <erik@hovland.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 9e625ff8a37aefcc177b19614ffcffb5bc6eeea1
Author: Jean Delvare <khali@linux-fr.org>
Date: Thu Dec 29 22:07:30 2005 +0100
[PATCH] Simplify the VIDEO_SAA7134_OSS Kconfig dependency line
Thanks to Roman Zippel for the suggestion.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
[ Short explanation: Kconfig uses ternary math: n/m/y, and !m is m ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 392c14beaca2ee85a98d0c6b453501be67423a20
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Thu Dec 29 13:01:54 2005 -0800
Revert radeon AGP aperture offset changes
This reverts the series of commits
67dbb4ea33731415fe09c62149a34f472719ac1d
281ab031a8c9e5b593142eb4ec59a87faae8676a
47807ce381acc34a7ffee2b42e35e96c0f322e52
that changed the GART VM start offset. It fixed some machines, but
seems to continually interact badly with some X versions.
Quoth Ben Herrenschmidt:
"So I think at this point, the best is that we keep the old bogus code
that at least is consistent with the bug in the server. I'm working on a
big patch to X that reworks the memory map stuff completely and fixes
those issues on the server side, I'll do a DRM patch matching this X fix
as well so that the memory map is only ever set in one place and with
what I hope is a correct algorithm..."
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 80c72579f74fcfcd63e27c5e317091cb35bb1f12
Author: Jean Delvare <khali@linux-fr.org>
Date: Wed Dec 28 21:02:57 2005 +0100
[PATCH] Fix recursive config dependency for SAA7134
Fix the cyclic dependency issue between CONFIG_SAA7134_ALSA and
CONFIG_SAA7134_OSS (credits to Mauro Carvalho Chehab.)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e597cb32e95a6c38e9ead981b169ef2974ccfec0
Author: Anton Blanchard <anton@samba.org>
Date: Thu Dec 29 10:46:29 2005 +1100
[PATCH] ppc64: htab_initialize_secondary cannot be marked __init
Sonny has noticed hotplug CPU on ppc64 is broken in 2.6.15-*. One of the
problems is that htab_initialize_secondary is called when a cpu is being
brought up, but it is marked __init.
Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 576fc0978b6b3673fce6d4b405f36449e508826c
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Thu Dec 29 13:06:11 2005 +0100
[PATCH] x86_64: Fix incorrect node_present_pages on NUMA
Currently, we do not pass the correct start_pfn to e820_hole_size, to
calculate holes. Following patch fixes that.
The bug results in incorrect number of node_present_pages for each pgdat
and causes ugly output in /sys and probably VM inbalances.
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Sighed-off-by: Shair Fultheim <shai@scalex86.org>
Sighed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f873e3e88d52774633968826c5b7fa7bf9697999
Author: Riccardo Magliocchetti <riccardo@datahost.it>
Date: Wed Dec 28 20:44:48 2005 -0500
[PATCH] Input: aiptek - fix Y axis setup
This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ee025949586f80effa634ff273c2444795472780
Author: Dave Jones <davej@redhat.com>
Date: Wed Dec 28 20:01:04 2005 -0500
[PATCH] fix ia64 compile failure with gcc4.1
__get_unaligned creates a typeof the var its passed, and writes to it,
which on gcc4.1, spits out the following error:
drivers/char/vc_screen.c: In function 'vcs_write':
drivers/char/vc_screen.c:422: error: assignment of read-only variable 'val'
Signed-off-by: Dave Jones <davej@redhat.com>
[ The "right" fix would be to try to fix <asm-generic/unaligned.h>
but that's hard to do with the tools gcc gives us. So this
simpler patch is preferable -- Linus ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 63b44442416a243f05881b0dd094b621a46ab4b3
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Thu Dec 29 17:40:02 2005 +0100
[PATCH] uml: fix compilation with CONFIG_MODE_TT disabled
Fix UML compilation when SKAS mode is disabled. Indeed, we were compiling
SKAS-only object files, which failed due to some SKAS-only headers being
excluded from the search path.
Thanks to the bug report from Pekka J Enberg.
Acked-by: Pekka J Enberg <penberg (at) cs ! helsinki ! fi>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 74433c0fe105f47e78c1f2267312693870c9ebc3
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Thu Dec 29 17:39:59 2005 +0100
[PATCH] Hostfs: update for new glibc - add missing symbol exports
Today, when compiling UML, I got warnings for two used unexported symbols:
readdir64 and truncate64. Indeed, my glibc headers are aliasing readdir to
readdir64 and truncate to truncate64 (and so on).
I'm then adding additional exports. Since I've no idea if the symbols where
always provided in the supported glibc's, I've added weak definitions too.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 30f04a4efa73dc80bf3f59f3f19ad5a24ac5ac0a
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Thu Dec 29 17:39:57 2005 +0100
[PATCH] uml: hostfs - fix possible PAGE_CACHE_SHIFT overflows
Prevent page->index << PAGE_CACHE_SHIFT from overflowing.
There is a casting there, but was added without care, so it's at the wrong
place. Note the extra parens around the shift - "+" is higher precedence than
"<<", leading to a GCC warning which saved all us.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3d0a07e3310c947c048bd01d8d0efa0e4fae5ba9
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Thu Dec 29 17:39:54 2005 +0100
[PATCH] Hostfs: remove unused var
Trivial removal of unused variable from this file - doesn't even change the
generated assembly code, in fact (gcc should trigger a warning for unused value
here).
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 516949480d3700cbde4272228a102c84721d6007
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Thu Dec 29 17:39:51 2005 +0100
[PATCH] uml: fix random segfaults at bootup
Don't use printk() where "current_thread_info()" is crap.
Until when we switch to running on init_stack, current_thread_info() evaluates
to crap. Printk uses "current" at times (in detail, ¤t is evaluated with
CONFIG_DEBUG_SPINLOCK to check the spinlock owner task).
And this leads to random segmentation faults.
Exactly, what happens is that ¤t = *(current_thread_info()), i.e. round
down $esp and dereference the value. I.e. access the stack below $esp, which
causes SIGSEGV on a VM_GROWSDOWN vma (see arch/i386/mm/fault.c).
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 68ca243dd1dc90bd42bae3945e804c1042584920
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Wed Dec 28 13:27:04 2005 -0800
[SERMOUSE]: Sun mice speak 5-byte protocol too.
Noticed by Christophe Zimmerman, this explains the slow mouse movement
with 2.6.x kernels.
And checking the 2.4.x drivers/sbus/char/sunmouse.c driver shows we
always used a 5-byte protocol with Sun mice in the past. I have no
idea how the 3-byte thing got into the 2.6.x driver, but it's surely
wrong.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit d5784b57d2e08a632b971baae23266121004ef3b
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Wed Dec 28 13:22:54 2005 -0800
[SPARC]: Use STABS_DEBUG and DWARF_DEBUG macros in vmlinux.lds.S
Signed-off-by: David S. Miller <davem@davemloft.net>
commit a8b554e75b0c14d5e12a11eaea604e536f49da29
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Wed Dec 28 13:05:41 2005 -0800
[TG3]: Update driver version and reldate.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 091465d7514893a55dcf63e420698b21159c39a7
Author: Chris Elmquist <chrise@sgi.com>
Date: Tue Dec 20 13:25:19 2005 -0800
[TG3]: ethtool -d hangs PCIe systems
Resubmitting after recommendation to use GET_REG32_1() instead of
GET_REG32_LOOP(..., 1). Retested. Problem remains fixed.
Prevent tg3_get_regs() from reading reserved and undocumented registers
at RX_CPU_BASE and TX_CPU_BASE offsets which caused hostile behavior
on PCIe platforms.
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 67dbb4ea33731415fe09c62149a34f472719ac1d
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Tue Dec 27 12:49:33 2005 +1100
[PATCH] Fix more radeon GART start calculation cases
As reported by Jules Villard <jvillard@ens-lyon.fr> and some others, the
recent GART aperture start reconfiguration causes problems on some
setups.
What I _think_ might be happening is that the X server is also trying to
muck around with the card memory map and is forcing it back into a wrong
setting that also happens to no longer match what the DRM wants to do
and blows up. There are bugs all over the place in that code (and still
some bugs in the DRM as well anyway).
This patch attempts to avoid that by using the largest of the 2 values,
which I think will cause it to behave as it used to for you and will
still fix the problem with machines that have an aperture size smaller
than the video memory.
Acked-by: Jules Villard <jvillard@ens-lyon.fr>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5ab4a6c81eb3dbe32361791d1535f9153f79b0ed
Author: David L Stevens <dlstevens@us.ibm.com>
Date: Tue Dec 27 14:03:00 2005 -0800
[IPV6] mcast: Fix multiple issues in MLDv2 reports.
The below "jumbo" patch fixes the following problems in MLDv2.
1) Add necessary "ntohs" to recent "pskb_may_pull" check [breaks
all nonzero source queries on little-endian (!)]
2) Add locking to source filter list [resend of prior patch]
3) fix "mld_marksources()" to
a) send nothing when all queried sources are excluded
b) send full exclude report when source queried sources are
not excluded
c) don't schedule a timer when there's nothing to report
NOTE: RFC 3810 specifies the source list should be saved and each
source reported individually as an IS_IN. This is an obvious DOS
path, requiring the host to store and then multicast as many sources
as are queried (e.g., millions...). This alternative sends a full,
relevant report that's limited to number of sources present on the
machine.
4) fix "add_grec()" to send empty-source records when it should
The original check doesn't account for a non-empty source
list with all sources inactive; the new code keeps that
short-circuit case, and also generates the group header
with an empty list if needed.
5) fix mca_crcount decrement to be after add_grec(), which needs
its original value
These issues (other than item #1 ;-) ) were all found by Yan Zheng,
much thanks!
Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 1b93ae64cabe5e28dd5a1f35f96f938ca4f6ae20
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Tue Dec 27 13:57:59 2005 -0800
[NET]: Validate socket filters against BPF_MAXINSNS in one spot.
Currently the checks are scattered all over and this leads
to inconsistencies and even cases where the check is not made.
Based upon a patch from Kris Katterjohn.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6732badee0dad467fcc9dd0168af8677b2b1bc2f
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Tue Dec 27 13:35:15 2005 -0800
[IPV6]: Fix addrconf dead lock.
We need to release idev->lcok before we call addrconf_dad_stop().
It calls ipv6_addr_del(), which will hold idev->lock.
Bug spotted by Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit a710ce08585e920740ffc84c7f3c82f4081169cf
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Tue Dec 27 11:10:34 2005 +0000
[SERIAL] Fix AMBA PL011 sysrq character handling
We only want the received character without the status bits for
sysrq handling.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 79cac2a221ce18642550a13bed0f0203514923ea
Author: David Kimdon <david.kimdon@devicescape.com>
Date: Mon Dec 26 17:27:10 2005 -0800
[BR_NETFILTER]: Fix leak if skb traverses > 1 bridge
Call nf_bridge_put() before allocating a new nf_bridge structure and
potentially overwriting the pointer to a previously allocated one.
This fixes a memory leak which can occur when the bridge topology
allows for an skb to traverse more than one bridge.
Signed-off-by: David Kimdon <david.kimdon@devicescape.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6f4353d891b5e477528cd0b996e0263fecdf5d5f
Author: David L Stevens <dlstevens@us.ibm.com>
Date: Mon Dec 26 17:03:46 2005 -0800
[IPV6]: Increase default MLD_MAX_MSF to 64.
The existing default of 10 is just way too low.
Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 04333393b930370db0cc29fdf0dbbd08ecd43337
Author: James Bottomley <James.Bottomley@SteelEye.com>
Date: Mon Dec 26 09:58:49 2005 -0600
[PATCH] Fix Fibre Channel boot oops
The oops is characteristic of the underlying device being removed from
visibility before the class device, and sure enough we do device_del()
before transport_unregister() in the scsi_target_reap() routines. I've
no idea why this is suddenly showing up, since the code has been in
there since that function was first invented. However, I've confirmed
this fixes Andrew Vasquez's boot oops.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f89f5948fc10bb973cd452d2e334da207828e228
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sat Dec 24 15:47:48 2005 -0800
Linux v2.6.15-rc7
Ho ho ho.
commit 01e33b5a2a153eec74dd87522e264948030b88c1
Author: Kurt Huwig <k.huwig@iku-ag.de>
Date: Sun Dec 25 00:13:08 2005 +0100
[PATCH] n_r3964: fixed usage of HZ; removed bad include
Fix n_r3964 timeouts (hardcoded for 100Hz)
Also the include of <asm/termios.h> in 'n_r3964.h' is unnecessary and
prevents using the header file in any application that has to include
<termios.h> due to duplicate definition of 'struct termio'.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e5c34a57c8b3a94b8d2b329936f8b1cbcc765307
Author: Ben Collins <ben.collins@ubuntu.com>
Date: Fri Dec 23 09:10:03 2005 -0500
[PATCH] Fix typo in x86_64 __build_write_lock_const assembly
Based on __build_read_lock_const, this looked like a bug.
[ Indeed. Maybe nobody uses this version? Worth fixing up anyway ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c660439ba90aaaa056f68a5b0fc79f6b9e0506f5
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Thu Dec 22 14:21:34 2005 -0800
[PATCH] x86_64/ia64 : Fix compilation error for node_to_first_cpu
Fixes a compiler error in node_to_first_cpu, __ffs expects unsigned long as
a parameter; instead cpumask_t was being passed. The macro
node_to_first_cpu was not yet used in x86_64 and ia64 arches, and so we never
hit this. This patch replaces __ffs with first_cpu macro, similar to other
arches.
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran G Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1224b375ed7982128602a3fa1da53eeeac1750b4
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sat Dec 24 12:19:38 2005 -0800
Fix silly typo ("smb" vs "smp")
Introduced by commit 6003a93e7bf6c02f33c02976ff364785d4273295
commit 8e31108b9f41069d55cb9b019ac8262c55fd2616
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Dec 23 19:54:46 2005 -0800
[PATCH] Fix memory ordering problem in wake_futex()
Fix a memory ordering problem that occurs on IA64. The "store" to q->lock_ptr
in wake_futex() can become visible before wake_up_all() clears the lock in the
futex_q.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6003a93e7bf6c02f33c02976ff364785d4273295
Author: Manfred Spraul <manfred@colorfullife.com>
Date: Fri Dec 23 23:57:41 2005 +0100
[PATCH] add missing memory barriers to ipc/sem.c
Two smp_wmb() statements are missing in the sysv sem code: This could
cause stack corruptions.
The attached patch adds them.
Signed-Off-By: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e445ee65cbefaa19131c972ae7fe221c95cf4cc4
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Sat Dec 24 12:06:10 2005 -0800
[VIDEO] sbuslib: Disallow private mmaps.
The COW semantics just do not make any sense especially
with the physically discontiguous I/O mappings possible
here.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 1836098f97d22c81652aeeec64d1819dc2177bdb
Author: Manfred Spraul <manfred@colorfullife.com>
Date: Sat Dec 24 14:19:24 2005 +0100
[PATCH] forcedeth: fix random memory scribbling bug
Two critical bugs were found in forcedeth 0.47:
- TSO doesn't work.
- pci_map_single() for the rx buffers is called with size==0. This bug
is critical, it causes random memory corruptions on systems with an
iommu.
Below is a minimal fix for both bugs, for 2.6.15.
TSO will be fixed properly in the next version. Tested on x86-64.
Signed-Off-By: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3df3cc6d18b6dcd38c33c198fb8adf1f1fa5f4a7
Author: Frank Pavlic <fpavlic@de.ibm.com>
Date: Tue Dec 13 08:23:26 2005 +0100
[PATCH] s390: remove redundant and useless code in qeth
[patch 3/3] s390: remove redundant and useless code in qeth
From: Frank Pavlic <pavlic@de.ibm.com>
- remove redundant and useless code in qeth for
procfs operations.
- update Revision numbers
Signed-off-by: Frank Pavlic <pavlic@de.ibm.com>
diffstat:
qeth_main.c | 6 -
qeth_mpc.c | 2
qeth_mpc.h | 2
qeth_proc.c | 250 ++++++------------------------------------------------------
qeth_sys.c | 4
qeth_tso.h | 4
6 files changed, 38 insertions(+), 230 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 4965e97fd36041d19483843c66286b9800a57c15
Author: Frank Pavlic <fpavlic@de.ibm.com>
Date: Tue Dec 13 08:22:30 2005 +0100
[PATCH] s390: minor qeth network driver fixes
[patch 2/3] s390: minor qeth network driver fixes
From: Frank Pavlic <pavlic@de.ibm.com>
- use netif_carrier_on/off calls to tell network stack
link carrier state
- fix possible kfree on NULL
- PDU_LEN2 is at offset 0x29 otherwise OSN chpid won't initialize
Signed-off-by: Frank Pavlic <pavlic@de.ibm.com>
diffstat:
qeth_eddp.c | 3 ++-
qeth_main.c | 17 +++++++----------
qeth_mpc.h | 2 +-
3 files changed, 10 insertions(+), 12 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 6c6b3e7c4f93d330b920e6531b579b1f6bae5ac1
Author: Frank Pavlic <fpavlic@de.ibm.com>
Date: Tue Dec 13 08:21:47 2005 +0100
[PATCH] s390: some minor qeth driver fixes
[patch 1/3] s390: some minor qeth driver fixes
From: Frank Pavlic <pavlic@de.ibm.com>
- let's have just one function for both ,input and output queue
to check qdio errors
- add /proc/s390dbf/qeth_qerr entries for outbound processing
- check removed for layer2 device in qeth_add_multicast_ipv6
- NULL pointer dereference with bonding and VLAN device fixed
- minimum length check for portname fixed
Signed-off-by: Frank Pavlic <pavlic@de.ibm.com>
diffstat:
qeth_main.c | 42 +++++++++++++++++++++---------------------
qeth_sys.c | 6 +++---
2 files changed, 24 insertions(+), 24 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit afcceaa3c7b7fbf7e2b95c5f0dd43547b03292d2
Author: Olaf Hering <olh@suse.de>
Date: Wed Dec 14 00:33:49 2005 +0100
[PATCH] missing license for libphy.ko
Andy,
libphy has no license tag. Something like the attached (untested!) patch
is needed. Hopefully such a change finds its way into 2.6.15.
filename: /lib/modules/2.6.15-rc5-3-ppc64/kernel/drivers/net/phy/libphy.ko
vermagic: 2.6.15-rc5-3-ppc64 SMP gcc-4.1
depends:
srcversion: ACC921B5E82701BE1E6F603
drivers/net/phy/phy_device.c | 4 ++++
1 files changed, 4 insertions(+)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit d495657200bd3ce10f9cb52401056804bf365811
Author: Pavel Roskin <proski@gnu.org>
Date: Fri Dec 16 18:57:10 2005 -0500
[PATCH] orinoco_nortel: Add Symbol LA-4123 ID
Add ID for Symbol LA-4123. Reported by Tomas Novak <tap@post.cz>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit c8cb00f6ac9aa13b0575726163b165fd2276ff25
Author: Pavel Roskin <proski@gnu.org>
Date: Fri Dec 16 18:49:53 2005 -0500
[PATCH] orinoco_nortel: Fix incorrect PCI resource use
orinoco_nortel was broken during conversion to iomem API. Wrong PCI BAR
is used for chipset registers. Reported by Tomas Novak <tap@post.cz>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit fd71da468dd8897fe3f565dfd3743a87d8678e3a
Author: Tony Battersby <tonyb@cybernetics.com>
Date: Wed Dec 21 16:35:44 2005 -0500
[PATCH] fix libata inquiry VPD for ATAPI devices
The following patch prevents libata from incorrectly modifying inquiry
VPD pages and command support data from ATAPI devices. I have tested
the patch with a SATA ATAPI tape drive on an AHCI controller.
Patch is against kernel 2.4.32 with 2.4.32-libata1.patch applied.
Anthony J. Battersby
Cybernetics
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 291d809ba5c8d4d6d8812e3f185bdf57d539f594
Author: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>
Date: Fri Dec 23 11:24:05 2005 -0800
[IPV6]: Fix Temporary Address Generation
From: Hiroyuki YAMAMORI <h-yamamo@db3.so-net.ne.jp>
Since regen_count is stored in the public address, we need to reset it
when we start renewing temporary address.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 3dd3bf83574e38578fc9741c0e23e4fa7f7ff96e
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Fri Dec 23 11:23:21 2005 -0800
[IPV6]: Fix dead lock.
We need to relesae ifp->lock before we call addrconf_dad_stop(),
which will hold ifp->lock.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 597d1f0622d21ffe54aceef8da9682e776f51cc2
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Thu Dec 22 23:04:39 2005 -0800
[SPARC]: Kill CHILD_MAX.
It's definition is wrong (-1 means "no limit" not 999),
only the Sparc SunOS/Solaris compat code uses it, so
let's just kill it off completely from limits.h and
all referencing code.
Noticed by Ulrich Drepper.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 0b57ee9e55373a27e45549e82b0c43621480a71b
Author: Adrian Bunk <bunk@stusta.de>
Date: Thu Dec 22 21:03:47 2005 -0800
[SPARC]: introduce a SPARC Kconfig symbol
Introduce a Kconfig symbol SPARC that is defined on both the sparc and
sparc64 architectures.
This symbol makes some dependencies more readable.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 14904398e5b573d13f8c8dbd43a452ff34c0efc2
Author: Adrian Bunk <bunk@stusta.de>
Date: Wed Dec 21 18:50:12 2005 -0800
[SUNGEM]: Fix link error with CONFIG_HOTPLUG disabled.
gem_remove_one() is called from the __devinit gem_init_one().
Therefore, gem_remove_one() mustn't be __devexit.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 9d6be4bed65a3bd36ab2de12923bff4f4530bd86
Author: Len Brown <len.brown@intel.com>
Date: Thu Dec 22 22:23:06 2005 -0500
[ACPI] fix build warning from owner_id patch
Signed-off-by: Len Brown <len.brown@intel.com>
commit 75b245b3259133360845bc6de3aecb8a6bd6ab59
Author: Thomas Renninger <trenn@suse.de>
Date: Wed Dec 21 01:29:00 2005 -0500
[ACPI] fix passive cooling regression
Return logic was inverted.
Going for changing the return value to not return zero as it is makes
more sense regarding the naming of the function (cpu_has_cpufreq()).
http://bugzilla.kernel.org/show_bug.cgi?id=3410
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
commit d2b18394259ef621fd2a6322aa9934198fd87a6a
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Thu Dec 22 23:21:38 2005 +0000
[MMC] Set correct capacity for 1024-byte block cards
We were passing set_capacity() the capacity we calculated in terms of
the number of blocks on the card, which happened to be the right units
for 512-byte block cards. However, with 1024-byte block cards, we
end up setting the capacity to half the number of blocks. Fix this
by shifting by the appropriate amount.
Thanks to Todd Blumer for pointing this out.
Use get_capacity() to report the card capacity, rather than
recalculating it from the CSD information.
Finally, use our chosen IO block size for the SET_BLOCKLEN command
rather than the CSD read block size. Currently these are equivalent,
but will not be in the future.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 0800c5f7a499a8961c3868e95cc4cf1715166457
Author: ASANO Masahiro <masano@tnes.nec.co.jp>
Date: Thu Dec 22 13:24:54 2005 +0900
[PATCH] fix posix lock on NFS
NFS client prevents mandatory lock, but there is a flaw on it; Locks are
possibly left if the mode is changed while locking.
This permits unlocking even if the mandatory lock bits are set.
Signed-off-by: ASANO Masahiro <masano@tnes.nec.co.jp>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d6f029130fb83b36fb709a187275b0494035d689
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Dec 21 12:26:25 2005 -0500
[PATCH] fix race with preempt_enable()
Currently a simple
void foo(void) { preempt_enable(); }
produces the following code on ARM:
foo:
bic r3, sp, #8128
bic r3, r3, #63
ldr r2, [r3, #4]
ldr r1, [r3, #0]
sub r2, r2, #1
tst r1, #4
str r2, [r3, #4]
blne preempt_schedule
mov pc, lr
The problem is that the TIF_NEED_RESCHED flag is loaded _before_ the
preemption count is stored back, hence any interrupt coming within that
3 instruction window causing TIF_NEED_RESCHED to be set won't be
seen and scheduling won't happen as it should.
Nothing currently prevents gcc from performing that reordering. There
is already a barrier() before the decrement of the preemption count, but
another one is needed between this and the TIF_NEED_RESCHED flag test
for proper code ordering.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Acked-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9b78a82c1cf19aa813bdaa184fa840a3ba811750
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Thu Dec 22 07:39:48 2005 -0800
[IPSEC]: Fix policy updates missed by sockets
The problem is that when new policies are inserted, sockets do not see
the update (but all new route lookups do).
This bug is related to the SA insertion stale route issue solved
recently, and this policy visibility problem can be fixed in a similar
way.
The fix is to flush out the bundles of all policies deeper than the
policy being inserted. Consider beginning state of "outgoing"
direction policy list:
policy A --> policy B --> policy C --> policy D
First, realize that inserting a policy into a list only potentially
changes IPSEC routes for that direction. Therefore we need not bother
considering the policies for other directions. We need only consider
the existing policies in the list we are doing the inserting.
Consider new policy "B'", inserted after B.
policy A --> policy B --> policy B' --> policy C --> policy D
Two rules:
1) If policy A or policy B matched before the insertion, they
appear before B' and thus would still match after inserting
B'
2) Policy C and D, now "shadowed" and after policy B', potentially
contain stale routes because policy B' might be selected
instead of them.
Therefore we only need flush routes assosciated with policies
appearing after a newly inserted policy, if any.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 8b1af56b29b9b81538b4d0d4fd9515618618ead1
Author: Paul Mackerras <paulus@samba.org>
Date: Thu Dec 22 21:55:37 2005 +1100
powerpc: Fix i8259 cascade on pSeries with XICS interrupt controller
It turns out that commit f9bd170a87948a9e077149b70fb192c563770fdf
broke the cascade from XICS to i8259 on pSeries machines; specifically
we ended up not ever doing the EOI on the XICS for the cascade. The
result was that interrupts from the serial ports (and presumably any
other devices using ISA interrupts) didn't get through. This fixes
it and also simplifies the code, by doing the EOI on the XICS in the
xics_get_irq routine after reading and acking the interrupt on the
i8259.
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 515432aa7ae75ea493099f38adc14a99436fa1ac
Author: Hans Verkuil <hverkuil@xs4all.nl>
Date: Tue Dec 20 09:48:29 2005 -0200
V4L/DVB (3191): Fix CC output
- CC data was swapped the wrong way around.
- Enabling CC disabled XDS and vice versa: these two should
be independent from one another.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit 7bb9529602f8bb41a92275825b808a42ed33e5be
Author: Ricardo Cerqueira <v4l@cerqueira.org>
Date: Tue Dec 20 18:26:26 2005 -0200
V4L/DVB (3200): Fix saa7134 ALSA/OSS collisions
- When ALSA or OSS are loaded, check if the other is present
Fixed hotplug notifiers cleanup on module removal
- The saa7134 DMA sound modules now have their own Kconfig entries, and
if built statically enforce exclusivity
- SND_PCM_OSS isn't necessary for the OSS driver
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit 4c7e6895027362889422e5dc437dc3238b6b4745
Author: Ian McDonald <imcdnzl@gmail.com>
Date: Wed Dec 21 19:02:39 2005 -0800
[DCCP]: Comment typo
I hope to actually change this behaviour shortly but this will help
anybody grepping code at present.
Signed-off-by: Ian McDonald <imcdnzl@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 1d1428045c54ef3d172d480806e2066dde0b4b76
Author: Kristian Slavov <kristian.slavov@nomadiclab.com>
Date: Wed Dec 21 18:47:24 2005 -0800
[IPV6]: Fix address deletion
If you add more than one IPv6 address belonging to the same prefix and
delete the address that was last added, routing table entry for that
prefix is also deleted.
Tested on 2.6.14.4
To reproduce:
ip addr add 3ffe::1/64 dev eth0
ip addr add 3ffe::2/64 dev eth0
/* wait DAD */
sleep 1
ip addr del 3ffe::2/64 dev eth0
ip -6 route
(route to 3ffe::/64 should be gone)
In ipv6_del_addr(), if ifa == ifp, we set ifa->if_next to NULL, and later
assign ifap = &ifa->if_next, effectively terminating the for-loop.
This prevents us from checking if there are other addresses using the same
prefix that are valid, and thus resulting in deletion of the prefix.
This applies only if the first entry in idev->addr_list is the address to
be deleted.
Signed-off-by: Kristian Slavov <kristian.slavov@nomadiclab.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 7eb1b3d372a53fe9220b9e3b579886db0fe2f897
Author: Mika Kukkonen <mikukkon@iki.fi>
Date: Wed Dec 21 18:39:49 2005 -0800
[VLAN]: Add two missing checks to vlan_ioctl_handler()
In vlan_ioctl_handler() the code misses couple checks for
error return values.
Signed-off-by: Mika Kukkonen <mikukkon@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 0d77d59f6293438f25e0560172699c0d3e4ef5ac
Author: Mika Kukkonen <mikukkon@iki.fi>
Date: Wed Dec 21 18:38:26 2005 -0800
[NETROM]: Fix three if-statements in nr_state1_machine()
I found these while compiling with extra gcc warnings;
considering the indenting surely they are not intentional?
Signed-off-by: Mika Kukkonen <mikukkon@iki.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit c7ac6b42ffba28c350cbcd48268f46689f6eb1cc
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Wed Dec 21 14:52:32 2005 -0800
Initialize drivers/media/video/saa7134 late
When compiled-in, make sure the sound system has initialized
before these drivers do.
Reported by Adrian Bunk <bunk@stusta.de>
(The right fix would be to make the sound core use "subsys_initcall()"
and thus initialize before all normal drivers, but this is the quick
and limited safe fix for 2.6.15).
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5a9191ff683ce4ebfd2c6a15e2989f5b1f420321
Author: Alan Stern <stern@rowland.harvard.edu>
Date: Wed Dec 21 14:28:11 2005 -0800
[PATCH] usbcore: allow suspend/resume even if drivers don't support it
This patch (as618) changes usbcore to prevent derailing the
suspend/resume sequence when a USB driver doesn't include support for
it. This is a workaround rather than a true fix; the core needs to be
changed so that URB submissions from suspended drivers can be refused
and outstanding URBs cancelled.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 28120be5d6830cd7c7777d8bf570bdb20abef58a
Author: Paul Walmsley <paul@booyaka.com>
Date: Wed Dec 21 14:28:06 2005 -0800
[PATCH] USB Storage: Force starget->scsi_level in usb-storage scsiglue.c
When the usb-storage module forces sdev->scsi_level to SCSI_2, it should
also force starget->scsi_level to the same value. Otherwise, the SCSI
layer may attempt to issue SCSI-3 commands to the device, such as REPORT
LUNS, which it cannot handle. This can prevent the device from working
with Linux.
The AMS Venus DS3 DS2316SU2S SATA-to-SATA+USB enclosure, based on the
Oxford Semiconductor OXU921S chip, requires this patch to function
correctly on Linux. The enclosure reports a SCSI-3 SPC-2 command set
level, but does not correctly handle the REPORT LUNS SCSI command -
probably due to a bug in its firmware.
It seems likely that other USB storage enclosures with similar bugs will
also benefit from this patch.
Tony Lindgren <tony@atomide.com> collaborated in the development of this
patch.
Signed-off-by: Paul Walmsley <paul@booyaka.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 23f9b317e0ba4fbc5fc9524275d0105fa87e2027
Author: Adrian Bunk <bunk@stusta.de>
Date: Wed Dec 21 02:27:50 2005 +0100
[PATCH] include/linux/irq.h: #include <linux/smp.h>
Jan's crosscompile page [1] shows, that one regression in 2.6.15-rc is
that the v850 defconfig does no longer compile.
The compile error is:
<-- snip -->
...
CC arch/v850/kernel/setup.o
In file included from /usr/src/ctest/rc/kernel/arch/v850/kernel/setup.c:17:
/usr/src/ctest/rc/kernel/include/linux/irq.h:13:43: asm/smp.h: No such file or directory
make[2]: *** [arch/v850/kernel/setup.o] Error 1
<-- snip -->
The #include <asm/smp.h> in irq.h was intruduced in 2.6.15-rc.
Since include/linux/irq.h needs code from asm/smp.h only in the
CONFIG_SMP=y case and linux/smp.h #include's asm/smp.h only in the
CONFIG_SMP=y case, I'm suggesting this patch to #include <linux/smp.h>
in irq.h.
I've tested the compilation with both CONFIG_SMP=y and CONFIG_SMP=n
on i386.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6b3ae80a63e47f6e97d68a1ddd520e3509e62821
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Wed Dec 21 22:58:01 2005 +0900
[IPV6]: Don't select a tentative address as a source address.
A tentative address is not considered "assigned to an interface"
in the traditional sense (RFC2462 Section 4).
Don't try to select such an address for the source address.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
commit c5e33bddd3c798f681f8f3027270127be6b61a3b
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Wed Dec 21 22:57:44 2005 +0900
[IPV6]: Run DAD when the link becomes ready.
If the link was not available when the interface was created,
run DAD for pending tentative addresses when the link becomes ready.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
commit 3c21edbd113788b110116141c8078623a0900b6a
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Wed Dec 21 22:57:24 2005 +0900
[IPV6]: Defer IPv6 device initialization until the link becomes ready.
NETDEV_UP might be sent even if the link attached to the interface was
not ready. DAD does not make sense in such case, so we won't do so.
After interface
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
commit 8de3351e6e0a1081fbf6864ae37839e327699a08
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Wed Dec 21 22:57:06 2005 +0900
[IPV6]: Try not to send icmp to anycast address.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
commit 58c4fb86eabcbc385d954843a635b7f4327be6b0
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Wed Dec 21 22:56:42 2005 +0900
[IPV6]: Flag RTF_ANYCAST for anycast routes.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
commit 05465fd5622202d65634b3a9a8bcc9cbb384a82a
Author: Alex Williamson <alex.williamson@hp.com>
Date: Thu Dec 8 15:37:00 2005 -0500
[ACPI] increase owner_id limit to 64 from 32
This is an interim patch until changes in an updated
ACPICA core increase the limit to 255.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
commit fd30fc3256824f03c2ff9317269d66f72f7042ca
Author: Tom Zanussi <zanussi@us.ibm.com>
Date: Tue Dec 20 13:10:22 2005 -0600
[PATCH] relayfs: remove warning printk() in relay_switch_subbuf()
There's currently a diagnostic printk in relay_switch_subbuf() meant as
a warning if you accidentally try to log an event larger than the
sub-buffer size.
The problem is if this happens while logging from somewhere it's not
safe to be doing printks, such as in the scheduler, you can end up with
a deadlock. This patch removes the warning from relay_switch_subbuf()
and instead prints some diagnostic info when the channel is closed.
Thanks to Mathieu Desnoyers for pointing out the problem and
suggesting a fix.
Signed-off-by: Tom Zanussi <zanussi@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a9c9dff1bc64750c81ee99779164d304c35d2ff3
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Tue Dec 20 14:53:05 2005 -0800
[SPARC64]: Stop putting -finline-limit=XXX into CFLAGS
It was a stupid workaround for the "static inline" vs.
"extern inline" issues of long ago, and it is what causes
schedule() to be inlined like crazy into kernel/sched.c
when -Os is specified.
MIPS and S390 should probably do the same.
Now CC_OPTIMIZE_FOR_SIZE can be safely used on sparc64
once more.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit bb44f116a14c4c932f15c79acfafd46bcb43ca9a
Author: Ingo Molnar <mingo@elte.hu>
Date: Tue Dec 20 11:54:17 2005 +0100
[PATCH] fix spinlock-debugging smp_processor_id() usage
When a spinlock debugging check hits, we print the CPU number as an
informational thing - but there is no guarantee that preemption is off
at that point - hence we should use raw_smp_processor_id(). Otherwise
DEBUG_PREEMPT will print a warning.
With this fix the warning goes away and only the spinlock-debugging info
is printed.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 391eadeec836463a4e6e3843953bbe40f6522593
Author: Andi Kleen <ak@suse.de>
Date: Tue Dec 20 07:23:47 2005 +0100
[PATCH] Fix build with CONFIG_PCI_MMCONFIG
Now needs to include the type 1 functions ("direct") too.
Reported by Pavel Roskin <proski@gnu.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b7964c3d88668cef57e1a99861477168eeff4743
Author: Andreas Gruenbacher <agruen@suse.de>
Date: Tue Dec 20 16:29:05 2005 +0100
[PATCH] nfsd: check for read-only exports before setting acls
We must check for MAY_SATTR before setting acls, which includes checking
for read-only exports: the lower-level setxattr operation that
eventually sets the acl cannot check export-level restrictions.
Bug reported by Martin Walter <mawa@uni-freiburg.de>.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9e28393998d3d0733097306762f6d1c083fc92c6
Author: Jason Wessel <jason.wessel@windriver.com>
Date: Tue Dec 20 15:21:24 2005 +0100
[PATCH] kernel/params.c: fix sysfs access with CONFIG_MODULES=n
All the work was done to setup the file and maintain the file handles but
the access functions were zeroed out due to the #ifdef. Removing the
#ifdef allows full access to all the parameters when CONFIG_MODULES=n.
akpm: put it back again, but use CONFIG_SYSFS instead.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7e8702334841b6da4b8f564dc1771ca17c59a621
Author: Andi Kleen <ak@muc.de>
Date: Tue Dec 20 14:45:19 2005 +0100
[PATCH] Fix swiotlb pci_map_sg error handling
The overflow checking condition in lib/swiotlb.c was wrong.
It would first run a NULL pointer through virt_to_phys before
testing it. Since pci_map_sg overflow is not that uncommon
and causes data corruption (including broken file systems) when not
properly detected I think it's better to fix it in 2.6.15.
This affects x86-64 and IA64.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7ca0b3bf695632003a2a0f98b9fc1451b0483346
Author: Knut Petersen <Knut_Petersen@t-online.de>
Date: Tue Dec 20 08:18:09 2005 +0100
[PATCH] Fix framebuffer console upside-down ywrap scrolling
Whenever ywrap scrolling is selected together with 180 degree screen
rotation, 2.6.15-rc6 and earlier versions are broken. fb_pan_display()
expects non-negative yoffsets, but ud_update_start() calls it with
yoffsets down to -(yres - font height). This patch transforms yoffset
to the correct range 0 ... vyres-1.
Some obviously unneeded parentheses are removed, too.
Verified with cyblafb, should be applied before 2.6.15-final because it
does fix the framebuffer rotation code introduced early in the 2.6.15
release cycle.
Signed-off-by: Knut Petersen <Knut_Petersen@t-online.de>
Acked-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 33c37c06f8066342764bd1568c9f3524efe889a5
Author: Antonino A. Daplas <adaplas@gmail.com>
Date: Mon Dec 19 15:11:49 2005 +0800
[PATCH] intelfb: Fix oops when changing video mode
Reported by: janis huang (Bugzilla Bug 5747)
Fix on oops in intelfb. Not sure what's happening, looks like
dinfo->name pointer is invalidated after initialization. Remove
intelfb_get_fix, it's not needed and move the majority of the code to
the initialization routine.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 4b3760ce3d448d4af3036cd6c650d651a16ee02d
Author: Antonino A. Daplas <adaplas@gmail.com>
Date: Mon Dec 19 15:11:40 2005 +0800
[PATCH] intelfb: Fix freeing of nonexistent resource
Fix intelfb trying to free a non-existent resource in its error path.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6ee7fb7e363aa8828b3920422416707c79f39007
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Mon Dec 19 11:24:53 2005 +1100
[PATCH] powerpc: g5 thermal overtemp bug
The g5 thermal control for liquid cooled machines has a small bug, when
the temperatures gets too high, it boosts all fans to the max, but
incorrectly sets the liquids pump to the min instead of the max speed,
thus causing the overtemp condition not to clear and the machine to shut
down after a while. This fixes it to set the pumps to max speed instead.
This problem might explain some of the reports of random shutdowns that
some g5 users have been reporting in the past.
Many thanks to Marcus Rothe for spending a lot of time trying various
patches & sending log logs before I found out that typo. Note that
overtemp handling is still not perfect and the machine might still
shutdown, that patch should reduce if not eliminate such occcurences in
"normal" conditions with high load. I'll implement a better handling
with proper slowing down of the CPUs later.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5a1244e9ddb77eafb1de69a1be14e06ca04e733a
Author: Paul Mackerras <paulus@samba.org>
Date: Tue Dec 20 16:00:17 2005 +1100
powerpc: update defconfigs
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit b273ed266a353ee6b238856e1ae705660dafdd70
Author: Edson Seabra <Edson.Seabra@cyclades.com>
Date: Mon Dec 19 09:16:50 2005 -0600
[PATCH] powerpc: CPM2 interrupt handler failure after 100,000 interrupts
The CPM2 interrupt handler does not return success to the IRQ subsystem, which
causes it to kill the IRQ line after 100,000 interrupts.
Signed-off-by: Edson Seabra <Edson.Seabra@cyclades.com>
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 3eb6f26bcd0d2ce53498deda988e68d663e1c9c2
Author: Paul Mackerras <paulus@samba.org>
Date: Tue Dec 20 15:38:47 2005 +1100
powerpc: correct register usage in 64-bit syscall exit path
Since we don't restore the volatile registers in the syscall exit
path, we need to make sure we don't leak any potentially interesting
values from the kernel to userspace. This was already the case for
all except r11. This makes it use r11 for an MSR value, so r11 will
have an (uninteresting) MSR value in it on return to userspace.
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 9b5b1f5bf9dcdb6f23abf65977a675eb4deba3c0
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Mon Dec 19 17:11:25 2005 -0500
NLM: Fix Oops in nlmclnt_mark_reclaim()
When mixing -olock and -onolock mounts on the same client, we have to
check that fl->fl_u.nfs_fl.owner is set before dereferencing it.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 48e49187753ec3b4fa84a7165c9b7a59f3875b56
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Mon Dec 19 17:11:22 2005 -0500
SUNRPC: Fix "EPIPE" error on mount of rpcsec_gss-protected partitions
gss_create_upcall() should not error just because rpc.gssd closed the
pipe on its end. Instead, it should requeue the pending requests and then
retry.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit 29884df0d89c1df0dec3449405bc41569bb44800
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Tue Dec 13 16:13:54 2005 -0500
NFS: Fix another O_DIRECT race
Ensure we call unmap_mapping_range() and sync dirty pages to disk before
doing an NFS direct write.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit b079fa7baa86b47579f3f60f86d03d21c76159b8
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Tue Dec 13 16:13:52 2005 -0500
RPC: Do not block on skb allocation
If we get something like the following,
[ 125.300636] [<c04086e1>] schedule_timeout+0x54/0xa5
[ 125.305931] [<c040866e>] io_schedule_timeout+0x29/0x33
[ 125.311495] [<c02880c4>] blk_congestion_wait+0x70/0x85
[ 125.317058] [<c014136b>] throttle_vm_writeout+0x69/0x7d
[ 125.322720] [<c014714d>] shrink_zone+0xe0/0xfa
[ 125.327560] [<c01471d4>] shrink_caches+0x6d/0x6f
[ 125.332581] [<c01472a6>] try_to_free_pages+0xd0/0x1b5
[ 125.338056] [<c013fa4b>] __alloc_pages+0x135/0x2e8
[ 125.343258] [<c03b74ad>] tcp_sendmsg+0xaa0/0xb78
[ 125.348281] [<c03d4666>] inet_sendmsg+0x48/0x53
[ 125.353212] [<c0388716>] sock_sendmsg+0xb8/0xd3
[ 125.358147] [<c0388773>] kernel_sendmsg+0x42/0x4f
[ 125.363259] [<c038bc00>] sock_no_sendpage+0x5e/0x77
[ 125.368556] [<c03ee7af>] xs_tcp_send_request+0x2af/0x375
then the socket is blocked until memory is reclaimed, and no
progress can ever be made.
Try to access the emergency pools by using GFP_ATOMIC.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
commit bcb97940f31ded5ac551da8bfc849583203fc6f2
Author: Neil Brown <neilb@suse.de>
Date: Tue Dec 20 11:07:00 2005 +1100
[PATCH] md: Change case of raid level reported in sys/mdX/md/level
I had thought that keeping the reported tail level clearly different
from the module name was a good idea, but I've changed my mind.
'raid5' is better and probably less confusing than 'RAID-5'.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f98d2dfd02183e016a6295f72140c60d691c9188
Author: Ben Collins <bcollins@ubuntu.com>
Date: Mon Dec 19 11:49:24 2005 -0800
[PATCH] block: Cleanup CDROMEJECT ioctl
This is just a basic cleanup. No change in functionality.
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 38690194bc897dd60a61a71b15e861e13b5d8bdd
Author: Michael Chan <mchan@broadcom.com>
Date: Mon Dec 19 16:27:28 2005 -0800
[TG3]: Fix ethtool memory test
Skip the memory 0xb50 to 0x1000 during "ethtool -t" memory test.
Overwriting memory in this region can cause ASF problems.
Update version and release date.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit b401e9e2ec44a5fc1d8053546276bff584b7118e
Author: Michael Chan <mchan@broadcom.com>
Date: Mon Dec 19 16:27:04 2005 -0800
[TG3]: Add tw32_wait_f() for some sensitive registers
The tw32_f() function (register write with immediate read flush) can
hang when used on some registers to switch clock frequencies and
power. A new tw32_wait_f() is added for such registers with the
delay before the read and after the read.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit dc56b7d46dd2b303a844166ef931270b882bf08c
Author: Michael Chan <mchan@broadcom.com>
Date: Mon Dec 19 16:26:28 2005 -0800
[TG3]: Some low power fixes
Add some missing workarounds in tg3_set_power_state():
1. Workaround to prevent overdrawing current on 5714.
2. Do not power down 5700's PHY because of hw limitation.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 8c2dc7e1e7213c55f1b97eba09de6c0cee9ad12f
Author: Michael Chan <mchan@broadcom.com>
Date: Mon Dec 19 16:26:02 2005 -0800
[TG3]: Fix peer device handling
Locate the pdev_peer for dual port 5714 NIC devices in addition to
5704 devices. The name is also changed to tg3_find_peer() from
tg3_find_5704_peer(). It is also necessary to call netdev_priv() to
get to the peer's private tg3 structure.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit ce37e5f90366cb90320a285edd2113fd807f3ab6
Author: Adrian Bunk <bunk@stusta.de>
Date: Mon Dec 19 14:52:24 2005 -0800
[SPARC]: Fix RTC build failure.
On sparc and sparc64, the rtc driver doesn't compile with PCI support
disabled.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 9bffc4ace1ed875667dbe5b29065d96bec558c62
Author: Neil Horman <nhorman@tuxdriver.com>
Date: Mon Dec 19 14:24:40 2005 -0800
[SCTP]: Fix sctp to not return erroneous POLLOUT events.
Make sctp_writeable() use sk_wmem_alloc rather than sk_wmem_queued to
determine the sndbuf space available. It also removes all the modifications
to sk_wmem_queued as it is not currently used in SCTP.
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 399c180ac5f0cb66ef9479358e0b8b6bafcbeafe
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Mon Dec 19 14:23:23 2005 -0800
[IPSEC]: Perform SA switchover immediately.
When we insert a new xfrm_state which potentially
subsumes an existing one, make sure all cached
bundles are flushed so that the new SA is used
immediately.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 7c612bfd4ed3064fd48a4877a114c8186547367b
Author: Nicolas Pitre <nico@cam.org>
Date: Mon Dec 19 22:20:51 2005 +0000
[ARM] 3210/1: add missing memory barrier helper for NPTL support
Patch from Nicolas Pitre
Strictly speaking, the NPTL kernel helpers are required for pre ARMv6
only. They are available on ARMv6+ as well for obvious compatibility
reasons. However there are cases where extra memory barriers are needed
when using an SMP ARMv6 machine but not on pre-ARMv6.
This patch adds a memory barrier kernel helper that glibc can use as
needed for pre-ARMv6 binaries to be forward compatible with an SMP
kernel on ARMv6, as well as the necessary dmb instructions to the
cmpxchg helper.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Acked-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 9e999993c71e1506378d26d81f842277aff8a250
Author: Patrick McHardy <kaber@trash.net>
Date: Mon Dec 19 14:03:46 2005 -0800
[XFRM]: Handle DCCP in xfrm{4,6}_decode_session
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 3dd4bc68fac5df16b6d3ed6ed3c29cf05f29a47e
Author: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Mon Dec 19 14:02:45 2005 -0800
[IPV6]: Fix route lifetime.
The route expiration time is stored in rt6i_expires in jiffies.
The argument of rt6_route_add() for adding a route is not the
expiration time in jiffies nor in clock_t, but the lifetime
(or time left before expiration) in clock_t.
Because of the confusion, we sometimes saw several strange errors
(FAILs) in TAHI IPv6 Ready Logo Phase-2 Self Test.
The symptoms were analyzed by Mitsuru Chinen <CHINEN@jp.ibm.com>.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit b03664869aa6f84c3c98a06ac9d6905b195909bc
Author: Bart De Schuymer <bdschuym@pandora.be>
Date: Mon Dec 19 14:00:08 2005 -0800
[BRIDGE-NF]: Fix bridge-nf ipv6 length check
A typo caused some bridged IPv6 packets to get dropped randomly,
as reported by Sebastien Chaumontet. The patch below fixes this
(using skb->nh.raw instead of raw) and also makes the jumbo packet
length checking up-to-date with the code in
net/ipv6/exthdrs.c::ipv6_hop_jumbo.
Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6b80ebedbee87c5b2213fc3635bf0bd7450bce30
Author: Kristian Slavov <kristian.slavov@nomadiclab.com>
Date: Mon Dec 19 13:54:44 2005 -0800
[RTNETLINK]: Fix RTNLGRP definitions in rtnetlink.h
I reported a problem and gave hints to the solution, but nobody seemed
to react. So I prepared a patch against 2.6.14.4.
Tested on 2.6.14.4 with "ip monitor addr" and with the program
attached, while adding and removing IPv6 address. Both programs didn't
receive any messages. Tested 2.6.14.4 + this patch, and both programs
received add and remove messages.
Signed-off-by: Kristian Slavov <kristian.slavov@nomadiclab.com>
Acked-by: Jamal Hadi salim <hadi@cyberus.ca>
ACKed-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 31cb5bd4dc89ba14e6347b094e15a2f6778a01fc
Author: Patrick McHardy <kaber@trash.net>
Date: Mon Dec 19 13:53:26 2005 -0800
[NETFILTER]: Fix incorrect dependency for IP6_NF_TARGET_NFQUEUE
IP6_NF_TARGET_NFQUEUE depends on IP6_NF_IPTABLES, not IP_NF_IPTABLES.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 0476f171affa6eca62021fca2ae9f5140acc3713
Author: Patrick McHardy <kaber@trash.net>
Date: Mon Dec 19 13:53:09 2005 -0800
[NETFILTER]: Fix NAT init order
As noticed by Phil Oester, the GRE NAT protocol helper is initialized
before the NAT core, which makes registration fail.
Change the linking order to make NAT be initialized first.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit ecfa4fdca15c089e372095325d9e78264224aeb3
Author: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Date: Mon Dec 19 09:15:13 2005 -0200
[PATCH] V4L/DVB SCM Maintainers Update
- This patch updates MAINTAINERS file by replacing quilt to git SCM
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit 468a0a54aabdac72e9c7bbd4f8372f1df2d9f0ae
Author: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Date: Mon Dec 19 08:54:11 2005 -0200
[PATCH] V4L/DVB (3189): Fix a broken logic that didn't cover all standards.
- Fix a broken logic that didn't cover all standards.
- Fix compilation failure with gcc 2.95.3.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit 60edb13759096097b7208843dc9b7582a7d14c61
Author: Oliver Endriss <o.endriss@gmx.de>
Date: Mon Dec 19 08:54:11 2005 -0200
[PATCH] V4L/DVB (3181): Enable SPDIF output for DVB-S rev 2.3
- Enable SPDIF output for DVB-S rev 2.3. Firmware 2623 or higher required.
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit 3338761e6c52a8dee631dcc69129c625801ab132
Author: Ricardo Cerqueira <v4l@cerqueira.org>
Date: Mon Dec 19 08:54:11 2005 -0200
[PATCH] V4L/DVB (3180): Fix tuner 100 definition for hauppauge eeprom
- Tuner 100 is the TUNER_PHILIPS_FMD1216ME_MK3, not TUNER_ABSENT. This
was causing the tuner module to be skipped, and rendered boards with this
value in the eeprom (like the HVR1100) unable to tune
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit f85c657ff1f712abd5207a95fba8a5fcc282ab04
Author: Jean Delvare <khali@linux\-fr.org>
Date: Mon Dec 19 08:53:59 2005 -0200
[PATCH] V4L/DVB (3188): Fix compilation failure with gcc 2.95.3.
- Fix compilation failure with gcc 2.95.3.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
commit df7addbb45874f0f992266003155de5a22e1872f
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sun Dec 18 16:36:54 2005 -0800
Linux v2.6.15-rc6
Also renamed in honor of Portland being snowed in and everybody sliding
around on the highways like greased pumpkins.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 27f4e0834746196f219e3e030ca71ffd3b176483
Author: Kyungmin Park <kyungmin.park@samsung.com>
Date: Fri Dec 16 11:17:29 2005 +0900
[PATCH] mtd onenand driver: use platform_device.h instead device.h
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 532a37cf8d05dd1aa5631be836036204b0d2b4a1
Author: Kyungmin Park <kyungmin.park@samsung.com>
Date: Fri Dec 16 11:17:29 2005 +0900
[PATCH] mtd onenand driver: reduce stack usage
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 20ba89a3614bbc5d111fd74375e14c577859b2a3
Author: Kyungmin Park <kyungmin.park@samsung.com>
Date: Fri Dec 16 11:17:29 2005 +0900
[PATCH] mtd onenand driver: fix unlock problem in DDP
commit 37b1cc3910f7976369fc0ed55068a686e92555e6
Author: Kyungmin Park <kyungmin.park@samsung.com>
Date: Fri Dec 16 11:17:29 2005 +0900
[PATCH] mtd onenand driver: check correct manufacturer
This (and the three subsequent patches) is working well on OMAP H4 with
2.6.15-rc4 kernel and passes the LTP fs test.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ee219e5e7c12b742243a080e2d8d288a48a32e44
Author: Jean Delvare <khali@linux-fr.org>
Date: Sat Dec 17 23:20:55 2005 +0100
[PATCH] radeon drm: fix compilation breakage with gcc 2.95.3
Fix a typo which breaks radeon drm compilation with gcc 2.95.3.
The offending line was added back in 2.6.11-rc3, but was harmless
back then. A recent addition nearby changed it into a compilation
breaker: commit 281ab031a8c9e5b593142eb4ec59a87faae8676a.
The doubled semi-colon ends up being an empty instruction, and the
variable declaration thus ends up being in the middle of "code".
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ff60dde9e46b87757d5e83bd58be0688fca8e816
Author: Dmitry Torokhov <dtor_core@ameritech.net>
Date: Sat Dec 17 11:42:54 2005 -0500
[PATCH] Input: fix an OOPS in HID driver
This patch fixes an OOPS in HID driver when connecting simulation
devices generating unknown simulation events.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5b7b15afee89d6940482259b54d0864b7b2302b0
Author: Jeff Dike <jdike@addtoit.com>
Date: Sun Dec 18 17:50:39 2005 +0100
[PATCH] uml skas0: stop gcc's insanity
With Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
UML skas0 stub has been miscompiling for many people (incidentally not
the authors), depending on the used GCC versions.
I think (and testing on some GCC versions shows) this patch avoids the
fundamental issue which is behind this, namely gcc using the stack when
we have just replaced it, behind gcc's back. The remapping and storage
of the return value is hidden in a blob of asm, hopefully giving gcc no
room for creativity.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 76c842d8f8096e2c98ff9ebe1db861363ff254e5
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Sun Dec 18 17:50:37 2005 +0100
[PATCH] uml - fix some funkiness in Kconfig
So you may have seen the miniconfig stuff wander by, which means that my
build script exits if there's a .config error, and we have this:
fs/Kconfig:1749:warning: 'select' used by config symbol 'CIFS_UPCALL'
refer to undefined symbol 'CONNECTOR'
This makes it shut up.
Signed-off-by: Rob Landley <rob@landley.net>
[ Verified it makes sense. ]
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 53c0b59dcdb7c68c3cfd4b9a0bd17373b785f2eb
Author: Rob Landley <rob@landley.net>
Date: Sun Dec 18 17:50:35 2005 +0100
[PATCH] uml: fix dynamic linking on some 64-bit distros
With Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
The current UML build assumes that on x86-64 systems, /lib is a symlink
to /lib64, but in some distributions (like PLD and CentOS) they are
separate directories, so the 64 bit library loader isn't found. This
patch inserts /lib64 at the start of the rpath on x86-64 UML builds.
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9ce7677cfd7cd871adb457c80bea3b581b839641
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Sun Dec 18 17:50:32 2005 +0100
[PATCH] uml: arch/um/scripts/Makefile.rules - remove duplicated code
Duplicated code - the patch adding it was probably applied twice without
enough care.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e5508c13ac25b07585229b144a45cf64a990171e
Author: Salyzyn, Mark <mark_salyzyn@adaptec.com>
Date: Sat Dec 17 19:26:30 2005 -0800
[PATCH] dpt_i2o fix for deadlock condition
Miquel van Smoorenburg <miquels@cistron.nl> forwarded me this fix to
resolve a deadlock condition that occurs due to the API change in
2.6.13+ kernels dropping the host locking when entering the error
handling. They all end up calling adpt_i2o_post_wait(), which if you
call it unlocked, might return with host_lock locked anyway and that
causes a deadlock.
Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 87d47d0547631e059c308b392cd2423fe9248c93
Author: Ben Collins <bcollins@ubuntu.com>
Date: Sat Dec 17 18:39:23 2005 -0800
[PATCH] i2o: Do not disable pci device when it's in use
When dpt_i2o is loaded first, i2o being loaded would cause it to call
pci_device_disable, thus breaking dpt_i2o's use of the device. Based on
similar usage of pci_disable_device in other drivers.
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 863a930a40eb7f2d18534c2c166b22582f5c6cfd
Author: James Bottomley <James.Bottomley@steeleye.com>
Date: Thu Dec 15 20:01:43 2005 -0800
[SCSI] fix scsi_reap_target() device_del from atomic context
scsi_reap_target() was desgined to be called from any context.
However it must do a device_del() of the target device, which may only
be called from user context. Thus we have to reimplement
scsi_reap_target() via a workqueue.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
commit 567bd98017d9c9f2ac1c148ddc78c062e8abd398
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Sat Dec 17 15:25:42 2005 +0000
[ARM] Fix sys_sendto and sys_recvfrom 6-arg syscalls
Rather than providing more wrappers for 6-arg syscalls, arrange for
them to be supported as standard. This just means that we always
store the 6th argument on the stack, rather than in the wrappers.
This means we eliminate the wrappers for:
* sys_futex
* sys_arm_fadvise64_64
* sys_mbind
* sys_ipc
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 7c3dbbe982ac85837f1da150ea9539a9e9a12557
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Fri Dec 16 22:35:23 2005 +0000
[PATCH] ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix
DMA_MODE_{READ,WRITE} are declared in asm-powerpc/dma.h and their
declarations there match the definitions. Old declarations in
ppc4xx_dma.h are not right anymore (wrong type, to start with).
Killed them, added include of asm/dma.h where needed.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a78719c387cc25ed97304a235a20c24f0f89399b
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Fri Dec 16 22:35:28 2005 +0000
[PATCH] ppc: booke_wdt compile fix
booke_wdt.c had been missed in cpu_specs[] removal sweep
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 42245e65f356ed54fdf7a1f9a0095e0bc40f73a3
Author: Alan Stern <stern@rowland.harvard.edu>
Date: Fri Dec 16 11:09:01 2005 -0800
[PATCH] UHCI: add missing memory barriers
This patch (as617) adds a couple of memory barriers that Ben H. forgot in
his recent suspend/resume fix.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 42f3ab42875a52af7e711803bfb8d8d7cca84c1c
Author: Andi Kleen <ak@suse.de>
Date: Fri Dec 16 11:08:55 2005 -0800
[PATCH] PCI: Fix dumb bug in mmconfig fix
Use correct address when referencing mmconfig aperture while checking
for broken MCFG. This was a typo when porting the code from 64bit to
32bit. It caused oopses at boot on some ThinkPads.
Should definitely go into 2.6.15.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 52f975ea21e28871a371c2d941e13d64c9f8cd66
Author: Milton Miller <miltonm@bga.com>
Date: Fri Dec 16 11:08:48 2005 -0800
[PATCH] PCI express must be initialized before PCI hotplug
PCI express hotplug uses the pcieportbus driver so pcie must be
initialized before hotplug/. This patch changes the link order.
Signed-Off-By: Milton Miller <miltonm@bga.com>
Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit dfded4ae71080b53798c7bbf4628a9b22d1e3e8b
Author: Mark A. Greer <mgreer@mvista.com>
Date: Fri Dec 16 11:08:43 2005 -0800
[PATCH] i2c: Fix i2c-mv64xxx compilation error
The busses/i2c-mv64xxx.c driver doesn't currently compile because of an
incorrect argument to dev_err(). This patch fixes that.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit dc86e88c2bb8a7603ee175fbb6a9e92cf3293dd8
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Mon Dec 12 09:34:32 2005 -0800
[IA64] Add __read_mostly support for IA64
sparc64, i386 and x86_64 have support for a special data section dedicated
to rarely updated data that is frequently read. The section was created to
avoid false sharing of those rarely read data with frequently written kernel
data.
This patch creates such a data section for ia64 and will group rarely written
data into this section.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit d5bf3165b6fbb879a4658f9da9ca2fe002b75f08
Author: hawkes@sgi.com <hawkes@sgi.com>
Date: Tue Dec 13 13:45:44 2005 -0800
[IA64-SGI] change default_sn2 to NR_CPUS==1024
Change the NR_CPUS default for ia64/sn up to 1024.
Signed-off-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: John Hesterberg <jh@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit d74700e604db717eef7a3112176e6350fb00d0e3
Author: Jack Steiner <steiner@sgi.com>
Date: Thu Dec 15 12:41:22 2005 -0600
[IA64-SGI] Missed TLB flush
I see why the problem exists only on SN. SN uses a different hardware
mechanism to purge TLB entries across nodes.
It looks like there is a bug in the SN TLB flushing code. During context switch,
kernel threads inherit the mm of the task that was previously running on the
cpu. This confuses the code in sn2_global_tlb_purge().
The result is a missed TLB purge for the task that owns the "borrowed" mm.
(I hit the problem running heavy stress where kswapd was purging code pages of
a user task that woke kswapd. The user task took a SIGILL fault trying to
execute code in the page that had been ripped out from underneath it).
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 3bd7f01713f30e7c616ab975ebb84ab7eb58a60a
Author: Jes Sorensen <jes@trained-monkey.org>
Date: Fri Dec 16 11:00:03 2005 -0500
[IA64] uncached ref count leak
Use raw_smp_processor_id() instead of get_cpu() as we don't need the
extra features of get_cpu().
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 4d7672b46244abffea1953e55688c0ea143dd617
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Fri Dec 16 10:21:23 2005 -0800
Make sure we copy pages inserted with "vm_insert_page()" on fork
The logic that decides that a fork() might be able to avoid copying a VM
area when it can be re-created by page faults didn't know about the new
vm_insert_page() case.
Also make some things a bit more anal wrt VM_PFNMAP.
Pointed out by Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f5899b5d4fa806403f547dc41312d017d94ec273
Author: John Hawkes <hawkes@sgi.com>
Date: Fri Dec 16 10:00:24 2005 -0800
[IA64] disable preemption in udelay()
The udelay() inline for ia64 uses the ITC. If CONFIG_PREEMPT is enabled
and the platform has unsynchronized ITCs and the calling task migrates
to another CPU while doing the udelay loop, then the effective delay may
be too short or very, very long.
This patch disables preemption around 100 usec chunks of the overall
desired udelay time. This minimizes preemption-holdoffs.
udelay() is now too big to be inline, move it out of line and export it.
Signed-off-by: John Hawkes <hawkes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 281ab031a8c9e5b593142eb4ec59a87faae8676a
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Fri Dec 16 16:52:22 2005 +1100
[PATCH] radeon drm: fix agp aperture map offset
This finally fixes the radeon memory mapping bug that was incorrectly
fixed by the previous patch. This time, we use the actual vram size as
the size to calculate how far to move the AGP aperture from the
framebuffer in card's memory space.
If there are still issues with this patch, they are due to bugs in the X
driver that I'm working on fixing too.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 42e33148df38c60b99d984b76b302c64397ebe4c
Author: James.Smart@Emulex.Com <James.Smart@Emulex.Com>
Date: Thu Dec 15 09:56:22 2005 -0500
[SCSI] fix for fc transport recursion problem.
In the scenario that a link was broken, the devloss timer for each
rport was expire at roughly the same time, causing lots of "delete"
workqueue items being queued. Depth is dependent upon the number of
rports that were on the link.
The rport target remove calls were calling flush_scheduled_work(),
which would interrupt the stream, and start the next workqueue item,
which did the same thing, and so on until recursion depth was large.
This fix stops the recursion in the initial delete path, and pushes it
off to a host-level work item that reaps the dead rports.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
commit 7b6666530e2736f190a2629c8abe34275054449f
Author: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Thu Dec 15 12:34:30 2005 -0800
[PATCH] Au1550 AC'97 OSS driver spinlock fixes
We have found some issues with Au1550 AC'97 OSS driver in 2.6
(sound/oss/au1550_ac97.c), though it also should concern 2.4 driver
(drivers/sound/au1550_psc.c).
start_dac() grabs a spinlock already held by its caller, au1550_write().
This doesn't show up with the standard UP spinlock impelmentation but when
the different one (mutex based) is in use, a lockup happens.
And the interrupt handlers also didn't grab the spinlock -- that's OK in
the usual kernel but not when the IRQ handlers are threaded. So, they're
grabbing the spinlock now (as every correct interrupt handler should do).
Signed-off-by: Konstantin Baidarov <kbaidarov@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2f40fb72a2121da44c35f2588ee9abce1dffa2a9
Author: Adrian Bunk <bunk@stusta.de>
Date: Thu Dec 15 12:34:29 2005 -0800
[PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class
We can't export a static struct to modules.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7767e126ca0f32cd0438455fdd9650f909d2eeb3
Author: Paolo Galtieri <pgaltieri@mvista.com>
Date: Thu Dec 15 12:34:28 2005 -0800
[PATCH] IPMI oops fix
While doing some testing I discovered that if the BIOS on a board does not
properly setup the DMI information it leads to a panic in the IPMI code.
The panic is due to dereferencing a pointer which is not initialized. The
pointer is initialized in port_setup() and/or mem_setup() and used in
init_one_smi() and cleanup_one_si(), however if either port_setup() or
mem_setup() return ENODEV the pointer does not get initialized.
Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ebbd1bce79b3b4778d9e1914a22c42fcfa869cd9
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:19:10 2005 +0000
[PATCH] arch/powerpc/kernel/syscalls.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 81f0a91e8f58a7784afe39cda9ac47e9231412a4
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:19:05 2005 +0000
[PATCH] drivers/input/misc/wistron_btns.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 833882b452046d3d5028f6293a0a6d6d3c1eee3c
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:19:00 2005 +0000
[PATCH] mwave: missing __user in ioctl struct declaration
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7877327d9c360ac91f22e4c7f98bcb10c0180969
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:55 2005 +0000
[PATCH] drivers/atm/adummy.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e17f008bbeabcd1302d6cf4b5b9659be6d80f1db
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:50 2005 +0000
[PATCH] arch/alpha/kernel/machvec_impl.h: C99 struct initializer
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 94299171dd269aab0c97f6254cedb381f10e6348
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:45 2005 +0000
[PATCH] dst_ca __user annotations, portability fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b3e5b5b2277f9c047082dcb309f665fe8b5706c1
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:40 2005 +0000
[PATCH] ia64 sn __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d3a880e1ff6713b4c846e4d2526a8c7e6ad8469c
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:30 2005 +0000
[PATCH] Address of void __user * is void __user * *, not void * __user *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 78d9955bb06493e7bd78e43dfdc17fb5f1dc59b6
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:25 2005 +0000
[PATCH] missing prototype (mm/page_alloc.c)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 538bacf8a4802d209f955726b66891b8a921dabf
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:20 2005 +0000
[PATCH] __user annotations (booke_wdt.c)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d22043940eb8d660df9a94e8e439ab4d3d16edab
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:15 2005 +0000
[PATCH] arcfb __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit cd0306656c15f355e0e533cc0f08691bb98ca912
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:10 2005 +0000
[PATCH] cyber2000fb.c __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e896fd9861181140617aa9ff3a54dac25e46351d
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:05 2005 +0000
[PATCH] wdrtas.c: fix __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5ad9201be7f7d52d712fe3c3e841fdc19216ede1
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:18:00 2005 +0000
[PATCH] dell_rbu: NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c4aa02eb3939c5004782454434e4d50de471b53d
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:55 2005 +0000
[PATCH] cm4000_cs: __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b16b88e55d808a6324d5ff02d8c686f7884870f8
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:50 2005 +0000
[PATCH] i386,amd64: ioremap.c __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8b8a4e33e4a320735f353a092013b314f142493d
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:44 2005 +0000
[PATCH] i386,amd64: mmconfig __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8bcc247617deaf229962e9d663c69e65523519ab
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:39 2005 +0000
[PATCH] em28xx: %zd for size_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 53b3de1ea2f81de7050f247cd7fc63863887e8d7
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:34 2005 +0000
[PATCH] auerswald.c: %zd for size_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 37eb47ed445f4ca1247f3c7b600c0885c2ca8c31
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:29 2005 +0000
[PATCH] s2io: __iomem annotations for recent changes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 51bfb75b0b2652f60ab1200627e9041f4624c819
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:24 2005 +0000
[PATCH] xfs: missing gfp_t annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b53cb2a4ab276796ad299597d6e7e2317b514ca8
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Dec 15 09:17:19 2005 +0000
[PATCH] iscsi gfp_t annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 80ce8baf5da730c87194e2e38a4cfca0254f9599
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 06:04:55 2005 -0500
[PATCH] arch/sparc/kernel/led.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a32972965e23471f0762a1136f80990ebf72406a
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 05:56:39 2005 -0500
[PATCH] sun4c_memerr_reg __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e4fe342f932346a306f98f5401ad510b890c0a15
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sun Dec 4 18:48:45 2005 -0500
[PATCH] sparc: NULL noise removal (ebus.c)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c316ef0494eec2d08df2f083fc06fc06a6fd48c6
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 05:55:44 2005 -0500
[PATCH] sparc/kernel/time: __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit fec607fff973b1d7805c1bbce5834690857e7801
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 05:54:54 2005 -0500
[PATCH] sbus/char/uctrl: missing prototypes and NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bc05d83bbf20a32eb24624726d1027aa960a573c
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 05:51:43 2005 -0500
[PATCH] sparc: jsflash __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b7c690b52f424574f7ac8c607e71e9f5c283a557
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 05:50:56 2005 -0500
[PATCH] sparc: vfc __iomem annotations and fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f8ad23a401d41f90cb377035d206b41de0699a0b
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 05:44:18 2005 -0500
[PATCH] fix iomem annotations in sparc32 pcic code
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2499604960fff307fe99ff4d4363c50eaa69235a
Author: Jeff Mahoney <jeffm@suse.com>
Date: Wed Dec 14 14:38:05 2005 -0500
[PATCH] reiserfs: close open transactions on error path
The following patch fixes a bug where if the journal is aborted, it can
leave a transaction open. The result will be a BUG when another code
path attempts to start a transaction and will get a "nesting into
different fs" error, since current->journal_info will be left non-NULL.
Original fix against SUSE kernel by Chris Mason <mason@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5d5e815618c4a8b53806845268c951201d14af6e
Author: Jeff Mahoney <jeffm@suse.com>
Date: Wed Dec 14 14:38:36 2005 -0500
[PATCH] reiserfs: skip commit on io error
This should have been part of the original io error patch, but got
dropped somewhere along the way.
It's extremely important when handling the i/o error in the journal to
not commit the transaction with corrupt data. This patch adds that code
back in.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ea54c96c04cfd9fec881e403d8f7931b47f7b2a6
Author: Vojtech Pavlik <vojtech@suse.cz>
Date: Wed Dec 14 21:47:00 2005 -0500
[PATCH] Input: ALPS - correctly report button presses on Fujitsu Siemens S6010
Without this patch Forward and Backward buttons on the touchpad do not
generate any events.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c45b4f1f1e149c023762ac4be166ead1818cefef
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Wed Dec 14 18:52:21 2005 -0800
Move size optimization option outside of EMBEDDED menu, mark it EXPERIMENTAL
Also, disable on sparc64 - a number of people report breakage. Probably
a compiler bug, but it's quite possible that it tickles some latent
kernel problem too.
It still defaults to 'y' everywhere else (when enabled through
EXPERIMENTAL), and Dave Jones points out that Fedora (and RHEL4) has
been building with size optimizations for a long time on x86, x86-64,
ia64, s390, s390x, ppc32 and ppc64. So it is really only moderately
experimental, but the sparc64 breakage certainly shows that it can
trigger "issues".
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0afaa4fc4abc773ce129f41009a50eeecf3aa50c
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Thu Dec 15 02:20:49 2005 +0100
[PATCH] ide-cd: remove write-only cmd field from struct cdrom_info
commit 7b4df9ece9b4c4a754bd1f5603cdabff26b987e5
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Thu Dec 15 02:20:15 2005 +0100
[PATCH] ide: cleanup ide_driver_t
Remove unused fields: ioctl, ata[pi]_prebuilder.
commit 517bd1d5eac739a7f398058a9524386667fff032
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Thu Dec 15 02:19:57 2005 +0100
[PATCH] ide: cleanup ide.h
Remove:
* stale comment
* unused HOST() macro
* unused ata_{error,control}_t types
* unused atapi_select_t type
* ide_init_subdrivers() prototype
commit d36fef6f5aa4a6a1f44490455393a5b22137a6cd
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date: Thu Dec 15 02:19:20 2005 +0100
[PATCH] ide-disk: flush cache after calling del_gendisk()
commit 8f29e650bffc1e22ed6b2d0b321bc77627f3bb7a
Author: Jordan Crouse <jordan.crouse@amd.com>
Date: Thu Dec 15 02:17:46 2005 +0100
[PATCH] ide: AU1200 IDE update
Changes here include removing all of CONFIG_PM while it is being repeatedly
smacked with a lead pipe, moving the BURSTMODE param to a #define (it should
be defined almost always anyway), fixing the rqsize stuff, pulling ide_ioreg_t,
and general cleanups and whatnot.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
commit 65e5f2e3b457b6b20a5c4481312189d141a33d24
Author: Jordan Crouse <jordan.crouse@amd.com>
Date: Thu Dec 15 02:16:18 2005 +0100
[PATCH] ide: core modifications for AU1200
bart: slightly modified by me
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
commit 38f9d412be1ed29ee3b41782f22fd85b1c95fbed
Author: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Date: Thu Dec 15 02:12:53 2005 +0100
[PATCH] ide: MPC8xx IDE depends on IDE=y && BLK_DEV_IDE=y
The following patch adds a dependancy on IDE=y && BLK_DEV_IDE=y
for the MPC8xx IDE driver.
The code is not modular at the moment (init called from platform setup code).
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
commit ceef833bae05e393859f1946a9802fb61f0febdf
Author: Daniel Drake <dsd@gentoo.org>
Date: Thu Dec 15 02:11:55 2005 +0100
[PATCH] via82cxxx IDE: Add VT8251 ISA bridge
Some motherboards (such as the Asus P5V800-MX) ship a
PCI_DEVICE_ID_VIA_82C586_1 IDE controller alongside a VT8251 southbridge.
This southbridge is currently unrecognised in the via82cxxx IDE driver,
preventing those users from getting DMA access to disks.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
commit deb5e5c0c68e59b1bf9ede66da9e6a89f6557595
Author: Jeremy Higdon <jeremy@sgi.com>
Date: Thu Dec 15 02:10:35 2005 +0100
[PATCH] sgiioc4: check for no hwifs available
Add a check to the sgiioc4 driver for the case where all available
ide_hwifs structures are in use.
Signed-off-by: Jeremy Higdon <jeremy@sgi.com>
commit a388442c3798a345d131ff8b9d6dea0bfda3fefc
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Wed Dec 14 16:23:16 2005 -0800
[VLAN]: Fix hardware rx csum errors
Receiving VLAN packets over a device (without VLAN assist) that is
doing hardware checksumming (CHECKSUM_HW), causes errors because the
VLAN code forgets to adjust the hardware checksum.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit c2e2611425a956d25d2948c5d95d3848c4db1257
Author: Daniel Jacobowitz <drow@false.org>
Date: Wed Dec 14 22:04:22 2005 +0000
[ARM] 3205/1: Handle new EABI relocations when loading kernel modules.
Patch from Daniel Jacobowitz
Handle new EABI relocations when loading kernel modules. This is
necessary for CONFIG_AEABI kernels, and also for some broken
(since fixed) old ABI toolchains.
Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 1542272a60ab9c0655a13ead8b7d7a661365f9fb
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Wed Dec 14 12:55:24 2005 -0800
[GRE]: Fix hardware checksum modification
The skb_postpull_rcsum introduced a bug to the checksum modification.
Although the length pulled is offset bytes, the origin of the pulling
is the GRE header, not the IP header.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 27af4cfd11883073359bd5acab1962b0fa96a3bf
Author: Robin Holt <holt@sgi.com>
Date: Wed Dec 14 06:58:05 2005 -0600
[IA64] fix for SET_PERSONALITY when CONFIG_IA32_SUPPORT is not set.
Missed this when fixing the SET_PERSONALITY change.
Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 45f8245b972e360c19aec9032e2a2033b8ac3719
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Wed Dec 14 14:57:35 2005 +0000
[MMC] Explain the internals of mmc_power_up()
It seems that people get confused about what is happening in
mmc_power_up(). Add a comment to make it clear why we have
a two stage process.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 2edc2689f8183dd21c45621a01580b340ac420ba
Author: David S. Miller <davem@davemloft.net>
Date: Tue Dec 13 22:59:50 2005 -0800
[PKT_SCHED]: Disable debug tracing logs by default in packet action API.
Noticed by Andi Kleen.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit a1493d9cd1aaed06860d128a37df1bdfbc61f7c8
Author: David S. Miller <davem@davemloft.net>
Date: Tue Dec 13 22:59:36 2005 -0800
[IPV6] addrconf: Do not print device pointer in privacy log message.
Noticed by Andi Kleen, it is pointless to emit the device
structure pointer in the kernel logs like this.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit c9526497cf03ee775c3a6f8ba62335735f98de7a
Author: James Bottomley <James.Bottomley@steeleye.com>
Date: Fri Dec 9 17:45:22 2005 -0500
[SCSI] Consolidate REQ_BLOCK_PC handling path (fix ipod panic)
This follows on from Jens' patch and consolidates all of the ULD
separate handlers for REQ_BLOCK_PC into a single call which has his
fix for our direction bug.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
commit cd6104572bca9e4afe0dcdb8ecd65ef90b01297b
Author: Adam Kropelin <akropel1@rochester.rr.com>
Date: Tue Dec 13 17:03:39 2005 -0800
[PATCH] hid-core: Zero-pad truncated reports
When it detects a truncated report, hid-core emits a warning and then
processes the report as usual. This is good because it allows buggy
devices to still get data thru to userspace. However, the missing bytes of
the report should be cleared before processing, otherwise userspace will be
handed partially-uninitialized data.
This fixes Debian tracker bug #330487.
Signed-off-by: Adam Kropelin <akropel1@rochester.rr.com>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Acked-by: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit fb79ffa4ddbe3f6f30fdb8429b5bad84d25ae6ef
Author: Ole Reinhardt <ole.reinhardt@kernelconcepts.de>
Date: Tue Dec 13 17:03:38 2005 -0800
[PATCH] fbdev: make pxafb more robust to errors with CONFIG_FB_PXA_PARAMETERS
pxafb.c runs into an oops if CONFIG_FB_PXA_PARAMETERS is enabled and no
parameters are set in command line. The following patch avoids this
problem.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 118c71bcacce82a4317c9bd99c6a15af14020aee
Author: Yasunori Goto <y-goto@jp.fujitsu.com>
Date: Tue Dec 13 17:03:37 2005 -0800
[PATCH] Fix calculation of grow_pgdat_span() in mm/memory_hotplug.c
The calculation for node_spanned_pages at grow_pgdat_span() is clearly
wrong. This is patch for it.
(Please see grow_zone_span() to compare. It is correct.)
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 664d22ab954de54e52e0f71103a89c7a78738adc
Author: Vojtech Pavlik <vojtech@ucw.cz>
Date: Tue Dec 13 17:03:36 2005 -0800
[PATCH] Dmitry Torokhov is input subsystem maintainer
I haven't been very actively maintaining the input layer in past months,
mostly because of my lack of time to concentrate on that. For that reason,
I've decided to pass the maintainership of the Linux Input Layer to Dmitry
Torokhov, whom I trust to do the job very well.
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6921d201f77e14848df2eaa597e26525f468abea
Author: Michael Chan <mchan@broadcom.com>
Date: Tue Dec 13 21:15:53 2005 -0800
[TG3]: Fix low power state
Fix the following bugs in tg3_set_power_state():
1. Both WOL and ASF flags require switching to aux power.
2. Add a missing handshake with firmware to enable WOL.
3. Turn off the PHY if both WOL and ASF are disabled.
4. Add nvram arbitration before halting the firmware.
5. Fix tg3_setup_copper_phy() to switch to 100Mbps when
changing to low power state.
Update revision and date.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 16fe9d74f14ed74af778c5db7f9129e29916f4a7
Author: Michael Chan <mchan@broadcom.com>
Date: Tue Dec 13 21:09:54 2005 -0800
[TG3]: Fix 5704 single-port mode
If the dual-port 5704 is configured as a single-port device with
only one PCI function, it would trigger a BUG() condition in
tg3_find_5704_peer(). This fixes the problem by returning its
own pdev if the peer cannot be found.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6a9eba15f51c56da637e45ea1316eaa2a848986a
Author: Michael Chan <mchan@broadcom.com>
Date: Tue Dec 13 21:08:58 2005 -0800
[TG3]: Fix suspend and resume
Fix tg3_suspend() and tg3_resume() by clearing and setting the
TG3_FLAG_INIT_COMPLETE flag when appropriate. tg3_set_power_state()
looks at TG3_FLAG_INIT_COMPLETE on the peer device to determine
when to appropriately switch to aux power.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 381291b7d3e17ac966498312dc571dcca1b93efc
Author: Michael Chan <mchan@broadcom.com>
Date: Tue Dec 13 21:08:21 2005 -0800
[TG3]: Fix nvram arbitration bugs.
The nvram arbitration rules were not strictly followed in a few places
and this could lead to reading corrupted values from the nvram.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 322e079f1b606e46b79bb8b8e6cf6110b5f2aa3f
Author: Matthew Wilcox <matthew@wil.cx>
Date: Tue Nov 29 23:08:40 2005 -0500
[SCSI] Negotiate correctly with async-only devices
When we got a device only capable of async, we would zero out goal->period
which would cause us to try PPR negotiations. Leave goal->period alone,
and check goal->offset before doing PPR. Kudos to Daniel Forsgren for
figuring this out.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
commit 0910b444bcd7ea7f437a3ff48e0e3d2495ead22e
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Tue Dec 13 11:39:05 2005 -0800
Expose "Optimize for size" option for everybody
Let's put my money where my mouth is. Smaller code is almost always
faster, if only because a single I$ miss ends up leaving a lot of cycles
to make up for. And system software - kernels in particular - are known
for taking more cache misses than most other kinds.
On my random config, this made the kernel about 10% smaller, and lmbench
seems to say that it's pretty uniformly faster too. Your milage may vary.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit eed66cfcbbea851c97e287440d940286fce3f829
Author: Tony Luck <tony.luck@intel.com>
Date: Tue Dec 13 10:41:49 2005 -0800
[IA64] Split 16-bit severity field in sal_log_record_header
ERR_SEVERITY item is defined as a 8 bits item in SAL documentation
($B.2.1 rev december 2003), but as an u16 in sal.h.
This has the side effect that current code in mca.c may not call
ia64_sal_clear_state_info() upon receiving corrected platform errors
if there are bits set in the validation byte. Reported by Xavier Bru.
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 83bab9a4bbf91af93f45233dc288c4d26308e281
Author: Adrian Bunk <bunk@stusta.de>
Date: Tue Dec 13 02:58:07 2005 +0100
[PATCH] allow KOBJECT_UEVENT=n only if EMBEDDED
KOBJECT_UEVENT=n seems to be a common pitfall for udev users in 2.6.14 .
-mm already contains a bigger patch removing this option that is IMHO
too big for being applied now to 2.6.15-rc.
This patch simply allows KOBJECT_UEVENT=n only if EMBEDDED.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 98684a9d91bceff829b6dc7adf0f662d59cfa6e3
Author: Jeff Garzik <jgarzik@pobox.com>
Date: Tue Dec 13 11:35:22 2005 -0500
[netdrvr skge] fix build
commit 50630195bbdfe1ca775d94cd68a5f18bc1b717e4
Author: Jeff Garzik <jgarzik@pobox.com>
Date: Tue Dec 13 02:29:45 2005 -0500
[libata] mark certain hardware (or drivers) with a no-atapi flag
Some hardware does not support the PACKET command at all.
Other hardware supports ATAPI, but the driver does something nasty such
as calling BUG() when an ATAPI command is issued.
For these such cases, we mark them with a new flag, ATA_FLAG_NO_ATAPI.
Initial version contributed by Ben Collins.
commit be0d9b6c7aeaad1683059c00131cabd4c894c17c
Author: Antonino A. Daplas <adaplas@gmail.com>
Date: Mon Dec 12 22:17:21 2005 -0800
[PATCH] fbdev: Fix incorrect unaligned access in little-endian machines
The drawing function cfbfillrect does not work correctly when access is not
unsigned-long aligned. It manifests as extra lines of pixels that are not
complete drawn. Reversing the shift operator solves the problem, so I would
presume that this bug would manifest only on little endian machines. The
function cfbcopyarea may also have this bug.
Aligned access should present no problems.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7275b4b6bc2f783c135c3f0eeecc4fdc6e788aa8
Author: Antonino A. Daplas <adaplas@gmail.com>
Date: Mon Dec 12 22:17:20 2005 -0800
[PATCH] fbdev: Shift pixel value before entering loop in cfbimageblit
In slow imageblit, the pixel value is shifted by a certain amount (dependent
on the bpp and endianness) for each iteration. This is inefficient. Better
do the shifting once before going into the loop.
Signed-off-by: Antonino Daplas <adaplas@pol