commit e9bb4c9929a63b23dcc637fae312b36b038bdc61
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sun Feb 12 16:27:25 2006 -0800
Linux v2.6.16-rc3
commit 0d541064e8f58858e11cd34d81b6e83617f6eb4a
Author: Andi Kleen <ak@suse.de>
Date: Sun Feb 12 14:34:59 2006 -0800
[PATCH] x86_64: GART DMA merging fix
Don't touch the non DMA members in the sg list in dma_map_sg in the IOMMU
Some drivers (in particular ST) ran into problems because they reused the sg
lists after passing them to pci_map_sg(). The merging procedure in the K8
GART IOMMU corrupted the state. This patch changes it to only touch the dma*
entries during merging, but not the other fields. Approach suggested by Dave
Miller.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a65d17c9d27a85782cfe1bbc36c747ffa1f81814
Author: John Blackwood <john.blackwood@ccur.com>
Date: Sun Feb 12 14:34:58 2006 -0800
[PATCH] arch/x86_64/kernel/traps.c PTRACE_SINGLESTEP oops
We found a problem with x86_64 kernels with preemption enabled, where
having multiple tasks doing ptrace singlesteps around the same time will
cause the system to 'oops'. The problem seems that a task can get
preempted out of the do_debug() processing while it is running on the
DEBUG_STACK stack. If another task on that same cpu then enters do_debug()
and uses the same per-cpu DEBUG_STACK stack, the previous preempted tasks's
stack contents can be corrupted, and the system will oops when the
preempted task is context switched back in again.
The typical oops looks like the following:
Unable to handle kernel paging request at ffffffffffffffae RIP:
<ffffffff805452a1>{thread_return+34}
PGD 103027 PUD 102429067 PMD 0
Oops: 0002 [1] PREEMPT SMP
CPU 0
Modules linked in:
Pid: 3786, comm: ssdd Not tainted 2.6.15.2 #1
RIP: 0010:[<ffffffff805452a1>] <ffffffff805452a1>{thread_return+34}
RSP: 0018:ffffffff80824058 EFLAGS: 000136c2
RAX: ffff81017e12cea0 RBX: 0000000000000000 RCX: 00000000c0000100
RDX: 0000000000000000 RSI: ffff8100f7856e20 RDI: ffff81017e12cea0
RBP: 0000000000000046 R08: ffff8100f68a6000 R09: 0000000000000000
R10: 0000000000000000 R11: ffff81017e12cea0 R12: ffff81000c2d53e8
R13: ffff81017f5b3be8 R14: ffff81000c0036e0 R15: 000001056cbfc899
FS: 00002aaaaaad9b00(0000) GS:ffffffff80883800(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: ffffffffffffffae CR3: 00000000f6fcf000 CR4: 00000000000006e0
Process ssdd (pid: 3786, threadinfo ffff8100f68a6000, task ffff8100f7856e20)
Stack: ffffffff808240d8 ffffffff8012a84a ffff8100055f6c00 0000000000000020
0000000000000001 ffff81000c0036e0 ffffffff808240b8 0000000000000000
0000000000000000 0000000000000000
Call Trace: <#DB>
<ffffffff8012a84a>{try_to_wake_up+985}
<ffffffff8012c0d3>{kick_process+87}
<ffffffff8013b262>{signal_wake_up+48}
<ffffffff8013b5ce>{specific_send_sig_info+179}
<ffffffff80546abc>{_spin_unlock_irqrestore+27}
<ffffffff8013b67c>{force_sig_info+159}
<ffffffff801103a0>{do_debug+289} <ffffffff80110278>{sync_regs+103}
<ffffffff8010ed9a>{paranoid_userspace+35}
Unable to handle kernel paging request at 00007fffffb7d000 RIP:
<ffffffff8010f2e4>{show_trace+465}
PGD f6f25067 PUD f6fcc067 PMD f6957067 PTE 0
Oops: 0000 [2] PREEMPT SMP
This patch disables preemptions for the task upon entry to do_debug(), before
interrupts are reenabled, and then disables preemption before exiting
do_debug(), after disabling interrupts. I've noticed that the task can be
preempted either at the end of an interrupt, or on the call to
force_sig_info() on the spin_unlock_irqrestore() processing. It might be
better to attempt to code a fix in entry.S around the code that calls
do_debug().
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8f6da52aeff1fd7272ff5082552a39c050565b57
Author: Jesse Allen <the3dfxdude@gmail.com>
Date: Sun Feb 12 14:34:56 2006 -0800
[PATCH] orinoco: support smc2532w
The orinoco wireless driver can support the SMC 2532W-B PC Card, so add the
id for it.
Signed-off-by: Jesse Allen <the3dfxdude@gmail.com>
Cc: Pavel Roskin <proski@gnu.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 89edc3d2b429136a0e25f40275fd82dc58f147fd
Author: Jeff Mahoney <jeffm@suse.com>
Date: Sun Feb 12 14:34:55 2006 -0800
[PATCH] reiserfs: disable automatic enabling of reiserfs inode attributes
Unfortunately, the reiserfs_attrs_cleared bit in the superblock flag can
lie. File systems have been observed with the bit set, yet still contain
garbage in the stat data field, causing unpredictable results.
This patch backs out the enable-by-default behavior.
It eliminates the changes from: d50a5cd860ce721dbeac6a4f3c6e42abcde68cd8,
and ef5e5414e7a83eb9b4295bbaba5464410b11e030.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3c791925da0e6108cda15e3c2c7bfaebcd9ab9cf
Author: Jesper Juhl <jesper.juhl@gmail.com>
Date: Sun Feb 12 14:34:53 2006 -0800
[PATCH] netfilter: fix build error due to missing has_bridge_parent macro
net/bridge/br_netfilter.c: In function `br_nf_post_routing':
net/bridge/br_netfilter.c:808: warning: implicit declaration of function `has_bridge_parent'
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Harald Welte <laforge@netfilter.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 19bf9cbf6b313ae79a0c7278ccaa9c72c86931bd
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sun Feb 12 12:35:03 2006 +0100
[PATCH] s390: fstatat64 support
Add fstatat64 support to s390 in order to follow changes with
commit cff2b760096d1e6feaa31948e7af4abbefe47822 .
Also fixes compilation for 31 bit.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a7122f916978a6cd58b765949cb315aabcddf151
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Mon Jan 9 22:07:22 2006 +0100
[WATCHDOG] pcwd.c - update module version info
Update the module version defines.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit af3b38d99d7d52340cf59a06ff90d90e0fa25b6d
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Mon Jan 9 22:03:41 2006 +0100
[WATCHDOG] pcwd.c show card info patch
Put all code for showing the card's boot info in
one sub-routine.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit 85875211acc94ecb76fe04fbebc6aca12b6da60d
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Mon Jan 9 21:59:39 2006 +0100
[WATCHDOG] pcwd.c move get_support to pcwd_check_temperature_support
Rename get_support function to pcwd_check_temperature_support
so that it is clearer what the function does.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit 8f0235dccc3f7bffc32abcef2aec3d1b15c61927
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Mon Jan 9 21:56:09 2006 +0100
[WATCHDOG] pcwd.c Control Status #2 patch
Add Control Status #2 bits (with defines)
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit a2be8786006ec0d21dcb1d322fc480b85ea82c66
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Mon Jan 9 21:53:33 2006 +0100
[WATCHDOG] pcwd.c private data struct patch
more private data of the card to one struct.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit f1c3a0567aa5086e755e58385740f9ece911c06e
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Sat Dec 10 14:36:24 2005 +0100
[WATCHDOG] pcwd.c card_found-- fix.
When doing a __devexit from a card we should also
decrement the cards_found counter.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit fd41fa616f21efc36eb80696475ceb33ea047a6a
Author: Wim Van Sebroeck <wim@iguana.be>
Date: Sat Dec 10 14:22:37 2005 +0100
[WATCHDOG] pcwd.c add comments + tabs
add extra comments for the include files
changes spaces by tabs where it is appropriate.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit 3a69e5791379a7c7d23c531a7679428300bb5072
Author: Ian Campbell <icampbell@arcom.com>
Date: Mon Nov 7 10:21:24 2005 +0000
[WATCHDOG] sa1100_wdt.c sparse clean (2)
The following makes drivers/char/watchdog/sa1100_wdt.c sparse clean.
(similar to the other watchdog drivers)
Signed-off-by: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
commit bc6d7fdf460ec5292d66bb551dbfa49ca682bebf
Author: Andrew Morton <akpm@osdl.org>
Date: Sat Feb 11 17:56:08 2006 -0800
[PATCH] fbdev: video_setup() warning fix
drivers/video/fbmem.c:1567: warning: 'video_setup' defined but not used
Acked-by: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bc7fc0601b3eb2254f080492f3fd69e319ed32d0
Author: Antonino A. Daplas <adaplas@gmail.com>
Date: Sat Feb 11 17:56:07 2006 -0800
[PATCH] nvidiafb: Add support for Geforce4 MX 4000
Add support for Geforce4 MX 4000 (0x185)
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 891e5e5edaf13216f9f4c2710aebd066b1d98583
Author: Adrian Bunk <bunk@stusta.de>
Date: Sat Feb 11 17:56:05 2006 -0800
[PATCH] drivers/video/Kconfig: remove unused BUS_I2C option
The BUS_I2C option is neither available (since there is no VISWS option in
the kernel) nor does it have any effect - so why not remove it?
Based on a report by Jean-Luc Leger <reiga@dspnet.fr.eu.org>.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1d30883942cfe8a1e3f88f8b7f4c292aeba3db5a
Author: Andrew Morton <akpm@osdl.org>
Date: Sat Feb 11 17:56:05 2006 -0800
[PATCH] tipar fixes
- tipar_open(): fix unsigned comparison
- tipar_open(): don't permit NULL pardevice (probably unneeded given the
above fix).
- tipar_init_module(): handle the situation where parport_register_driver()
failed to register any devices (parport_register_driver() drops the ->attach
return value on the floor).
This probably makes fixes #1 and #2 unneeded.
- tipar_init_module(): fix various error-path resource leaks.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ef1bea9e2a5a72d2c3362522e0a09099406732ff
Author: Eric Paris <eparis@redhat.com>
Date: Sat Feb 11 17:56:04 2006 -0800
[PATCH] s390: remove one set of brackets in __constant_test_bit()
Right now in __constant_test_bit for the s390 there is an extra set of ()
surrounding the calculation. This patch simply removes one set of () that is
surrounding the whole clause.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0defa3c19e7792001df09d6fa5ab461d3599ff6d
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat Feb 11 17:56:03 2006 -0800
[PATCH] s390: add #ifdef __KERNEL__ to asm-s390/setup.h
Based on a patch from Maximilian Attems <maks@sternwelten.at> . Nothing in
asm-s390/setup.h is of interest for user space.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e7684277f6882a23cfb734cb7450c3a469e6e8b1
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat Feb 11 17:56:02 2006 -0800
[PATCH] s390: add support for unshare system call
Add support for unshare system call.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a386fba2516b5404864647906219ced57bf2f2b7
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat Feb 11 17:56:01 2006 -0800
[PATCH] s390: fix non smp build of kexec
Add missing smp_cpu_not_running define to avoid build warnings in the non smp
case.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5238da45f345898a8bfcd14e53b0431fcee36a04
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat Feb 11 17:56:01 2006 -0800
[PATCH] s390: update maintainers file
Update URL for s390 and add maintainers for s390 networking and zfcp driver.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9733e2407ad2237867cb13c04e7d619397fa3090
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat Feb 11 17:56:00 2006 -0800
[PATCH] s390: earlier initialization of cpu_possible_map
Initiliazing of cpu_possible_map was done in smp_prepare_cpus which is way too
late. Therefore assign a static value to cpu_possible_map, since we don't
have access to max_cpus in setup_arch.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 25fab9ebac445d57b656f5faabac5a195bed2f82
Author: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Date: Sat Feb 11 17:55:59 2006 -0800
[PATCH] s390: fix sclp memory corruption in tty pages list
When the sclp interface takes very long to serve a request, the sclp core
driver will report a failed request to the sclp tty driver even though the
request is still being processed by the sclp interface. Eventually the sclp
interface completes the request and updates some fields in the request buffer
which leads to a corrupted tty pages list. The next time function
sclp_tty_write_room is called, the corrupted list will be traversed, resulting
in an oops.
To avoid this remove the busy retry limit and increase retry intervals.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e6f3601a7275216c48c2635f46b388d970901bb9
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat Feb 11 17:55:58 2006 -0800
[PATCH] s390: update default configuration
Switch on CONFIG_DEBUG_FS again.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c48d865c50e8626372a52094385fb1f5a2d2a7fd
Author: Cornelia Huck <cornelia.huck@de.ibm.com>
Date: Sat Feb 11 17:55:57 2006 -0800
[PATCH] s390: fix locking in __chp_add() and s390_subchannel_remove_chpid()
Fix locking in __chp_add() and s390_subchannel_remove_chpid(): Need to
disable/enable because they are always called from a thread (and not
directly from a machine check...)
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c0cdf1935cf328730fa068e0f39a22e6149555aa
Author: Ingo Molnar <mingo@elte.hu>
Date: Sat Feb 11 17:55:56 2006 -0800
[PATCH] x86: print out early faults via early_printk()
Lost a few hours debugging an early-bootup fault within printk itself,
which manifested itself as a hard to debug early hang.
This patch makes it much easier by printing out early faults via
early_printk(), which function is a lot simpler than a full printk, and
hence more likely to succeed in emergencies. (We do not recover from early
faults anyway, so there's no loss from not having these messages in the
normal printk buffer.)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2903fb1694dcb08a3c1d9d823cfae7ba30e66cd3
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Sat Feb 11 17:55:55 2006 -0800
[PATCH] vmscan: skip reclaim_mapped determination if we do not swap
This puts the variables and the way to get to reclaim_mapped in one block.
And allows zone_reclaim or other things to skip the determination (maybe
this whole block of code does not belong into refill_inactive_zone()?)
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 072eaa5d9cc3e63f567ffd9ad87b36194fdd8010
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Sat Feb 11 17:55:54 2006 -0800
[PATCH] vmscan: remove duplicate increment of reclaim_in_progress
shrink_zone() already increments reclaim_in_progress. No need to do it in
balance_pgdat.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 80e4342601abfafacb5f20571e40b56d73d10819
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Sat Feb 11 17:55:53 2006 -0800
[PATCH] zone reclaim: do not check references to a page during zone reclaim
shrink_list() and refill_inactive() check all ptes pointing to a page for
reference bits in order to decide if the page should be put on the active
list. This is not necessary for zone_reclaim since we are only interested
in removing unmapped pages. Skip the checks in both functions.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 643a654540579b0dcc7a206a4a7475276a41aff0
Author: Andrew Morton <akpm@osdl.org>
Date: Sat Feb 11 17:55:52 2006 -0800
[PATCH] select: fix returned timeval
With David Woodhouse <dwmw2@infradead.org>
select() presently has a habit of increasing the value of the user's
`timeout' argument on return.
We were writing back a timeout larger than the original. We _deliberately_
round up, since we know we must wait at _least_ as long as the caller asks
us to.
The patch adds a couple of helper functions for magnitude comparison of
timespecs and of timevals, and uses them to prevent the various poll and
select functions from returning a timeout which is larger than the one which
was passed in.
The patch also fixes a bug in compat_sys_pselect7(): it was adding the new
timeout value to the old one and was returning that. It should just return
the new timeout value.
(We have various handy timespec/timeval-to-from-nsec conversion functions in
time.h. But this code open-codes it all).
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: george anzinger <george@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 33042a9ff4d126ba944b9dc3076665a2029e0a34
Author: Chris McDermott <lcm@us.ibm.com>
Date: Sat Feb 11 17:55:50 2006 -0800
[PATCH] x86-64: Fix HPET timer on x460
[description from AK]
The IBM Summit 3 chipset doesn't implement the HPET timer replacement
option. Since the current Linux code relies on it use a mixed mode with
both PIT for the interrupt and HPET counters for the time keeping. That
was already implemented, but didn't work properly because it was still
using the last interrupt offset in HPET. This resulted in x460 not
booting. Fix this up by using the free running HPET counter.
Shouldn't affect any other machine because they either use full HPET mode
or no HPET at all.
TBD needs a similar 32bit fix.
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Cc: Bob Picco <bob.picco@hp.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e00d82d07fb112446586d225763d3572e64b7abf
Author: Matt Waddel <Matt.Waddel@freescale.com>
Date: Sat Feb 11 17:55:48 2006 -0800
[PATCH] Add wording to m68k .S files to help clarify license info
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Matt Waddel <Matt.Waddel@freescale.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit cff2b760096d1e6feaa31948e7af4abbefe47822
Author: Ulrich Drepper <drepper@redhat.com>
Date: Sat Feb 11 17:55:47 2006 -0800
[PATCH] fstatat64 support
The *at patches introduced fstatat and, due to inusfficient research, I
used the newfstat functions generally as the guideline. The result is that
on 32-bit platforms we don't have all the information needed to implement
fstatat64.
This patch modifies the code to pass up 64-bit information if
__ARCH_WANT_STAT64 is defined. I renamed the syscall entry point to make
this clear. Other archs will continue to use the existing code. On x86-64
the compat code is implemented using a new sys32_ function. this is what
is done for the other stat syscalls as well.
This patch might break some other archs (those which define
__ARCH_WANT_STAT64 and which already wired up the syscall). Yet others
might need changes to accomodate the compatibility mode. I really don't
want to do that work because all this stat handling is a mess (more so in
glibc, but the kernel is also affected). It should be done by the arch
maintainers. I'll provide some stand-alone test shortly. Those who are
eager could compile glibc and run 'make check' (no installation needed).
The patch below has been tested on x86 and x86-64.
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e19816808346cc1619733532a267a11dce8f8a12
Author: Ben Dooks <ben-linux@fluff.org>
Date: Fri Feb 10 22:40:51 2006 +0000
[ARM] 3326/1: H1940 - Control latches
Patch from Ben Dooks
Define the bits for the two board control latches
that control various items on the H1940 iPAQ.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit fd401aee6273e869e2711de498e28f5208184797
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Fri Feb 10 21:50:43 2006 +0000
[SERIAL] Remove incorrect code from ioc4 serial driver
Serial drivers in general should not write uart_info->flags - they're
private to serial_core. Serial drivers have no need to fiddle with
tty->alt_speed, nor manipulate TTY_IO_ERROR in tty->flags. Fix the
ioc4 serial driver for both these points by simply removing the
offending code.
Acked-by: pfg@sgi.com
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 21b4da78c941f292f6daf87abb562d6285216e51
Author: Dave Jones <davej@redhat.com>
Date: Fri Feb 10 16:27:11 2006 -0500
[PATCH] Fix s390 build failure.
arch/s390/kernel/compat_signal.c:199: error: conflicting types for 'do_sigaction'
include/linux/sched.h:1115: error: previous declaration of 'do_sigaction' was here
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 418aade459f03318defd18ef0b11981a63bd81b0
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Fri Feb 10 01:51:15 2006 -0800
[PATCH] Updates for page migration
This adds some additional comments in order to help others figure out how
exactly the code works. And fix a variable name.
Also swap_page does need to ignore all reference bits when unmapping a
page. Otherwise we may have to repeatedly unmap a frequently touched page.
So change the try_to_unmap parameter to 1.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8977d929e49021d9a6e031310aab01fa72f849c2
Author: Paul Fulghum <paulkf@microgate.com>
Date: Fri Feb 10 01:51:14 2006 -0800
[PATCH] tty buffering stall fix
Prevent stalled processing of received data when a driver allocates tty
buffer space but does not immediately follow the allocation with more data
and a call to schedule receive tty processing. (example: hvc_console) This
bug was introduced by the first locking patch for the new tty buffering.
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f0188f47482efdbd2e005103bb4f0224a835dfad
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Fri Feb 10 01:51:13 2006 -0800
[PATCH] slab: Avoid deadlock at kmem_cache_create/kmem_cache_destroy
Prevents deadlock situation between
kmem_cache_create()/kmem_cache_destory(), and kmem_cache_create() /cpu
hotplug. The locking order probably got moved over time.
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8e36709d8cea48a4d341294ce2b46678a2e77159
Author: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Date: Fri Feb 10 01:51:12 2006 -0800
[PATCH] shmdt cannot detach not-alined shm segment cleanly.
sys_shmdt() can manage shm segments which are covered by multiple vmas. (This
can happen when a user uses mprotect() after shmat().)
This works well if shm is aligned to PAGE_SIZE, but if not, the last
segment cannot be detached. It is because a comparison in sys_shmdt()
(vma->vm_end - addr) < size
addr == return address of shmat()
size == shmsize, argments to shmget()
size should be aligned to PAGE_SIZE before being compared with vma->vm_end,
which is aligned.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c22db9412736204b25aeba19d18e5ea922f7d632
Author: Jan Beulich <jbeulich@novell.com>
Date: Fri Feb 10 01:51:11 2006 -0800
[PATCH] prevent recursive panic from softlockup watchdog
When panic_timeout is zero, suppress triggering a nested panic due to soft
lockup detection.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7a8ef1cb774e5438d292365626f9b96616283706
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 10 01:51:08 2006 -0800
[PATCH] x86: don't initialise cpu_possible_map to all ones
Initialising cpu_possible_map to all-ones with CONFIG_HOTPLUG_CPU means that
a) All for_each_cpu() loops will iterate across all NR_CPUS CPUs, rather
than over possible ones. That can be quite expensive.
b) Soon we'll be allocating per-cpu areas only for possible CPUs. So with
CPU_MASK_ALL, we'll be wasting memory.
I also switched voyager over to not use CPU_MASK_ALL in the non-CPU-hotplug
case. Should be OK..
I note that parisc is also using CPU_MASK_ALL. Suggest that it stop doing
that.
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Paul Jackson <pj@sgi.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Zwane Mwaikambo <zwane@linuxpower.ca>
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 705672935f8a9e661264e34cd8c409e8cddcc7db
Author: Andreas Gruenbacher <agruen@suse.de>
Date: Fri Feb 10 01:51:07 2006 -0800
[PATCH] Fix building external modules on ppc32
We are setting up sources for building external modules like this:
/usr/src/linux-obj> # create a .config file
/usr/src/linux-obj> make -C /usr/src/linux O=$PWD oldconfig
/usr/src/linux-obj> make -C /usr/src/linux O=$PWD prepare
/usr/src/linux-obj> make -C /usr/src/linux O=$PWD scripts
/usr/src/linux-obj> make -C /usr/src/linux O=$PWD clean
After that, external modules can be built with:
/usr/src/module> make -C /usr/src/linux-obj M=$PWD
This fails for ppc32 because the `make clean' removes the
arch/powerpc/include directory. This should be done in archmrproper
instead of in archclean.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 02df360bf38ca2acb78ddee9fd28262e9474153c
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Fri Feb 10 01:51:06 2006 -0800
[PATCH] remove bogus comment from init/main.c
Remove bogus comment from init function which could lead to the assumption
that cpu_possible_map is setup in smp_prepare_cpus().
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9c15e852a524d55ab768cf48c97f5c684f876af2
Author: Haren Myneni <haren@us.ibm.com>
Date: Fri Feb 10 01:51:05 2006 -0800
[PATCH] kexec: fix in free initrd when overlapped with crashkernel region
It is possible that the reserved crashkernel region can be overlapped with
initrd since the bootloader sets the initrd location. When the initrd
region is freed, the second kernel memory will not be contiguous. The
Kexec_load can cause an oops since there is no contiguous memory to write
the second kernel or this memory could be used in the first kernel itself
and may not be part of the dump. For example, on powerpc, the initrd is
located at 36MB and the crashkernel starts at 32MB. The kexec_load caused
panic since writing into non-allocated memory (after 36MB). We could see
the similar issue even on other archs.
One possibility is to move the initrd outside of crashkernel region. But,
the initrd region will be freed anyway before the system is up. This patch
fixes this issue and frees only regions that are not part of crashkernel
memory in case overlaps.
Signed-off-by: Haren Myneni <haren@us.ibm.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit afcd024183d8a6eae7e489ce50b2485c5ae4f662
Author: Jesper Juhl <jesper.juhl@gmail.com>
Date: Fri Feb 10 01:51:03 2006 -0800
[PATCH] wrong firmware location in IPW2100 Kconfig entry
Firmware should go into /lib/firmware, not /etc/firmware.
Found by Alejandro Bonilla.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a2000572ad511f5f43091ed7bd2cc3b913104a1e
Author: Nick Piggin <npiggin@suse.de>
Date: Fri Feb 10 01:51:02 2006 -0800
[PATCH] sched: remove smpnice
I don't think the code is quite ready, which is why I asked for Peter's
additions to also be merged before I acked it (although it turned out that
it still isn't quite ready with his additions either).
Basically I have had similar observations to Suresh in that it does not
play nicely with the rest of the balancing infrastructure (and raised
similar concerns in my review).
The samples (group of 4) I got for "maximum recorded imbalance" on a 2x2
SMP+HT Xeon are as follows:
| Following boot | hackbench 20 | hackbench 40
-----------+----------------+---------------------+---------------------
2.6.16-rc2 | 30,37,100,112 | 5600,5530,6020,6090 | 6390,7090,8760,8470
+nosmpnice | 3, 2, 4, 2 | 28, 150, 294, 132 | 348, 348, 294, 347
Hackbench raw performance is down around 15% with smpnice (but that in
itself isn't a huge deal because it is just a benchmark). However, the
samples show that the imbalance passed into move_tasks is increased by
about a factor of 10-30. I think this would also go some way to explaining
latency blips turning up in the balancing code (though I haven't actually
measured that).
We'll probably have to revert this in the SUSE kernel.
Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Peter Williams <pwil3058@bigpond.net.au>
Cc: "Martin J. Bligh" <mbligh@aracnet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 00adbf62bd16f6527e046b422349a54d783a3d86
Author: Kumar Gala <galak@gate.crashing.org>
Date: Mon Jan 16 10:53:22 2006 -0600
[PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE for embedded boards
Embedded boards that u-boot require a kernel image in the uImage format.
This allows a given board to specify it wants a uImage built by default.
This also fixes a warning at config time, as this symbol is referred
to in arch/powerpc/platforms/83xx/Kconfig.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit ad71f123a9e9b809f6c829db1222ce0423a1153c
Author: Becky Bruce <bgill@freescale.com>
Date: Tue Feb 7 13:44:08 2006 -0600
[PATCH] powerpc: Add FSL USB node to documentation
Updated the documentation to include the definition of the USB device
node format for Freescale SOC devices.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit b37ce281d729181b9862c4e3e112f9b5eea74ac9
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:59:11 2006 -0800
[PATCH] powerpc: unshare system call registration
Registers system call for the powerpc architecture.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 8568daa49063fd84b52b9e22b4e2422417b4d483
Author: Paul Mackerras <paulus@samba.org>
Date: Fri Feb 10 16:02:20 2006 +1100
ppc: Use the system call table from arch/powerpc/kernel/systbl.S
With this, new system calls only have to be wired up in one place
for ARCH=ppc and ARCH=powerpc, rather than 2.
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit bab1deea308afcf9200837d6ac20aefe92972efb
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Thu Feb 9 17:10:12 2006 -0800
[BRIDGE]: fix error handling for add interface to bridge
Refactor how the bridge code interacts with kobject system.
It should still use kobjects even if not using sysfs.
Fix the error unwind handling in br_add_if.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 5dce971acf2ae20c80d5e9d1f6bbf17376870911
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Thu Feb 9 17:09:38 2006 -0800
[BRIDGE]: netfilter handle RCU during removal
Bridge netfilter code needs to handle the case where device is
removed from bridge while packet in process. In these cases the
bridge_parent can become null while processing.
This should fix: http://bugzilla.kernel.org/show_bug.cgi?id=5803
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit b3f1be4b5412e34647764457bec901e06b03e624
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Thu Feb 9 17:08:52 2006 -0800
[BRIDGE]: fix for RCU and deadlock on device removal
Change Bridge receive path to correctly handle RCU removal of device
from bridge. Also fixes deadlock between carrier_check and del_nbp.
This replaces the previous deleted flag fix.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6fcf9412de64056238a6295f21db7aa9c37a532e
Author: John Heffner <jheffner@psc.edu>
Date: Thu Feb 9 17:06:57 2006 -0800
[TCP]: rcvbuf lock when tcp_moderate_rcvbuf enabled
The rcvbuf lock should probably be honored here.
Signed-off-by: John Heffner <jheffner@psc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 80ba250e59ced808a8c9b79560938bbe4509c0a7
Author: David Binderman <dcb314@hotmail.com>
Date: Thu Feb 9 16:59:48 2006 -0800
[IRDA]: out of range array access
This patch fixes an out of range array access in irnet_irda.c.
Author: David Binderman <dcb314@hotmail.com>
Signed-off-by: Samuel Ortiz <samuel.ortiz@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit d93077fb0e7cb9d4f4094a649501d840c55fdc8b
Author: Samuel Ortiz <samuel.ortiz@nokia.com>
Date: Thu Feb 9 16:58:46 2006 -0800
[IRDA]: Set proper IrLAP device address length
This patch set IrDA's addr_len properly, i.e to 4 bytes, the size of the
IrLAP device address.
Signed-off-by: Samuel Ortiz <samuel.ortiz@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 28633514afd68afa77ed2fa34fa53626837bf2d5
Author: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Date: Thu Feb 9 16:40:58 2006 -0800
[NETLINK]: illegal use of pid in rtnetlink
When a netlink message is not related to a netlink socket,
it is issued by kernel socket with pid 0. Netlink "pid" has nothing
to do with current->pid. I called it incorrectly, if it was named "port",
the confusion would be avoided.
Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit a70ea994a0d83fd0151a070be72b87d014ef0a7e
Author: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Date: Thu Feb 9 16:40:11 2006 -0800
[NETLINK]: Fix a severe bug
netlink overrun was broken while improvement of netlink.
Destination socket is used in the place where it was meant to be source socket,
so that now overrun is never sent to user netlink sockets, when it should be,
and it even can be set on kernel socket, which results in complete deadlock
of rtnetlink.
Suggested fix is to restore status quo passing source socket as additional
argument to netlink_attachskb().
A little explanation: overrun is set on a socket, when it failed
to receive some message and sender of this messages does not or even
have no way to handle this error. This happens in two cases:
1. when kernel sends something. Kernel never retransmits and cannot
wait for buffer space.
2. when user sends a broadcast and the message was not delivered
to some recipients.
Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 9ac95f2f90e022c16d293d7978faddf7e779a1a9
Author: Oleg Nesterov <oleg@tv-sign.ru>
Date: Thu Feb 9 22:41:50 2006 +0300
[PATCH] do_sigaction: cleanup ->sa_mask manipulation
Clear unblockable signals beforehand.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c70d3d703ad94727dab2a3664aeee33d71e00715
Author: Oleg Nesterov <oleg@tv-sign.ru>
Date: Thu Feb 9 22:41:41 2006 +0300
[PATCH] sys_signal: initialize ->sa_mask
Pointed out by Linus Torvalds.
sys_signal() forgets to initialize ->sa_mask.
( I suspect arch/ia64/ia32/ia32_signal.c:sys32_signal()
also needs this fix )
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 642fe301c3fbfe5e328a7a597c4dca41790edbbb
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Thu Feb 9 15:09:15 2006 -0800
[SPARC64]: Fix sys_newfstatat syscall table entry for 64-bit.
The sparc64 64 bit syscall table seems to be broken as it has
compat_sys_newfstatat in its syscall table instead of sys_newfstatat.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit a94746461765dae41fb82e4dac027d14af4d80d8
Author: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Date: Thu Feb 9 14:42:55 2006 -0800
[IA64] mca_drv: Add minstate validation
MCA driver can cause panic if kernel gets a state info with no minstate.
This patch adds minstate validation before handling it.
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 1ff0be1534839dabec85f6d16dc36734f4e158bf
Author: Tony Luck <tony.luck@intel.com>
Date: Thu Feb 9 14:41:41 2006 -0800
[IA64] sys32_signal() forgets to initialize ->sa_mask
Pointed out by Oleg Nesterov <oleg@tv-sign.ru>, who in turn
got the hint from Linus.
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit b6bb761897d3b0225fa9d61fc4782b02bab9a6e1
Author: Prarit Bhargava <prarit@sgi.com>
Date: Thu Feb 9 14:14:52 2006 -0800
[IA64-SGI] Small cleanup for misuse of list_for_each to list_for_each_safe.
Patch was suggested by Kenneth W. Chen here
Signed-off-by: Prarit Bhargava <prarit@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 8b34ff427d6f3b0a1207829350b9db16376f88c5
Author: Prarit Bhargava <prarit@sgi.com>
Date: Thu Feb 9 14:12:24 2006 -0800
[IA64-SGI] Hotplug driver related fix in the SN ia64 code.
Remove an erroneous kfree, and unlink the pcidev_info struct from the
pcidev_info list prior to free'ing the pcidev_info struct.
Signed-off-by: Prarit Bhargava <prarit@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit b514d3192736563dee3f4ba4b659558b3cadc7f7
Author: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Date: Thu Feb 9 16:47:58 2006 +0000
[ARM] 3314/1: S3C2400 - adds s3c2400.h
Patch from Lucas Correia Villa Real
This patch adds s3c2400.h, fixing the build for the 2410/2440
platforms.
Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 15508d22d00277a1f2a1022dce38f2772c810d32
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Thu Feb 9 08:00:14 2006 -0800
Revert "[PATCH] kconfig: detect if -lintl is needed when linking conf,mconf"
This reverts commit 5e375bc7d586e0df971734a5a5f1f080ffd89b68.
Kyle McMartin steps on his soap-box:
"Sigh. Can everyone please stop assuming gcc can output to /dev/null?
On several platforms, ld tries to lseek in the output file, and fails
if it can't."
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9908104935325bd6beba67d637b6f5396d47075c
Author: Kristian Slavov <kristian.slavov@nomadiclab.com>
Date: Wed Feb 8 16:10:53 2006 -0800
[IPV6]: Address autoconfiguration does not work after device down/up cycle
If you set network interface down and up again, the IPv6 address
autoconfiguration does not work. 'ip addr' shows that the link-local
address is in tentative state. We don't even react to periodical router
advertisements.
During NETDEV_DOWN we clear IF_READY, and we don't set it back in
NETDEV_UP. While starting to perform DAD on the link-local address, we
notice that the device is not in IF_READY, and we abort autoconfiguration
process (which would eventually send router solicitations).
Acked-by: Juha-Matti Tapio <jmtapio@verkkotelakka.net>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 4b88f09364e94b05b66fb1441131e8460495a2f8
Author: Andi Kleen <ak@suse.de>
Date: Thu Feb 9 00:35:50 2006 +0100
[PATCH] x86-64: Add sys_unshare
Add unshare syscall for x86-64
ppoll/pselect are not ready yet, but add reservations.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9621a4ef8a29d11118f44def053931bcafb0dfc2
Author: Janak Desai <janak@us.ibm.com>
Date: Wed Feb 8 15:43:38 2006 -0800
[IA64] unshare system call registration for ia64
Registers system call for the ia64 architecture.
Reserves space for ppoll and pselect, and adds unshare at system
call number 1296.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit be92cbb99654f02a49edbeda84f17e8d61727518
Author: Jordan Crouse <jordan.crouse@amd.com>
Date: Wed Feb 8 22:23:05 2006 +0000
[MMC] Remove extra character in AU1XXX MMC Kconfig entry
An obvious vi fat finger on my part.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 18f49ea207fbcf37f81395037f0dc1cacb2aac3c
Author: Tony Lindgren <tony@atomide.com>
Date: Wed Feb 8 22:06:47 2006 +0000
[ARM] 3278/1: OMAP: 3/3 Fix low-level io init for omap2 boards
Patch from Tony Lindgren
This patch fixes the low-level IO init for omap2 boards.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 87bd63f64790eb01a963e05fc5e9fbf366c9de6e
Author: Tony Lindgren <tony@atomide.com>
Date: Wed Feb 8 22:06:46 2006 +0000
[ARM] 3280/1: OMAP: 2/3 Fix low-level io init for omap1 boards
Patch from Tony Lindgren
This patch fixes the low-level IO init for omap1 boards.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 53d9cc7395c8dbe8d7fd6f9acd6578b236d14a0f
Author: Tony Lindgren <tony@atomide.com>
Date: Wed Feb 8 22:06:45 2006 +0000
[ARM] 3279/1: OMAP: 1/3 Fix low-level io init
Patch from Tony Lindgren
This patch adds the missing cache flushes to common low-level
init that are needed to access the IO region. These flushes
are normally done at the end of devicemaps_init(), but we
need to detect the OMAP core type early.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 083d06edfda28fdee41ac46dc57ad4949927acd9
Author: Ben Dooks <ben-linux@fluff.org>
Date: Wed Feb 8 22:03:31 2006 +0000
[ARM] 3299/1: S3C24XX - fix irq range on adc device
Patch from Ben Dooks
Change the IRQ resource range for the ADC device
to be two distinct IRQs
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 85d1494e5ff8e20a52ce514584ffda4f0265025e
Author: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Wed Feb 8 21:46:24 2006 +0000
[SERIAL] 8250_pci: add new PCI serial card support
This patch adds new PCI serial card support.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 7369a8b39ce4be117b0f12bda4e34a1d1789dfe3
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Feb 8 21:43:03 2006 +0000
[SERIAL] ip22zilog: Whitespace cleanup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 76a55431cc7237f018c7c667860d60e2b6427bf1
Author: Vitaly Bordug <vbordug@ru.mvista.com>
Date: Wed Feb 8 21:40:13 2006 +0000
[SERIAL] PPC32 CPM_UART: update to utilize the new TTY flip API
This replaces old direct usage of tty->flip stuff with relative flip API
calls.
Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit deb37bb7a94c052140d1461a09b877a00e7e2476
Author: Jordan Crouse <jordan.crouse@amd.com>
Date: Wed Feb 8 21:36:28 2006 +0000
[SERIAL] Fix compile error in 8250_au1x00.c
The DB1550 actually doesn't have a UART2. Remove it from the list.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f5968b37b3ad35b682b574b578843a0361218aff
Author: Kumar Gala <galak@kernel.crashing.org>
Date: Wed Feb 8 21:34:35 2006 +0000
[SERIAL] 8250 serial console update uart_8250_port ier
On some embedded PowerPC (MPC834x) systems an extra byte would some
times be required to flush data out of the fifo.
serial8250_console_write() was updating the IER in hardware without
also updating the copy in uart_8250_port. This causes issues functions
like serial8250_start_tx() and __stop_tx() to misbehave.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 5cba742935ee7aee6f70d35da83e6398408418f7
Author: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Date: Wed Feb 8 21:31:54 2006 +0000
[ARM] 3283/1: S3C2400 - defines the number of serial ports
Patch from Lucas Correia Villa Real
This patch defines the number of serial ports on the S3C2400.
Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f557f5e51db47887eab170084bbcf9685b48fa06
Author: Catalin Marinas <catalin.marinas@arm.com>
Date: Wed Feb 8 21:19:39 2006 +0000
[ARM] 3313/1: Use OSC4 instead of OSC1 for CLCD
Patch from Catalin Marinas
Because of a type, OSC1 was used for setting the display clock instead of
OSC4. This patch fixes it.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 365bf8ac6f5b3d3187cb39444fa87a5b38683ff4
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 8 21:19:38 2006 +0000
[ARM] 3311/1: clean up include/asm-arm/mutex.h
Patch from Nicolas Pitre
Since:
if (unlikely(__res || __ex_flag))
produces worse code on ARM than:
if (unlikely(__res | __ex_flag))
I therefore made it more explicit:
__res |= __ex_flag;
if (unlikely(__res != 0))
so it is not seen as a typo again.
Also made everything static inline rather than macros for better readability
(both produce the same code after all).
And finally added missing \t from multi-line assembly code.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 5964eae835c3b98c69d338950651f7f414f96477
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 8 21:19:37 2006 +0000
[ARM] 3310/1: add a comment about the possible __kuser_cmpxchg transient false
negative
Patch from Nicolas Pitre
The pre ARMv5 implementation can be aborted if an exception occurs in
the middle of it. Because of that, the ARMv6 implementation doesn't
re-attempt the operation on a failed strex either. Let's make this
transient nature of such a false positive more explicit in the
definition.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 49bca4c2815feafd5f999bf43baf87e0dd8d1d08
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 8 21:19:37 2006 +0000
[ARM] 3309/1: disable the pre-ARMv5 NPTL kernel helper in the non MMU case
Patch from Nicolas Pitre
The cmpxchg emulation on pre-ARMv5 relies on user code executed from a
kernel address. If the operation cannot complete atomically, it is
aborted from the usr_entry macro by clearing the Z flag. This clearing
of the Z flag is done whenever the user pc is above TASK_SIZE.
However this "pc >= TASK_SIZE" test cannot work in the non MMU case.
Worse: the current code will corrupt the Z flag on every entry to the
kernel.
Let's disable it in the non MMU case for now. Using NPTL on non MMU
targets needs to be worked out anyway.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 99595d0237926b5aba1fe4c844a011a1ba1ee1f8
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 8 21:19:36 2006 +0000
[ARM] 3308/1: old ABI compat: struct sockaddr_un
Patch from Nicolas Pitre
struct sockaddr_un loses its padding with EABI. Since the size of the
structure is used as a validation test in unix_mkname(), we need to
change the length argument to 110 whenever it is 112.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit a73a3ff127df1b35d6771f7d3ce36373def8398f
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Wed Feb 8 21:09:55 2006 +0000
[ARM] Experimental config options should have (EXPERIMENTAL)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 61c484d41f0e5fb44f9a32cd3352734a04aae3ef
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 8 21:09:08 2006 +0000
[ARM] 3307/1: old ABI compat: mark it experimental
Patch from Nicolas Pitre
Although OABI_COMPAT works fine in most cases, it is still experimental
and could be for ever since it is nearly impossible to handle
everything, e.g. ioctls.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 29fe3cf384e69cec98b638cae6ad5811705a0f3f
Author: Ben Dooks <ben-linux@fluff.org>
Date: Wed Feb 8 21:09:07 2006 +0000
[ARM] 3306/1: S3C24XX - update defconfig
Patch from Ben Dooks
Bring s3c2410 defconfig up to date
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f6c8965ab8de61e26875d48c9e00a018c44d74f7
Author: Martin Michlmayr <tbm@cyrius.com>
Date: Wed Feb 8 21:09:07 2006 +0000
[ARM] 3305/1: Minor typographical and spelling fixes in Konfig
Patch from Martin Michlmayr
Minor typographical and spelling fixes in Konfig
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
---
Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f999b8bdec299bb20be21482640208c3574b16fa
Author: Martin Michlmayr <tbm@cyrius.com>
Date: Wed Feb 8 21:09:05 2006 +0000
[ARM] 3304/1: Add help descriptions to ARCH config items that don't have one
Patch from Martin Michlmayr
Add help descriptions to ARCH config items that don't have one.
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
---
Kconfig | 32 ++++++++++++++++++++++++++++++--
mach-clps711x/Kconfig | 2 ++
2 files changed, 32 insertions(+), 2 deletions(-)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 2a513ce79958d47b72a11c76ec291c8c1169214c
Author: Ben Dooks <ben-linux@fluff.org>
Date: Wed Feb 8 21:09:05 2006 +0000
[ARM] 3303/1: S3C24XX - add clock enable usage counting
Patch from Ben Dooks
Move to using an enable count for the shared clocks
and protect the clock system using a mutex instead
of just disabling IRQs during the clock update.
Since there is little more code in the path for
non-shared clocks, the enable and disable calls
use the same code for each.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f8e5b28413a8bf0b421dd116b30ab2d3befec629
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date: Wed Feb 8 21:09:04 2006 +0000
[ARM] 3302/1: make pci=firmware the default for ixp2000
Patch from Lennert Buytenhek
Most ixp2000 boards don't actually work if pci=firmware isn't used, so
the defconfig isn't really the right place to specify this. Instead of
specifying it in the defconfigs, make the relevant board code take care
of setting pci=firmware.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit a6b3300609b277989644ed4cc2f9d7c4b623f904
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date: Wed Feb 8 21:09:03 2006 +0000
[ARM] 3301/1: remove unnecessary clock default from ixdp2801 defconfig
Patch from Lennert Buytenhek
The ixdp2x01_clock is already 50MHz by default, so no need to
override it with 50MHz in the ixdp2801 defconfig as is done now,
which is confusing as well.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 1b3940130415d9b338ad4e13d4b82498baef21fe
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date: Wed Feb 8 21:09:02 2006 +0000
[ARM] 3300/1: make ixdp2x01 co-exist with other ixp2000 machine types
Patch from Lennert Buytenhek
The ixdp2x01 pci init call doesn't check whether it's really running
on an ixdp2x01, making it impossible to compile one kernel that works
on both the ixdp2x01 and another ixp2000 board.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f478af9dc58c01880832a321c3eea7703772c420
Author: Jes Sorensen <jes@sgi.com>
Date: Wed Feb 8 10:19:28 2006 -0500
[IA64] prevent sn2 specific code to be run in generic kernels
Prevent SN2 specific code to be executed on non SN2 platforms when
running a generic kernel.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit b887d3f2c63543dce1a0825e41be3a8d3ebef78d
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu Feb 9 00:57:44 2006 +0900
[MIPS] Add 'const' to readb and friends
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
commit be6e518b625a90e84d26371f722474e239c01e4c
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Wed Feb 8 23:39:49 2006 +0900
[MIPS] Sparse: Add __user tags to syscall.c
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
commit 72bf891421e261262c4e614c051a68093baddd21
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Feb 8 13:38:50 2006 +0000
[MIPS] Wire up new syscalls.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
commit 40ac5d479b7deb98f6ccc4a7a29ee62dba7a798f
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Feb 8 13:38:18 2006 +0000
[MIPS] Make do_signal return void.
It's return value is ignored everywhere.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
commit 7b3e2fc847c8325a7b35185fa1fc2f1729ed9c5b
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Feb 8 12:58:41 2006 +0000
[MIPS] Add support for TIF_RESTORE_SIGMASK.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
commit 328c2a8a39e1ba43a6e54e43fc752f7035779561
Author: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Date: Wed Feb 8 11:55:06 2006 +0300
[PATCH] alpha: set cpu_possible_map much earlier
All the percpu data structure walkers want cpu_possible_map to be
initialized early, but alpha instead populated "hwrpb_cpu_present_mask"
early in setup_smp(), and then initialized cpu_possible_map only much
later.
Thanks go to Heiko Carstens and Dipankar Sarma for noticing.
This fixes it and we can get rid of hwrpb_cpu_present_mask entirely.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9934a7939e1cdce62ece9ef7d25ebb3c55547fac
Author: Ingo Molnar <mingo@elte.hu>
Date: Wed Feb 8 10:11:56 2006 +0100
[PATCH] SLOB=y && SMP=y fix
fix CONFIG_SLOB=y (when CONFIG_SMP=y): get rid of the 'align' parameter
from its __alloc_percpu() implementation. Boot-tested on x86.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 30e9656cc340035e102fea46e1908689494b042d
Author: Tejun Heo <htejun@gmail.com>
Date: Wed Feb 8 01:01:31 2006 -0800
[PATCH] block: implement elv_insert and use it (fix ordcolor flipping bug)
q->ordcolor must only be flipped on initial queueing of a hardbarrier
request.
Constructing ordered sequence and requeueing used to pass through
__elv_add_request() which flips q->ordcolor when it sees a barrier
request.
This patch separates out elv_insert() from __elv_add_request() and uses
elv_insert() when constructing ordered sequence and requeueing.
elv_insert() inserts the given request at the specified position and
does nothing else.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e5ea0a9fca5612808839dd4bcc41c46fc02451f9
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Wed Feb 8 07:51:17 2006 -0800
ppc: fix up trivial Kconfig config selection
Quoth BenH:
"Ok, looks like I forgot to update the Kconfig for the new i2c driver,
it should select I2C_POWERMAC instead. Do you want a new patch or
can you just fix it there ?"
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 01840f9c9d7ae366311302077ace6bc39169399b
Author: Jens Axboe <axboe@suse.de>
Date: Fri Feb 3 08:37:08 2006 +0100
[PATCH] blk: Fix SG_IO ioctl failure retry looping
When issuing an SG_IO ioctl through sd that resulted in an unrecoverable
error, a nearly infinite retry loop was discovered. This is due to the
fact that the block layer SG_IO code is not setting up rq->retries. This
patch also fixes up the sg_scsi_ioctl path.
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
commit 63f716b9419420defb3e550a1e5f526c11b2ed2d
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Thu Dec 29 11:45:52 2005 -0500
[PATCH] sh: lvalues abuse in arch/sh/boards/renesas/rts7751r2d/io.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 6881761e63ac95fda3073443781ea928682fa600
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Fri Feb 3 20:15:52 2006 -0500
[PATCH] m32r_sio iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 90f46a5845596f0bf99f3a07dd4c7775dcbb40c4
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:45:37 2006 -0500
[PATCH] mark HISAX_AMD7930 as broken
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit bf82a44949339c9af7bd61bb58847774e42e531e
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:42:28 2006 -0500
[PATCH] type-safe min() in prism54
we do min() on u8 and small integer constant; cast the latter to u8.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit ac171c46667c1cb2ee9e22312291df6ed78e1b6e
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Wed Feb 8 16:42:51 2006 +1100
[PATCH] powerpc: Thermal control for dual core G5s
This patch adds a windfarm module, windfarm_pm112, for the dual core G5s
(both 2 and 4 core models), keeping the machine from getting into
vacuum-cleaner mode ;) For proper credits, the patch was initially
written by Paul Mackerras, and slightly reworked by me to add overtemp
handling among others. The patch also removes the sysfs attributes from
windfarm_pm81 and windfarm_pm91 and instead adds code to the windfarm
core to automagically expose attributes for sensor & controls.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 97fa5a664e69f2fcdd2120e7f4765f8c1df56282
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Fri Feb 3 20:11:52 2006 -0500
[PATCH] s390 __get_user() bogus warnings removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 8ef9cf318152d864d6694b19e655cbefa1e85256
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:07:15 2006 -0500
[PATCH] synclink_gt is PCI-only
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit e795638bb9e81bae80bbe88b74c8ee0d1b1d8d3c
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:29:34 2006 -0500
[PATCH] __user annotations in powerpc thread_info
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 6fa2ffe901c77cdd8db9616db66894e96c12143d
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:28:02 2006 -0500
[PATCH] fix iomem annotations in dart_iommu
it's int __iomem *, not int * __iomem...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 793af244090ccb5f99091c5a999ce97e4d017834
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:55:59 2006 -0500
[PATCH] s390 misc __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 6b2b4e5a26fe3795b1c6711cee0eae057844491d
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:33:33 2006 -0500
[PATCH] compat_ioctl __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit d656101009d76000b8fc0998a33d592100334d52
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:59:06 2006 -0500
[PATCH] sn3 iomem annotations and fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 29e646df7829e41a6b0db32fd50ae6376640cd13
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:28:09 2006 -0500
[PATCH] powerpc signal __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 5b1a43d7df65689b4c3b5a1c5c8158f1d4f74fbd
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:24:20 2006 -0500
[PATCH] drivers/media/video __user annotations and fixes
* compat_alloc_user_space() returns __user pointer
* copying between two userland areas is copy_in_user(), not copy_from_user()
* dereferencing userland pointers is bad
* so's get_user() from local variables
... plus usual __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit de125bf395df34892862d76580ce3a153e80f151
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:18:43 2006 -0500
[PATCH] powermac pci iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 24954a1418298058399581d6fcc4d46e928e1bf5
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:16:15 2006 -0500
[PATCH] s390x compat __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 290f10ae4230ef06b71e57673101b7e70c1b29a6
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Dec 7 23:12:54 2005 -0500
[PATCH] mips: namespace pollution - mem_... -> __mem_... in io.h
A pile of internal functions use only inside mips io.h has names starting
with mem_... and clashing with names in drivers; renamed to __mem_....
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 034d2f5af1b97664381c00b827b274c95e22c397
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Mon Dec 19 16:27:59 2005 -0500
[PATCH] arm: fix dependencies for MTD_XIP
MTD_XIP depends on having working asm/mtd-xip.h; it's not just per-architecture
(arm-only, as current Kconfig would have it), but actually per-subarch as
well. Introduced a new symbol (ARCH_MTD_XIP) set by arch Kconfig; MTD_XIP
depends on it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 367636e8a9ef250d5b255f9d299e1c27cb3d7ea3
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Wed Feb 8 15:04:18 2006 +1100
[PATCH] powerpc: Fix sound driver use of i2c
The PowerMac sound drivers used to rely on a "bug" of the i2c-keywest
driver that implemented I2C_SMBUS_BLOCK_DATA incorrectly, that is it did
what I2C_SMBUS_I2C_BLOCK_DATA should have done. The new i2c-powermac
driver that replaces keywest has this bug fixed, thus the sound drivers
must be fixed too.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0fc9b55606662c4763a4f37add889cfd6a66247a
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Tue Feb 7 18:12:34 2006 -0800
[SPARC64]: Update defconfig.
Do not enable CONFIG_LOCALVERSION_AUTO by default.
When doing kernel development it just leaves a ton
of crap around.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 1b9a4289017c8ab77b063a968c9df7e5a193e495
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Tue Feb 7 18:11:24 2006 -0800
[SPARC]: Wire up sys_unshare().
Also, the Solaris syscall table is sized differrently,
and does not go beyond entry 255, so trim off the excess
entries.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit f30ac319f1b91878cdc57a50930f15c36e0e103a
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:53:21 2006 -0500
[PATCH] umount_tree() decrements mount count on wrong dentry
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 8854eddbdb3e45b8d381ecff2937a942d0cb2067
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Jan 4 01:44:17 2006 -0500
[PATCH] nfsroot port= parameter fix [backport of 2.4 fix]
Direct backport of 2.4 fix that didn't get propagated to 2.6; original
comment follows:
<quote>
When I specify the NFS port for nfsroot (e.g.,
nfsroot=<dir>,port=2049), the
kernel uses the wrong port. In my case it tries to use 264 (0x108)
instead
of 2049 (0x801).
This patch adds the missing htons().
Eric
</quote>
Patch got applied in 2.4.21-pre6. Author: Eric Lammerts (<eric@lammerts.org>,
AFAICS).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit cc59853b4a9973126e15e0e6bdddf0627d4b99c4
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Fri Feb 3 20:28:01 2006 -0500
[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit e80e28b6b67ecc25fa89c9129a5f70de6389b2a6
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Fri Feb 3 20:10:03 2006 -0500
[PATCH] net/ipv6/mcast.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit bee14e1f8ae2d5fd3f324e0c8562f791537160b2
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:33:44 2006 -0500
[PATCH] __user annotations of video_spu_palette
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit dd42b1518666132c21e7348c4b599c501f0021a1
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:30:33 2006 -0500
[PATCH] amd64 time.c __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 1d0bd717c86949e97a11855482b4a118029c10a9
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:25:14 2006 -0500
[PATCH] bogus extern in low_i2c.c
extern in function definition is an odd thing..
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit d04e4e115bd9df2b748cb30abd610f3c0eb1e303
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 07:23:24 2006 -0500
[PATCH] eeh_driver NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 2d20eaf9426598ef156b941bcfa44e867452b770
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:31:40 2006 -0500
[PATCH] sg gfp_t annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit e5fb81bd895041230dfaeb8f8f498b85b4705988
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:30:45 2006 -0500
[PATCH] scsi_transport_iscsi gfp_t annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit aaedd944d4dd25fdfafb10db65544e98eb66857d
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:29:14 2006 -0500
[PATCH] cmm NULL noise removal, __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 6d57348d7d65ba6f2f42a24b0c7527e0f7470a84
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:10:08 2006 -0500
[PATCH] drivers/edac/i82875p_edac.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:06:16 2006 -0500
[PATCH] fix __user annotations in drivers/base/memory.c
sysfs store doesn't deal with userland pointers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 73a09e626b9717851d3f7fd0230e401492ee326b
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:04:15 2006 -0500
[PATCH] drivers/char/watchdog/sbc_epx_c3.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit dad08dfc48529e3f907c2680f8b34f1fe2d75880
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 06:02:50 2006 -0500
[PATCH] dvb NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 4bb8089c86b95b4f6bbd839cb83ca4556b06a031
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:57:32 2006 -0500
[PATCH] kernel/sys.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 53f087febfd12e74ba9f1082e71e9a45adc039ad
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:56:41 2006 -0500
[PATCH] timer.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 76edc6051e02186fe664ab880447e2d1f96fd884
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:54:35 2006 -0500
[PATCH] ipv4 NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit e110ab94ebc714de57f75f0c7c576dde8cf80944
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Feb 1 05:26:09 2006 -0500
[PATCH] fix __user annotations in fs/select.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 3023b438c4b6103d520690cfa8b790bdd3868dc2
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Mon Jan 30 01:40:35 2006 -0500
[PATCH] missing include in ser_a2232
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit c350885854c231810c06aa166b46eab039e80d97
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sat Jan 28 22:17:11 2006 -0500
[PATCH] fallout from ptrace consolidation patch: cris/arch-v10
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 7be7cbf684b372abaa8d6723eabedfa6ad79ee43
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Tue Dec 6 06:01:14 2005 -0500
[PATCH] drivers/scsi/mac53c94.c __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 3ba9d91208a71947b69d52e3ca2142306457d816
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Jan 18 22:34:20 2006 -0500
[PATCH] ppc: last_task_.... is defined only on non-SMP
... so it should be exported only on non-SMP.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 304cd3efe6f2aefdb568d201aba55d1400915ca2
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Jan 18 19:40:48 2006 -0500
[PATCH] restore power-off on sparc32
Damn you, Eric
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 83ec98be051b277635bc7379b863b25f6dbe54ce
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Jan 18 18:40:16 2006 -0500
[PATCH] fix breakage in ocp.c
it's ocp_device_...., not ocp_driver_....
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit b6298c22c5e9f698812e2520003ee178aad50c10
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Jan 18 19:35:54 2006 -0500
[PATCH] missing includes in drivers/net/mv643xx_eth.c
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 4fb7d9827e89cc0a4ad2fde32ffa08f77cc0b7fe
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Dec 21 13:24:46 2005 -0500
[PATCH] drive_info removal outside of arch/i386
drive_info is used only by hd.c and that happens under #ifdef __i386__.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 164006da316a22eaaa9fbe36f835a01606436c66
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Wed Nov 30 23:47:05 2005 -0500
[PATCH] bogus asm/delay.h includes
asm/delay.h is non-portable; linux/delay.h should be used in generic code.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 1b8623545b42c03eb92e51b28c84acf4b8ba00a3
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Thu Dec 15 01:07:03 2005 -0500
[PATCH] remove bogus asm/bug.h includes.
A bunch of asm/bug.h includes are both not needed (since it will get
pulled anyway) and bogus (since they are done too early). Removed.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
commit 8e63e66b4cd066fe6c2d962460e286c2a61d3fe8
Author: Greg Ungerer <gerg@snapgear.com>
Date: Wed Feb 8 09:19:17 2006 +1000
[PATCH] m68knommu: use tty_schedule_flip() in 68328serial.c
Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e39485636b6db2def114f38104fe132af73ff0f5
Author: Greg Ungerer <gerg@snapgear.com>
Date: Wed Feb 8 09:19:17 2006 +1000
[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c
Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 230afb065bfe05887dd83a0fbb149dc2bff7d63e
Author: Greg Ungerer <gerg@snapgear.com>
Date: Wed Feb 8 09:19:17 2006 +1000
[PATCH] m68knommu: hardirq.h needs definition of NR_IRQS
Need to include the local asm/irq.h to get the NR_IRQS definition.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 10c1f71caa7801fde7dcb103eda90117c6c9bb04
Author: Greg Ungerer <gerg@snapgear.com>
Date: Wed Feb 8 09:19:17 2006 +1000
[PATCH] m68knommu: need pm_power_off in m68knommu
Need place holders for the power management power off and idle functions.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a9cdffb14ae8a95335ba4e9add1f1086c4d65372
Author: Greg Ungerer <gerg@snapgear.com>
Date: Wed Feb 8 09:19:17 2006 +1000
[PATCH] m68knommu: compile fixes for mcfserial.c
Re-organize the default CONSOLE baud rate define setting so that
it is only set once.
Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2da436e00f9a5fdd0fb6b31e4b2b2ba82e8f5ab8
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:59:03 2006 -0800
[PATCH] unshare system call -v5: system call registration for i386
Registers system call for the i386 architecture.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a016f3389c06606dd80e687942ff3c71d41823c4
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:59:02 2006 -0800
[PATCH] unshare system call -v5: unshare files
If the file descriptor structure is being shared, allocate a new one and copy
information from the current, shared, structure.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a0a7ec308f1be5957b20a1a535d21f683dfd83f0
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:59:01 2006 -0800
[PATCH] unshare system call -v5: unshare vm
If vm structure is being shared, allocate a new one and copy information from
the current, shared, structure.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 741a295130606143edbf9fc740f633dbc1e6225f
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:59:00 2006 -0800
[PATCH] unshare system call -v5: unshare namespace
If the namespace structure is being shared, allocate a new one and copy
information from the current, shared, structure.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 99d1419d96d7df9cfa56bc977810be831bd5ef64
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:58:59 2006 -0800
[PATCH] unshare system call -v5: unshare filesystem info
If filesystem structure is being shared, allocate a new one and copy
information from the current, shared, structure.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit cf2e340f4249b781b3d2beb41e891d08581f0e10
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:58:58 2006 -0800
[PATCH] unshare system call -v5: system call handler function
sys_unshare system call handler function accepts the same flags as clone
system call, checks constraints on each of the flags and invokes corresponding
unshare functions to disassociate respective process context if it was being
shared with another task.
Here is the link to a program for testing unshare system call.
http://prdownloads.sourceforge.net/audit/unshare_test.c?d...
Please note that because of a problem in rmdir associated with bind mounts and
clone with CLONE_NEWNS, the test fails while trying to remove temporary test
directory. You can remove that temporary directory by doing rmdir, twice,
from the command line. The first will fail with EBUSY, but the second will
succeed. I have reported the problem to Ram Pai and Al Viro with a small
program which reproduces the problem. Al told us yesterday that he will be
looking at the problem soon. I have tried multiple rmdirs from the
unshare_test program itself, but for some reason that is not working. Doing
two rmdirs from command line does seem to remove the directory.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0d4c3e7a8c65892c7d6a748fdbb4499e988880db
Author: JANAK DESAI <janak@us.ibm.com>
Date: Tue Feb 7 12:58:56 2006 -0800
[PATCH] unshare system call -v5: Documentation file
Documents the new feature, why it is needed, it's cost, design,
implementation, and test plan.
Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Michael Kerrisk <mtk-manpages@gmx.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e0a602963485a2f109ae1521c0c55507304c63ed
Author: Ingo Molnar <mingo@elte.hu>
Date: Tue Feb 7 12:58:54 2006 -0800
[PATCH] Fix spinlock debugging delays to not time out too early
The spinlock-debug wait-loop was using loops_per_jiffy to detect too long
spinlock waits - but on fast CPUs this led to a way too fast timeout and false
messages.
The fix is to include a __delay(1) call in the loop, to correctly approximate
the intended delay timeout of 1 second. The code assumes that every
architecture implements __delay(1) to last around 1/(loops_per_jiffy*HZ)
seconds.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8519fb30e438f8088b71a94a7d5a660a814d3872
Author: Nick Piggin <npiggin@suse.de>
Date: Tue Feb 7 12:58:52 2006 -0800
[PATCH] mm: compound release fix
Compound pages on SMP systems can now often be freed from pagetables via
the release_pages path. This uses put_page_testzero which does not handle
compound pages at all. Releasing constituent pages from process mappings
decrements their count to a large negative number and leaks the reference
at the head page - net result is a memory leak.
The problem was hidden because the debug check in put_page_testzero itself
actually did take compound pages into consideration.
Fix the bug and the debug check.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 99f6d61bda82d09b2d94414d413d39f66a0b7da2
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date: Tue Feb 7 12:58:51 2006 -0800
[PATCH] selinux: require AUDIT
Make SELinux depend on AUDIT as it requires the basic audit support to log
permission denials at all. Note that AUDITSYSCALL remains optional for
SELinux, although it can be useful in providing further information upon
denials.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 46cd2f32baf181b74b16cceb123bab6fe1f61f85
Author: Rafael J. Wysocki <rjw@sisk.pl>
Date: Tue Feb 7 12:58:50 2006 -0800
[PATCH] Fix build failure in recent pm_prepare_* changes.
Fix compilation problem in PM headers.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7b4fe29e00a5ab4e778bb24be86d836a25570bc9
Author: Dave Jones <davej@redhat.com>
Date: Tue Feb 7 12:58:48 2006 -0800
[PATCH] More informative message on umount failure
We had a user trigger this message on a box that had a lot of different
mounts, all with different options. It might help narrow down wtf happened
if we print out which device failed.
Signed-off-by: Dave Jones <davej@redhat.com>
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 1fcbf053e55e961112f237dc690129f0858156f1
Author: Kyle McMartin <kyle@mcmartin.ca>
Date: Tue Feb 7 12:58:47 2006 -0800
[PATCH] sys_hpux: fix strlen_user() race
Userspace can alter the string after the kernel has run strlen_user().
Also: the strlen_user() return value includes the \0, so fix that.
Also: handle EFAULT from strlen_user().
It's unlikely anyone is using this code. Very, very unlikely. If I
remember correctly, CONFIG_HPUX turns this code on, but one would actually
need CONFIG_BINFMT_SOM to load a binary that could cause a problem, and
BINFMT_SOM has had an #error in it for quite some time.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b5173119ff10c5538e92a7957a50887ae170b8da
Author: Robert Love <rml@novell.com>
Date: Tue Feb 7 12:58:45 2006 -0800
[PATCH] inotify: fix one-shot support
Fix one-shot support in inotify. We currently drop the IN_ONESHOT flag
during watch addition. Fix is to not do that.
Signed-off-by: Robert Love <rml@novell.com>
Cc: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8e08b756869eeb08ace17ad64c2a8cb97b18e856
Author: Andrew Morton <akpm@osdl.org>
Date: Tue Feb 7 12:58:45 2006 -0800
[PATCH] module: strlen_user() race fix
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 48b8c10056d22ecc070bbfcbbfc8f84d13181178
Author: Jeff Dike <jdike@addtoit.com>
Date: Tue Feb 7 12:58:44 2006 -0800
[PATCH] uml: remove a dead file
A previous patch removed a file from the build without removing it from the
tree.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e2216feb37f1df65a29fb1e5ed41d9f7ba657b2c
Author: Jeff Dike <jdike@addtoit.com>
Date: Tue Feb 7 12:58:43 2006 -0800
[PATCH] uml: initialize process FP registers properly
We weren't making sure that we initialized the FP registers of new processes
to sane values.
This patch also moves some defines in the affected area closer to where they
are used.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 43b00fdbb13bfc1b2f4a8e5b65315db6d9c479a3
Author: Jeff Dike <jdike@addtoit.com>
Date: Tue Feb 7 12:58:42 2006 -0800
[PATCH] uml: block SIGWINCH in ptrace tester child
The process that UML uses to probe the host's ptrace capabilities can (rarely)
receive a SIGWINCH, confusing the parent. This fixes that by blocking
SIGWINCH.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 14d9ead05ec925f299ae5cfe948c180c88ec842e
Author: Jeff Dike <jdike@addtoit.com>
Date: Tue Feb 7 12:58:42 2006 -0800
[PATCH] uml: balance list_add and list_del in the network driver
The network driver added an interface to the "opened" list when it was
configured, not when it was brought up, and removed it when it was taken down.
A sequence of ifconfig up, ifconfig down, ... caused it to be removed
multiple times from the list without being added in between, resulting in a
crash. This patch moves the add to when the interface is brought up.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1d2ddcfb1935c9c0e98c4295458b01f24e3274f9
Author: Jeff Dike <jdike@addtoit.com>
Date: Tue Feb 7 12:58:41 2006 -0800
[PATCH] uml: close TUN/TAP file descriptors
When UML opens a TUN/TAP device, the file descriptor could be copied into
later, long-lived threads, holding the device open even after the interface is
taken down, preventing it from being brought up again. This patch makes these
descriptors close-on-exec so that they disappear from helper processes, and
adds CLONE_FILES to a UML helper thread so that the descriptors are closed in
the thread when they are closed elsewhere in UML.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit fbd5577901388ff9306a05eb63648c30e4722134
Author: Jeff Dike <jdike@addtoit.com>
Date: Tue Feb 7 12:58:40 2006 -0800
[PATCH] uml: add debug switch for skas mode
It doesn't do anything but emit a warning, but there's a user population
that's used to adding 'debug' to the UML command line in order to gdb it.
With skas0 mode, that's not necessary, but these users need some indication
that 'debug' doesn't do what they want.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3bc8414b079ec372485c99ed1f33c6c42ca9d756
Author: Suzuki <suzuki@In.ibm.com>
Date: Tue Feb 7 12:58:36 2006 -0800
[PATCH] Fix do_path_lookup() to add the check for error in link_path_walk()
Fix do_path_lookup() to avoid accessing invalid dentry or inode when the
link_path_walk() has failed. This should fix Bugme #5897.
Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c00a76aea339b427b47ddc28de06dee0a652e801
Author: Steve Langasek <vorlon@debian.org>
Date: Tue Feb 7 12:58:35 2006 -0800
[PATCH] __cmpxchg() must really always be inlined on alpha
With the latest 2.6.15 kernel builds for alpha on Debian, we ran into a
problem with undefined references to __cmpxchg_called_with_bad_pointer() in
a couple of kernel modules (xfs.ko and drm.ko; see
http://bugs.debian.org/347556).
It looks like people have been trying to out-clever each other wrt the
definition of "inline" on this architecture :), with the result that
__cmpxchg(), which must be inlined so the compiler can see its argument is
const, is not guaranteed to be inlined. Indeed, it was not being inlined
when building with -Os.
The attached patch fixes the issue by adding an
__attribute__((always_inline)) explicitly to the definition of __cmpxchg()
instead of relying on redefines of "inline" elsewhere to make this happen.
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c2f8311d3168ed7d391ba5df5b80f4af0a3457d0
Author: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Date: Tue Feb 7 12:58:33 2006 -0800
[PATCH] ide: cast arguments to pr_debug() properly
This does not show up unless you #define DEBUG in the file, which most
people wouldn't do. On PPC405, at least, "sector_t" is unsigned long,
which doesn't match %llx/%llu. Since sector# may well be >32 bits, promote
the value to match the format.
Signed-off-by: Michael Richardson <mcr@xelerance.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit cbd0d51a3318583fabf03bccc7a987e158482361
Author: J. Bruce Fields <bfields@fieldses.org>
Date: Tue Feb 7 12:58:32 2006 -0800
[PATCH] knfsd: fix nfs4_open lock leak
I just noticed that my patch "don't create on open that fails due to
ERR_GRACE" (recently commited as fb553c0f17444e090db951b96df4d2d71b4f4b6b)
had an obvious problem that causes a deadlock on reboot recovery. Sending
in this now since it seems like a clear 2.6.16 candidate.--b.
We're returning with a lock held in some error cases.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0df420d8b6c718d9a5e37531c3a9a6804493e9f4
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Tue Feb 7 12:58:30 2006 -0800
[PATCH] hugetlbpage: return VM_FAULT_OOM on oom
Remove wrong and misleading comments.
Return VM_FAULT_OOM if the hugetlbpage fault handler cannot allocate a
page. do_no_page will end up doing do_exit(SIGKILL).
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a2dfef6947139db9b886fce510c4d0c913beb5f0
Author: David Gibson <david@gibson.dropbear.id.au>
Date: Tue Feb 7 12:58:25 2006 -0800
[PATCH] Hugepages need clear_user_highpage() not clear_highpage()
When hugepages are newly allocated to a file in mm/hugetlb.c, we clear them
with a call to clear_highpage() on each of the subpages. We should be
using clear_user_highpage(): on powerpc, at least, clear_highpage() doesn't
correctly mark the page as icache dirty so if the page is executed shortly
after it's possible to get strange results.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Acked-by: William Lee Irwin III <wli@holomorphy.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 488fc08d914f2b07b701c9b9c811437cc1c1c518
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Tue Feb 7 12:58:23 2006 -0800
[PATCH] x86_64: Fix the node cpumask of a cpu going down
Currently, x86_64 and ia64 arches do not clear the corresponding bits in
the node's cpumask when a cpu goes down or cpu bring up is cancelled. This
is buggy since there are pieces of common code where the cpumask is checked
in the cpu down code path to decide on things (like in the slab down path).
PPC does the right thing, but x86_64 and ia64 don't (This was the reason
Sonny hit upon a slab bug during cpu offline on ppc and could not reproduce
on other arches). This patch fixes it for x86_64. I won't attempt ia64 as
I cannot test it.
Credit for spotting this should go to Alok.
(akpm: this was applied, then reverted. But it's OK now because we now use
for_each_cpu() in the right places).
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7714d5985bb7101a90fb427dc29dc592cf1b960e
Author: Pavel Machek <pavel@ucw.cz>
Date: Tue Feb 7 12:58:22 2006 -0800
[PATCH] swsusp: kill unneeded/unbalanced bio_get
- Remove unneeded bio_get() which would cause a bio leak
- Writing doesn't dirty pages. Reading dirties pages.
- We should dirty the pages after the IO completion, not before
(Busy-waiting for disk I/O completion isn't very polite.)
Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2139bdd5b15a4cc450adb17da836f33c16477188
Author: Russell King <rmk@arm.linux.org.uk>
Date: Tue Feb 7 12:58:20 2006 -0800
[PATCH] drivers/base/bus.c warning fixes
drivers/base/bus.c:166: warning: `driver_attr_unbind' defined but not used
drivers/base/bus.c:194: warning: `driver_attr_bind' defined but not used
Looks like these two attributes and supporting functions want to be
#ifdef HOTPLUG'd
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d6e56a2a088935f3c1feee5ff5a06c67f2ec6002
Author: Tony Luck <tony.luck@intel.com>
Date: Tue Feb 7 15:25:57 2006 -0800
[IA64] Fix CONFIG_PRINTK_TIME
There were two problems with enabling the PRINTK_TIME config
option:
1) The first calls to printk() occur before per-cpu data virtual
address is pinned into the TLB, so sched_clock() can fault.
2) sched_clock() is based on ar.itc, which may not be synchronized
across cpus.
Ken Chen started this patch, Tony Luck tinkered with it, and Jes
Sorensen perfected it.
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 9d78f43d1fd3e028bfd37510ce847d0896f71f78
Author: Zou Nan hai <nanhai.zou@intel.com>
Date: Tue Feb 7 11:35:46 2006 +0800
[IA64] Fix wrong use of memparse in efi.c
The check of (end != cp) after memparse in efi.c looks wrong to me.
The result is that we can't use mem= and max_addr= kernel parameter at
the same time.
The following patch removed the check just like other arches do.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit ecdd5dabd33d67066d476467e447cdcadab90550
Author: Zou Nan hai <nanhai.zou@intel.com>
Date: Tue Feb 7 11:25:55 2006 +0800
[IA64] Fix a possible buffer overflow in efi.c
Make sure to save space for the trailing '\0'.
Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit d43da75fd6be4197c280903e1553eafcc39218e2
Author: Jens Axboe <axboe@suse.de>
Date: Tue Feb 7 15:00:01 2006 +0100
[PATCH] cciss: softirq handler needs to save interrupt flags
The softirq rq completion handler needs to save/restore interrupt flags
appropriately.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e1a8e6c9b757c09249ab29fc6da12d9ab64567e1
Author: Andi Kleen <ak@suse.de>
Date: Tue Feb 7 12:48:00 2006 +0100
[PATCH] Fix bad apic fix on i386
Fix wrong '!' in bad apic fix
I forgot to remove the ! when moving the code from x86-64 to i386 x86-64
tested !disable_apic, but of course for cpu_has_apic it shouldn't be
negated.
Credit goes to Jan Beulich for spotting it with eagle eyes.
Cc: Jan Beulich <jbeulich@novell.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b38c73995f63fe205c0068cb0ce3131895244068
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Tue Feb 7 01:20:43 2006 +0000
[MIPS] Clear ST0_RE on bootup.
The reset state is undefined and some firmware doesn't clear this bit
possibly resulting in crashes on entry into userland.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit f09678af51caf93cbbb253b298be995e1145a577
Author: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Sat Feb 4 15:11:14 2006 +0300
[MIPS] TX49x7: Fix reporting of the CPU name and PCI clock
I've noticed that PCI clock was incorrectly reported as 66 MHz while being
mere 33 MHz on RBTX4937 board -- this was due to the different encoding of
the PCI divisor field in CCFG register between TX4927 and TX4937 chips...
Also, RBTX49x7 was printed out as a CPU name (e.g., "CPU is RBTX4937");
and some debug printk() were duplicating each other...
Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit c226f2601f55010936f0f3c77ae167a02339f566
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Fri Feb 3 01:34:01 2006 +0900
[MIPS] TX49 MFC0 bug workaround
If mfc0 $12 follows store and the mfc0 is last instruction of a
page and fetching the next instruction causes TLB miss, the result
of the mfc0 might wrongly contain EXL bit.
ERT-TX49H2-027, ERT-TX49H3-012, ERT-TX49HL3-006, ERT-TX49H4-008
Workaround: mask EXL bit of the result or place a nop before mfc0. It
doesn't harm to always clear those bits, so we change the code to do so.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit dbee90b7f90df6398f0877cd38dfaa76addb0619
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Thu Feb 2 14:31:16 2006 +0000
[MIPS] Fix linker script to work for non-4K page size.
Very much to my surprise Fuxin Zhang reports this is all it takes to get
the kernel to work for page sizes larger than 4kB. This also paves the
way for support for the R6000 and R8000 which don't support 4kB page size.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit fcfd980c833bd5ca1df9ca877b3e968e4da05b24
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Feb 1 17:54:30 2006 +0000
[MIPS] Oprofile: Support for 34K UP kernels.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit d1e30a6347630ca7eeee2f46f826f05bbe80bb25
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu Feb 2 01:29:14 2006 +0900
[MIPS] Fix dump_tlb.c warning and cleanup.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 5665a0ac59a656b94cbf3c4642b32024a6c1cf75
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu Feb 2 01:26:34 2006 +0900
[MIPS] Fix minor sparse warnings
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 1e32ceeca25ea30cabce137fac7e2f58fe8847db
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Feb 1 15:29:21 2006 +0000
[MIPS] MIPS R2 optimized endianess swapping.
From Franck Bui-Huu <vagabon.xyz@gmail.com> with modifications by me.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 7e5b24ac759176e55c8a535fff6533366168cbe9
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Tue Jan 31 17:07:53 2006 +0000
[MIPS] Remove buggy inline version of memscan.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 9bbf28a36cae08817ac3a3f98fde329b02c89f4a
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Wed Feb 1 01:41:09 2006 +0900
[MIPS] Sparse: Add some __user tags to signal functions.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 5be0f654a9d14c0c5aa031a3396ea8b9f2162cb9
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Tue Jan 31 01:40:55 2006 +0000
[MIPS] Shrink Qemu configuration to the bare minimum that is need and tested.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 3d503753b40469b6a19dcc3511f6eb8c55f6d122
Author: Daniel Jacobowitz <dan@debian.org>
Date: Thu Jan 20 19:59:54 2005 -0500
[MIPS] Support /proc/kcore for MIPS
I'm pretty sure that the CKSEG0 bits are wrong, but I did need to
cover that region - because the SB-1 kernel links at 0xffffffff80100000
or so, disassembly and printing static variables don't work unless the
debugger can read that region.
Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit e9feeb207e55373f718b33e0d6cb0c2f8b58f3c1
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Mon Jan 30 17:48:27 2006 +0000
[MIPS] IP22: Fix serial console detection
From: Kaj-Michael Lang <milang@tal.org>
In ip22-setup.c the checks for serial/graphics console logic does
not check if ARCS console=g but the machine is using serial console, as
it does if no keyboard is attached.
This patch adds a check if ConsoleOut is serial. There might also be
support for other graphics than Newport soon...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit c5033d780310ddc5b679ed37ccefcdb87a30ef0c
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon Jan 2 21:59:49 2006 +0900
[MIPS] ieee754[sd]p_neg workaround
It looks glibc's pow() assumes an unary '-' operation for any number
(including NaNs) always inverts its sign bit (though IEEE754 does not
specify the sign bit for NaNs). This patch make the kernel math-emu
emulates real MIPS neg.[ds] instruction.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit d4264f183967db9c2dae4275abb98eb1f79facb2
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun Jan 29 02:27:51 2006 +0900
[MIPS] Remove wrong __user tags.
This fixes sparse warnings 'dereference of noderef expression'.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 2caf190002770b53fdb263ed744802a1b5e81649
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Mon Jan 30 17:14:41 2006 +0000
[MIPS] Cleanup fls implementation.
fls was the only called of flz, so fold flz into fls, same for the
__ilog2 call. Delete the now unused flz function.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 2e66fe24d6faa287088ff18051dd423a32b60502
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Mon Jan 30 16:48:26 2006 +0000
[MIPS] local_irq_restore wasn't safe to be used in other macros mode.
It always left the assembler in reorder mode possibly causing disaster.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 75bdb426a16e81adcbc4c3d7f946018cd47830d1
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Mon Jan 30 04:07:39 2006 +0000
[MIPS] Remove commented out code to add -mmad for Nevada.
Adding -mmad is not usable since over half a decade in gcc and when
fixed the proper -march option values should enable the use of the
mad, madu and mul instructions of the R5500, RM5200, RM7000 and RM9000
families.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 52378445da0253d5031590e5e9186ee448dc0b4a
Author: Peter Horton <pdh@colonel-panic.org>
Date: Sun Jan 29 21:33:48 2006 +0000
[MIPS] Fix Cobalt PCI cache line sizes
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit c315a2b5fed42aea4dda98b5ced35d1d1a3a8349
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun Jan 29 02:31:17 2006 +0900
[MIPS] Sparse: Add _MIPS_SZINT and _MIPS_ISA to CHECKFLAGS to fix sparse warnings.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 76f072a46f179be371aa10a84c85db06a387713b
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun Jan 29 02:30:55 2006 +0900
[MIPS] Build blast_cache routines from template
Build blast_xxx, blast_xxx_page, blast_xxx_page_indexed from template.
Easier to maintaina and saves 300 lines. Generated code should be
unchanged.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 3055acb07a248324c9338c0624d26a6fdd9c2bf6
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun Jan 29 22:34:32 2006 +0900
[MIPS] Sparse: Fix some compiler/sparse warnings in ptrace32.c
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit b6f7880b6c6ccb9f51adecf706109e15ad911bcc
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Sun Jan 29 21:01:42 2006 +0000
[MIPS] Reformat to 80 columns.
Patch courtesy of Emily Postnews ;-)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 5ac71fd1cf9976f5269e1c3cb34bbf6c454427a4
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Sun Jan 29 20:56:43 2006 +0000
[MIPS] Sibyte: Make all setup functions __init.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 010b853b3aab980a55a8dd34ce18aa23e9f2347a
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Sun Jan 29 18:42:08 2006 +0000
[MIPS] Get rid of CONFIG_SB1_PASS_1_WORKAROUNDS #ifdef crapola.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 492fd5f2fdbc1bb7e1d517fd5e9b0cd9f3d0b623
Author: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Thu Jan 26 04:36:25 2006 +0300
[MIPS] Au1200: Make KGDB compile
AMD Au1200 SOC just doesn't have UART3, so KGDB won't even compile for it
as is, here's the fix to make KGDB use UART1.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 80730555af2ef1932bd8b9943333e8837dddfacc
Author: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Wed Jan 25 21:27:10 2006 +0300
[MIPS] Au1xx0: really set KSEG0 to uncached on reboot
Fix a really old buglet in AMD Au1xx0 restart code: instead of
modifying the whole CP0 Config.K0 field to 010b (meaning KSEG0 uncached)
before flushing the caches and resetting a board, it only sets bit 1 of that
reg. which is effectively a NOP since Config.K0 == 011b as the kernel sets it
up (which is also its default value for Au1xx0).
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 6fe2a5681fff0cbeaf9a2d3778661be62a7f2f06
Author: Sergei Shtylylov <sshtylyov@ru.mvista.com>
Date: Wed Jan 25 21:24:57 2006 +0300
[MIPS] TX49x7: Fix timer register #define's
Fix the #define's for TX4927/37 timer reg's to match the datasheets (those
Signed-off-by: Konstantin Baydarov <kbaidarov@mvista.com>
Signed-off-by: Sergei Shtylyov <sshtylyov@mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 4feb8f8f4589d1cb1594e344c9672ec40f627ab4
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Mon Jan 23 16:15:30 2006 +0000
[MIPS] Bullet proof uaccess.h against 4.0.1 miss-compilation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit c03bc121212ecb36120b118a94c1b91a2e07b7b2
Author: Mark Mason <mason@broadcom.com>
Date: Tue Jan 17 12:06:32 2006 -0800
[MIPS] SB1: Add oprofile support.
Signed-off-by: Mark Mason <mason@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 4c91cc57bc9cfd337804d70bc9bff6a012aa8b83
Author: Mark Mason <mason@broadcom.com>
Date: Tue Jan 17 12:02:17 2006 -0800
[MIPS] BCM1480: Cleanup debug code left behind in the PCI driver.
Signed-off-by: Mark Mason <mason@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 80f834e6877ce57e19b9de8cea69f81453907586
Author: Mark Mason <mason@broadcom.com>
Date: Tue Jan 17 11:55:52 2006 -0800
[MIPS] BCM1125 PCI fixes
Make BCM1125 targets to link again.
Signed-off-by: Mark Mason <mason@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit dd2f18fe5af54ea8928f175d3bff9401a0fb6b83
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Thu Jan 19 14:55:42 2006 +0000
[MIPS] Nevada support for SGI O2.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit c011db451bcce468a6f999949fbdbc2fec1167d2
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Thu Jan 19 00:49:32 2006 +0000
[MIPS] CPU definitions for Cobalt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 11ed6d5bb01c5f347fd5c47e0005f06687c66f1f
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Jan 18 23:26:43 2006 +0000
[MIPS] Rename include/asm-mips/cobalt to include/asm-mips/mach-cobalt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit fcdb27ad1d5c66611d3df6400a9b559186f266fe
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Jan 18 17:37:07 2006 +0000
[MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 9414d3628abb646834965b6c23b8e9064729b110
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Tue Jan 17 21:14:01 2006 +0000
[MIPS] Check function pointers are non-zero before calling.
Several boards don't initialize the pointers, so let's play safe.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit a3305a8835ed039363822523a3cac24e990083dc
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Fri Feb 3 16:47:44 2006 +0000
[MIPS] Revert "mips: add pm_power_off"
pm_power_off duplicates the functionality of _machine_restart.
This reverts b142159fa5ffbad73b6927fafa5440148030f3f1 commit.
commit a84c96e202c286c1d56fed4a81bd850017aa2c64
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Sun Jan 15 18:11:28 2006 +0000
[MIPS] RTLX compile fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 71baa1a599c04ab56ebf5fdb8d03abd0d601462f
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Sun Jan 15 18:10:39 2006 +0000
[MIPS] Get rid of unnecessary prototypes. Fixes and optimizations for HZ > 100.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 05faa7b758e4f23b66c5a776a338f2348cbbc4af
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Wed Jan 11 18:23:00 2006 +0000
[MIPS] Fix C version of ssnop to use the right opcode.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 4f0638ba9e3825d21d41e98d04faa6b74a05c624
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Mon Jan 9 20:09:36 2006 +0000
[MIPS] Remove stray .set mips3 resulting in 64-bit instruction in 32-bit kernels.
Only the NMI handler was affected so this is a low impact bug.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
commit 7d4d61544a12333600bdb9b018a149868418692e
Author: Nathan Lynch <ntl@pobox.com>
Date: Mon Feb 6 22:44:23 2006 -0600
[PATCH] powerpc: avoid timer interrupt replay effect when onlining cpu
When a cpu is hotplug-onlined, if we don't set per_cpu(last_jiffy) to
something sane, timer_interrupt will execute its while loop for every
tick missed since the cpu was last online (or since the system was
booted, if we're adding a new cpu). This can cause weird hangs, ssh
sessions dropping, and we can even go xmon if we take a global IPI at
the wrong time.
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 4dc43256931db60d02d76bacf3cf03b5d79aa33a
Author: Michael Neuling <mikey@neuling.org>
Date: Tue Feb 7 10:58:21 2006 +1100
[PATCH] powerpc: hypervisor check in pseries_kexec_cpu_down
We call unregister_vpa but we don't check to see if the hypervisor
supports this.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Anton Blanchard <anton@samba.org>
--
arch/powerpc/platforms/pseries/setup.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 7d4b95ae8e946e5754122220644c865ec3735428
Author: Becky Bruce <bgill@freescale.com>
Date: Mon Feb 6 14:26:31 2006 -0600
[PATCH] documentation/powerpc: add bus-frequency property to SOC node
Updated SOC node definition in documentation to include bus-frequency
property. Also extended mdio example to match specification.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit f9b4045d6bbb109d066d127549b2beb38fd9bfc4
Author: Michael Ellerman <michael@ellerman.id.au>
Date: Tue Feb 7 13:26:14 2006 +1100
[PATCH] powerpc: Don't use toc in decrementer_iSeries_masked
Since 404849bbd2bfd62e05b36f4753f6e1af6050a824 we've been using
LOAD_REG_ADDRBASE, which uses the toc pointer, in decrementer_iSeries_masked.
This can explode if we take the decrementer interrupt while we're in a module,
because the toc pointer in r2 will be the module's toc pointer.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 09f5dc44aeff9f792a807a7dca64c1791d98d8c8
Author: David Gibson <david@gibson.dropbear.id.au>
Date: Mon Feb 6 13:24:53 2006 +1100
[PATCH] powerpc: Cleanup, consolidating icache dirtying logic
The code to mark a page as icache dirty (so that it will later be
icache-dcache flushed when we try to execute from it) is duplicated in
three places: flush_dcache_page() does this marking and nothing else,
but clear_user_page() and copy_user_page() duplicate it, since those
functions make the page icache dirty themselves.
This patch makes those other functions call flush_dcache_page()
instead, so the logic's all in one place. This will make life less
confusing if we ever need to tweak the details of the the lazy icache
flush mechanism.
arch/powerpc/mm/mem.c | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 95eff20feb679a2223a6da1e7f272fe9aa99591e
Author: Jesper Juhl <jesper.juhl@gmail.com>
Date: Sat Feb 4 20:35:59 2006 +0100
[PATCH] Don't check pointer for NULL before passing it to kfree
[arch/powerpc/kernel/rtas_flash.c]
Checking a pointer for NULL before passing it to kfree is pointless, kfree
does its own NULL checking of input.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 4009d980224389c33dce1565e0ac9f673354c43f
Author: Olaf Hering <olh@suse.de>
Date: Sat Feb 4 13:33:46 2006 +0100
[PATCH] powerpc: fix compile warning in udbg_init_maple_realmode
arch/powerpc/kernel/udbg_16550.c: In function `udbg_init_maple_realmode':
arch/powerpc/kernel/udbg_16550.c:162: warning: assignment from incompatible pointer type
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit d60dcd9450cf1c4d6482f7cd9c73366c07931bf6
Author: Olaf Hering <olh@suse.de>
Date: Sat Feb 4 12:55:41 2006 +0100
[PATCH] powerpc: add refcounting to setup_peg2 and of_get_pci_address
setup_peg2 must do some refcounting.
of_get_pci_address may need to drop the node
Pegasos l2cr : L2 cache was not active, activating
PCI bus 0 controlled by pci at 80000000
Badness in kref_get at /home/olaf/kernel/olh/ppc64/linux-2.6.16-rc2-olh/lib/kref.c:32
Call Trace:
[C037BD00] [C0007934] show_stack+0x5c/0x184 (unreliable)
[C037BD30] [C000E068] program_check_exception+0x184/0x584
[C037BD90] [C000F5F0] ret_from_except_full+0x0/0x4c
--- Exception: 700 at kref_get+0xc/0x24
LR = of_node_get+0x24/0x3c
[C037BE50] [C004FD94] __pte_alloc_kernel+0x64/0x80 (unreliable)
[C037BE70] [C000CA18] of_get_parent+0x34/0x58
[C037BE90] [C0009B18] of_get_address+0x24/0x174
[C037BED0] [C000A108] of_address_to_resource+0x24/0x68
[C037BF00] [C038B128] chrp_find_bridges+0x114/0x470
[C037BF90] [C038AE48] chrp_setup_arch+0x1fc/0x32c
[C037BFB0] [C03849B0] setup_arch+0x144/0x188
[C037BFD0] [C037C45C] start_kernel+0x34/0x1a8
[C037BFF0] [000037A0] 0x37a0
Badness in kref_get at /home/olaf/kernel/olh/ppc64/linux-2.6.16-rc2-olh/lib/kref.c:32
Call Trace:
[C037BC90] [C0007934] show_stack+0x5c/0x184 (unreliable)
[C037BCC0] [C000E068] program_check_exception+0x184/0x584
[C037BD20] [C000F5F0] ret_from_except_full+0x0/0x4c
--- Exception: 700 at kref_get+0xc/0x24
LR = of_node_get+0x24/0x3c
[C037BDE0] [00000000] 0x0 (unreliable)
[C037BE00] [C000CA18] of_get_parent+0x34/0x58
[C037BE20] [C0009CE8] of_translate_address+0x2c/0x2fc
[C037BEA0] [C0009FE8] __of_address_to_resource+0x30/0xc4
[C037BED0] [C000A130] of_address_to_resource+0x4c/0x68
[C037BF00] [C038B128] chrp_find_bridges+0x114/0x470
[C037BF90] [C038AE48] chrp_setup_arch+0x1fc/0x32c
[C037BFB0] [C03849B0] setup_arch+0x144/0x188
[C037BFD0] [C037C45C] start_kernel+0x34/0x1a8
[C037BFF0] [000037A0] 0x37a0
PCI bus 0 controlled by pci at c0000000
Top of RAM: 0x10000000, Total RAM: 0x10000000
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 090db7c86d5df0161135793063e75bc1abddaa6f
Author: Olaf Hering <olh@suse.de>
Date: Sat Feb 4 12:44:56 2006 +0100
[PATCH] powerpc: remove pointer/integer confusion in of_find_node_by_name
remove pointer/integer confusion
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 03478804920a53405dfff73a0b23e9dcbbbee1c1
Author: Olaf Hering <olh@suse.de>
Date: Sat Feb 4 11:05:33 2006 +0100
[PATCH] powerpc: restore clock speed in /proc/cpuinfo
Use generic_calibrate_decr to restore missing clock: speed in /proc/cpuinfo
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit d8a8188ded1251afc6a2ec8a668b0bdf038b64a1
Author: Olaf Hering <olh@suse.de>
Date: Sat Feb 4 10:34:56 2006 +0100
[PATCH] powerpc: remove pointer/integer confusion in generic_calibrate_decr
remove pointer/integer confusion
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit b68239ee746760bd99a68692f4c97a28f08a5d01
Author: Michael Ellerman <michael@ellerman.id.au>
Date: Fri Feb 3 19:05:47 2006 +1100
[PATCH] powerpc: Don't overwrite flat device tree with kdump kernel
It's possible for prom_init to allocate the flat device tree inside the
kdump crash kernel region. If this happens, when we load the kdump kernel we
overwrite the flattened device tree, which is bad.
We could make prom_init try and avoid allocating inside the crash kernel
region, but then we run into issues if the crash kernel region uses all the
space inside the RMO. The easiest solution is to move the flat device tree
once we're running in the kernel.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit b4fd884a037c791a39f2f03da719e251af176a97
Author: Dave C Boutcher <boutcher@cs.umn.edu>
Date: Fri Feb 3 01:18:36 2006 -0600
[PATCH] powerpc: remove useless call to touch_softlockup_watchdog
It turns out that we can't stop the watchdog from
triggering here. If we touch the timer (which just uses the current jiffie
value) before we enable interrupts, it does nothing because jiffies
are not mass-updated until after we enable interrupts. If we touch the
timer after we enable interrupts, its too late because the softlockup
watchdog will already have triggered. The touch_softlockup_watchdog
call removed below does nothing.
Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 82a4df74628a3bf0ac762be198b45e02a7c5879f
Author: Dave C Boutcher <boutcher@cs.umn.edu>
Date: Fri Feb 3 01:18:39 2006 -0600
[PATCH] powerpc: prod all processors after ibm,suspend-me
We need to prod everyone here since this is the only CPU that is
guaranteed to be running after the ibm,suspend-me RTAS call returns.
Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit c4cb8ecca66e3f136f66b5b30ec189530290a9b9
Author: Dave C Boutcher <boutcher@cs.umn.edu>
Date: Fri Feb 3 01:18:46 2006 -0600
[PATCH] powerpc: return correct rtas status from ibm,suspend-me
Correctly return the status from the RTAS call. rtas_call expects
to return the status as a return value.
Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 31a7f67e587aa0745a132ae68efa7f15dac677f9
Author: Michael Ellerman <michael@ellerman.id.au>
Date: Tue Jan 31 17:17:47 2006 +1100
[PATCH] powerpc: Fix !SMP build of rtas.c
arch/powerpc/kernel/rtas.c is getting hvcall.h via spinlock.h, but when we're
building for UP we don't include spinlock.h.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit a958a2648602aaa8f98aeb3c1c914f1b8096bfdc
Author: Jake Moilanen <moilanen@austin.ibm.com>
Date: Mon Jan 30 21:51:54 2006 -0600
[PATCH] powerpc: IOMMU SG paranoia
This addresses two items, which are unlikely to be hit if we
trust drivers.
The first is moving a memory barrier below where the vmerged SG count
is passed back, but before the list is set to end. If those
instructions were reordered, there could be an issue in iommu_unmap_sg().
The second is making sure we terminate the list on the failure case of
iommu_map_sg(). If a driver does not look at the failure return code,
it could pass a ill-formed SG list to iommu_unmap_sg().
Signed-off-by: Jake Moilanen <moilanen@austin.ibm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit cdc3ee8f2061bafe7593bab0096a0e711408b0f9
Author: Michael Ellerman <michael@ellerman.id.au>
Date: Wed Jan 25 21:48:48 2006 +1300
[PATCH] powerpc: Refuse to boot a kdump kernel via OF
You can't boot a kdump kernel via OF, not reliably anyway, the kernel being at
32 MB conflicts with the zImage wrapper etc. and it blows up.
It's trivial to check in prom_init though, and this is early enough that we can
actually drop back to OF where a reset-all will get you going again, which is
kinda nice. I think this should go in for 2.6.16.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 8c20fafa8548917fdbbd95588494498dd901b375
Author: Michael Ellerman <michael@ellerman.id.au>
Date: Wed Jan 25 21:31:26 2006 +1300
[PATCH] powerpc: Make sure we don't create empty lmb regions
To prevent problems later in boot, make sure we don't create zero-size lmb
regions.
I've checked all the callers, and at the moment no one should ever hit this.
All callers use a constant size, or they check the computed size before they
call us.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit fa93895329b87112cb1fd784db969e60b5b46af6
Author: Michael Ellerman <michael@ellerman.id.au>
Date: Wed Jan 25 21:31:25 2006 +1300
[PATCH] powerpc: Don't allocate zero bytes in finish_device_tree()
In prom.c we run finish_node() on allnodes twice. The first time we just
calculate how much memory we'll need, the second time we do the actual work.
If the calculation stage determines that we need 0 bytes, then we should skip
the lmb allocation. Although an alloc of zero will work, it has been seen to
lead to a BUG_ON() in reserve_bootmem() on at least one machine.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 3ea4807de7b2c5c903380ba2c2e7150bee942f42
Author: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Date: Mon Jan 23 13:57:06 2006 -0200
[PATCH] powerpc/8xx: last two 8MB D-TLB entries are incorrectly set
The last two 8MB TLB entries are being incorrectly set by initial_mmu on 8xx.
The first entry is written with the same virtual/physical address, which
renders it invalid:
BDI>rms 792 0x00001e00
BDI>rms 824 1
BDI>rds 824
SPR 824 : 0xc08000c0 -1065353024
BDI>rds 825
SPR 825 : 0xc0800de0 -1065349664
BDI>rds 826
SPR 826 : 0x00000000 0
And the second entry, in addition, does not have its TLB index set
correctly.
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit aee9f26542cc27a37d593f1790b84cd57801a7c7
Author: Geoff Levand <geoffrey.levand@am.sony.com>
Date: Mon Jan 23 17:37:11 2006 -0800
[PATCH] powerpc: Fix spufs initialization sequence.
This is a small fix to get the spufs init sequence right.
init_spu_base() in spu_base.c should be called (via
module_init(init_spu_base)) before spufs_init() (via
module_init(spufs_init)) in spufs/inode.c gets called.
Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 67264484fac91db58fee9eb3bf1e3aaeaa3e7169
Author: Markus Rechberger <mrechberger@gmail.com>
Date: Tue Feb 7 04:01:19 2006 +0100
V4L/DVB (3325): Disabled debug on by default in tvp5150
disabled debug on by default in tvp5150
Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 9bd6f13dfd1dfb2e8f20df50581ebe7344ba97bd
Author: Nathan Scott <nathans@sgi.com>
Date: Tue Feb 7 20:27:44 2006 +1100
[XFS] Fix missing inode atime update from the utime syscall.
SGI-PV: 949214
SGI-Modid: xfs-linux-melb:xfs-kern:25136a
Signed-off-by: Nathan Scott <nathans@sgi.com>
commit 9fddaca2293d768eb21ea115e5eedec7f1c13c1c
Author: David Chinner <dgc@sgi.com>
Date: Tue Feb 7 20:27:24 2006 +1100
[XFS] Account for the page we just wrote when we detect congestion during
the clustering of extra pages in a buffered write.
SGI-PV: 949210
SGI-Modid: xfs-linux-melb:xfs-kern:25130a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
commit ed2099293627a1f6220c711b265528128f8ad50e
Author: Adrian Bunk <bunk@stusta.de>
Date: Tue Feb 7 06:49:15 2006 -0200
V4L/DVB (3318e): DVB: remove the at76c651/tda80xx frontends
The at76c651 and tda80xx frontends are currently completely unused, IOW
their only effect is making the kernel larger for people accitentially
enabling them.
The current in-kernel drivers differ from the drivers at cvs.tuxbox.org,
and re-adding them when parts of the dbox2 project get merged should be
trivial.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 62b2c00addf2e7d441c4f29e2dd804110b9d9475
Author: Dave Jones <davej@redhat.com>
Date: Tue Feb 7 06:49:15 2006 -0200
V4L/DVB (3318c): fix saa7146 kobject register failure
Whoops.
kobject_register failed for hexium HV-PCI6/Orion (-13)
[<c01d3eb6>] kobject_register+0x31/0x47
[<c023a996>] bus_add_driver+0x4a/0xfd
[<c01de3c1>] __pci_register_driver+0x82/0xa4
[<d083400a>] hexium_init_module+0xa/0x47 [hexium_orion]
[<c013bdae>] sys_init_module+0x167b/0x1822
[<c01633f7>] do_sync_read+0xb8/0xf3
[<c0133fa3>] autoremove_wake_function+0x0/0x2d
[<c0145390>] audit_syscall_entry+0x118/0x13f
[<c0106ae2>] do_syscall_trace+0x104/0x14a
[<c0103d21>] syscall_call+0x7/0xb
slashes in kobject names aren't allowed.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit be8a82d181147b9a6033ca9df870ca9fa0b0c515
Author: Mauro Carvalho Chehab <mchehab@infradead.org>
Date: Tue Feb 7 06:49:14 2006 -0200
V4L/DVB (3318a): Makes Some symbols static.
Some symbols at cx88-alsa were global. Making those static.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 9366865fdd9fd4fb9e7a81ce3678cc253c89ab9d
Author: Patrick Boettcher <pb@linuxtv.org>
Date: Tue Feb 7 06:49:12 2006 -0200
V4L/DVB (3313): FIX: Check if FW was downloaded or not + new firmware file
- When a firmware was downloaded dvb_usb_device_init returns NULL for the
dvb_usb_device, then nothing should be done with that pointer and device,
because it will re-enumerate.
- A new firmware should be used with digitv devices.
- It should make "slave"-devices work and others, too.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit eba841ed1d00e13144c1063b304c1537b774a747
Author: Patrick Boettcher <pb@linuxtv.org>
Date: Tue Feb 7 06:49:12 2006 -0200
V4L/DVB (3312): FIX: Multiple usage of VP7045-based devices
Reassigning function pointers in a static led to infinite loops when using
multiple VP7045-based device at the same time on one system. Using kmalloc'd
copies for reassignments is better.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 63631366dc3e159d1209838fb074d5df4edac76a
Author: Michael Krufky <mkrufky@linuxtv.org>
Date: Tue Feb 7 06:49:12 2006 -0200
V4L/DVB (3310): Use MT352 parallel transport function for all Bluebird FusionHDTV DVB-T boxes.
Use the parallel transport function of the MT352 demodulator in
TH7579 and LGZ201 -based FusionHDTV Bluebird usb boxes.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 4055d392aa0256462758b40cedb9eb7d564de93a
Author: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Date: Tue Feb 7 06:49:11 2006 -0200
V4L/DVB (3308): Use parallel transport for FusionHDTV Dual Digital USB
Use the parallel transport function of the MT352 in USB demodulator of the
Dual Digital board.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 9ead9bd1079b4b7ba45589f6495e79ec50237aed
Author: Oliver Endriss <o.endriss@gmx.de>
Date: Tue Feb 7 06:49:11 2006 -0200
V4L/DVB (3307): Support for Galaxis DVB-S rev1.3
support for Galaxis DVB-S rev1.3 (subsystem 13c2:0004)
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 9f38724a6f9a436ce25cb0dfceea4a615ee44fb6
Author: Markus Rechberger <mrechberger@gmail.com>
Date: Tue Feb 7 06:49:11 2006 -0200
V4L/DVB (3306): Fixed i2c return value, conversion mdelay to msleep
fixed i2c return value, conversion mdelay to msleep
Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 0dfd812d4b2afc797310943b451608d347854e76
Author: Hans Verkuil <hverkuil@xs4all.nl>
Date: Tue Feb 7 06:45:34 2006 -0200
V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio.
South Korea uses NTSC-M but with A2 audio instead of BTSC. Several audio
chips need this information in order to set the correct audio processing
registers.
Acked-by: Mauro Carvalho Chehab <mauro_chehab@yahoo.com.br>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit a77a922fcc56fe44fd8f65c041a52ff48474fafe
Author: Marco Manenti <marco_manenti@colman.it>
Date: Tue Feb 7 06:45:33 2006 -0200
V4L/DVB (3297): Add IR support to KWorld DVB-T (cx22702-based)
add IR support to KWorld DVB-T (cx22702-based)
Signed-off-by: Marco Manenti <marco_manenti@colman.it>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 815a3caf36def2297ba49a2e3d485c432e21ddec
Author: Manu Abraham <manu@linuxtv.org>
Date: Tue Feb 7 06:38:45 2006 -0200
V4L/DVB (3294): Fix [Bug 5895] to correct snd_87x autodetect
With DVB drivers enabled snd_87x (ALSA) don't detect.
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit ac2523014234004413c252e1aa9c12774b7a502d
Author: Markus Rechberger <mrechberger@gmail.com>
Date: Tue Feb 7 06:25:42 2006 -0200
V4L/DVB (3281): Added signal detection support to tvp5150
- added signal detection support to tvp5150
Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 1b0bb68d30b27b067fc654a0668d02c5bfc653a2
Author: Marcin Rudowski <mar_rud@poczta.onet.pl>
Date: Mon Feb 6 09:15:14 2006 -0200
V4L/DVB (3266): Fix NICAM buzz on analog sound
Apparently, having the number of lines fixed at 4 reduces (or even kills)
the buzz found in NICAM stereo with analog sound.
Signed-off-by: Marcin Rudowski <mar_rud@poczta.onet.pl>
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 36377a19a00202153c72b9496ec0609c9aad0ec9
Author: Michael Krufky <mkrufky@linuxtv.org>
Date: Tue Feb 7 06:25:47 2006 -0200
V4L/DVB (3299): Kconfig: DVB_USB_CXUSB depends on DVB_LGDT330X and DVB_MT352
- rename DVB_USB_CXUSB one-liner description to:
Conexant USB2.0 hybrid reference design support.
- with the addition of bluebird support to dvb-usb-cxusb,
it now depends on lgdt330x and mt352 modules.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 6967bd81d883ed325fd58840ee02a8da60458e6b
Author: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Date: Fri Feb 3 01:45:21 2006 -0800
[PATCH] Kbuild menu - hide empty NETDEVICES menu when NET is disabled
Make the whole netdevices menu depend on NET, rather than having an empty
submenu when networking is disabled.
Indeed, almost the whole body of the menu was surrounded by if NETDEVICES,
and what was outside depended on NETCONSOLE which is inside the menu.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 99bb25793e4bb8e9b633ea001dd7312b5967385a
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 01:45:20 2006 -0800
[PATCH] uli526x warning fix
drivers/net/tulip/uli526x.c: In function `__check_mode':
drivers/net/tulip/uli526x.c:1693: warning: return from incompatible pointer type
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit cc8c6e379ca30a18cb18553abeb15fe19120bf7b
Author: Kumar Gala <galak@kernel.crashing.org>
Date: Wed Feb 1 15:18:03 2006 -0600
[PATCH] gianfar: Fix sparse warnings
Fixed sparse warnings mainly due to lack of __iomem.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 3e710bfa6d92e777050f19a52b4fbbb7eeffb3a0
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Wed Feb 1 00:54:41 2006 -0800
[PATCH] dscc4: fix dscc4_init_dummy_skb check
It returns a pointer.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 3418db7cfacffcf120996b10a785b7315bf0df82
Author: Luiz Fernando Capitulino <lcapitulino@mandriva.com.br>
Date: Wed Feb 1 00:54:34 2006 -0800
[PATCH] bonding: Sparse warnings fix
drivers/net/bonding/bond_sysfs.c:263:27: warning: Using plain integer as NULL pointer
drivers/net/bonding/bond_sysfs.c:998:26: warning: Using plain integer as NULL pointer
drivers/net/bonding/bond_sysfs.c:1126:26: warning: Using plain integer as NULL pointer
Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit a0de3adf8f4e5618c5bd62db08ed293042c8e454
Author: Jay Vosburgh <fubar@us.ibm.com>
Date: Mon Jan 30 15:40:59 2006 -0800
[PATCH] bonding: allow bond to use TSO if slaves support it
Add NETIF_F_TSO (NETIF_F_UFO) to BOND_INTERSECT_FEATURES so that it can
be used by a bonding device iff all its slave devices support TSO (UFO).
Signed-off-by: Arthur Kepner <akepner@sgi.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit fa8d3549b591b6da943bad2928f994de07eaecef
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:38:01 2006 -0800
[PATCH] sky2: version 0.15 update
Increase version, and get rid of out-dated comment.
Speed setting has worked for quite a while.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 4d52b48b43d0d1d5959fa722ee0046e3542e5e1b
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:38:00 2006 -0800
[PATCH] sky2: support msi interrupt (revised)
This hardware supports Message Signaled interrupts.
When setting up, use software interrupt to check for bad hardware.
Signed-off-by: Stephen Hemminger <shemminger @osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit db992c970dcfbbf24e6a681e66d22ddda62452c4
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:37:59 2006 -0800
[PATCH] sky2: add irq to entropy pool
The sky2 interrupt can be used to add entropy.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit f9a66c7f5fa2262656a1a38ae9b57a2a89980f36
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:37:58 2006 -0800
[PATCH] sky2: clear irq race
Move the interrupt clear to before processing, this avoids a
possible races with status delaying.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit a8ab1ec0c3ef4ce2033abe3441d032fe1490a71a
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:37:57 2006 -0800
[PATCH] sky2: set mac address fix
Using the sky2 driver with bonding can result in oopses related to
reinitializing the PHY when the MAC address is changed (which bonding
is wont to do). This patch changes sky2_set_mac_address to take less
drastic measures.
This is analagous to the skge patch here:
http://lkml.org/lkml/2005/9/29/399
which fixed the issue here:
http://bugzilla.kernel.org/show_bug.cgi?id=5271
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit d28d4870279c5d184804b6ac1775b130972ffecd
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:37:56 2006 -0800
[PATCH] sky2: ethtool rx_coalesce settings fix
This fixes setting rx_coalesce_usecs_irq via ethtool in sky2.
The write was directed to the wrong register.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 2d42d21f11c20b94ea0222637e20e2630845afe4
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:37:55 2006 -0800
[PATCH] sky2: pci config space checking
There were bugs in mmconfig access to PCI space, up to and
include 2.6.16-rc1. These prevented the sky2 driver from being
able to clear PCI express errors.
This patch makes the driver check (during probe), for errors
in PCI config access and fail.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 08c06d8a9063c81f6a21c9f275aa1ee49d4bf380
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Mon Jan 30 11:37:54 2006 -0800
[PATCH] sky2: power management fix
Fix suspend/resume for sky2. The status ring was getting reallocated
and a bunch of other mistakes. Also, check return from power_state
on resume.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit d561514f616504c0962f22d51d165f7b6e1bae1b
Author: Lennert Buytenhek <buytenh@wantstofly.org>
Date: Sun Jan 29 20:33:52 2006 +0100
[PATCH] sis900: remove cfgpmcsr I/O space register define
sis900 defines 'cfgpmcsr' as an I/O space register, but CFGPMCSR is
in fact a config space register, and there is no register at offset
0x44 in I/O space, so delete the enum.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit 471ef051bc3b980e2f38cbe9112eac7bfe4d6633
Author: Jesse Brandeburg <jesse.brandeburg@intel.com>
Date: Tue Feb 7 01:50:45 2006 -0500
e100: remove init_hw call to fix panic
e100 seems to have had a long standing bug where e100_init_hw was being
called when it should not have been. This caused a panic due to recent
changes that rely on correct set up in the driver, and more robust error
paths.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
commit e2f5a3c1bec1cf3e7c76c080fd7f21476f05008a
Author: Paul Mackerras <paulus@samba.org>
Date: Tue Feb 7 13:55:30 2006 +1100
powerpc/64: Fix bug in setting floating-point exception mode
When loading up the FPU, we were using a 'ld' (load doubleword)
instruction to get the FP exception mode from the thread_struct,
but it's only an int field. This changes the ld to lwz (load
word and zero-extend).
Signed-off-by: Paul Mackerras <paulus@samba.org>
commit 276e0c75f1e9a8b34b7b19e8fe188be958d420dd
Author: Vincent Hanquez <vincent@snarc.org>
Date: Wed Jan 25 14:49:13 2006 +0100
[PATCH] debugfs: trivial comment fix
Fix trivial type mixup in the debugfs function comments.
Signed-off-by: Vincent Hanquez <vincent@snarc.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit d87499ed1a3ba0f6dbcff8d91c96ef132c115d08
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Wed Jan 25 10:21:32 2006 +1100
[PATCH] Fix uevent buffer overflow in input layer
The buffer used for kobject uevent is too small for some of the events generated
by the input layer. Bump it to 2k.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 9c1da3cb46316e40bac766ce45556dc4fd8df3ca
Author: David Brownell <david-b@pacbell.net>
Date: Sat Jan 21 13:21:43 2006 -0800
[PATCH] SPI: spi_butterfly, restore lost deltas
This resolves some minor version skew glitches that accumulated for the AVR
Butterfly adapter driver, which caused among other things the existence of
a duplicate Kconfig entry. Most of it boils down to comment updates, but in
one case it removes some now-superfluous code that would be better if not
copied into other controller-level drivers.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
commit 022f7b07bf2b384ece7fbd7edb90e54cd78db252
Author: Pavel Machek <pavel@suse.cz>
Date: Sun Jan 22 22:38:52 2006 +0100
[PATCH] Fix Userspace interface breakage in power/state
Prevent passing invalid values down to the drivers.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 68f5f996347dc2724a0dd511683643a2b6912380
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date: Fri Jan 20 14:08:59 2006 -0800
[PATCH] IB: fix up major/minor sysfs interface for IB core
Current IB code doesn't work with userspace programs that listen only to
the kernel event netlink socket as it is trying to create its own dev
interface. This small patch fixes this problem, and removes some
unneeded code as the driver core handles this logic for you
automatically.
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 0650fd5824e07570f0c43980b81bb23ae917f1d7
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date: Fri Jan 20 14:08:59 2006 -0800
[PATCH] DRM: fix up classdev interface for drm core
Current drm code doesn't work with userspace programs that listen only
to the kernel event netlink socket as it is trying to create its own dev
interface. Turns out lots of code can just be deleted as the driver
core can do all of this work automatically for you.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit f67d115fe48f494d4b7f4f2024217fe52578915f
Author: Adrian Bunk <bunk@stusta.de>
Date: Thu Jan 19 17:30:17 2006 +0100
[PATCH] drivers/base/: proper prototypes
This patch contains the following changes:
- move prototypes to base.h
- sys.c should #include "base.h" for getting the prototype of it's
global function system_bus_init()
Note that hidden in this patch there's a bugfix:
Caller and callee disagreed regarding the return type of
sysdev_shutdown().
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit e485981e52b476c1b6a00873c2f8b75b3168718f
Author: Russell King <rmk@arm.linux.org.uk>
Date: Sat Jan 14 20:01:02 2006 +0000
[PATCH] Fix compiler warning in driver core for CONFIG_HOTPLUG=N
FYI, while running a build test, I found:
drivers/base/bus.c:166: warning: `driver_attr_unbind' defined but not used
drivers/base/bus.c:194: warning: `driver_attr_bind' defined but not used
Looks like these two attributes and supporting functions want to be
#ifdef HOTPLUG'd
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit b365b3daf2a9e2a8b002ea9fef877af1c71513fd
Author: Chuck Ebbert <76306.1226@compuserve.com>
Date: Thu Jan 12 20:02:00 2006 -0500
[PATCH] kobject: don't oops on null kobject.name
kobject_get_path() will oops if one of the component names is
NULL. Fix that by returning NULL instead of oopsing.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit c171fef5c8566cf5f57877e7832fa696ecdf5228
Author: Greg Kroah-Hartman <gregkh@suse.de>
Date: Fri Jan 20 14:08:59 2006 -0800
[PATCH] kobject_add() must have a valid name in order to succeed.
So we might as well check to verify this, and let the user know that
something is wrong if they didn't do it correctly, instead of oopsing
later on in kobject_get_name() or somewhere else.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit c5e3fbf22ccba0879b174fab7ec0e322b1266c2c
Author: Jean Delvare <khali@linux-fr.org>
Date: Wed Jan 18 22:39:48 2006 +0100
[PATCH] hwmon: Fix reboot on it87 driver load
Only scan I2C address 0x2d. This is the default address and no IT87xxF
chip was ever seen on I2C at a different address. These chips are
better accessed through their ISA interface anyway.
This fixes bug #5889, although it doesn't address the whole class
of problems. We'd need the ability to blacklist arbitrary I2C addresses
on systems known to contain I2C devices which behave badly when probed.
Plan the I2C interface for removal as well. If nobody complains within
a year, it will confirm my impression that the I2C interface isn't
actually needed by anyone.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit e53004e20a58e9d28347e02adccb37a33e0d771a
Author: Jean Delvare <khali@linux-fr.org>
Date: Mon Jan 9 23:26:14 2006 +0100
[PATCH] hwmon: New f71805f driver
This is my f71805f hardware monitoring driver ported from lm_sensors
to Linux 2.6. This new driver differs from the other hardware monitoring
drivers in that it is implemented as a platform driver. This might not
be optimal yet (we would probably need a generic infrastructure and bus
type for Super-I/O logical devices) but it is certainly much better than
the i2c-isa solution.
Note that this driver requires lm_sensors CVS. I hope to get it
released as 2.10.0 soon.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 5db3d3da93fb93875c719239892ac526cfd2d584
Author: Jean Delvare <khali@linux-fr.org>
Date: Mon Jan 9 23:32:57 2006 +0100
[PATCH] hwmon: Add f71805f documentation
Add some documentation for the new f71805f driver. This is almost the
same help that was present in lm_sensors, with a few minor layout fixes.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 7e3d7db52469f6bcfbfd2d3d00dd17da573facd9
Author: Tobias Klauser <tklauser@nuerscht.ch>
Date: Mon Jan 9 23:19:51 2006 +0100
[PATCH] i2c: Use ARRAY_SIZE macro
Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]). Some trailing
whitespaces are also removed.
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 8104a9a9c9ad8c849d931c46ef6841b23d1fc729
Author: Eric Sesterhenn <snakebyte@gmx.de>
Date: Mon Jan 9 23:09:57 2006 +0100
[PATCH] i2c: Use module_param in i2c-algo-sibyte
this patch changes MODULE_PARM usage
to module_param in i2c-algo-sibyte.c
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 0d0ab7fe4c009c40dc485731f9ad98e1d336ddae
Author: Jean Delvare <khali@linux-fr.org>
Date: Mon Jan 9 23:07:05 2006 +0100
[PATCH] hwmon: Inline w83792d register access functions
Inline w83792d_{read,write}_value for better performance.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Yuan Mu <Ymu@winbond.com.tw>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 806ba6409061ae49421319e3745026014abc49c2
Author: Rudolf Marek <r.marek@sh.cvut.cz>
Date: Mon Jan 9 22:46:14 2006 +0100
[PATCH] i2c: Rename i2c-sis96x documentation file
This patch just renames the documentation file to correct file name.
i2c-sis69x -> i2c-sis96x.
Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 413b64515079a4063776d81067f69cc41bdb34ad
Author: Jean Delvare <khali@linux-fr.org>
Date: Mon Jan 9 22:43:08 2006 +0100
[PATCH] hwmon: Fix negative temperature readings in lm77 driver
Fix negative temperature readings in lm77 driver.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Michael Renzmann <mrenzmann@otaku42.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 21bbd691827e3610ef975a88863859381ac8d8e0
Author: Jean Delvare <khali@linux-fr.org>
Date: Mon Jan 9 15:19:18 2006 +1100
[PATCH] I2C: Resurrect i2c_smbus_write_i2c_block_data.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
commit 8254fc4afcc81e69428c453cc216aa612c80e98b
Author: Jason Gaston <jason.d.gaston@intel.com>
Date: Mon Jan 9 10:58:08 2006 -0800
[PATCH] i2c-i801: I2C patch for Intel ICH8
This patch adds the Intel ICH8 DID to the i2c-i801.c and Kconfig files for I2C
support.
Signed-off-by: Jason Gaston <Jason.d.gaston@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
commit 9ed2ad8648eb974ee670045d41b5a51b763e3aa1
Author: Chen, Kenneth W <kenneth.w.chen@intel.com>
Date: Tue Jan 31 14:26:25 2006 -0800
[IA64] add syscall entry for *at()
Wire up the ia64 syscalls for *at() functions.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 913e4a75572354995b330f57082d9a86250cd75f
Author: Russ Anderson <rja@efs.americas.sgi.com>
Date: Fri Feb 3 14:47:15 2006 -0600
[IA64-SGI] Shub2 BTE address fix
After converting the cpu physical address to shub2 physical
addressing, the address was run through TO_PHYS() which
clobbered a high node offset bit causing the BTE to fail
on shub2 nodes with large memory. This fix corrects
that problem.
Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit e3f749c4af69c4344d89f11e2293e3790eb4eaca
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sun Feb 5 20:23:33 2006 -0800
[PPP]: Fixed hardware RX checksum handling
When we pull the PPP protocol off the skb, we forgot to update the
hardware RX checksum. This may lead to messages such as
dsl0: hw csum failure.
Similarly, we need to clear the hardware checksum flag when we use
the existing packet to store the decompressed result.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 410c05427a69f53851637ccb85c2212131409fbd
Author: Greg KH <gregkh@suse.de>
Date: Sun Feb 5 14:16:08 2006 -0800
[PATCH] USB: Fix GPL markings on usb core functions.
I thought we had fixed up all non-gpl USB drivers, and was wrong to do
this.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7a21ef6fe902ac0ad53b45af6851ae5ec3a64299
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sun Feb 5 11:26:38 2006 -0800
mm/slab.c (non-NUMA): Fix compile warning and clean up code
The non-NUMA case would do an unmatched "free_alien_cache()" on an alien
pointer that had never been allocated.
It might not matter from a code generation standpoint (since in the
non-NUMA case, the code doesn't actually _do_ anything), but it not only
results in a compiler warning, it's really really ugly too.
Fix the compiler warning by just having a matching dummy allocation.
That also avoids an unnecessary #ifdef in the code.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5e375bc7d586e0df971734a5a5f1f080ffd89b68
Author: Robb, Sam <sam.robb@timesys.com>
Date: Sat Feb 4 23:28:06 2006 -0800
[PATCH] kconfig: detect if -lintl is needed when linking conf,mconf
On a system where libintl.h is present, but the NLS functionality is
supplied by a separate library instead of the system C library, an attempt
to "make config" or "make menuconfig" will fail with link errors, ex:
scripts/kconfig/mconf.o:mconf.c:(.text+0xf63): undefined reference to
`_libintl_gettext'
This patch attempts to correct the problem by detecting whether or not NLS
support requires linking with libintl.
Signed-off-by: Samuel J Robb <sam.robb@timesys.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 4be68a783d25b4dab0ef4077a4c6b13161a2d6e4
Author: Adrian Bunk <bunk@stusta.de>
Date: Sat Feb 4 23:28:05 2006 -0800
[PATCH] i386: HIGHMEM64G must depend on X86_CMPXCHG64
Due to the usage of set_64bit in include/asm-i386/pgtable-3level.h,
HIGHMEM64G must depend on X86_CMPXCHG64.
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 911b0ad25d167fede6aadc05065b414ec7ab5086
Author: Takashi Iwai <tiwai@suse.de>
Date: Sat Feb 4 23:28:05 2006 -0800
[PATCH] Fix "value computed is not used" compile warnings with gcc-4.1
Fix gcc4.1 compile warnings "value computed is not used" with
set_current_state() and set_task_state() on i386/SMP and x86-64.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b53e8f68e07fb8f3ba9ab1812c9c186c09a50c16
Author: Chuck Ebbert <76306.1226@compuserve.com>
Date: Sat Feb 4 23:28:04 2006 -0800
[PATCH] i386: print kernel version in register dumps
Show first field of kernel version in register dumps like x86_64 does.
Changes output from e.g.:
(2.6.16-rc1)
to:
(2.6.16-rc1 #12)
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit fe38d8553ccb5237bf0eddda9e94fbca7288551c
Author: Chuck Ebbert <76306.1226@compuserve.com>
Date: Sat Feb 4 23:28:03 2006 -0800
[PATCH] i386 cpu hotplug: don't access freed memory
i386 CPU init code accesses freed init memory when booting a newly-started
processor after CPU hotplug. The cpu_devs array is searched to find the
vendor and it contains pointers to freed data.
Fix that by:
1. Zeroing entries for freed vendor data after bootup.
2. Changing Transmeta, NSC and UMC to all __init[data].
3. Printing a warning (once only) and setting this_cpu
to a safe default when the vendor is not found.
This does not change behavior for AMD systems. They were broken already
but no error was reported.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 170aa3d02614ae621d54af10555e2f48977ae8de
Author: Ulrich Drepper <drepper@redhat.com>
Date: Sat Feb 4 23:28:02 2006 -0800
[PATCH] namei.c: unlock missing in error case
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f55eab822b93864ef4eef3bd7eadac2a727c914b
Author: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Sat Feb 4 23:28:01 2006 -0800
[PATCH] VFS: Ensure LOOKUP_CONTINUE flag is preserved by link_path_walk()
When walking a path, the LOOKUP_CONTINUE flag is used by some filesystems
(for instance NFS) in order to determine whether or not it is looking up
the last component of the path. It this is the case, it may have to look
at the intent information in order to perform various tasks such as atomic
open.
A problem currently occurs when link_path_walk() hits a symlink. In this
case LOOKUP_CONTINUE may be cleared prematurely when we hit the end of the
path passed by __vfs_follow_link() (i.e. the end of the symlink path)
rather than when we hit the end of the path passed by the user.
The solution is to have link_path_walk() clear LOOKUP_CONTINUE if and only
if that flag was unset when we entered the function.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 4484ebf12bdb0ebcdc6e8951243cbab3d7f6f4c1
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Sat Feb 4 23:27:59 2006 -0800
[PATCH] NUMA slab locking fixes: fix cpu down and up locking
This fixes locking and bugs in cpu_down and cpu_up paths of the NUMA slab
allocator. Sonny Rao <sonny@burdell.org> reported problems sometime back on
POWER5 boxes, when the last cpu on the nodes were being offlined. We could
not reproduce the same on x86_64 because the cpumask (node_to_cpumask) was not
being updated on cpu down. Since that issue is now fixed, we can reproduce
Sonny's problems on x86_64 NUMA, and here is the fix.
The problem earlier was on CPU_DOWN, if it was the last cpu on the node to go
down, the array_caches (shared, alien) and the kmem_list3 of the node were
being freed (kfree) with the kmem_list3 lock held. If the l3 or the
array_caches were to come from the same cache being cleared, we hit on
badness.
This patch cleans up the locking in cpu_up and cpu_down path. We cannot
really free l3 on cpu down because, there is no node offlining yet and even
though a cpu is not yet up, node local memory can be allocated for it. So l3s
are usually allocated at keme_cache_create and destroyed at
kmem_cache_destroy. Hence, we don't need cachep->spinlock protection to get
to the cachep->nodelist[nodeid] either.
Patch survived onlining and offlining on a 4 core 2 node Tyan box with a 4
dbench process running all the time.
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Cc: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ca3b9b91735316f0ec7f01976f85842e0bfe5c6e
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Sat Feb 4 23:27:58 2006 -0800
[PATCH] NUMA slab locking fixes: irq disabling from cahep->spinlock to l3 lock
Earlier, we had to disable on chip interrupts while taking the
cachep->spinlock because, at cache_grow, on every addition of a slab to a slab
cache, we incremented colour_next which was protected by the cachep->spinlock,
and cache_grow could occur at interrupt context. Since, now we protect the
per-node colour_next with the node's list_lock, we do not need to disable on
chip interrupts while taking the per-cache spinlock, but we just need to
disable interrupts when taking the per-node kmem_list3 list_lock.
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Cc: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2e1217cf96b54d3b2d0162930608159e73507fbf
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Sat Feb 4 23:27:56 2006 -0800
[PATCH] NUMA slab locking fixes: move color_next to l3
colour_next is used as an index to add a colouring offset to a new slab in the
cache (colour_off * colour_next). Now with the NUMA aware slab allocator, it
makes sense to colour slabs added on the same node sequentially with
colour_next.
This patch moves the colouring index "colour_next" per-node by placing it on
kmem_list3 rather than kmem_cache.
This also helps simplify locking for CPU up and down paths.
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Cc: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 64b4a954b03a1153fb8ae38d6ffbd991e01a1e80
Author: Christoph Lameter <clameter@engr.sgi.com>
Date: Sat Feb 4 23:27:55 2006 -0800
[PATCH] hugetlb: add comment explaining reasons for Bus Errors
I just spent some time researching a Bus Error. Turns out that the huge
page fault handler can return VM_FAULT_SIGBUS for various conditions where
no huge page is available.
Add a note explaining the reasoning in the source.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: William Lee Irwin III <wli@holomorphy.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit fe1dcbc4f311c2e6c23b33c0fa8572461618ab3e
Author: Andrew Morton <akpm@osdl.org>
Date: Sat Feb 4 23:27:54 2006 -0800
[PATCH] jbd: fix transaction batching
Ben points out that:
When writing files out using O_SYNC, jbd's 1 jiffy delay results in a
significant drop in throughput as the disk sits idle. The patch below
results in a 4-5x performance improvement (from 6.5MB/s to ~24-30MB/s on my
IDE test box) when writing out files using O_SYNC.
So optimise the batching code by omitting it entirely if the process which is
doing a sync write is the same as the one which did the most recent sync
write. If that's true, we're unlikely to get any other processes joining the
transaction.
(Has been in -mm for ages - it took me a long time to get on to performance
testing it)
Numbers, on write-cache-disabled IDE:
/usr/bin/time -p synctest -n 10 -uf -t 1 -p 1 dir-name
Unpatched:
40 seconds
Patched:
35 seconds
Batching disabled:
35 seconds
This is the problematic single-process-doing-fsync case. With multiple
fsyncing processes the numbers are AFACIT unaltered by the patch.
Aside: performance testing and instrumentation shows that the transaction
batching almost doesn't help (testing with synctest -n 1 -uf -t 100 -p 10
dir-name on non-writeback-caching IDE). This is because by the time one
process is running a synchronous commit, a bunch of other processes already
have a transaction handle open, so they're all going to batch into the same
transaction anyway.
The batching seems to offer maybe 5-10% speedup with this workload, but I'm
pretty sure it was more important than that when it was first developed 4-odd
years ago...
Cc: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bc5e483da61eb5ab8d24b4a919fb512e5886d02c
Author: Andrew Morton <akpm@osdl.org>
Date: Sat Feb 4 23:27:51 2006 -0800
[PATCH] reiserfs_get_acl() build fix
With CONFIG_REISERFS_FS_XATTR=y, CONFIG_REISERFS_FS_POSIX_ACL=n:
fs/reiserfs/xattr.c: In function `reiserfs_check_acl':
fs/reiserfs/xattr.c:1330: called object is not a function
Cc: Chris Mason <mason@suse.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 165a2c1d514892ae917cdf80be9e5269015c1034
Author: Hugh Dickins <hugh@veritas.com>
Date: Sat Feb 4 23:27:51 2006 -0800
[PATCH] x86: fix stack trace facility level
dump_stack() on page allocation failure presently has an irritating habit
of shouting just "====" at everyone: please stop it.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c2b507fda390b8ae90deba9b8cdc3fe727482193
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date: Sat Feb 4 23:27:50 2006 -0800
[PATCH] selinux: require SECURITY_NETWORK
Make SELinux depend on SECURITY_NETWORK (which depends on SECURITY), as it
requires the socket hooks for proper operation even in the local case.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5c0d5d262aa4c5e93f9f5de298cf25d6d8b558c4
Author: Dave Jones <davej@redhat.com>
Date: Sat Feb 4 23:27:49 2006 -0800
[PATCH] missing license tag in intermodule
It may suck something awful, but it shouldn't taint the kernel.
Signed-off-by: Dave Jones <davej@redhat.com>
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 5c55ac9bbca22ee134408f83de5f2bda3b1b2a53
Author: Phillip Susi <psusi@cfl.rr.com>
Date: Sat Feb 4 23:27:48 2006 -0800
[PATCH] pktcdvd: Allow larger packets
The pktcdvd driver uses a compile time macro constant to define the maximum
supported packet length. I changed this from 32 sectors to 128 sectors
because that allows over 100 MB of additional usable space on a 700 MB cdrw,
and increases throughput.
Note that you need a modified cdrwtool program that can format a CDRW disc
with larger packets to benefit from this change.
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e1bc89bc9991e994f2b3c60d9ad2fdb5ad9b10fc
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Feb 4 23:27:47 2006 -0800
[PATCH] pktcdvd: Don't waste kernel memory
Allocate memory for read-gathering at open time, when it is known just how
much memory is needed. This avoids wasting kernel memory when the real packet
size is smaller than the maximum packet size supported by the driver. This is
always the case when using DVD discs.
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b566ccefd7814e4fa403de81aea299bdc11ceed5
Author: Adrian Bunk <bunk@stusta.de>
Date: Sat Feb 4 23:27:45 2006 -0800
[PATCH] Let CDROM_PKTCDVD_WCACHE depend on EXPERIMENTAL
Unless the help text is outdated, this seems to be logical.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 11edefd8c828961686a2ea0093da0e19b3f5a3bf
Author: Peter Osterlund <petero2@telia.com>
Date: Sat Feb 4 23:27:45 2006 -0800
[PATCH] pktcdvd: remove version string
The version information is not useful for a driver that is maintained in
Linus' kernel tree.
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a460ad62260def15c42130de253d6cfc32528a2f
Author: Phillip Susi <psusi@cfl.rr.com>
Date: Sat Feb 4 23:27:44 2006 -0800
[PATCH] pktcdvd: Fix overflow for discs with large packets
The pktcdvd driver was using an 8 bit field to store the packet length
obtained from the disc track info. This causes it to overflow packet length
values of 128KB or more. I changed the field to 32 bits to fix this.
The pktcdvd driver defaulted to its maximum allowed packet length when it
detected a 0 in the track info field. I changed this to fail the operation
and refuse to access the media. This seems more sane than attempting to
access it with a value that almost certainly will not work.
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bd576c9523fbf23e94fb7dbe05d2ae1cf96864e4
Author: Chuck Ebbert <76306.1226@compuserve.com>
Date: Sat Feb 4 23:27:42 2006 -0800
[PATCH] sched: only print migration_cost once per boot
migration_cost prints after every CPU hotplug event. Make it print only
once at boot.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 62cfe7efc4e6ba44b0903c53f09d37de59160afa
Author: Stephen Smalley <sds@tycho.nsa.gov>
Date: Sat Feb 4 23:27:42 2006 -0800
[PATCH] MAINTAINERS/CREDITS: Update SELinux contact info
Update my contact info. Please apply.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7128ec2a747d7a5f3c764c37bef17081ccc2374c
Author: Miklos Szeredi <miklos@szeredi.hu>
Date: Sat Feb 4 23:27:40 2006 -0800
[PATCH] fuse: fix request_end() vs fuse_reset_request() race
The last fix for this function in fact opened up a much more often
triggering race.
It was uncommented tricky code, that was buggy. Add comment, make it less
tricky and fix bug.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e22bec266cd6f540da2a61db216914c3473135cc
Author: Markus Lidel <Markus.Lidel@shadowconnect.com>
Date: Sat Feb 4 23:27:39 2006 -0800
[PATCH] Fix i2o_scsi oops on abort
Fix http://bugzilla.kernel.org/show_bug.cgi?id=5923
When a scsi command failed, an oops would result.
Back-to-back SMART queries would make the Seagate drives unhappy. The
second SMART query would timeout, and the command would be aborted.
Acked-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Kenny Simpson <theonetruekenny@yahoo.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 238e7db9357bfe1ce3d6f7ac1e60e595e9d46b7b
Author: Tejun Heo <htejun@gmail.com>
Date: Sat Feb 4 23:27:38 2006 -0800
[PATCH] block: request_queue->ordcolor must not be flipped on SOFTBARRIER
q->ordcolor must not be flipped on SOFTBARRIER.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9a7a67af8bb02106f0fb01dd9d237332f874be9a
Author: Jens Axboe <axboe@suse.de>
Date: Sat Feb 4 23:27:38 2006 -0800
[PATCH] fix ordering on requeued request drainage
Previously, if a fs request which was being drained failed and got
requeued, blk_do_ordered() didn't allow it to be reissued, which causes
queue stall. This patch makes blk_do_ordered() use the sequence of each
request to determine whether a request can be issued or not. This fixes
the bug and simplifies code.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 88a2a4ac6b671a4b0dd5d2d762418904c05f4104
Author: Eric Dumazet <dada1@cosmosbay.com>
Date: Sat Feb 4 23:27:36 2006 -0800
[PATCH] percpu data: only iterate over possible CPUs
percpu_data blindly allocates bootmem memory to store NR_CPUS instances of
cpudata, instead of allocating memory only for possible cpus.
As a preparation for changing that, we need to convert various 0 -> NR_CPUS
loops to use for_each_cpu().
(The above only applies to users of asm-generic/percpu.h. powerpc has gone it
alone and is presently only allocating memory for present CPUs, so it's
currently corrupting memory).
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Jens Axboe <axboe@suse.de>
Cc: Anton Blanchard <anton@samba.org>
Acked-by: William Irwin <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit cef5076987dd545ac74f4efcf1c962be8eac34b0
Author: Linus Torvalds <torvalds@g5.osdl.org>
Date: Sun Feb 5 10:51:57 2006 -0800
Revert "[PATCH] x86_64: Fix the node cpumask of a cpu going down"
This reverts commit 10f4dc8b27ac42f930ac55adb8c521264dc997f8.
Quoth Andi Kleen:
"Kiran decided that it makes the problem worse than it was before.
Fixing it fully requires more work which is too much for 2.6.16. So
please revert that commit for now."
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 620739025b94fe472c845ce013bff62716d3c576
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Sun Feb 5 11:11:20 2006 +0000
[SERIAL] Remove unnecessary serial.h include
imx.c does not use anything from serial.h, so remove it.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 59a675b22026e29e7f281d7b832de67dd8559b83
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Sun Feb 5 10:52:29 2006 +0000
[SERIAL] uart_port flags member should use UPF_*
Convert usage of ASYNC_* to UPF_*.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 9b4a1617772d6d5ab5eeda0cd95302fae119e359
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Sun Feb 5 10:48:10 2006 +0000
[SERIAL] uart_port iotype member should use UPIO_*
Convert usage of SERIAL_IO_* to UPIO_*.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 7f7ff6bf0279ccb3d56f2b07c4cc88327c932a80
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Sat Feb 4 02:49:23 2006 -0800
[SPARC64]: Update defconfig.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 3794689dba4288f2ab6ec74657a07c41031ac376
Author: David S. Miller <davem@davemloft.net>
Date: Sat Feb 4 02:49:03 2006 -0800
[SPARC64]: Add .gitignore file for sparc64 boot images.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 7918d212df31fb7ddfb317c5a8dccdcec647d754
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:19:46 2006 -0800
[NETFILTER]: Fix check whether dst_entry needs to be released after NAT
After DNAT the original dst_entry needs to be released if present
so the packet doesn't skip input routing with its new address. The
current check for DNAT in ip_nat_in is reversed and checks for SNAT.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 0047c65a60fa3b6607b55e058ea6a89f39cb3f28
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:19:09 2006 -0800
[NETFILTER]: Prepare {ipt,ip6t}_policy match for x_tables unification
The IPv4 and IPv6 version of the policy match are identical besides address
comparison and the data structure used for userspace communication. Unify
the data structures to break compatiblity now (before it is released), so
we can port it to x_tables in 2.6.17.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 878c41ce5747e1b417bdd92a694c33dc4bd6ec02
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:17:55 2006 -0800
[NETFILTER]: Fix ip6t_policy address matching
Fix two bugs in ip6t_policy address matching:
- misorder arguments to ip6_masked_addrcmp, mask must be the second argument
- inversion incorrectly applied to the entire expression instead of just
the address comparison
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit e55f1bc5dcb60a47764f6eabd1501d2cb98fb2c4
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:17:26 2006 -0800
[NETFILTER]: Check policy length in policy match strict mode
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit ee4bb818ae35f68d1f848eae0a7b150a38eb4168
Author: Kirill Korotaev <dev@openvz.org>
Date: Sat Feb 4 02:16:56 2006 -0800
[NETFILTER]: Fix possible overflow in netfilters do_replace()
netfilter's do_replace() can overflow on addition within SMP_ALIGN()
and/or on multiplication by NR_CPUS, resulting in a buffer overflow on
the copy_from_user(). In practice, the overflow on addition is
triggerable on all systems, whereas the multiplication one might require
much physical memory to be present due to the check above. Either is
sufficient to overwrite arbitrary amounts of kernel memory.
I really hate adding the same check to all 4 versions of do_replace(),
but the code is duplicate...
Found by Solar Designer during security audit of OpenVZ.org
Signed-Off-By: Kirill Korotaev <dev@openvz.org>
Signed-Off-By: Solar Designer <solar@openwall.com>
Signed-off-by: Patrck McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit df4e9574a36748c3a4d9b03ffca6b42321a797a9
Author: Samir Bellabes <sbellabes@mandriva.com>
Date: Sat Feb 4 02:16:06 2006 -0800
[NETFILTER]: nf_conntrack: fix incorrect memset() size in FTP helper
This memset() is executing with a bad size. According to Yasuyuki Kozakai,
this memset() can be deleted, as 'ftp' is declared in global area.
Signed-off-by: Samir Bellabes <sbellabes@mandriva.com>
Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 19ea7302df2eb4f2ad7f29af814d8cf55fc8b9c9
Author: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Date: Sat Feb 4 02:15:36 2006 -0800
[NETFILTER]: iptables: fix typos in ipt_connbytes.h
Fix some typos that make iptables userspace compilation fail.
Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6f169300787ddb07326cc0338434a162dbab8539
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:14:51 2006 -0800
[NETFILTER]: Fix missing src port initialization in tftp expectation mask
Reported by David Ahern <dahern@avaya.com>, netfilter bugzilla #426.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit a706124d0a4d9daaf6b705d01de3aff18deecea8
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:14:24 2006 -0800
[NETFILTER]: nfnetlink_queue: fix packet marking over netlink
The packet marked is the netlink skb, not the queued skb.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit ad2ad0f96546d6d56b2665bcc863c33ae57c49c4
Author: Patrick McHardy <kaber@trash.net>
Date: Sat Feb 4 02:13:57 2006 -0800
[NETFILTER]: Fix undersized skb allocation in ipt_ULOG/ebt_ulog/nfnetlink_log
The skb allocated is always of size nlbufsize, even if that is smaller than
the size needed for the current packet.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit c2db292438c20c3f13db6e5563e0ce5b449bedac
Author: Holger Eitzenberger <heitzenberger@astaro.com>
Date: Sat Feb 4 02:13:14 2006 -0800
[NETFILTER]: ULOG/nfnetlink_log: Use better default value for 'nlbufsiz'
Performance tests showed that ULOG may fail on heavy loaded systems
because of failed order-N allocations (N >= 1).
The default value of 4096 is not optimal in the sense that it actually
allocates _two_ contigous physical pages. Reasoning: ULOG uses
alloc_skb(), which adds another ~300 bytes for skb_shared_info.
This patch sets the default value to NLMSG_GOODSIZE and adds some
documentation at the top.
Signed-off-by: Holger Eitzenberger <heitzenberger@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit ddc8d029ac6813827849801bce2d8c8813070db6
Author: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Date: Sat Feb 4 02:12:14 2006 -0800
[NETFILTER]: nf_conntrack: check address family when finding protocol module
__nf_conntrack_{l3}proto_find() doesn't check the passed protocol family,
then it's possible to touch out of the array which has only AF_MAX items.
Spotted by Pablo Neira Ayuso.
Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 34f9a2e4deb760ddcb94cd0cd4f9ce18070d53d9
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date: Sat Feb 4 02:11:41 2006 -0800
[NETFILTER]: ctnetlink: add MODULE_ALIAS for expectation subsystem
Add load-on-demand support for expectation request. eg. conntrack -L expect
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit b633ad5fbf9e534142208700c58a530a4091eaab
Author: Marcus Sundberg <marcus@ingate.com>
Date: Sat Feb 4 02:11:09 2006 -0800
[NETFILTER]: ctnetlink: Fix subsystem used for expectation events
The ctnetlink expectation events should use the NFNL_SUBSYS_CTNETLINK_EXP
subsystem, not NFNL_SUBSYS_CTNETLINK.
Signed-off-by: Marcus Sundberg <marcus@ingate.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit fa60cf7f64a00c16e95717e8dccdb128877e342a
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sat Feb 4 02:09:34 2006 -0800
[ICMP]: Fix extra dst release when ip_options_echo fails
When two ip_route_output_key lookups in icmp_send were combined I
forgot to change the error path for ip_options_echo to not drop the
dst reference since it now sits before the dst lookup. To fix it we
simply jump past the ip_rt_put call.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 5b7b644ca9a12396a46fad825a973fb8bed17102
Author: Jon Mason <jdmason@us.ibm.com>
Date: Fri Feb 3 21:51:59 2006 +0100
[PATCH] x86_64: IOMMU printk cleanup
This patch contains a printk reorder to remove the current problem of
displaying "PCI-DMA: Disabling IOMMU." and then "PCI-DMA: using GART
IOMMU" 20 lines later in dmesg.
It also constains a printk reorder in swiotlb to state swiotlb
enablement prior to describing the location of the bounce buffers, and a
printk reorder to state gart enablement prior to describing the
aperature.
Also constains a whitespace cleanup in arch/x86_64/kernel/setup.c
Tested (along with patch 2/2) on dual opteron with gart enabled,
iommu=soft, and iommu=off.
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 14c3f8558717adb192c364f58b0d63dfc850ecca
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:56 2006 +0100
[PATCH] x86_64: Let impossible CPUs point to reference per cpu data
Hack for 2.6.16. In 2.6.17 all code that uses NR_CPUs should
be audited and changed to only touch possible CPUs.
Don't mark the reference per cpu data init data (so it stays
around after boot) and point all impossible CPUs to it. This way
they reference some valid - although shared memory. Usually
this is only initialization like INIT_LIST_HEADs and there
won't be races because these CPUs never run. Still somewhat hackish.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3777a95903953c55f2309a89679b73c19ae5535b
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:53 2006 +0100
[PATCH] i386/x86-64: Don't ack the APIC for bad interrupts when the APIC is not enabled
It's bad juju to touch the APIC when it hasn't been enabled.
I also moved ack_bad_irq for x86-64 out of line following i386.
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7f66ae48de27bc9506cff0f2991d74901a0c2f8d
Author: Ashok Raj <ashok.raj@intel.com>
Date: Fri Feb 3 21:51:50 2006 +0100
[PATCH] x86_64: Dont record local apic ids when they are disabled in MADT
Some broken BIOS's had processors disabled, but
same apic id as a valid processor. This causes
acpi_processor_start() to think this disabled
cpu is ok, and croak. So we dont record bad
apicid's anymore.
http://bugzilla.kernel.org/show_bug.cgi?id=5930
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d646bce4c77af72f5a293a96fbf14174c9f2a9c2
Author: Jan Beulich <jbeulich@novell.com>
Date: Fri Feb 3 21:51:47 2006 +0100
[PATCH] x86_64: minor odering correction to dump_pagetable()
Checking of the validity of pointers should be consistently done before
dereferencing the pointer.
Signed-Off-By: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 91522a964b295e7bccb173218cc00adadfc77bbf
Author: Jan Beulich <jbeulich@novell.com>
Date: Fri Feb 3 21:51:44 2006 +0100
[PATCH] x86_64: small fix for CFI annotations
Conditionalize two unwind directives to match other similarly
conditional code.
Signed-Off-By: Jan Beulich <jbeulich@novell.com>
Cc: Jim Houston <jim.houston@ccur.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0c3749c41f5eee0da36bbf92b2793338b4d8574f
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:41 2006 +0100
[PATCH] x86_64: Calibrate APIC timer using PM timer
On some broken motherboards (at least one NForce3 based AMD64 laptop)
the PIT timer runs at a incorrect frequency. This patch adds a new
option "apicpmtimer" that allows to use the APIC timer and calibrate it
using the PMTimer. It requires the earlier patch that allows to run the
main timer from the APIC.
Specifying apicpmtimer implies apicmaintimer.
The option defaults to off for now.
I tested it on a few systems and the resulting APIC timer frequencies
were usually a bit off, but always <1%, which should be tolerable.
TBD figure out heuristic to enable this automatically on the affected
systems TBD perhaps do it on all NForce3s or using DMI?
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 099f318b8d97490e58c595eb1b6d3415da5ccc03
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:38 2006 +0100
[PATCH] x86_64: Don't allow kprobes on __switch_to
kprobes cannot deal with the funny calling conventions when it
runs on a different stack when it returns. If someone wants
to instrument context switch they can add a probe to schedule()
instead.
Cc: jkenisto@us.ibm.com, prasanna@in.ibm.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 16acc0cd8f1aac63ddf5228c5bc29cf7d31627f4
Author: Zach Brown <zach.brown@oracle.com>
Date: Fri Feb 3 21:51:35 2006 +0100
[PATCH] x86_64: align per-cpu section to configured cache bytes
Align the start of the per-cpu section to the configured number of bytes in a
cache line. This stops a BUG_ON() from triggering in load_module() when
DEFINE_PER_CPU() is used in a module and the section isn't cacheline-aligned.
Rusty also found this and sent a patch in a while ago
(http://lkml.org/lkml/2004/10/19/17), I don't know what came of that.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a1002a48e1af5ff8d02bfe79536e6fce3a0ec369
Author: Kevin VanMaren <kvanmaren@lnxi.com>
Date: Fri Feb 3 21:51:32 2006 +0100
[PATCH] x86_64: When allocation of merged SG lists fails in the IOMMU don't merge
[ AK: I redid Kevin's fix to be simpler, but the idea and original
analysis of the problem is from Kevin]
This avoid allocation failures on some SATA systems like Nvidia CK8
when the IOMMU gets fragmented. Modern SATA devices have quite large queues
(128 entries) and the FS with ext2/3 is good enough now that it often
passes whole 128 page sg lists down to the driver. These require
512K of continuous free space in the IOMMU aperture to map when merged.
When the IOMMU is fragmented this could lead to spurious IO errors
due to failing mappings.
Short term fix is to just try to map the SG list again unmerged
page by page - this way fragmentation doesn't matter anymore.
The code for that was already there, but it just wasn't enabled for the
merge case.
According to Kevin at least the Nvidia device doesn't seem to benefit
from merging much anyways, so the only slowdown is from trying
to do an unnecessary merge attempt.
Kevin plans to implement better fragmentation avoidance in the future,
but that wouldn't be 2.6.16 material.
TBD: should add some statistic counters to count how often that really
happens.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1de6bf33bc4601d856c286ad5c7d515468e24bbb
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:29 2006 +0100
[PATCH] x86_64: Fix zero mcfg entry workaround on x86-64
I broke this earlier when moving the patch from i386 to x86-64.
Need to return the virtual address here, not the physical address.
This fixes some boot time crashes on x86-64.
Cc: gregkh@suse.de
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d22fe808449cd3b5bacd5c0d447e3675f9ab7619
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:26 2006 +0100
[PATCH] x86_64: Do more checking in the SRAT header code
- Check if the processor/memory affinity entries are long enough
according to the ACPI 3.0 spec.
- Ignore memory affinity entries that define a zero length region.
All based on BIOS issues found in the field @)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7ded56895c11a656408b6ff21086ae04a6a7cda0
Author: Ashok Raj <Ashok.Raj@intel.com>
Date: Fri Feb 3 21:51:23 2006 +0100
[PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug.
attached patch is 2 more cases i found via running the reference_init.pl
script. These were easy to spot just knowing the file names. There is
one another about init/main.c that i cant exactly zero in. (partly
because i dont know how to interpret the data thats spewed out of the tool).
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 396bd50fed9c91f7aa1ac66f4b2880ca58c332ff
Author: Shaohua Li <shaohua.li@intel.com>
Date: Fri Feb 3 21:51:20 2006 +0100
[PATCH] x86_64: mark two routines as __cpuinit
SIgned-off-by: Shaohua Li<shaohua.li@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9391a3f9c7f17bdd82adf9a98905450642cc8970
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:17 2006 +0100
[PATCH] x86_64: Clear more state when ignoring empty node in SRAT parsing
Might fix boot failures on systems with empty PXMs in SRAT
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 00ac59adfca8f2f339beb0b67054e786c275553e
Author: Chen, Kenneth W <kenneth.w.chen@intel.com>
Date: Fri Feb 3 21:51:14 2006 +0100
[PATCH] x86_64: Fix memory policy build without CONFIG_HUGETLBFS
> mm/mempolicy.c: In function `huge_zonelist':
> mm/mempolicy.c:1045: error: `HPAGE_SHIFT' undeclared (first use in this function)
> mm/mempolicy.c:1045: error: (Each undeclared identifier is reported only once
> mm/mempolicy.c:1045: error: for each function it appears in.)
> make[1]: *** [mm/mempolicy.o] Error 1
Need to wrap huge_zonelist function with CONFIG_HUGETLBFS.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9e8c34edfd7ae97d0e3391f34d9d26a0167912bf
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:11 2006 +0100
[PATCH] x86_64: Remove rogue default y in EDAC Kconfig
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7115125057cf72dcc0b9ded1e12128e1abfa8586
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:08 2006 +0100
[PATCH] x86_64: Remove CONFIG_INIT_DEBUG
It has been enabled by default for some time now and is cheap enough
so it doesn't matter anyways.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 10f4dc8b27ac42f930ac55adb8c521264dc997f8
Author: Ravikiran G Thirumalai <kiran@scalex86.org>
Date: Fri Feb 3 21:51:05 2006 +0100
[PATCH] x86_64: Fix the node cpumask of a cpu going down
Currently, x86_64 and ia64 arches do not clear the corresponding bits
in the node's cpumask when a cpu goes down or cpu bring up is cancelled.
This is buggy since there are pieces of common code where the cpumask is
checked in the cpu down code path to decide on things (like in the slab
down path). PPC does the right thing, but x86_64 and ia64 don't (This
was the reason Sonny hit upon a slab bug during cpu offline on ppc and
could not reproduce on other arches). This patch fixes it for x86_64.
I won't attempt ia64 as I cannot test it.
Credit for spotting this should go to Alok.
Signed-off-by: Alok N Kataria <alokk@calsoftinc.com>
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7bcd3f34e262bbebffa954d80eab3a84f053da31
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:51:02 2006 +0100
[PATCH] x86_64: Undo the earlier changes to remove unrolled copy/memset functions
They cause quite bad performance regressions on Netburst
This is temporary until we can get new optimized functions
for these CPUs.
This undoes changes that were done in 2.6.15 and in 2.6.16-rc1,
essentially bringing the code back to 2.6.14 level. Only change
is I renamed the X86_FEATURE_K8_C flag to X86_FEATURE_REP_GOOD
and fixed the check for the flag and also fixed some comments.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6bca52b544489b626c7d0db801df6b4aa3d5adb5
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:50:59 2006 +0100
[PATCH] x86_64: Fix swiotlb dma_alloc_coherent fallback
This avoids BUG_ONs in the low level allocator when an illegal
GFP mask is added.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0dd2ea9af8f0eca43cf6200baa182b3aba307049
Author: Shaohua Li <shaohua.li@intel.com>
Date: Fri Feb 3 21:50:56 2006 +0100
[PATCH] x86_64: [PATCH] timer resume
At resume time, TSC's value or something similar might be changed a lot
against suspend time. This could make system gets a very big lost ticks.
See http://bugzilla.kernel.org/show_bug.cgi?id=5825
Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6f3814cd2fb5ea4d53a7fa5b0635d68fa4036c1b
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:50:53 2006 +0100
[PATCH] x86_64: Automatically enable apicmaintimer on ATI boards
They all have problems with IRQ 0 routing, so just use the APIC on them.
Can be overwritten with "noapicmaintimer"
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 73dea47faeb96d54a984b9d7f4de564816966354
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:50:50 2006 +0100
[PATCH] x86_64: Allow to run main time keeping from the local APIC interrupt
Another piece from the no-idle-tick patch.
This can be enabled with the "apicmaintimer" option.
This is mainly useful when the PIT/HPET interrupt is unreliable.
Note there are some systems that are known to stop the APIC
timer in C3. For those it will never work, but this case
should be automatically detected.
It also only works with PM timer right now. When HPET is used
the way the main timer handler computes the delay doesn't work.
It should be a bit more efficient because there is one less
regular interrupt to process on the boot processor.
Requires earlier bugfix from Venkatesh
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 76b461c21468f41837283b7888d55f1c0671f719
Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Date: Fri Feb 3 21:50:47 2006 +0100
[PATCH] x86_64: Only switch to IPI broadcast timer on Intel when C3 is supported
Bug in apic timer removal on C3 patch. We should switch to IPI from APIC timer
only when C3 state is valid.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 226d780909f71bebfa4dfffa21493244aa22dfdc
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:50:44 2006 +0100
[PATCH] x86_64: Define pmtmr_ioport to 0 when PM_TIMER is not available
Avoids some ifdef mess later.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit eddb6fb9a54cdc8c7c37e056a2b4bbbc8a128a36
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:50:41 2006 +0100
[PATCH] x86_64: Disallow kprobes on NMI handlers
A kprobe executes IRET early and that could cause NMI recursion
and stack corruption.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2f01942536d8c686a3f6b3b38f1257caa2fb763e
Author: Andi Kleen <ak@suse.de>
Date: Fri Feb 3 21:50:38 2006 +0100
[PATCH] x86_64: Update defconfig
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 53ea68ecea11bcbb3451c2758ce181bd97b569a9
Author: Stephen Smalley <sds@epoch.ncsc.mil>
Date: Fri Feb 3 08:21:12 2006 -0500
[PATCH] SELinux: fix size-128 slab leak
Remove private inode tests from security_inode_alloc and security_inode_free,
as we otherwise end up leaking inode security structures for private inodes.
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2c4c6b27028b38204de8ade505f925d53d234422
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Fri Feb 3 23:03:21 2006 +0000
[ARM] Remove ARCH_CAMELOT from at91 defconfigs
ARCH_CAMELOT (excalibur) got removed; remove it from the AT91 defconfigs
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 9a8ffccf3d282ee749210232465f61e1c48b7a86
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Fri Feb 3 22:05:42 2006 +0000
[SERIAL] 8250: limit range of runtime ports
Prevent SERIAL_8250_RUNTIME_UARTS being larger than SERIAL_8250_NR_UARTS.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 6eff5790d57a5c9c01489c95946881808a4b2a2c
Author: Mark Fasheh <mark.fasheh@oracle.com>
Date: Wed Jan 18 10:31:47 2006 -0800
[PATCH] ocfs2: don't wait on recovery when locking journal
The mount path had incorrectly asked the locking code to wait for recovery
completion, which deadlocks things because recovery waits for mount to
complete first.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 1a1974fd4533afdb73873cdacb942d9a79ff7c9b
Author: Eric Sesterhenn / snakebyte <snakebyte@gmx.de>
Date: Fri Jan 27 10:32:24 2006 +0100
[PATCH] BUG_ON() Conversion in fs/configfs/
this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 3d0f89bb169482d26d5aa4e82e763077e7e9bc4d
Author: Joel Becker <joel.becker@oracle.com>
Date: Wed Jan 25 13:31:07 2006 -0800
configfs: Add permission and ownership to configfs objects.
configfs always made item and attribute ownership root.root and
permissions based on a umask of 022. Add ->setattr() to allow
chown(2)/chmod(2), and persist the changes for the lifetime of the
items and attributes.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 62ca3d2603571dc2b1b4c1368e19d44b599062e2
Author: Joel Becker <joel.becker@oracle.com>
Date: Fri Jan 27 11:04:12 2006 -0800
configfs: Clean up MAINTAINERS entry
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a
Author: Mark Fasheh <mark.fasheh@oracle.com>
Date: Wed Feb 1 16:42:10 2006 -0800
[PATCH] ocfs2: fix compile warnings
Fix a couple of compile warnings found when compiling on a ppc64 build box.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit ebdec83ba46c123fe3bfdcaacf62d0dfe8fe4187
Author: Eric Sesterhenn / snakebyte <snakebyte@gmx.de>
Date: Fri Jan 27 10:32:52 2006 +0100
[PATCH] BUG_ON() Conversion in fs/ocfs2/
this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit b4c7f538508adcde7a0a5162faec0b2ab19b90bd
Author: Adrian Bunk <bunk@stusta.de>
Date: Sat Jan 14 20:55:10 2006 +0100
[PATCH] fs/ocfs2/dlm/dlmrecovery.c must #include <linux/delay.h>
fs/ocfs2/dlm/dlmrecovery.c does now use msleep(), and does therefore
need to #include <linux/delay.h> for getting the prototype of this
function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit c74ec2f77a7763a4a56c6cb13ecab961e1bbb456
Author: Arjan van de Ven <arjan@infradead.org>
Date: Fri Jan 13 21:54:23 2006 -0800
[PATCH] ocfs2: Semaphore to mutex conversion.
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit e2faea4ce340f199c1957986c4c3dc2de76f5746
Author: Kurt Hackel <kurt.hackel@oracle.com>
Date: Thu Jan 12 14:24:55 2006 -0800
[PATCH] ocfs2/dlm: fixes
* fix a hang which can occur during shutdown migration
* do not allow nodes to join during recovery
* when restarting lock mastery, do not ignore nodes which come up
* more than one node could become recovery master, fix this
* sleep to allow some time for heartbeat state to catch up to network
* extra debug info for bad recovery state problems
* make DLM_RECO_NODE_DATA_DONE a valid state for non-master recovery nodes
* prune all locks from dead nodes on $RECOVERY lock resources
* do NOT automatically add new nodes to mle nodemaps until they have properly
joined the domain
* make sure dlm_pick_recovery_master only exits when all nodes have synced
* properly handle dlmunlock errors in dlm_pick_recovery_master
* do not propagate network errors in dlm_send_begin_reco_message
* dead nodes were not being put in the recovery map sometimes, fix this
* dlmunlock was failing to clear the unlock actions on DLM_DENIED
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 0d419a6a95ee158675aa184c6c3e476b22d02145
Author: J. Bruce Fields <bfields@fieldses.org>
Date: Wed Jan 11 16:55:00 2006 -0500
[OCFS2] Documentation Fix
Update ocfs2.txt to add "cluster aware lockf" under missing features.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 251b6eccbeff4f0f8a3509769b327705e899f5dd
Author: Mark Fasheh <mark.fasheh@oracle.com>
Date: Tue Jan 10 15:41:43 2006 -0800
[OCFS2] Make ip_io_sem a mutex
ip_io_sem is now ip_io_mutex.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit aee93ac4b7ad461255939248d0d51566cff77e05
Author: Jeff Mahoney <jeffm@suse.com>
Date: Mon Jan 9 12:36:40 2006 -0500
[PATCH] ocfs2/dlm: fix compilation on ia64
Including <asm/signal.h> results in compilation failure on ia64 due to
not including <linux/compiler.h>
Including <linux/signal.h> corrects the problem.
Please apply.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 0c6c98fb187524935a93fdd4f9a7193e7b110782
Author: Adrian Bunk <bunk@stusta.de>
Date: Sat Jan 7 20:07:02 2006 +0100
[PATCH] OCFS2: __init / __exit problem
Functions called by __init funtions mustn't be __exit.
Reported by Jan-Benedict Glaw <jbglaw@lug-owl.de>.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit 8c5a950c9693aa24828d16dd7bc38bced3f37d48
Author: Joel Becker <joel.becker@oracle.com>
Date: Fri Jan 6 13:46:31 2006 -0800
o Remove confusing Kconfig text for CONFIGFS_FS.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
commit d540c7428d297ab041e6cac72b9045e7b8f93f2b
Author: Adrian Bunk <bunk@stusta.de>
Date: Fri Feb 3 03:05:00 2006 -0800
[PATCH] IDE: always enable CONFIG_PDC202XX_FORCE
Remove the CONFIG_PDC202XX_FORCE=n case.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9ea244b4b545ecb323d042a0df5c080edefcd1fc
Author: Loren M. Lang <lorenl@alzatex.com>
Date: Fri Feb 3 03:04:59 2006 -0800
[PATCH] RocketPoint 1520 [hpt366] fails clock stabilization
I just purchased a HighPoint Rocket 1520 SATA controller. There seems to
be no libata driver (yet), but there is an ide driver, hpt366. When the
driver gets loaded, it causes a kernel NULL pointer dereference in
pci_bus_clock_list. It seems to be because the driver is waiting for clock
stabilization in init_hpt37x() which never comes. The driver just
continues on with the pci drvdata set to NULL, instead of a valid clock
entry. The following patch prevents the NULL dereference from happening,
but instead exit with an error.
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0c866b5103ad65de04a2a211f8db56820179cb53
Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri Feb 3 03:04:58 2006 -0800
[PATCH] ide: set latency when resetting it821x out of firmware mode
Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f7ad836c4442e1d146b11cf359432aa68c7ed95d
Author: Jean Delvare <khali@linux-fr.org>
Date: Fri Feb 3 03:04:57 2006 -0800
[PATCH] ide-disk: Restore missing space in log message
Restore a missing space in a log message, which was accidentally
removed by a previous change: 3e087b575496b8aa445192f58e7d996b1cdfa121
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Jens Axboe <axboe@suse.de>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a7ff7d41fec06c518caa82a818a70610a29d0e75
Author: Adrian Bunk <bunk@stusta.de>
Date: Fri Feb 3 03:04:56 2006 -0800
[PATCH] drivers/ide/ide-io.c: make __ide_end_request() static
Since there's no longer any external user, we can make __ide_end_request()
static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6842f8c8dac7c06cbf0aac87824f1ff337be31cb
Author: Ingo Molnar <mingo@elte.hu>
Date: Fri Feb 3 03:04:55 2006 -0800
[PATCH] solve false-positive soft lockup messages during IDE init
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Rogio Brito <rbrito@ime.usp.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9810933701a09f9c4dd0ad963d5ec2efb7df07b7
Author: Richard Purdie <rpurdie@rpsys.net>
Date: Fri Feb 3 03:04:55 2006 -0800
[PATCH] stop CompactFlash devices being marked as removable
This patch stops CompactFlash devices being marked as removable. They are
not removable (as defined by Linux) as the media and device are
inseparable. When a card is removed, the whole device is removed from the
system and never sits in a media-less state.
This stops some nasty udev device creation/destruction loops.
Further, once this change is made, there is no need for ide to can be
removed from ide_drive_t.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3b6ce2497f091620dd4c172fc11d867a9b072dc5
Author: Andreas Mohr <andi@rhlx01.fht-esslingen.de>
Date: Fri Feb 3 03:04:54 2006 -0800
[PATCH] ide Kconfig fixes
CONFIG_BLK_DEV_IDECS docu mentions everything and the kitchen sink, yet
fails to list the most important/widespread (IMHO) device: Compact Flash
PCMCIA adapters.
This incomplete description recently caused me to deselect the ide_cs
module, causing great pain soon thereafter when I realized why I had
actually enabled it some years ago.
Updates:
- make sure to mention Compact Flash adapters
- fix some random typos in ide Kconfig
Signed-off-by: Andreas Mohr <andi@lisas.de>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d57d39c81271a0808eabcf7bdc409312b5262b69
Author: Bjorn Helgaas <bjorn.helgaas@hp.com>
Date: Fri Feb 3 03:04:53 2006 -0800
[PATCH] ia64: drop arch-specific IDE MAX_HWIFS definition
There's no reason MAX_HWIFS needs to be ia64-specific, so set MAX_HWIFS
from CONFIG_IDE_MAX_HWIFS.
This reduces the default from 10 to 4, but I don't think that's a problem.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit b7bed9ec44cb282425f56033e5fb5448086cd758
Author: Jason Gaston <jason.d.gaston@intel.com>
Date: Fri Feb 3 03:04:52 2006 -0800
[PATCH] piix: add Intel ICH8M device IDs
Signed-off-by: Jason Gaston <Jason.d.gaston@intel.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 12fc1d7b4b08a80776de3073439a09f54ce31f8f
Author: Jayachandran C <c.jayachandran@gmail.com>
Date: Fri Feb 3 03:04:51 2006 -0800
[PATCH] IPMI: fix issues reported by Coverity in ipmi_msghandler.c
While looking to the report by Coverity in ipmi, I came across the
following issue:
The IPMI message handler relies on two defines which are the same -one in
include/linux/ipmi.h
#define IPMI_NUM_CHANNELS 0x10
and one in drivers/char/ipmi/ipmi_msghandler.
#define IPMI_MAX_CHANNELS 16
These are used interchangeably in ipmi_msghandler.c, but since the array
addr->channels[] is of size IPMI_MAX_CHANNELS, I have made a patch that
uses IPMI_MAX_CHANNELS for all the checks for the array index.
NOTE: You could probably remove the line that defines IPMI_NUM_CHANNELS
from ipmi.h, or move IPMI_MAX_CHANNELS to ipmi.h
Signed-off-by: Jayachandran C. <c.jayachandran@gmail.com>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit db9a369ec172c8251dbc6f7bf6bf13f6c5b6e7f5
Author: Jayachandran C <c.jayachandran@gmail.com>
Date: Fri Feb 3 03:04:50 2006 -0800
[PATCH] UDF: Fix issues reported by Coverity in namei.c
This patch fixes an issue in fs/udf/namei.c reported by Coverity:
Error reported(1776)
CID: 1776
Checker: UNUSED_VALUE (help)
File: fs/udf/namei.c
Function: udf_lookup
Description: Pointer returned from "udf_find_entry" is never used
Patch description:
remove unused variable fi.
Signed-off-by: Jayachandran C. <c.jayachandran@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 99603966f5b44693901ea68cef2c1c21ce6a49c3
Author: KAMBAROV, ZAUR <kambarov@berkeley.edu>
Date: Fri Feb 3 03:04:49 2006 -0800
[PATCH] coverity: udf/balloc.c null deref fix
It's doing
if (obh)
<stuff>
else
dereference obh
So presumably `obh' is never null in there.
This defect was found automatically by Coverity Prevent, a static analysis
tool.
Signed-off-by: Zaur Kambarov <zkambarov@coverity.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7656f328f68b351a8bb71ad465cedc8d0a039f9e
Author: Vincent Hanquez <vincent@snarc.org>
Date: Fri Feb 3 03:04:48 2006 -0800
[PATCH] debugfs: hard link count wrong
Fix incorrect nlink of root inode for filesystems that use
simple_fill_super().
Signed-off-by: Vincent Hanquez <vincent@snarc.org>
Cc: Greg KH <gregkh@suse.de>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ddca2488a2a69421924485bbcec39b512b580d0e
Author: Karsten Keil <kkeil@suse.de>
Date: Fri Feb 3 03:04:48 2006 -0800
[PATCH] i4l: warning fixes
drivers/isdn/hisax/hscx_irq.c: In function `hscx_interrupt':
drivers/isdn/hisax/hscx_irq.c:201: warning: comparison is always 1 due to width of bit-field
It's due to
(PACKET_NOACK != bcs->tx_skb->pkt_type)
pkt_type is only three bit wide.
I think this should fix it for the moment, pkt_type 7 is not used yet and
this is only used internal in hisax.
Signed-off-by: Karsten keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit def9391c561c60e9d0aab58abca5404acef1de4b
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 03:04:47 2006 -0800
[PATCH] ip2main.c warning fixes
With Eric's "i386: Add a temporary to make put_user more type safe" patch we
get a pile of warnings out of ip2m1in.c:
drivers/char/ip2main.c: In function `ip2_ipl_ioctl':
drivers/char/ip2main.c:2910: warning: assignment makes integer from pointer without a cast
drivers/char/ip2main.c:2911: warning: assignment makes integer from pointer without a cast
drivers/char/ip2main.c:2912: warning: assignment makes integer from pointer without a cast
etc.
This ioctl is copying the kernel virtual address of a large number of
functions out to userspace. Heaven knows why.
Rather than fixing the warnings, I think we'll just nuke that code.
The patch also fixes a couple of `defined but not used' warnings.
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6d94074f0804143eac6bce72dc04447c0040e7d8
Author: Davi Arnaut <davi.arnaut@gmail.com>
Date: Fri Feb 3 03:04:46 2006 -0800
[PATCH] Fix keyctl usage of strnlen_user()
In the small window between strnlen_user() and copy_from_user() userspace
could alter the terminating `\0' character.
Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 353368dffb56b066cbe00264581a56caf0241b29
Author: Eric W. Biederman <ebiederm@xmission.com>
Date: Fri Feb 3 03:04:45 2006 -0800
[PATCH] edac_mc: Remove include of version.h
By including version.h edac_mc was rebuilding on every incremental build.
Which defeats the point of incremental builds.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3b641407a1447759ac8159180e90ed2e4387a0b6
Author: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Date: Fri Feb 3 03:04:44 2006 -0800
[PATCH] fat: Fix truncate() write ordering
The truncate() should write the file size before writing the new EOF entry.
This patch fixes it.
This bug was pointed out by Machida Hiroyuki.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e60e5c50aa5389db86e96fc52d02bc7db3d23f4a
Author: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Date: Fri Feb 3 03:04:43 2006 -0800
[PATCH] Trivial optimization of ll_rw_block()
The ll_rw_block() needs to get ref-count only if it submits a buffer(). This
patch avoids the needless get/put of ref-count.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5b00226d4d3aa7969d84e16f857ea100465d9c98
Author: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Date: Fri Feb 3 03:04:42 2006 -0800
[PATCH] fat: Replace an own implementation with ll_rw_block(SWRITE,)
This patch replaces an own implementation with LL_RW_BLOCK(SWRITE,) which was
newly added.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 514a01b880d28a3029d9e35de72ad8d2f95b31d0
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 03:04:41 2006 -0800
[PATCH] uninline __sigqueue_free()
Five callsites. I dunno how all this crap got back in there :(
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 808249ceba49cdb3054c0aa5b75a61862d6cab94
Author: Paul Fulghum <paulkf@microgate.com>
Date: Fri Feb 3 03:04:41 2006 -0800
[PATCH] new tty buffering locking fix
Change locking in the new tty buffering facility from using tty->read_lock,
which is currently ignored by drivers and thus ineffective. New locking
uses a new tty buffering specific lock enforced centrally in the tty
buffering code.
Two drivers (esp and cyclades) are updated to use the tty buffering
functions instead of accessing tty buffering internals directly. This is
required for the new locking to work.
Minor checks for NULL buffers added to
tty_prepare_flip_string/tty_prepare_flip_string_flags
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 546cfdf47f2ea2438b01f8626a60b87f9d8d1e53
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Fri Feb 3 03:04:40 2006 -0800
[PATCH] ipmi: mem_{in,out}[bwl] => intf_mem_{in,out}[bwl]
On mips:
drivers/char/ipmi/ipmi_si_intf.c:1274: error: conflicting types for 'mem_inb'
include/asm/io.h:436: error: previous definition of 'mem_inb' was here
Don't look at line 436 unless you really know what you're doing.
Move those static functions out of more or less generic namespace.
Signed-off-by: Alexey "## should be banned" Dobriyan <adobriyan@gmail.com>
Acked-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 2c5d81a58106fa333467beab5f11dafab07b3e66
Author: Fernando Luis Vazquez Cao <fernando@intellilink.co.jp>
Date: Fri Feb 3 03:04:39 2006 -0800
[PATCH] Compilation of kexec/kdump broken
The compilation of kexec/kdump seems to be broken for x86_64. Remove the
dependency of kexec on CONFIG_IA32_EMULATION.
Signed-off-by: Fernando Vazquez <fernando@intellilink.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bb3b9cf122eb097ed9fe8ae50e1b0dbba9bbe447
Author: Paul E. McKenney <paulmck@us.ibm.com>
Date: Fri Feb 3 03:04:38 2006 -0800
[PATCH] Fix comment to synchronize_sched()
Fix to broken comment to synchronize_rcu() noted by Keith Owens. Also add
sentence noting that synchronize_sched() and synchronize_rcu() are not
necessarily identical.
Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com>
Cc: Keith Owens <kaos@sgi.com>
Cc: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9d9c0531c91755a90b646b27bb722d59ee3eb46d
Author: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri Feb 3 03:04:37 2006 -0800
[PATCH] quota: fix error code for ext2_new_inode()
The quota check in ext2_new_inode() returns ENOSPC where it should return
EDQUOT instead.
Signed-off-by: Herbert Pötzl <herbert@13thfloor.at>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 69dcc99199fe29b0a29471a3488d39d9d33b25fc
Author: Zhang, Yanmin <yanmin.zhang@intel.com>
Date: Fri Feb 3 03:04:36 2006 -0800
[PATCH] Export cpu topology in sysfs
The patch implements cpu topology exportation by sysfs.
Items (attributes) are similar to /proc/cpuinfo.
1) /sys/devices/system/cpu/cpuX/topology/physical_package_id:
represent the physical package id of cpu X;
2) /sys/devices/system/cpu/cpuX/topology/core_id:
represent the cpu core id to cpu X;
3) /sys/devices/system/cpu/cpuX/topology/thread_siblings:
represent the thread siblings to cpu X in the same core;
4) /sys/devices/system/cpu/cpuX/topology/core_siblings:
represent the thread siblings to cpu X in the same physical package;
To implement it in an architecture-neutral way, a new source file,
driver/base/topology.c, is to export the 5 attributes.
If one architecture wants to support this feature, it just needs to
implement 4 defines, typically in file include/asm-XXX/topology.h.
The 4 defines are:
#define topology_physical_package_id(cpu)
#define topology_core_id(cpu)
#define topology_thread_siblings(cpu)
#define topology_core_siblings(cpu)
The type of **_id is int.
The type of siblings is cpumask_t.
To be consistent on all architectures, the 4 attributes should have
deafult values if their values are unavailable. Below is the rule.
1) physical_package_id: If cpu has no physical package id, -1 is the
default value.
2) core_id: If cpu doesn't support multi-core, its core id is 0.
3) thread_siblings: Just include itself, if the cpu doesn't support
HT/multi-thread.
4) core_siblings: Just include itself, if the cpu doesn't support
multi-core and HT/Multi-thread.
So be careful when declaring the 4 defines in include/asm-XXX/topology.h.
If an attribute isn't defined on an architecture, it won't be exported.
Thank Nathan, Greg, Andi, Paul and Venki.
The patch provides defines for i386/x86_64/ia64.
Signed-off-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 66ac5a294db70aa377c0d7bbdb0c4e3ef2349b7b
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Fri Feb 3 03:04:35 2006 -0800
[PATCH] ixj: fix writing silence check
j->write_buffer_rp is a pointer.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f0c00257d63463fa9d692e632fae037d6c0e67b0
Author: Peter Williams <pwil3058@bigpond.net.au>
Date: Fri Feb 3 03:04:33 2006 -0800
[PATCH] lib: Fix bug in int_sqrt() for 64 bit longs
The implementation of int_sqrt() assumes that longs have 32 bits. On
systems that have 64 bit longs this will result in gross errors when the
argument to the function is greater than 2^32 - 1 on such systems. I doubt
whether any such use is currently made of int_sqrt() but the attached patch
fixes the problem anyway.
Signed-off-by: Peter Williams <pwil3058@bigpond.com.au>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6bf8d889ed453f709dedacabdcf5db47470fdae9
Author: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri Feb 3 03:04:32 2006 -0800
[PATCH] quota: remove unused sync_dquots_dev()
The already removed sync_dquots_dev(dev,type) is still defined in the
no-quota case.
Signed-off-by: Herbert Pötzl <herbert@13thfloor.at>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1374ae8b9a3789695962a0f3fd4c6eb7aff881bc
Author: Adrian Bunk <bunk@stusta.de>
Date: Fri Feb 3 03:04:31 2006 -0800
[PATCH] drivers/serial/jsm/: cleanups
- jsm_driver.c: remove the now unused jsm_rawreadok module_param
- jsm_tty.c: remove a now unused variable
Is there any problem with removing the now useless jsm_rawreadok
module_param?
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: V. Ananda Krishnan <mansarov@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0a577ce34f703c885f807e2abc77dff02c7857af
Author: V. Ananda Krishnan <mansarov@us.ibm.com>
Date: Fri Feb 3 03:04:30 2006 -0800
[PATCH] jsm: update for tty buffering revamp
Signed-off-by: V. Ananda Krishnan <mansarov@us.ibm.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 7d95c8f27d9be65bf160f1edaf653d33dfceb58c
Author: dean gaudet <dean@arctic.org>
Date: Fri Feb 3 03:04:30 2006 -0800
[PATCH] fcntl F_SETFL and read-only IS_APPEND files
There is code in setfl() which attempts to preserve the O_APPEND flag on
IS_APPEND files... however IS_APPEND files could also be opened O_RDONLY
and in that case setfl() should not require O_APPEND...
coreutils 5.93 tail -f attempts to set O_NONBLOCK even on regular files...
unfortunately if you try this on an append-only log file the result is
this:
fcntl64(3, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fcntl64(3, F_SETFL, O_RDONLY|O_NONBLOCK|O_LARGEFILE) = -1 EPERM (Operation not permitted)
I offer up the patch below as one way of fixing the problem... i've tested
it fixes the problem with tail -f but haven't really tested beyond that.
(I also reported the coreutils bug upstream... it shouldn't fail imho...
<https://savannah.gnu.org/bugs/index.php?func=detailitem&...>)
Signed-off-by: dean gaudet <dean@arctic.org>
Cc: Al Viro <viro@ftp.linux.org.uk>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8b3e09e19932835fb77c63aaf3b1af6117e78871
Author: Markus Lidel <Markus.Lidel@shadowconnect.com>
Date: Fri Feb 3 03:04:29 2006 -0800
[PATCH] I2O: fix and workaround for Motorola/Freescale controller
- This controller violates the I2O spec for the I/O registers. The patch
contains a workaround which moves the registers to the proper location.
(originally author: Matthew Starzewski)
- If a message frame is beyond the mapped address range a error is
returned.
Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 15d8ec7d08fbb7876e292b42bc92da8d82df7ea9
Author: Markus Lidel <Markus.Lidel@shadowconnect.com>
Date: Fri Feb 3 03:04:28 2006 -0800
[PATCH] I2O: don't disable PCI device if it is enabled before probing
If PCI device is enabled before probing, it will not be disabled at exit.
Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 35dc8161d0a6fa5e654bcb3d6240acc9ecb0a259
Author: Jeff Moyer <jmoyer@redhat.com>
Date: Fri Feb 3 03:04:27 2006 -0800
[PATCH] fix O_DIRECT read of last block in a sparse file
Currently, if you open a file O_DIRECT, truncate it to a size that is not a
multiple of the disk block size, and then try to read the last block in the
file, the read will return 0. The problem is in do_direct_IO, here:
/* Handle holes */
if (!buffer_mapped(map_bh)) {
char *kaddr;
...
if (dio->block_in_file >=
i_size_read(dio->inode)>>blkbits) {
/* We hit eof */
page_cache_release(page);
goto out;
}
We shift off any remaining bytes in the final block of the I/O, resulting
in a 0-sized read. I've attached a patch that fixes this. I'm not happy
about how ugly the math is getting, so suggestions are more than welcome.
I've tested this with a simple program that performs the steps outlined for
reproducing the problem above. Without the patch, we get a 0-sized result
from read. With the patch, we get the correct return value from the short
read.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Suparna Bhattacharya <suparna@in.ibm.com>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Joel Becker <Joel.Becker@oracle.com>
Cc: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 835417967c10b6dfaffdffddba59196196e5d431
Author: Carsten Otte <cotte@de.ibm.com>
Date: Fri Feb 3 03:04:25 2006 -0800
[PATCH] ext2: print xip mount option in ext2_show_options
In case we have CONFIG_FS_XIP, ext2_show_options shows "xip" if
EXT2_MOUNT_XIP mount flag is set.
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit a18546110ed6bec483d55bfffccb2487dfbd77af
Author: schwab@suse.de <schwab@suse.de>
Date: Fri Feb 3 03:04:24 2006 -0800
[PATCH] disable per cpu intr in /proc/stat
Don't compute and display the per-irq sums on ia64 either, too much
overhead for mostly useless figures.
Cc: Olaf Hering <olh@suse.de>
Acked-by: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0d38b049fe8df77c8e9dc48d0fd84555739fbb1a
Author: Randy Dunlap <rdunlap@xenotime.net>
Date: Fri Feb 3 03:04:24 2006 -0800
[PATCH] edac: use C99 initializers (sparse warnings)
drivers/edac/e752x_edac.c:1042:7: warning: obsolete struct initializer, use C99 syntax
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit fe85a998ca64a067e58ca9240ec54a95994d78ee
Author: Randy Dunlap <rdunlap@xenotime.net>
Date: Fri Feb 3 03:04:23 2006 -0800
[PATCH] cpuset: fix sparse warning
kernel/cpuset.c:644:38: warning: non-ANSI function declaration of function
'cpuset_update_task_memory_state'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 778116920e89b91b19d2b488a0d6fe63cf43379c
Author: Arnaud Giersch <arnaud.giersch@free.fr>
Date: Fri Feb 3 03:04:22 2006 -0800
[PATCH] parport: remove dead address in MAINTAINERS
Remove dead address for David Campbell in MAINTAINERS.
Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0ef3b49cc24963a11125971b8deaa8b46209d113
Author: Arnaud Giersch <arnaud.giersch@free.fr>
Date: Fri Feb 3 03:04:21 2006 -0800
[PATCH] parport: fix documentation
Fix documentation to actually match the code.
Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 88fc3897e3219e63ae6e2d180a6c87d033ef9f3b
Author: George Anzinger <george@wildturkeyranch.net>
Date: Fri Feb 3 03:04:20 2006 -0800
[PATCH] Normalize timespec for negative values in ns_to_timespec
- In case of a negative nsec value the result of the division must be
normalized.
- Remove inline from an exported function.
Signed-off-by: George Anzinger <george@wildturkeyranch.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 034b91a3b66cf9d2983ac45f73162395c0936c36
Author: Latchesar Ionkov <lucho@ionkov.net>
Date: Fri Feb 3 03:04:20 2006 -0800
[PATCH] v9fs: fix corner cases when flushing request
When v9fs_mux_rpc sends a 9P message, it may be put in the queue of unsent
request. If the user process receives a signal, v9fs_mux_rpc sets the
request error to ERREQFLUSH and assigns NULL to request's send message. If
the message was still in the unsent queue, v9fs_write_work would produce an
oops while processing it.
The patch makes sure that requests that are being flushed are moved to the
pending requests queue safely.
If a request is being flushed, don't remove it from the list of pending
requests even if it receives a reply before the flush is acknoledged. The
request will be removed during from the Rflush handler (v9fs_mux_flush_cb).
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 05818a004a84951fd383694f3b35d89eb49fa308
Author: Latchesar Ionkov <lucho@ionkov.net>
Date: Fri Feb 3 03:04:18 2006 -0800
[PATCH] v9fs: v9fs_put_str fix
v9fs_put_str used to store pointer to the source string, instead of the
cbuf copy. This patch corrects it.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 93c615feffbcea4f09ecee154f46062f6041776e
Author: Latchesar Ionkov <lucho@ionkov.net>
Date: Fri Feb 3 03:04:17 2006 -0800
[PATCH] v9fs: symlink support fixes
Two symlink fixes, v9fs_readlink didn't copy the last character of the
symlink name, v9fs_vfs_follow_link incorrectly called strlen of newly
allocated buffer instead of PATH_MAX.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8e75f744289f0a1c38b669e39a489af460640881
Author: Arnaud Giersch <arnaud.giersch@free.fr>
Date: Fri Feb 3 03:04:16 2006 -0800
[PATCH] parport: add parallel port support for SGI O2
Add support for the built-in parallel port on SGI O2 (a.k.a. IP32).
Define a new configuration option: PARPORT_IP32. The module is named
parport_ip32.
Hardware support for SPP, EPP and ECP modes along with DMA support when
available are currently implemented.
Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bd3bfeb58aeddb660dc600ded2fa9243e0c2d12b
Author: Felix Oxley <lkml@oxley.org>
Date: Fri Feb 3 03:04:15 2006 -0800
[PATCH] fs/jffs/intrep.c: 255 is unsigned char
Signed-off-by: Felix Oxley <lkml@oxley.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit abffa7da99b78caaf81a2f519bf9cbd1e8dcbc1d
Author: Domen Puncer <domen@coderock.org>
Date: Fri Feb 3 03:04:14 2006 -0800
[PATCH] drivers/isdn/sc/ioctl.c: copy_from_user() size fix
A few lines above the patch we have:
char *srec;
srec = kmalloc(SCIOC_SRECSIZE, GFP_KERNEL);
sizeof pointer is probably not meant here.
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 74adb52797a7cde217a8ceeaf254a5441a42a72c
Author: Tobias Klauser <tklauser@nuerscht.ch>
Date: Fri Feb 3 03:04:13 2006 -0800
[PATCH] umem: check pci_set_dma_mask return value correctly
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit dfa08592ca0440d793ecc8dfc6277dd2aa4b8dda
Author: Andreas Gruenbacher <agruen@suse.de>
Date: Fri Feb 3 03:04:13 2006 -0800
[PATCH] Fix two ext[23] uninitialized warnings
There is a code path that passed size to ext2_xattr_set
(ext3_xattr_set_handle) before initializing it. The callees don't use the
value in that case, but gcc cannot tell. Always initialize size to get rid
of the warnings.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 9d923a0603b5909a6758cfaec503955775cb7ab1
Author: Andreas Schwab <schwab@suse.de>
Date: Fri Feb 3 03:04:12 2006 -0800
[PATCH] ufs: fix char vs. __s8 clash in ufs
Fix this warning:
fs/ufs/super.c: In function ‘ufs_fill_super’:
fs/ufs/super.c:858: warning: case label value exceeds maximum value for type
which happens because __s8 != char. These macros are used for struct
ufs_super_block.fs_clean which is declared as __s8.
Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 90cbc45b1d8a81e661a981ddd69f95d6915f1574
Author: Dave Jones <davej@redhat.com>
Date: Fri Feb 3 03:04:11 2006 -0800
[PATCH] EDAC config cleanup
The AMD76x chipsets aren't used in 64-bit, so don't offer the driver to the
user.
Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 23332c2e9da16b717f18fd95bc90211a663aa6ee
Author: Tong Li <tong.n.li@intel.com>
Date: Fri Feb 3 03:04:09 2006 -0800
[PATCH] OProfile: fixed x86_64 incorrect kernel call graphs
Fix the problem in kernel 2.6.15.1 (and early versions) that OProfile on
x86_64 does not correctly collect the stack traces for kernel functions.
The original code in valid_kernel_stack() in arch/i386/oprofile/backtrace.c
assumes that the frame pointer (headaddr) should be greater than stack
(i.e., regs).
This assumption is wrong for x86_64 because NMIs in x86_64 use a seperate
stack different from the kernel stack. Therefore, the variable stack now
points to some location on the NMI stack, which turns out to be at a higher
address than the frame pointer (headaddr) on the kernel stack. The correct
comparison here should be between headaddr and regs->rsp for x86_64.
Signed-off-by: Tong Li <tong.n.li@intel.com>
Cc: John Levon <levon@movementarian.org>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8145916996b91d42b8bb4b0fcd508af295222c7c
Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri Feb 3 03:04:08 2006 -0800
[PATCH] Fix some ucLinux breakage from the tty updates
Breakage reported by Adrian Bunk
Untested (no hardware)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 84542838a3829f34630c589c1eb570656c455a1c
Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri Feb 3 03:04:07 2006 -0800
[PATCH] rio cleanups
INKERNEL is always defined
HOST is never defined
therefore RTA is also never defined
Strip the relevant garbage out of the headers on this basis.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 47ba87e0b1269698801310bfd1716b0538282405
Author: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Date: Fri Feb 3 03:04:06 2006 -0800
[PATCH] make "struct d_cookie" depend on CONFIG_PROFILING
Shrinks "struct dentry" from 128 bytes to 124 on x86, allowing 31 objects
per slab instead of 30.
Cc: John Levon <levon@movementarian.org>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 09114eb8c53d2d3b2ff9523e011cb68b2e245dce
Author: Evgeniy Dushistov <dushistov@mail.ru>
Date: Fri Feb 3 03:04:06 2006 -0800
[PATCH] ufs: fix hang during `rm'
This fixes the code like this:
bh = sb_find_get_block (sb, tmp + j);
if ((bh && DATA_BUFFER_USED(bh)) || tmp != fs32_to_cpu(sb, *p)) {
retry = 1;
brelse (bh);
goto next1;
}
bforget (bh);
sb_find_get_block() ordinarily returns a buffer_head with b_count>=2, and
this code assume that in case if "b_count>1" buffer is used, so this caused
infinite loop.
(akpm: that is-the-buffer-busy code is incomprehensible. Good riddance. Use
of block_truncate_page() seems sane).
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e295cfcb2907ae4c5df57f5d4ada1ce6f3ae4657
Author: Evgeniy Dushistov <dushistov@mail.ru>
Date: Fri Feb 3 03:04:04 2006 -0800
[PATCH] ufs: fix oops with `ufs1' type
"rm" command, on file system with "ufs1" type cause system hang up. This
is, in fact, not so bad as it seems to be, because of after that in "kernel
control path" there are 3-4 places which may cause "oops".
So the first patch fix oopses, and the second patch fix "kernel hang up".
"oops" appears because of reading of group's summary info partly wrong, and
access to not first group's summary info cause "oops".
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 19dfe31c29e0ebb88cf1cd2211da3e2ff2a26d52
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 03:04:04 2006 -0800
[PATCH] sx.c printk warning fixes
drivers/char/sx.c: In function `sx_set_real_termios':
drivers/char/sx.c:934: warning: long unsigned int format, different type arg (arg 2)
drivers/char/sx.c:961: warning: long unsigned int format, different type arg (arg 2)
drivers/char/sx.c:976: warning: long unsigned int format, different type arg (arg 2)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8c17e1eb05977283bc7ad94d16ace3a0d586921a
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 03:04:03 2006 -0800
[PATCH] quota_v2: printk warning fixes
fs/quota_v2.c: In function `v2_check_quota_file':
fs/quota_v2.c:39: warning: int format, different type arg (arg 2)
fs/quota_v2.c:39: warning: int format, different type arg (arg 3)
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f4f64e9ded28bcdb2cb57438bd1721579f8b28c0
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 03:04:02 2006 -0800
[PATCH] parport_serial: printk warning fix
drivers/parport/parport_serial.c: In function `parport_register':
drivers/parport/parport_serial.c:334: warning: unsigned int format, different type arg (arg 3)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d35c602870ece3166cff3d25fbc687a7f707acf3
Author: Vitaly Fertman <vitaly@namesys.com>
Date: Fri Feb 3 03:04:01 2006 -0800
[PATCH] someone broke reiserfs V3 mount options, this fixes it
Signed-off-by: Hans Reiser <reiser@namesys.com>
Signed-off-by: Vitaly Fertman <vitaly@namesys.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 3636641bb2c7a806c1099ca092ec8cd180063f9b
Author: Adrian Bunk <bunk@stusta.de>
Date: Fri Feb 3 03:04:00 2006 -0800
[PATCH] don't allow users to set CONFIG_BROKEN=y
Do not allow people to create configurations with CONFIG_BROKEN=y.
The sole reason for CONFIG_BROKEN=y would be if you are working on fixing a
broken driver, but in this case editing the Kconfig file is trivial.
Never ever should a user enable CONFIG_BROKEN.
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 145046d31ecf9f4f1ba80c8d21225158f6d1738c
Author: Randy Dunlap <rdunlap@xenotime.net>
Date: Fri Feb 3 03:03:59 2006 -0800
[PATCH] parport: fix printk format warning
Fix printk format warning:
drivers/parport/probe.c:205: warning: format '%d' expects type 'int', but argument 3 has type
'size_t'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit de6c642ca9566ed358e1cde5fa0e25f7788a5566
Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri Feb 3 03:03:58 2006 -0800
[PATCH] SBC EPX does not check/claim I/O ports it uses (2nd Edition)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 5423980245c56fd968840b6d36bbddc2719084e4
Author: Andrew Morton <akpm@osdl.org>
Date: Fri Feb 3 03:03:58 2006 -0800
[PATCH] sx.c warning fixes
drivers/char/sx.c: In function `sx_set_real_termios':
drivers/char/sx.c:934: warning: int format, long unsigned int arg (arg 2)
drivers/char/sx.c:961: warning: unsigned int format, tcflag_t arg (arg 2)
drivers/char/sx.c:976: warning: unsigned int format, tcflag_t arg (arg 2)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8d1d0340da3fc7d1a8d9198e74e97d2db6c3f86f
Author: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Date: Fri Feb 3 03:03:57 2006 -0800
[PATCH] 3c59x: collision statistic fix
Count the total number of packets with collisions during transmission in
vp->stats.collisions.
Signed-off-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 490d6ab170c94a7a59870f528d765131b8963e79
Author: Zach Brown <zach.brown@oracle.com>
Date: Fri Feb 3 03:03:56 2006 -0800
[PATCH] list.h: don't evaluate macro args multiple times
I noticed that list.h init functions were evaluating macro arguments
multiple times and thought it might be nice to protect the unsuspecting
caller. Converting the macros to inline functions seems to reduce code
size, too. A i386 defconfig build with gcc 3.3.3 from fc4:
text data bss dec hex filename
3573148 565664 188828 4327640 4208d8 vmlinux.before
3572177 565664 188828 4326669 42050d vmlinux
add/remove: 0/0 grow/shrink: 11/144 up/down: 88/-1016 (-928)
There was no difference in checkstack output.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit bcc68b8616bcac47dbfc414398e382b3b10faf4c
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Fri Feb 3 03:03:54 2006 -0800
[PATCH] include/asm-*/bitops.h: fix more "~0UL >> size" typos
"[PATCH] m68knommu: fix find_next_zero_bit in bitops.h" fixed a typo in
m68knommu implementation of find_next_zero_bit().
grep(1) shows that cris, frv, h8300, v850 are also affected.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 54e8ce463a7e21dbe9dad57723ed47653ee5db15
Author: Keith Owens <kaos@sgi.com>
Date: Fri Feb 3 03:03:53 2006 -0800
[PATCH] Tell kallsyms_lookup_name() to ignore type U entries
When one module exports a function symbol and another module uses that
symbol then kallsyms shows the symbol twice. Once from the consumer with a
type of 'U' and once from the provider with a type of 't' or 'T'. On most
architectures, both entries have the same address so it does not matter
which one is returned by kallsyms_lookup_name(). But on architectures with
function descriptors, the 'U' entry points to the descriptor, not to the
code body, which is not what we want.
IA64 # grep -w qla2x00_remove_one /proc/kallsyms
a000000208c25ef8 U qla2x00_remove_one [qla2300] <= descriptor
a000000208bf44c0 t qla2x00_remove_one [qla2xxx] <= function body
Tell kallsyms_lookup_name() to ignore type U entries in modules.
Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 501fe31df4bb94999fbe9bb42f05527df5525683
Author: Cornelia Huck <cornelia.huck@de.ibm.com>
Date: Fri Feb 3 03:03:52 2006 -0800
[PATCH] s390: fix to_channelpath macro
Fix broken to_channelpath macro (fortunately worked in all current cases...).
Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit cd2d2bf657ef1f376def6f8281202f20800fee7d
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Fri Feb 3 03:03:52 2006 -0800
[PATCH] s390: fix compat syscall wrapper
Patch 9ad11ab48b1ad618bf47076e9e579f267f5306c2 changes the type of the first
argument of some compat syscalls from int to unsigned int. Add these changes
to the s390 compat wrapper as well.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6ff290a0c0dec40eb6f80efbb0ac88f518bbb2a7
Author: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Fri Feb 3 03:03:51 2006 -0800
[PATCH] s390: compile fix: missing defines in asm-s390/io.h
Compile fix: add missing __raw_read* and __raw_write* defines to
include/asm-s390/io.h.
These are mandatory since patch c27a0d75b33c030965cc97d3d7f571107a673fb4
was merged.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 6d7bfd14e593455a0801c62db86f82912c52c3a1
Author: Jan Glauber <jan.glauber@de.ibm.com>
Date: Fri Feb 3 03:03:50 2006 -0800
[PATCH] s390: timer interface visibility
Avoid visibility of kernel internal interface to user space.
Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 12c3a54848a6eba2b38cd92ba5925433d223332b
Author: Stefan Weinhuber <wein@de.ibm.com>
Date: Fri Feb 3 03:03:49 2006 -0800
[PATCH] s390: dasd extended error reporting module
The DASD extended error reporting is a facility that allows to get detailed
information about certain problems in the DASD I/O. This information can be
used to implement fail-over applications that can recover these problems.
Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit d237bf49261ed812a17f7123fea9b80ef673ca0f
Author: Thibaut VARENE <T-Bone@parisc-linux.org>
Date: Fri Feb 3 03:03:48 2006 -0800
[PATCH] ide: restore support for AEC6280M cards in aec62xx.c
This patch adds missing initialization sequence, necessary to get the
"Macintosh" version of AEC6280 cards to work in Linux. Without this patch,
the driver hangs for several minutes trying to initialize the card and the
kernel is left in an unstable state. This patch has been tested fine on
ppc and i386.
Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org>
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 75b84e94aa9fa74bda9a393b55ef6778b90eb1a8
Author: Martin Michlmayr <tbm@cyrius.com>
Date: Fri Feb 3 03:03:47 2006 -0800
[PATCH] Fix compilation errors in maps/dc21285.c
CC drivers/mtd/maps/dc21285.o
drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_32':
drivers/mtd/maps/dc21285.c:113: error: invalid lvalue in increment
drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_16':
drivers/mtd/maps/dc21285.c:124: error: invalid lvalue in increment
drivers/mtd/maps/dc21285.c: In function `dc21285_copy_to_8':
drivers/mtd/maps/dc21285.c:134: error: invalid lvalue in increment
make[3]: *** [drivers/mtd/maps/dc21285.o] Error 1
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit f434baf4c6ae4a392b7c34843825af0894c89db2
Author: Akinobu Mita <mita@miraclelinux.com>
Date: Fri Feb 3 03:03:46 2006 -0800
[PATCH] fix generic_fls64()
Noticed by Rune Torgersen.
Fix generic_fls64(). tcp_cubic is using fls64().
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c9ab8b68e2abb1eff7ac0f8d118a8765130b967d
Author: Linas Vepstas <linas@austin.ibm.com>
Date: Fri Feb 3 03:03:45 2006 -0800
[PATCH] Documentation: Updated PCI Error Recovery
This patch is a cleanup/restructuring/clarification of the PCI error
handling doc. It should look rather professional at this point.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit c0c1633bdb844ec5b4ac15c97ab8927d80550c42
Author: Dave Jones <davej@redhat.com>
Date: Fri Feb 3 03:03:44 2006 -0800
[PATCH] Fix build failure in recent pm_prepare_* changes.
kernel/power/power.h:49: error: static declaration of 'pm_prepare_console' follows non-static
declaration
include/linux/suspend.h:46: error: previous declaration of 'pm_prepare_console' was here
kernel/power/power.h:50: error: static declaration of 'pm_restore_console' follows non-static
declaration
include/linux/suspend.h:47: error: previous declaration of 'pm_restore_console' was here
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 278ff9537030bbb292b33504f5e1f6e0126793eb
Author: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Date: Fri Feb 3 03:03:43 2006 -0800
[PATCH] Kprobes: Fix deadlock in function-return probes
When two function-return probes are inserted on kfree()[1] and the second
on say, sys_link()[2], and later [2] is unregistered, we have a deadlock as
kfree is called with the kretprobe_lock held and the function-return probe
on kfree will also try to grab the same lock.
However, we can move the kfree() during unregistration to outside the
spinlock as we are sure that no instances from the free list will be used
after synchronized_sched() returns during the unregistration process.
Thanks to Masami Hiramatsu for spotting this.
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit e65cefe87beda627c0bfba39b387ee4bffedc93c
Author: Adrian Bunk <bunk@stusta.de>
Date: Fri Feb 3 03:03:42 2006 -0800
[PATCH] kernel/kprobes.c: fix a warning #ifndef ARCH_SUPPORTS_KRETPROBES
kernel/kprobes.c:353: warning: 'pre_handler_kretprobe' defined but not used
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Acked-by: "Keshavamurthy, Anil S" <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 8ed75463b969f72fd724ba0c01107fa443522321
Author: NeilBrown <neilb@suse.de>
Date: Fri Feb 3 03:03:41 2006 -0800
[PATCH] md: Make sure rdev->size gets set for version-1 superblocks
Sometimes it doesn't so make the code more like the version-0 code which
works.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 29fc7e3e70a05e9eea28afb6707a39c1a53e2f66
Author: NeilBrown <neilb@suse.de>
Date: Fri Feb 3 03:03:41 2006 -0800
[PATCH] md: Assorted little md fixes
- version-1 superblock
+ The default_bitmap_offset is in sectors, not bytes.
+ the 'size' field in the superblock is in sectors, not KB
- raid0_run should return a negative number on error, not '1'
- raid10_read_balance should not return a valid 'disk' number if
->rdev turned out to be NULL
- kmem_cache_destroy doesn't like being passed a NULL.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 284ae7cab0f7335c9e0aa8992b28415ef1a54c7c
Author: NeilBrown <neilb@suse.de>
Date: Fri Feb 3 03:03:40 2006 -0800
[PATCH] md: Handle overflow of mdu_array_info_t->size better
mdu_array_info_t->size is 'int', which isn't big enough for the size (in KB of
each component in) some arrays.
So rather than a random overflow, set size to -1 when it cannot be set
correctly.
To update aspect on an array, userspace will sometimes:
get_array_info
change one field
set_array_info
in this case, we don't want the '-1' in 'size' to change to size, or look like
a size change at all. So test for that in update_array_info.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit ab11f89929b785daaa428801bd8b7e65241d7913
Author: Linas Vepstas <linas@austin.ibm.com>
Date: Fri Feb 3 03:03:38 2006 -0800
[PATCH] Clean up Documentation/driver-model/overview.txt
Edits to the driver-model documentation for grammar, clarity and content.
These docs haven't been updated in years, and some of the technical content
and discussion has become stale; this patch updates these. In addition,
some of the language is awkward. Fix this.
(I'm trying to cleanup the other files in this directory also,
patches for these will come a bit later).
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 1989e20cc1e7491232795f9dac9b745e4329dfd8
Author: Michal Ostrowski <mostrows@watson.ibm.com>
Date: Fri Feb 3 03:03:37 2006 -0800
[PATCH] Fix RocketPort driver
Call "ld->receive_buf" using the start of the character and flag buffers,
rather than the ends.
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit 0dec456d1fe73e0539625f0973ee8ef8fb805943
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Thu Feb 2 20:40:09 2006 -0800
[NET]: Add CONFIG_NETDEBUG to suppress bad packet messages.
If you are on a hostile network, or are running protocol tests, you can
easily get the logged swamped by messages about bad UDP and ICMP packets.
This turns those messages off unless a config option is enabled.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6e2be3ea4fab4d1c02e369719311e8d7ae6cc7c1
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Thu Feb 2 17:29:59 2006 -0800
[TG3]: Update driver version and release date.
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 7faa006f94fda56a587242b2a22fa19abf840222
Author: Michael Chan <mchan@broadcom.com>
Date: Thu Feb 2 17:29:28 2006 -0800
[TG3]: Flush tg3_reset_task()
Make sure tg3_reset_task() is flushed in the close and suspend paths
as noted by Jeff Garzik.
In the close path, calling flush_scheduled_work() may cause deadlock
if linkwatch_event() is on the workqueue. linkwatch_event() will try
to get the rtnl_lock() which is already held by tg3_close(). So
instead, we set a flag in tg3_reset_task() and tg3_close() polls
the flag until it is cleared.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 3f330317ab4973178423aba750d6d0ca5ce0024a
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date: Thu Feb 2 17:15:41 2006 -0800
[TEXTSEARCH]: Fix broken good shift array calculation in Boyer-Moore
The current logic does not calculate correctly the good shift array:
Let x be the pattern that is being searched. Let y be the block of data.
The good shift array aligns the segment:
x[i+1 ... m-1] = y[i+j+1 ... j+m-1]
with its rightmost occurrence in x that fulfils x[i] neq y[i+j].
In previous version, the good shift array for the pattern ANPANMAN is:
[1, 8, 3, 8, 8, 8, 8, 8]
and should be:
[1, 8, 3, 6, 6, 6, 6, 6]
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit f00c401b9b5f0a90e2eb05705f5988fbda0b082b
Author: Horms <horms@verge.net.au>
Date: Thu Feb 2 17:03:18 2006 -0800
[IPV4]: Remove suprious use of goto out: in icmp_reply
This seems to be an artifact of the follwoing commit in February '02.
e7e173af42dbf37b1d946f9ee00219cb3b2bea6a
In a nutshell, goto out and return actually do the same thing,
and both are called in this function. This patch removes out.
Signed-Off-By: Horms <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 95f7daf1c058dc6afbc2d33b6a65ce1bae132dc8
Author: Horms <horms@verge.net.au>
Date: Thu Feb 2 17:02:25 2006 -0800
[IPV4]: Document icmp_errors_use_inbound_ifaddr sysctl
Taken largely from the commit of the patch that added this feature:
1c2fb7f93cb20621772bf304f3dba0849942e5db
I'm not sure about the ordering of the options in sysctl.txt,
so I took a wild guess about where it fits.
Signed-Off-By: Horms <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 6f4b6ec1cffcbb12cc47244381496d59b6a5a790
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu Feb 2 17:01:13 2006 -0800
[IPV6]: Fix illegal dst locking in softirq context.
On Tue, Jan 31, 2006 at 10:24:32PM +0100, Ingo Molnar wrote:
>
> [<c04de9e8>] _write_lock+0x8/0x10
> [<c0499015>] inet6_destroy_sock+0x25/0x100
> [<c04b8672>] tcp_v6_destroy_sock+0x12/0x20
> [<c046bbda>] inet_csk_destroy_sock+0x4a/0x150
> [<c047625c>] tcp_rcv_state_process+0xd4c/0xdd0
> [<c047d8e9>] tcp_v4_do_rcv+0xa9/0x340
> [<c047eabb>] tcp_v4_rcv+0x8eb/0x9d0
OK this is definitely broken. We should never touch the dst lock in
softirq context. Since inet6_destroy_sock may be called from that
context due to the asynchronous nature of sockets, we can't take the
lock there.
In fact this sk_dst_reset is totally redundant since all IPv6 sockets
use inet_sock_destruct as their socket destructor which always cleans
up the dst anyway. So the solution is to simply remove the call.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit f8addb3215bf58154f189017d934dfc06b62c75e
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu Feb 2 16:59:16 2006 -0800
[IPV4] multipath_wrandom: Fix softirq-unsafe spin lock usage
The spin locks in multipath_wrandom may be obtained from either process
context or softirq context depending on whether the packet is locally
or remotely generated. Therefore we need to disable BH processing when
taking these locks.
This bug was found by Ingo's lock validator.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 27852c26baab8b95fc9a2b3e8a18770ecd553f10
Author: Vlad Yasevich <vladislav.yasevich@hp.com>
Date: Thu Feb 2 16:57:31 2006 -0800
[SCTP]: Fix 'fast retransmit' to send a TSN only once.
SCTP used to "fast retransmit" a TSN every time we hit the number
of missing reports for the TSN. However the Implementers Guide
specifies that we should only "fast retransmit" a given TSN once.
Subsequent retransmits should be timeouts only. Also change the
number of missing reports to 3 as per the latest IG(similar to TCP).
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 4641e7a334adf6856300a98e7296dfc886c446af
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Thu Feb 2 16:55:45 2006 -0800
[IPV6]: Don't hold extra ref count in ipv6_ifa_notify
Currently the logic in ipv6_ifa_notify is to hold an extra reference
count for addrconf dst's that get added to the routing table. Thus,
when addrconf dst entries are taken out of the routing table, we need
to drop that dst. However, addrconf dst entries may be removed from
the routing table by means other than __ipv6_ifa_notify.
So we're faced with the choice of either fixing up all places where
addrconf dst entries are removed, or dropping the extra reference count
altogether.
I chose the latter because the ifp itself always holds a dst reference
count of 1 while it's alive. This is dropped just before we kfree the
ifp object. Therefore we know that in __ipv6_ifa_notify we will always
hold that count.
This bug was found by Eric W. Biederman.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 42c5e15f18d63c1ecf79d52bdaf4ea31cd22416d
Author: Stephen Hemminger <shemminger@osdl.org>
Date: Thu Feb 2 16:53:26 2006 -0800
[NET] snap: needs hardware checksum fix
The SNAP code pops off it's 5 byte header, but doesn't adjust
the checksum. This would cause problems when using device that
does IP over SNAP and hardware receive checksums.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit 7c6c66362941df847957766ad133ff5fde67579c
Author: Robin Holt <holt@sgi.com>
Date: Thu Feb 2 12:30:21 2006 -0600
[IA64-SGI] Fix XPC code which sleeps with spin_lock_irqsave().
During some testing, we got a warning about trying to allocate
memory while holding a lock. This fixes that problem.
Signed-off-by: Robin Holt <holt@sgi.com>
Acked-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 9a52bbed905fa41ca10f4db2e845b588f0fdfbef
Author: Jes Sorensen <jes@sgi.com>
Date: Thu Feb 2 05:50:05 2006 -0500
[IA64-SGI] include/asm-ia64/sn/intr.h more sn2 housekeeping
House keeping - eliminate unneeded parenthesis in macro defines.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 2fcc3db0ccee9b47df7a4f732e6624f4f643c035
Author: Jes Sorensen <jes@sgi.com>
Date: Thu Feb 2 05:15:51 2006 -0500
[IA64-SGI] sn2 housekeeping
Maintenance patch:
- Add missing __init calls
- Do not zero initialize global variables
- No need to typecast function call returns to void
- Some formatting
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit a58786917ce23c2a26c3e099c3cdba32a35eeceb
Author: Bjorn Helgaas <bjorn.helgaas@hp.com>
Date: Mon Jan 30 16:32:31 2006 -0700
[IA64] avoid broken SAL_CACHE_FLUSH implementations
If SAL_CACHE_FLUSH drops interrupts, complain about it and fall back to
using PAL_CACHE_FLUSH instead.
This is to work around a defect in HP rx5670 firmware: when an interrupt
occurs during SAL_CACHE_FLUSH, SAL drops the interrupt but leaves it marked
"in-service", which leaves the interrupt (and others of equal or lower
priority) masked.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit af14aca90e0cdfccd71f9947c45b6ea2cf321dcb
Author: Kyle McMartin <kyle@mcmartin.ca>
Date: Sat Jan 28 00:02:52 2006 -0500
[IA64] Remove stale comment from ia64/Kconfig
Somehow I doubt this comment is meant to be here anymore... It's
been floating after the L1_CACHE_SHIFT entry since before Linux
moved to bitkeeper.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit a80dcc0b9660b01a2cc1c0faa8f6095970f38730
Author: Mark Maule <maule@sgi.com>
Date: Fri Jan 27 13:59:07 2006 -0600
[IA64-SGI] disable msi for all altix pci devices
Temporary patch to make pci_enable_msi() fail gracefully on altix. Will be
removed after 2.6.16 releases and the msi abstraction patches start flowing.
Signed-off-by: Mark Maule <maule@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 689388bbf8c5c1966b6a67fa427299f90cf83b99
Author: Mark Maule <maule@sgi.com>
Date: Fri Jan 27 11:55:34 2006 -0600
[IA64-SGI] fix smp_affinity redirection when using CONFIG_PCI_MSI
Redirecting interrupts using smp_affinity on altix does not work on kernels
built with CONFIG_PCI_MSI. The problem is that move_irq() turns into a noop
if MSI is built in. This patch calls move_native_irq() instead of move_irq()
to get around that.
Signed-off-by: Mark Maule <maule@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit f8efa27662532ad5adb2790bfc3f4c78e019cfad
Author: Chen, Kenneth W <kenneth.w.chen@intel.com>
Date: Thu Jan 26 18:24:59 2006 -0800
[IA64] remove staled comments in asm/system.h
With the recent optimization made to wrap_mmu_context function,
we don't hold tasklist_lock anymore when wrapping context id.
The comments in asm/system.h must fall through the crack earlier.
Remove staled comments.
I believe it is still beneficial to unlock the runqueue lock
across context switch. So leave __ARCH_WANT_UNLOCKED_CTXSW on.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit ddef9bb367b19383df627e388cb4c01c86ddba6c
Author: Jeff Garzik <jgarzik@pobox.com>
Date: Thu Feb 2 16:17:06 2006 -0500
[libata sata_mv] do not enable PCI MSI by default
Several bug reports have come in, noting that disabling CONFIG_PCI_MSI
has fixed their problems with this driver. This may be generic system
issues, but there is also the probability of unimplemented hardware
errata workarounds. Until this ream of bug reports is sorted out, we
can get them going in non-MSI interrupt mode.
As such, this change adds an 'msi' module option, which defaults to off.
commit 9c0f4755bd5a117595761c95b93c29e8d9ca07b5
Author: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu Feb 2 20:53:39 2006 +0000
[SERIAL] initialize spinlock for port failed to setup console
It seems serial_core intend to initialize port->lock just once for each
ports. This is done in uart_set_options() for console, and in
uart_add_one_port() for other ports. But there is a case the port->lock is
not initialized by serial_core. If the setup function for the console was
failed, it will not call uart_set_options() but the port is marked as
console (uart_console(port) returns 1). It can happen if console was PCI
port which can not detected at the time of register_console.
This patch is to initialize port->lock for such console port. With this
change, most of spin_lock_init() (some of them are labeled "Temporary
fix.") in low-level serial drivers can be omitted.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 3ec9c59449744dcc390d593a017d30671546fd9e
Author: Andrey Panin <pazke@donpac.ru>
Date: Thu Feb 2 20:15:09 2006 +0000
[SERIAL] SIIG 8-port serial boards support
This patch adds support for SIIG 8-port boards. These boards have 4 ports in
separate bars and another 4 ports in the single bar. Because of this strange
port arrangement these cards need special setup function. Fortunately no other
SIIG cards have more than 4 port, so this setup function could be used for them
too.
Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit e92251762d02a46177d4105d1744041e3f8bc465
Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
Date: Thu Feb 2 12:23:12 2006 +0000
[MMC] Add MMC command type flags
Some hosts need to know the command type, so pass it via a set of
flags in cmd->flags.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 83f755f5a66a5393c3ae8925719fde0c740ac04e
Author: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Date: Wed Feb 1 21:24:24 2006 +0000
[ARM] 3286/2: S3C2400 - adds to the table of supported CPUs
Patch from Lucas Correia Villa Real
Oops, sorry for the typo on name_s3c2400, a new patch is attached.
About GSTATUS1, S3C2400 doesn't have that register, so it's not
safe to use that memory address to identify its CPU.
Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 0ca5bc3de715f6e031d44ffecdd2d127891eccf5
Author: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Date: Wed Feb 1 21:24:23 2006 +0000
[ARM] 3284/1: S3C2400 - adds support to GPIO
Patch from Lucas Correia Villa Real
This patch adds support to GPIO on the S3C2400, which is going to
be used by the GP32 machine and the SMDK2400 development board.
Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 7610dfa3723e87705964b29db9775620d96bf618
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Wed Feb 1 21:07:28 2006 +0000
[ARM] 3295/1: Fix oprofile init return value
Patch from Russ Dill
The oprofile init code was broken in commit c6b9da. The new logic will
always return -ENODEV. This fixes oprofile_arch_init to return 0 on
success, and return the return value of spec->init() if applicable.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 371e8bc2af11b0571982390932bc07b5ffed9aba
Author: Francois Romieu <romieu@fr.zoreil.com>
Date: Tue Jan 31 01:04:33 2006 +0100
8139too: fix a TX timeout watchdog thread against NAPI softirq race
Ingo's stealth lock validator detected that both thread acquire
dev->xmit_lock and tp->rx_lock in reverse order.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
commit 8351538db6613f40089789ec90e1b58304eb7ffd
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Mon Jan 30 01:23:56 2006 +0100
dscc4: fix dscc4_init_dummy_skb check
It returns a pointer.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
commit 18afea04f1dfc5d52fd2579cd17adc3956acd4ad
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 1 19:26:01 2006 +0000
[ARM] 3294/1: don't invalidate individual BTB entries on ARMv6
Patch from Nicolas Pitre
Doing so adds a much larger cost to the loop than the cost implied by
simply invalidating the whole BTB at once.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 8a052e0bc25ff52f17b3dff150846ca9eb969162
Author: Nicolas Pitre <nico@cam.org>
Date: Wed Feb 1 19:26:01 2006 +0000
[ARM] 3293/1: don't invalidate the whole I-cache with xscale_coherent_user_range
Patch from Nicolas Pitre
The mini I-cache issue is valid only for kernel space since debuggers
would not fly if they used user space addresses for their stubs.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 62500d1f8eadff078cca462dc4df035a29180383
Author: Richard Purdie <rpurdie@rpsys.net>
Date: Wed Feb 1 19:26:00 2006 +0000
[ARM] 3292/1: Fix memory corruption in asm-arm/checksum.h: ip_fast_csum()
Patch from Richard Purdie
ip_fast_csum() accesses memory via a pointer (iph) within an
asm function. To prevent memory corruption when the function is
inlined, it needs "memory" on the clobber list.
This fixes ip checksum errors reported by a Zaurus user.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit afe5df208e6ecd09b7d1acf36eb2cf945842bee5
Author: Richard Purdie <rpurdie@rpsys.net>
Date: Wed Feb 1 19:25:59 2006 +0000
[ARM] 3291/1: PXA27x: Correct get_clk_frequency_khz turbo flag handling
Patch from Richard Purdie
The turbo flag is in bit 0 of the CLKCFG register, not bit 1.
This patch corrects this so get_clk_frequency_khz returns a correct
value.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit f27f218cdfb12c9d2b285ec4a0bce588b5c531d3
Author: Catalin Marinas <catalin.marinas@arm.com>
Date: Wed Feb 1 19:25:58 2006 +0000
[ARM] 3290/1: Fix the FIFO size detection
Patch from Catalin Marinas
AACI reports TX FIFO full after the first write to it if the AC97 is not
enabled. This patch enables the AC97 probing before the check for the TX
FIFO size. The patch also adds a warning if the TX FIFO size is not
multiple of 16.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
commit 726ecdcf688314aa8d4a4841f5f126c2cb4ecbf5
Author: Andy Gospodarek <andy@greyhouse.net>
Date: Tue Jan 31 19:16:52 2006 +0100
r8169: fix forced-mode link settings
Allow the r8169 driver to set devices to be full-duplex only when
auto-negotiate is disabled.
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
commit 68ee3eb8295c9c164071fcbd367c419121bd55f8
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Sun Jan 29 20:25:49 2006 -0700
[PARISC] New syscalls (inotify, *at, pselect6/ppoll, migrate_pages)
Wire up some new syscalls that have been merged upstream,
o inotify
o openat et al
o pselect6/ppoll
o migrate_pages
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit a2ba82cd7de281721a875a73a5a5894882760fab
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Fri Jan 27 23:59:36 2006 -0700
[PARISC] Simplify DISCONTIGMEM in Kconfig
parisc was previously displaying both the mm/Kconfig memory model
menu, and its own prompt. Remove prompt and have CONFIG_64BIT toggle
between DISCONTIGMEM and FLATMEM. Also remove the EXPERIMENTAL from
discontigmem support... It's been running fine for months (years?)
now.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 2371408c021f961b92fd2c42480cfddc9c6254f0
Author: Francois Romieu <romieu@fr.zoreil.com>
Date: Sun Jan 29 00:49:09 2006 +0100
r8169: prevent excessive busy-waiting
The MII registers read/write function blindly busy waits for an
amount of 1000 us (1 ms), then up to 200 ms. These functions are
called from irq disabled context. Depending on the clock management,
it triggers lost ticks events. Since the value is way above the
standard delay required for mii register access, it strangely looks
like a bandaid against posted writes.
Fixes http://bugzilla.kernel.org/show_bug.cgi?id=5947
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
commit 51e9f2ff83df6b1c81c5c44f4486c68ed87aa20e
Author: Jeff Garzik <jgarzik@pobox.com>
Date: Fri Jan 27 16:50:27 2006 -0500
[libata sata_sil] implement 'slow_down' module parameter
On occasion, a user will submit a patch that enables the "mod15write"
quirk for their device. Enabling this quirk has the effect of clamping
all ATA commands to no more than 15 sectors. The intended use of this
quirk is to stop the controller from generating FIS's of unusual size
("but Wesley, what about the FOUS's?"), which in turn works around
problems in a <list> of hard drives.
One side effect of this quirk is greatly decreased performance. Users
often enable the mod15write quirk to fix various system, power, chip,
and/or driver problems. For a few rare problematic cases, enabling this
has cured lockups or data corruption.
Rather than add bogus listings to the mod15write quirk list (I get a
patch every month doing such), we add a 'slow_down' module parameter.
This allows users to employ a performance sledgehammer in the hopes
of curing a problem. It defaults to off (0), of course.
commit 8d58d773b745950ac912e028b3c81f4902fbf91d
Author: Mauro Carvalho Chehab <mchehab@infradead.org>
Date: Fri Jan 27 16:32:02 2006 -0200
V4L/DVB (3453a): Alters MAINTAINERS file to point to newer v4l-dvb email
- V4L/DVB Maintainers list changed. This patch alters the email to the
new address.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Acked-By: Johannes Stezenbach <js@linuxtv.org>
commit 61a34a024fcd61ef7207405b2e4cef2c073b220c
Author: Jack Steiner <steiner@sgi.com>
Date: Thu Jan 26 15:03:41 2006 -0800
[IA64-SGI] Update TLB flushing code for SN platform
This patch finishes support for SHUB2 (the new chipset). Most of the
changes are performance related. A few changes are workarounds for
"interesting" chipset features.
Some temporary debugging code has also been deleted.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 466575f4e975db1207c5e1a7be34aeaec6ddba1e
Author: Jes Sorensen <jes@sgi.com>
Date: Thu Jan 19 04:54:00 2006 -0500
[PATCH] drivers/sn/ must be entered for CONFIG_SGI_IOC3
Actually I think this is more appropriate so we don't end up with 17
cases that add drivers/sn to the build lib.
Include drivers/sn when CONFIG_IA64_SGI_SN2 or CONFIG_IA64_GENERIC
is enabled.
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit 103ec0910d6b9401b7f72ba3ac71fed88306d2d0
Author: Keith Owens <kaos@sgi.com>
Date: Wed Jan 18 15:38:14 2006 +1100
[IA64-SGI] Recursive flags do not work for selective builds
arch/ia64/sn/Makefile sets CPPFLAGS, expecting that setting to
propogate to all the subdirectories. For a normal build with its
recursive descent it does work, but doing a selective build like
'make arch/ia64/sn/kernel/io_init.i' does not do a recursive descent,
it goes directly to arch/ia64/sn/kernel/Makefile so the flags do not
get set.
To support selective builds, set the flags in all the subordinate Makefiles.
Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
commit a54dfd2ce03446a180e5fb7c30e8a5307f276567
Author: Michael Krufky <mkrufky@m1k.net>
Date: Thu Jan 26 04:37:19 2006 -0200
V4L/DVB (3442): Allow tristate build for cx88-vp3054-i2c
- allow tristate build for cx88-vp3054-i2c
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 805f123d5026ed1e4c01c3ed4f7c23ca663ac727
Author: Jiri Slaby <xslaby@fi.muni.cz>
Date: Tue Jan 24 13:15:06 2006 -0800
V4L/DVB (3439a): media video stradis memory fix
memset clears once set structure, there is actually no need for memset,
because configure function do it for us. Next, vfree(NULL) is legal, so
avoid useless labels.
Thanks Dave Jones for reporting this.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 65f17ee28ef497f437ee82700dde2908ec7f6271
Author: Markus Rechberger <mrechberger@gmail.com>
Date: Mon Jan 23 10:02:35 2006 -0200
V4L/DVB (3434): changed comment in tuner-core.c
- changed comment in tuner-core.c
Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 608268b2d3e593897b4480311c8c633d9fd1dddf
Author: Randy Dunlap <rdunlap@xenotime.net>
Date: Mon Jan 23 10:01:59 2006 -0200
V4L/DVB (3433): Fix printk type warning
- Fix printk type warning:
drivers/media/dvb/b2c2/flexcop-pci.c:164: warning:
format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 3875818f832f568b1755d8a0ba20166cae5cd414
Author: Michael Krufky <mkrufky@m1k.net>
Date: Mon Jan 23 09:59:19 2006 -0200
V4L/DVB (3431): fixed spelling error, exectuted --> executed.
- fixed spelling error, exectuted --> executed.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit c73e4486bca4108cdc2dcc080306af4d7d75c1db
Author: Markus Rechberger <mrechberger@gmail.com>
Date: Mon Jan 23 09:58:32 2006 -0200
V4L/DVB (3429): Missing break statement on tuner-core
- default_tuner_init was called twice due to a missing break statement.
Signed-off-by: Markus Rechberger <mrechberger@gmail.com>
Acked-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit a22a68653d46caba4b6d22c111beba794ab5bae0
Author: Adrian Bunk <bunk@stusta.de>
Date: Mon Jan 23 09:58:17 2006 -0200
V4L/DVB (3428): drivers/media/dvb/ possible cleanups
- Make needlessly global code static
- #if 0 the following unused global functions:
- b2c2/flexcop-dma.c: flexcop_dma_control_packet_irq()
- b2c2/flexcop-dma.c: flexcop_dma_config_packet_count()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 20c40878e40581d847adc93d2b23411b5c3028fc
Author: Mike Isely <isely@pobox.com>
Date: Mon Jan 23 09:54:33 2006 -0200
V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887
- The tda9887 has an I2C id reserved for it, but it hasn't been using
it. Probably an oversight. Fixed with this patch.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit aad99f39bd6e2cd45d19d12fd5af9e5577186553
Author: Michael Krufky <mkrufky@m1k.net>
Date: Mon Jan 23 09:54:12 2006 -0200
V4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option.
- make VP-3054 Secondary I2C Bus Support a Kconfig option.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 1bacb9f3aa327202ef779a1a073d5162148bf4d7
Author: Ian Pickworth <ian@pickworth.me.uk>
Date: Mon Jan 23 09:53:35 2006 -0200
V4L/DVB (3416): Recognise Hauppauge card #34519
- Recognise Hauppauge card #34519
Signed-off-by: Ian Pickworth <ian@pickworth.me.uk>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit f69b5d9b7ba26af63807f57a00d86c9a124bdca8
Author: Michael Krufky <mkrufky@m1k.net>
Date: Mon Jan 23 09:52:57 2006 -0200
V4L/DVB (3414): rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv
- rename dvb_pll_tbmv30111in to dvb_pll_samsung_tbmv
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 46365f3c15c93706df2cc19fa1a38902d8b29e85
Author: Michael Krufky <mkrufky@m1k.net>
Date: Mon Jan 23 09:52:39 2006 -0200
V4L/DVB (3413): Kill nxt2002 in favor of the nxt200x module
- Kill nxt2002 module in favor of nxt200x.
- Repair broken nxt2002 support in the nxt200x module.
- Make the flexcop driver use nxt200x instead of the nxt2002 module for the
Air2PC 2nd generation PCI card.
- Remove the nxt2002 module from cvs and kernel build.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit de7e8d78fca428c205ec1f81c0083570ec479c4e
Author: Peter Missel <peter.missel@onlinehome.de>
Date: Mon Jan 23 09:51:17 2006 -0200
V4L/DVB (3409): Mark Typhoon cards as Lifeview OEM's
- Mark Typhoon cards as OEM of Lifeview.
Signed-off-by: Peter Missel <peter.missel@onlinehome.de>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit bd7db9790038c25e1726c93e2e88667f1d58c108
Author: Mauro Carvalho Chehab <mchehab@infradead.org>
Date: Mon Jan 23 09:48:34 2006 -0200
V4L/DVB (3405): Fixes tvp5150a/am1 detection.
- Tvp5150 type were determined by a secondary register instead of
using ROM code.
- tvp5150am1 have ROM=4.0, while tvp5150a have ROM=3.33 (decimal).
All other ROM versions are reported as unknown tvp5150.
- Except for reporting, current code doesn't enable any special feature
for tvp5150am1 or tvp5150a. Code should work for both models (but were
tested only for tvp5150am1).
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit e94785c9a1da97495129dfa18f5db27870adc115
Author: Adrian Bunk <bunk@stusta.de>
Date: Mon Jan 23 09:48:02 2006 -0200
VIDEO_CX88_ALSA must select SND_PCM
- VIDEO_CX88_ALSA must select SND_PCM
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 2ecdd76e9bac4c0d2e934ab153793afafadaaa62
Author: Hans Verkuil <hverkuil@xs4all.nl>
Date: Mon Jan 23 09:47:40 2006 -0200
V4L/DVB (3403): Add probe check for the tda9840.
- Add probe check for the tda9840 to prevent misdetection of a Micronas
dpl3518a as a tda9840.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 9a610033977886d5d62e8b86a16956f30bdd30bd
Author: Michael Krufky <mkrufky@m1k.net>
Date: Tue Jan 17 03:50:23 2006 -0200
V4L/DVB (3392): Add PCI ID for DigitalNow DVB-T Dual, rebranded DViCO FusionHDTV DVB-T Dual.
- Add PCI ID for DigitalNow DVB-T Dual,
rebranded DViCO FusionHDTV DVB-T Dual.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit 5a880279dc89cb9771dabc0d19b7f4341b8c7983
Author: Mauro Carvalho Chehab <mchehab@infradead.org>
Date: Mon Jan 23 17:06:19 2006 -0200
V4L/DVB (3406): Added credits for em28xx-video.c
- Added credits for sn9c102 kernel module and his author as
some parts of em28xx-video were based.
Acked-by: Luca Risolia <luca.risolia@studio.unibo.it>
Acked-by: Markus Rechberger <mrechberger@gmail.com>
Acked-by: Ludovico Cavedon <cavedon@sssup.it>
Acked-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
commit f671c45df23005692daa200aba768c642fb14ef2
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Sun Jan 15 14:10:29 2006 -0500
[PARISC] Arch-specific compat signals
Add enough arch-specific compat signals code to enable parisc64
to compile and boot out of the mainline tree. There are likely still
many dragons here, but this is a start to squashing the last
big difference between the mainline tree and the parisc-linux tree.
The remaining bugs can be squashed as they come up.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 16541c8745e28f62b3dcb6cb354b73c9c01ea178
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Sat Jan 21 21:55:06 2006 -0700
[PARISC] Clean up printk in superio.c
Clean up some of the messages printed by the superio driver
by defining a prefix instead of duplicating it in every message.
Also some small coding style cleanups.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 81a3de3efd61c2483a303cf0b6227525d2f28df7
Author: Helge Deller <deller@parisc-linux.org>
Date: Sun Jan 15 12:11:50 2006 -0700
[PARISC] Use DEBUG_KERNEL to catch used-after-free __init data
Use CONFIG_DEBUG_KERNEL to catch kernel code which tries to access
__init data after it is freed. When CONFIG_DEBUG_KERNEL is not set
this also cleans up a WARN_ON at boot time. Also remove some dead
code from mm/init.c
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 1bcdd8548286743e1d6b3d53c96a90c6da975620
Author: Helge Deller <deller@parisc-linux.org>
Date: Fri Jan 13 13:21:06 2006 -0700
[PARISC] Add CONFIG_DEBUG_RODATA to protect read-only data
Add the parisc version of the "mark rodata section read only" patches.
Based on code from and Signed-off-by Arjan van de Ven
<arjan@infradead.org>, Ingo Molnar <mingo@elte.hu>, Andi Kleen <ak@muc.de>,
Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>.
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit a2bb214dcd1db862fdb6421e21f1cff0c3535162
Author: Matthew Wilcox <willy@parisc-linux.org>
Date: Tue Jan 17 11:43:48 2006 -0700
[PARISC] Remove {,un}lock_kernel from perf ioctl
Remove the lock_kernel/unlock_kernel pair in the ioctl method. It
plainly wasn't protecting anything.
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 85509c00073d4bdd1f4b7796180a15198f2e62da
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Tue Jan 17 22:33:32 2006 -0700
[PARISC] Add chassis_power_off routine
Define a chassis_power_off routine that machines which have a way
to turn off the power supply can hook into. Formerly they were
using pm_power_off, which is now being used by generic code. Make
lasi.c use chassis_power_off instead of pm_power_off.
Note, all machines need to call machine_power_off so that the
switch can power off the machine, though halt -p may not necessarily
be able to work properly on the machine.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 526110f8c8d2326413e2de5496d196ee9d4856ad
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Fri Jan 13 22:05:21 2006 -0700
[PARISC] Remove obsolete _hlt cruft
Remove a bunch of obsolete code from process.c, these routines were
likely imported from the i386 version of process.c when the port
started. The routines are only used in floppy.c, which I seriously
doubt will ever work on parisc, due to architectural assumptions.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 9073315bbc3e2149d8ffcc4b86932ca6497c94ce
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Fri Jan 13 22:05:21 2006 -0700
[PARISC] Move pm_power_off export to process.c
Move the EXPORT_SYMBOL() of pm_power_off from parisc_ksyms.c to the
location of its definition in process.c
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 2e13b31e5b0ff0b1f1e3359ebf8ca46c356e9391
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Tue Jan 17 08:33:01 2006 -0700
[PARISC] atomic64 support
Implement atomic64_t so atomic_long_t works on parisc. Also
clean up some of the coding style in atomic.h, and make sure
ATOMIC_INIT is cast properly.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 96629c0b111dbb31d14338a55b7f650e9c490284
Author: Helge Deller <deller@parisc-linux.org>
Date: Sun Jan 15 11:52:22 2006 -0700
[PARISC] Clean up compiler warning in pci.c
Avoid compiler warning for unused variables on 32bit kernels by
conditionalizing the local variables on CONFIG_64BIT. PCI_HOST_ADDR()
only uses the hba argument on 64bit compiles.
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 10992092a8a6e445199f30e56789322851479019
Author: Kyle McMartin <kyle@parisc-linux.org>
Date: Fri Jan 13 22:05:21 2006 -0700
[PARISC] Use F_EXTEND() for COMMAND_GLOBAL
Instead of wrapping the define of COMMAND_GLOBAL in #ifdef __LP64__
use the F_EXTEND() macro defined in asm/io.h, which is the preferred
way of extending mmio space addresses for either 32 or 64 bit machines.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 370361f884c032216ece841ac5328393b136f0bb
Author: James Bottomley <jejb@parisc-linux.org>
Date: Wed Jan 11 15:11:30 2006 -0700
[PARISC] Fix floating point invalid exception trap handler
Fix our trap handler to issue the correct floating point exception
for both types of invalid trap.
Signed-off-by: James Bottomley <jejb@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit c475eea2929a7f0dac21d20e10562a491fcf7c45
Author: Helge Deller <deller@parisc-linux.org>
Date: Sun Jan 15 12:11:50 2006 -0700
[PARISC] Drop unused do_check_pgt_cache()
Drop the unused do_check_pgt_cache routine from mm/init.c and its
prototype in asm/pgalloc.h
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit c742842223269eb8eb4b86ac05ad07e6e156526b
Author: Thibaut VARENE <varenet@parisc-linux.org>
Date: Wed Jan 11 13:59:53 2006 -0700
[PARISC] pdc_stable version 0.22
pdc_stable v0.22, changes since v0.10:
o renamed root subsystem from 'pdc' to 'stable'
o split 'info' into several files, one per PDC field
o implemented 'autoboot' and 'autosearch' write calls to toggle
these flags
o grant read permission to all users on "safe" files
o more code cleanup (removed duplicate code)
o avoid bad stable storage clobbering by write locking critical sections
o print consistent data as well
o SMP cleanups
Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 2c9aadabf454fb07b8f7533096e22bf005dd08df
Author: Grant Grundler <grundler@parisc-linux.org>
Date: Thu Jan 19 23:38:03 2006 -0700
[PARISC] Remove unnecessary extern declarations from asm/pci.h
Remove two unnecessary extern declarations from asm/pci.h.
They collide with what gcc4.0 assumed was static (and should be static).
Found by Joel Soete.
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit cb6fc18e9ca615f03d18e60c49855b434ca2e51e
Author: Helge Deller <deller@parisc-linux.org>
Date: Tue Jan 17 12:40:40 2006 -0700
[PARISC] Use kzalloc and other janitor-style cleanups
Helge,
o Convert a bunch of kmalloc/memset uses to kzalloc.
o pci.c: Add some __read_mostly annotations.
o pci.c: Move constant pci_post_reset_delay to asm/pci.h
o grfioctl.h: Add A4450A to comment of CRT_ID_VISUALIZE_EG.
o Add some consts to perf.c/perf_images.h
Matthew,
o sticore.c: Add some consts to suppress compile warnings.
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit a1c744439591b1d4350f0926615d501e7cfbb708
Author: Matthew Wilcox <willy@parisc-linux.org>
Date: Tue Jan 17 11:05:35 2006 -0700
[PARISC] Update b180_defconfig
Update b180_defconfig to be more usable on other similar machines.
Enabling Lasi 82596, Harmony, Mux console, CCIO, HPPB, etc., means
this config is suitable for not only BXXX machines, but also CXXX
and JXXX class machines.
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit ce33941f027bc1853ceb43d04d6204f45181703d
Author: Matthew Wilcox <willy@parisc-linux.org>
Date: Tue Jan 10 20:47:49 2006 -0500
[PARISC] Make flush_tlb_all_local take a void *
Make flush_tlb_all_local take a void * so it doesn't have to be cast
when using on_each_cpu(). This becomes a problem when on_each_cpu
is a macro.
Also remove the prototype of flush_tlb_all_local from .c files.
Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
commit 8c7f75d3257fe466b34abf290c8b177c106c3769
Author: Sam Ravnborg <sam@mars.ravnborg.org>
Date: Sat Jan 21 12:07:56 2006 +0100
kbuild: fix build with O=..
.kernelrelease was saved in same directory as kernel source also
with make O=...
Make sure we kick in the normal logic to shift to the output directory
when we build .kernelrelease after executing *config.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
commit aa6ba2faec346a3f59bf4130060108e6433ad907
Author: Al Viro <viro@ftp.linux.org.uk>
Date: Thu Jan 19 19:03:15 2006 +0000
cris: asm-offsets related build failure
fallout from "kbuild: cris use generic asm-offsets.h support" - symlink
target was wrong
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
commit 3835f82183eab8b67ddda6b32c127859a546c82d
Author: Sam Ravnborg <sam@mars.ravnborg.org>
Date: Sat Jan 21 12:03:09 2006 +0100
kconfig: fix /dev/null breakage
While running "make menuconfig" and "make mrproper"
some people experienced that /dev/null suddenly changed
permissions or suddenly became a regular file.
The main reason was that /dev/null was used as output
to gcc in the check-lxdialog.sh script and gcc did
some strange things with the output file; in this
case /dev/null when it errorred out.
Following patch implements a suggestion
from Bryan O'Sullivan <bos@serpentine.com> to
use gcc -print-file-name=libxxx.so.
Also the Makefile is adjusted to not resolve value of
HOST_EXTRACFLAGS and HOST_LOADLIBES until they are actually used.
This prevents us from calling gcc when running make *clean/mrproper
Thanks to Eyal Lebedinsky <eyal@eyal.emu.id.au> and
Jean Delvare <khali@linux-fr.org> for the first error reports.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
commit 837e9594fc3cb9a06bddd7ecf66151334a2e13d2
Author: Ingo Molnar <mingo@elte.hu>
Date: Sat Jan 14 16:18:45 2006 +0100
[PATCH] sem2mutex: drivers/macintosh/windfarm_core.c
semaphore to mutex conversion.
the conversion was generated via scripts, and the result was validated
automatically via a script as well.
build and boot tested.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Paul Mackerras <paulus@samba.org>