]> git.hungrycats.org Git - linux/log
linux
22 years ago[ARM] Update ARM kernel install script
Russell King [Mon, 28 Jun 2004 22:07:11 +0000 (23:07 +0100)]
[ARM] Update ARM kernel install script

- fix up for kbuild changes
- run users own kernel install script if present

22 years ago[PATCH] minor CAP_DAC_OVERRIDE fix
Andries E. Brouwer [Sun, 27 Jun 2004 16:35:45 +0000 (09:35 -0700)]
[PATCH] minor CAP_DAC_OVERRIDE fix

CAP_DAC_OVERRIDE fails to give search permission in a directory with
mode 0.

Patch acked by Chris Wright <chrisw@osdl.org>
Signed-off-by: Andries Brouwer <aeb@cwi.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove include/asm-*/init.h
Alexey Dobriyan [Sun, 27 Jun 2004 16:35:33 +0000 (09:35 -0700)]
[PATCH] Remove include/asm-*/init.h

There's no reason to keep files that
a) nobody #include's
b) produce #error

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix GFP zone modifier interators
Andy Whitcroft [Sun, 27 Jun 2004 16:35:21 +0000 (09:35 -0700)]
[PATCH] fix GFP zone modifier interators

For each node there are a defined list of MAX_NR_ZONES zones.  These are
selected as a result of the __GFP_DMA and __GFP_HIGHMEM zone modifier flags
being passed to the memory allocator as part of the GFP mask.  Each node
has a set of zone lists, node_zonelists, which defines the list and order
of zones to scan for each flag combination.  When initialising these lists
we iterate over modifier combinations 0 ..  MAX_NR_ZONES.  However, this is
only correct when there are at most ZONES_SHIFT flags.  If another flag is
introduced zonelists for it would not be initialised.

This patch introduces GFP_ZONETYPES (based on GFP_ZONEMASK) as a bound for
the number of modifier combinations.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] vc locking
Alan Cox [Sun, 27 Jun 2004 16:35:10 +0000 (09:35 -0700)]
[PATCH] vc locking

Like a few other drivers the vc driver is doing unlocked careless
references to file offsets.  Its got kind of 2.2 locking that hasnt been
updated in the lseek function so someone at least tried.

Fortunately we have a real lock for this and can just make lseek use that
too.

The 'assume 64bit load is atomic' bug seems to be very widely spread

akpm@osdl.org:

   Move declarations to vt_kern.h

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radeonfb accel capabilities
David Eger [Sun, 27 Jun 2004 16:34:58 +0000 (09:34 -0700)]
[PATCH] radeonfb accel capabilities

Here's the accel capabilities patch for radeonfb.  It updates radeonfb to
advertise its acceleration capabilities via fbinfo.flags.  I've tested this
on my box, and it gives me a nice fast console.

defect: "$ fbset -accel 0" doesn't work for radeonfb -- disabling accel
will only work from the kernel command line :-/

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Eger <eger@havoc.gtf.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix smbfs readdir oops
Zwane Mwaikambo [Sun, 27 Jun 2004 16:34:47 +0000 (09:34 -0700)]
[PATCH] Fix smbfs readdir oops

This has been reported a couple of times and is consistently causing some
folks grief, so Urban, would you mind terribly if i send this patch to at
least clear current bug reports.  If there is additional stuff you want
ontop of this let me know and i can send a follow up patch.

The bug is that at times we haven't completed setting up the smb_ops so we
have a temporary 'null' ops in place until the connection is completely up.
 With this setup it's possible to hit ->readdir() whilst the null ops are
still in place, so we put the process to sleep until the connection setup
is complete and then call the real ->readdir().

This patch addresses the bugzilla report at
http://bugzilla.kernel.org/show_bug.cgi?id=1671

Signed-off-by: Zwane Mwaikambo <zwane@linuxpower.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86 stack dump fixes
Andrew Morton [Sun, 27 Jun 2004 16:34:36 +0000 (09:34 -0700)]
[PATCH] x86 stack dump fixes

- Fix the !CONFIG_FRAME_POINTER && !CONFIG_KALLSYMS output formatting.

- Make print_context_stack() static

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ia32: fix deadlocks when oopsing while mmap_sem is held
Andy Whitcroft [Sun, 27 Jun 2004 16:34:24 +0000 (09:34 -0700)]
[PATCH] ia32: fix deadlocks when oopsing while mmap_sem is held

If a fault in the kernel leads to an unexpected protection fault whilst in
a code path which holds mmap_sem we will deadlock in do_page_fault() while
trying to classify the fault.  By carefully testing the source of the fault
we can detect and OOPS on the vast majority of these, greatly enhancing
diagnosis of such bugs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: command_line_size build fix
Joseph Fannin [Sun, 27 Jun 2004 16:34:13 +0000 (09:34 -0700)]
[PATCH] ppc32: command_line_size build fix

We need setup.h for COMMAND_LINE_SIZE.

Signed-off-by: Joseph Fannin <jhf@rivenstone.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge master.kernel.org:/home/davem/BK/net-2.6
Linus Torvalds [Sun, 27 Jun 2004 16:31:13 +0000 (09:31 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[NET]: Fix SO_{RCV,SND}TIMEO getsockopt handling.
David S. Miller [Sun, 27 Jun 2004 13:37:27 +0000 (06:37 -0700)]
[NET]: Fix SO_{RCV,SND}TIMEO getsockopt handling.

A microsecond is 1 millionth of a second not
1 thousandth of a second.

Noticed by Markus Mottl <markus@oefai.at>

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Kill spurious ifndef in net/ip.h
Adrian Bunk [Sun, 27 Jun 2004 13:34:23 +0000 (06:34 -0700)]
[NET]: Kill spurious ifndef in net/ip.h

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Sun, 27 Jun 2004 13:30:15 +0000 (06:30 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Sun, 27 Jun 2004 07:55:35 +0000 (00:55 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[SPARC64]: No longer set WANT_PAGE_VIRTUAL.
David S. Miller [Sun, 27 Jun 2004 07:20:23 +0000 (00:20 -0700)]
[SPARC64]: No longer set WANT_PAGE_VIRTUAL.

Also uninline pfn_to_page and page_to_pfn.
Struct page is now 8 bytes smaller.

22 years agoMerge master.kernel.org:/home/davem/BK/net-2.6
Linus Torvalds [Sun, 27 Jun 2004 04:26:05 +0000 (21:26 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] PPC64 iSeries fails to boot
Stephen Rothwell [Sun, 27 Jun 2004 04:17:10 +0000 (21:17 -0700)]
[PATCH] PPC64 iSeries fails to boot

Jeremy Katz of Red Hat reported that his iSeries machine would not boot
with 2.6.7 based kernels.

It appears that with the inclusion of Paul Mackerras' patch "Optimize
exception/syscall entry/exit" a small previous patch got reverted.  Here
is that patch again.  The lack of this patch does not stop all iSeries
machines booting, but it does stop some.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] affs_setattr() retval fix
Andrew Morton [Sun, 27 Jun 2004 04:04:19 +0000 (21:04 -0700)]
[PATCH] affs_setattr() retval fix

affs is failing to propagate the inode_setattr() return value.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ncpfs_setattr() retval fix
Andrew Morton [Sun, 27 Jun 2004 04:04:07 +0000 (21:04 -0700)]
[PATCH] ncpfs_setattr() retval fix

ncpfs is failing to propagate the inode_setattr return value.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cifs_setattr() retval fix
Andrew Morton [Sun, 27 Jun 2004 04:03:56 +0000 (21:03 -0700)]
[PATCH] cifs_setattr() retval fix

CIFS is failing to propagate the inode_setattr() return value.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] jfs_setattr() fix
Andrew Morton [Sun, 27 Jun 2004 04:03:45 +0000 (21:03 -0700)]
[PATCH] jfs_setattr() fix

jfs is dropping inode_setattr()'s return value.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] reiserfs_setattr retval fix
Andrew Morton [Sun, 27 Jun 2004 04:03:33 +0000 (21:03 -0700)]
[PATCH] reiserfs_setattr retval fix

reiserfs() is also dropping inode_setattr() retvals on the floor.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ext2_setattr retval fix
Andrew Morton [Sun, 27 Jun 2004 04:03:22 +0000 (21:03 -0700)]
[PATCH] ext2_setattr retval fix

ext2_setattr() drops the inode_setattr() return value on the floor.  This is
very bad - I/O errors during truncate are lost.

The patch changes ext2_setattr() so that we no longer call ext2_acl_chmod() if
inode_setattr(), which is what ext3 does.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Don't hold i_sem on swapfiles
Hugh Dickins [Sun, 27 Jun 2004 04:03:11 +0000 (21:03 -0700)]
[PATCH] Don't hold i_sem on swapfiles

We permanently hold the i_sem of swapfiles so that nobody can addidentally
ftruncate them, causing subsequent filesystem destruction.

Problem is, it's fairly easy for things like backup applications to get
stuck onthe swapfile, sleeping until someone does a swapoff.

So take all that out again and add a new S_SWAPFILE inode flag.  Test that
in the truncate path and refuse to truncate an in-use swapfile.

Synchronisation between swapon and truncate is via i_sem.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ARM COMMAND_LINE_SIZE build fix
Russell King [Sun, 27 Jun 2004 04:03:00 +0000 (21:03 -0700)]
[PATCH] ARM COMMAND_LINE_SIZE build fix

Rework the declaration, sizing and memcpying of saved_command_line[] so
that ARM doesn't need to implement unwelcome header file nestings.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ext3: direct-io transaction extending fix
Andrew Morton [Sun, 27 Jun 2004 04:02:48 +0000 (21:02 -0700)]
[PATCH] ext3: direct-io transaction extending fix

ext3_direct_io_get_blocks() is misinterpreting the return value from
ext3_journal_extend(), and is consequently running out of buffer credits and
going BUG on tremendously large direct-io writes.  Fix that up.

Also, I note that the really large direct-io writes can hold a transaction
open for the entire duration, which can be minutes.  This violates ext3's
attempt to commit data at regular intervals.  Fix that up by looking at the
transaction state: if it's T_LOCKED, shut off the current handle so the
pending commit can complete.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] lock ordering comment update
Andrew Morton [Sun, 27 Jun 2004 04:02:37 +0000 (21:02 -0700)]
[PATCH] lock ordering comment update

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cpufreq_delayed_get() inlining fix
Jesper Juhl [Sun, 27 Jun 2004 04:02:26 +0000 (21:02 -0700)]
[PATCH] cpufreq_delayed_get() inlining fix

Here's a patch to reorder timer_tsc.c so gcc 3.4 does not fail to inline
and thus fix the warning "arch/i386/kernel/timers/timer_tsc.c:30: warning:
inlining failed in call to 'cpufreq_delayed_get': function body not
available"

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] anon_vma list locking bug
Hugh Dickins [Sun, 27 Jun 2004 04:02:14 +0000 (21:02 -0700)]
[PATCH] anon_vma list locking bug

Vladimir Saveliev reported anon_vma_unlink list_del BUG (LKML 24 June).
His testing is still in progress, but we believe it comes from a nasty
locking deficiency I introduced in 2.6.7's anon_vma_prepare.

Andrea's original anon_vma_prepare was fine, it needed no anon_vma lock
because it was always linking a freshly allocated structure; but my
find_mergeable enhancement let it adopt a neighbouring anon_vma, which of
course needs locking against a racing linkage from another mm - which the
earlier adjust_vma fix seems to have made more likely.

Does anon_vma->lock nest inside or outside page_table_lock?  Inside, but
that's not obvious without a lock ordering list: instead of listing the
order here, update the list in filemap.c; but a separate patch because
that's less urgent and more likely to get wrong or provoke controversy.

(Could do it with anon_vma lock after dropping page_table_lock, but a long
comment explaining why some code is safe suggests it's not.)

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/char/ipmi/ipmi_si_intf.c warnings
Luiz Capitulino [Sun, 27 Jun 2004 04:02:03 +0000 (21:02 -0700)]
[PATCH] drivers/char/ipmi/ipmi_si_intf.c warnings

drivers/char/ipmi/ipmi_si_intf.c: In function `acpi_gpe_irq_setup':
drivers/char/ipmi/ipmi_si_intf.c:1173: warning: passing arg 4 of `acpi_install_gpe_handler' from incompatible pointer type
drivers/char/ipmi/ipmi_si_intf.c: In function `acpi_gpe_irq_cleanup':
drivers/char/ipmi/ipmi_si_intf.c:1193: warning: passing arg 3 of `acpi_remove_gpe_handler' from incompatible pointer type

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] swsusp.S: meaningful assembly labels
Pavel Machek [Sun, 27 Jun 2004 04:01:52 +0000 (21:01 -0700)]
[PATCH] swsusp.S: meaningful assembly labels

This introduces meaningfull labels instead of .L1234, meaning code is
readable, kills alignment where unneccessary, and kills TLB flush that was
only pure paranoia (and slows it down a lot on emulated systems).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Laptop mode control script improvements
Bart Samwel [Sun, 27 Jun 2004 04:01:41 +0000 (21:01 -0700)]
[PATCH] Laptop mode control script improvements

From: Herve Eychenne <rv@eychenne.org>

Clean up the script. This also makes it two times faster. (Thanks to
Herve Eychenne.)

- moved variable definitions to the top, for easier configuration
- the script contains bashisms, so make it /bin/bash
- use sed -e'...' -e '...' instead of sed | sed
- avoid subshells: () changed to {}
- various other minor optimizations and improvements

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] inodes_stat.nr_unused fix
Andrew Morton [Sun, 27 Jun 2004 04:01:30 +0000 (21:01 -0700)]
[PATCH] inodes_stat.nr_unused fix

__sync_single_inode() is forgetting to increment inodes_stat.nr_unused when
moving a previously-dirty inode onto the inode_unused list.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] laptop-mode documentation update
Bart Samwel [Sun, 27 Jun 2004 04:01:19 +0000 (21:01 -0700)]
[PATCH] laptop-mode documentation update

The laptop mode docs don't say that no kernel configuration changes are
needed to use laptop mode.  That's caused some people to look for the
option.  This patch makes the doc explicitly mention the lack of an option.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppp_generic.c get_filter made conditional
Paul Fulghum [Sun, 27 Jun 2004 04:01:08 +0000 (21:01 -0700)]
[PATCH] ppp_generic.c get_filter made conditional

Add #ifdef CONFIG_PPP_FILTER around get_filter implementation which is only
used when this option is enabled.  This prevents compiler warning (unused
function) when CONFIG_PPP_FILTER is not defined.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] missing semicolon in 2.6.7 VIODASD driver
David Howells [Sun, 27 Jun 2004 04:00:57 +0000 (21:00 -0700)]
[PATCH] missing semicolon in 2.6.7 VIODASD driver

There appears to be a missing semicolon in the VIODASD driver in 2.6.7.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix NUMA boundaray between ZONE_NORMAL and HIGHMEM
Martin J. Bligh [Sun, 27 Jun 2004 04:00:45 +0000 (21:00 -0700)]
[PATCH] fix NUMA boundaray between ZONE_NORMAL and HIGHMEM

From: Andy Whitcroft <apw@shadowen.org>

This patch eliminates the false hole which can form between ZONE_NORMAL and
ZONE_HIGHMEM.  This is most easily seen when 4g/4g split is enabled, but
it's always broken, and we just happen not to hit it most of the time.
Basically, the patch changes the allocation of the numa remaps regions (the
source of the holes) such that they officially fall within VMALLOC space,
where they belong.

Tested in -mjb for a couple of months, and again against 2.6.7-mm1.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Martin J. Bligh <mbligh@aracnet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix direct I/O into hugetlb page
Kenneth W. Chen [Sun, 27 Jun 2004 04:00:34 +0000 (21:00 -0700)]
[PATCH] Fix direct I/O into hugetlb page

Hit a kernel oops on 2.6.7 kernel when doing direct I/O to hugetlb page.

The destructor of compound page was moved into page->mapping since 2.6.6.
It got interfered with set_page_dirty() for hugetlb page: an O_DIRECT read
into first tail page of the compound page will fool set_page_dirty() to
deference page->mapping->a_ops and then kernel oops.  Patch to fix the
oops.  We do just like what bio_set_pages_dirty() does.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] crc: use it in AX.25 drivers
Andrey Panin [Sun, 27 Jun 2004 04:00:23 +0000 (21:00 -0700)]
[PATCH] crc: use it in AX.25 drivers

This patch makes AX.25 drivers use common crc16 code.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] crc: use it in ISDN drivers
Andrey Panin [Sun, 27 Jun 2004 04:00:12 +0000 (21:00 -0700)]
[PATCH] crc: use it in ISDN drivers

This patch makes various ISDN drivers use common crc16 code.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] crc: use it in IRDA drivers
Andrey Panin [Sun, 27 Jun 2004 04:00:01 +0000 (21:00 -0700)]
[PATCH] crc: use it in IRDA drivers

This patch makes IRDA subsystem use common crc16 code.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] crc: use it in async PPP driver
Andrey Panin [Sun, 27 Jun 2004 03:59:49 +0000 (20:59 -0700)]
[PATCH] crc: use it in async PPP driver

This patch makes async PPP driver use common crc16 code.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] crc: add common CRC16 module
Andrey Panin [Sun, 27 Jun 2004 03:59:38 +0000 (20:59 -0700)]
[PATCH] crc: add common CRC16 module

Currently we have 8 copies of CRC16 calculation table in different device
drivers, this patch creates common crc16.c module to replace them.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Permit root to choose vfat policy to UTF8
Arjan van de Ven [Sun, 27 Jun 2004 03:59:26 +0000 (20:59 -0700)]
[PATCH] Permit root to choose vfat policy to UTF8

Right now the kernel detects the sysadmin trying to set the iocharset of
vfat to UTF8 and prevents this with an error.  While I can see that this is
not recommended, enforcing this is policy that probably doesn't belong in
the kernel.  The patch below makes this situation a warning and a
recommendation instead of a strong blockage.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=126641

is an example of a sysadmin disliking this policy enforcement.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] tidy up the identify_cpu() output
Jesper Juhl [Sun, 27 Jun 2004 03:59:15 +0000 (20:59 -0700)]
[PATCH] tidy up the identify_cpu() output

Here's a patch to line up the "CPU: After * identify, caps:" messages
produced by printk's in arch/i386/kernel/cpu/common.c

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] SELinux: fix build with CONFIG_SECURITY_NETWORK=n
Stephen D. Smalley [Sun, 27 Jun 2004 03:59:04 +0000 (20:59 -0700)]
[PATCH] SELinux: fix build with CONFIG_SECURITY_NETWORK=n

SELinux should just drop out the socket and netfilter hooks when that is
disabled.

The problem was introduced because of the fine-grained netlink patches,
which made the selinux_netlink_send/recv hook functions depend on
CONFIG_SECURITY_NETWORK but the netlink_send/recv hooks themselves are not
dependent on it.

Need to move selinux_netlink_send/recv back out of the conditional block,
and provide a static inline stub for selinux_nlmsg_perm if
CONFIG_SECURITY_NETWORK is not defined.

Signed-off-by: Stephen Smalley <sds@epoch.ncsc.mil>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] i386: uninline memmove
Andrew Morton [Sun, 27 Jun 2004 03:58:53 +0000 (20:58 -0700)]
[PATCH] i386: uninline memmove

Using current gcc CVS I hit a piece of code in which the compiler was emitting
a memmove() call.  The kernel link failed.

Uninline it.

Also, move the memcpy and memset exports into memcpy.c.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: allow user to set NFSv4 lease time.
Neil Brown [Sun, 27 Jun 2004 03:58:41 +0000 (20:58 -0700)]
[PATCH] knfsd: allow user to set NFSv4 lease time.

Allow the lease to be set from /proc/fs/nfs/nfsv4leasetime.

To comply with rfc3530, this appears as a server reboot from the point of view
of the client, which must reclaim state with the grace period.

From: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: improve cleaning up of nfsd4 requests
Neil Brown [Sun, 27 Jun 2004 03:58:30 +0000 (20:58 -0700)]
[PATCH] knfsd: improve cleaning up of nfsd4 requests

Currently nfs4_arg->to_free keeps a list of void ptrs on which kfree is called
when freeing the nfs4_arg.  This allows us to do cleanup on e.g.  xdr decode
failures.  To allow more complicated objects to be freed (in particular,
acls), we add a "void (*release)(void *)" to allow us to request something
other than kfree be called when freeing.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: parse nsfd4 callback information
Neil Brown [Sun, 27 Jun 2004 03:58:19 +0000 (20:58 -0700)]
[PATCH] knfsd: parse nsfd4 callback information

Preparation for delegations: parse callback information provided in
setclientid request.

From: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: nfsd4 lockowner fixes
Neil Brown [Sun, 27 Jun 2004 03:58:08 +0000 (20:58 -0700)]
[PATCH] knfsd: nfsd4 lockowner fixes

Insist that the first time a client presents a new lockowner, the seqid should
be 0.  (RFC 3530 section 8.1.5)

Also, return an error if the client presents a previously-used lockowner as if
it were new.

From: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: reduce stack usage in nfsd4
Neil Brown [Sun, 27 Jun 2004 03:57:57 +0000 (20:57 -0700)]
[PATCH] knfsd: reduce stack usage in nfsd4

nfsd4_proc_compound is using over a thousand bytes of stack.

This is partly because it declares two local svc_fh's, partly because of a big
switch statement which calls a bunch of functions which may be inlined.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: delete an obsolete comment from nfsd rpc code
Neil Brown [Sun, 27 Jun 2004 03:57:46 +0000 (20:57 -0700)]
[PATCH] knfsd: delete an obsolete comment from nfsd rpc code

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: simplify nfsd4_release_lockowner
Neil Brown [Sun, 27 Jun 2004 03:57:35 +0000 (20:57 -0700)]
[PATCH] knfsd: simplify nfsd4_release_lockowner

Simplify nfsd4_release_lockowner a bit, factor out code that we need for
another patch.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: simplify nfsd4 name encoding.
Neil Brown [Sun, 27 Jun 2004 03:57:23 +0000 (20:57 -0700)]
[PATCH] knfsd: simplify nfsd4 name encoding.

Use opaque xdr encoding routines from xdr.c instead of rolling our own.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] knfsd: mark NFS/TCP server not EXPERIMENTAL
Neil Brown [Sun, 27 Jun 2004 03:57:12 +0000 (20:57 -0700)]
[PATCH] knfsd: mark NFS/TCP server not EXPERIMENTAL

From: Greg Banks <gnb@sgi.com>

NFS/TCP has been used widely for a long time now, and is now enabled by many
distros and typically recommended for lossy or congested networks.  This patch
removes the EXPERIMENTAL tag, updates the help text, and changes arch
defconfigs to set it by default (note that several already did so).

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] per node huge page stats in sysfs
Kenneth W. Chen [Sun, 27 Jun 2004 03:57:00 +0000 (20:57 -0700)]
[PATCH] per node huge page stats in sysfs

It adds per node huge page stats in sysfs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] hpet fixes
Robert Picco [Sun, 27 Jun 2004 03:56:49 +0000 (20:56 -0700)]
[PATCH] hpet fixes

I eliminated the request_irq brain damage, chopped off procfs support
(didn't care for it too much in the first place and it was adopted from
rtc.c), made the check for FMODE_WRITE in hpet_open and responded to a few
other suggestions.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: port APM BIOS driver to new DMI probing
Andrey Panin [Sun, 27 Jun 2004 03:56:37 +0000 (20:56 -0700)]
[PATCH] dmi_scan: port APM BIOS driver to new DMI probing

This patch ports APM BIOS driver to new DMI probing API.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: remove unused ASUS K7V-RM DMI quirk
Andrey Panin [Sun, 27 Jun 2004 03:56:26 +0000 (20:56 -0700)]
[PATCH] dmi_scan: remove unused ASUS K7V-RM DMI quirk

BROKEN_ACPI_Sx flag doesn't seem to be used anywhere in the kernel, so ASUS
K7V-RM can be removed.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: port powernow-k7 driver to new DMI probing
Andrey Panin [Sun, 27 Jun 2004 03:56:15 +0000 (20:56 -0700)]
[PATCH] dmi_scan: port powernow-k7 driver to new DMI probing

This patch ports powernow-k7 driver to new DMI probing API.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: port PIIX4 SMBUS driver to new DMI probing
Andrey Panin [Sun, 27 Jun 2004 03:56:03 +0000 (20:56 -0700)]
[PATCH] dmi_scan: port PIIX4 SMBUS driver to new DMI probing

This patch ports sonypi driver to new DMI probing API and removes
is_unsafe_smbus global variable.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: port sonypi driver to new DMI probing
Andrey Panin [Sun, 27 Jun 2004 03:55:52 +0000 (20:55 -0700)]
[PATCH] dmi_scan: port sonypi driver to new DMI probing

This patch ports sonypi driver to new DMI probing API and removes
is_sony_vaio_laptop global variable.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: port PnP BIOS driver to new DMI probing
Andrey Panin [Sun, 27 Jun 2004 03:55:41 +0000 (20:55 -0700)]
[PATCH] dmi_scan: port PnP BIOS driver to new DMI probing

This patch ports PnP BIOS driver to new DMI probing API.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmi_scan: port Acer laptop irq routing workaround to new DMI probing
Andrey Panin [Sun, 27 Jun 2004 03:55:31 +0000 (20:55 -0700)]
[PATCH] dmi_scan: port Acer laptop irq routing workaround to new DMI probing

This patch moves PCI IRQ routing workaround for Acer TravelMate 360 laptop to
arch/i386/pci/irq.c and makes acer_tm360_irqrouting variable static.  It also
fixes VisWs build error caused by this workaround code.

Signed-off-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix race between CONFIG_DEBUG_SLABALLOC and modules
Rusty Russell [Sun, 27 Jun 2004 03:55:19 +0000 (20:55 -0700)]
[PATCH] Fix race between CONFIG_DEBUG_SLABALLOC and modules

store_stackinfo() does an unlocked module list walk during normal runtime
which opens up a race with the module load/unload code.  This can be
triggered by simply unloading and loading a module in a loop with
CONFIG_DEBUG_PAGEALLOC resulting in store_stackinfo() tripping over bad
list pointers.

kernel_text_address doesn't take any locks, because during an OOPS we don't
want to deadlock.  Rename that to __kernel_text_address, and make
kernel_text_address take the lock.

Signed-off-by: Zwane Mwaikambo <zwane@fsmlabs.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (modified)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] make __free_pages_bulk more comprehensible
Martin J. Bligh [Sun, 27 Jun 2004 03:55:07 +0000 (20:55 -0700)]
[PATCH] make __free_pages_bulk more comprehensible

I find __free_pages_bulk very hard to understand ...  (I was trying to mod
it for the non MAX_ORDER aligned zones, and cleaned it up first).  This
should make it much more comprehensible to mortal man ...  I benchmarked
the changes on the big 16x and it's no slower (actually it's about 0.5%
faster, but that's within experimental error).

I moved the creation of mask into __free_pages_bulk from the caller - it
seems to really belong inside there.  Then instead of doing wierd limbo
dances with mask, I made it use order instead where it's more intuitive.
Personally I find this makes the whole thing a damned sight easier to
understand.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] kbuild: distclean srctree fix
Coywolf Qi Hunt [Sun, 27 Jun 2004 03:54:56 +0000 (20:54 -0700)]
[PATCH] kbuild: distclean srctree fix

I just find a bug that ``make distclean'' cannot remove the editor backup
files and the like when using build directory.  That is because the find
command is improperly searching the build directory instead of the
$(srctree) it should.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] kallsyms: verify that System.map is stable
Keith Owens [Sun, 27 Jun 2004 03:54:45 +0000 (20:54 -0700)]
[PATCH] kallsyms: verify that System.map is stable

Verify that linking kallsyms into vmlinux generates a stable System.map,
instead of assuming that it is stable.

Add CONFIG_KALLSYMS_EXTRA_PASS as a temporary workaround for unstable maps,
so users can proceed while waiting for kallsyms to be fixed.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] kallsyms: exclude kallsyms-generated symbols
Keith Owens [Sun, 27 Jun 2004 03:54:33 +0000 (20:54 -0700)]
[PATCH] kallsyms: exclude kallsyms-generated symbols

Exclude symbols added by kallsyms itself, so .tmp_kallsyms[12].S have
the same list of symbols.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Remove smbfs server->rcls/err
Zwane Mwaikambo [Sun, 27 Jun 2004 03:54:22 +0000 (20:54 -0700)]
[PATCH] Remove smbfs server->rcls/err

This is a small cleanup requested by Urban, use the rcls/err in smb_request
as opposed to smb_sb_info.

Signed-off-by: Zwane Mwaikambo <zwane@linuxpower.ca>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sysfs: fill_read_buffer() fix
Andrew Morton [Sun, 27 Jun 2004 03:54:11 +0000 (20:54 -0700)]
[PATCH] sysfs: fill_read_buffer() fix

This BUG_ON() triggers for `count = -EFOO' due to PAGE_SIZE being unsigned.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NX (No eXecute) support for x86
Ingo Molnar [Sun, 27 Jun 2004 03:54:00 +0000 (20:54 -0700)]
[PATCH] NX (No eXecute) support for x86

we'd like to announce the availability of the following kernel patch:

     http://redhat.com/~mingo/nx-patches/nx-2.6.7-rc2-bk2-AE

which makes use of the 'NX' x86 feature pioneered in AMD64 CPUs and for
which support has also been announced by Intel. (other x86 CPU vendors,
Transmeta and VIA announced support as well. Windows support for NX has
also been announced by Microsoft, for their next service pack.) The NX
feature is also being marketed as 'Enhanced Virus Protection'. This
patch makes sure Linux has full support for this hardware feature on x86
too.

What does this patch do? The pagetable format of current x86 CPUs does
not have an 'execute' bit. This means that even if an application maps a
memory area without PROT_EXEC, the CPU will still allow code to be
executed in this memory. This property is often abused by exploits when
they manage to inject hostile code into this memory, for example via a
buffer overflow.

The NX feature changes this and adds a 'dont execute' bit to the PAE
pagetable format. But since the flag defaults to zero (for compatibility
reasons), all pages are executable by default and the kernel has to be
taught to make use of this bit.

If the NX feature is supported by the CPU then the patched kernel turns
on NX and it will enforce userspace executability constraints such as a
no-exec stack and no-exec mmap and data areas. This means less chance
for stack overflows and buffer-overflows to cause exploits.

furthermore, the patch also implements 'NX protection' for kernelspace
code: only the kernel code and modules are executable - so even
kernel-space overflows are harder (in some cases, impossible) to
exploit. Here is how kernel code that tries to execute off the stack is
stopped:

 kernel tried to access NX-protected page - exploit attempt? (uid: 500)
 Unable to handle kernel paging request at virtual address f78d0f40
  printing eip:
 ...

The patch is based on a prototype NX patch written for 2.4 by Intel -
special thanks go to Suresh Siddha and Jun Nakajima @ Intel. The
existing NX support in the 64-bit x86_64 kernels has been written by
Andi Kleen and this patch is modeled after his code.

Arjan van de Ven has also provided lots of feedback and he has
integrated the patch into the Fedora Core 2 kernel. Test rpms are
available for download at:

    http://redhat.com/~arjanv/2.6/RPMS.kernel/

the kernel-2.6.6-1.411 rpms have the NX patch applied.

here's a quickstart to recompile the vanilla kernel from source with the
NX patch:

    http://redhat.com/~mingo/nx-patches/QuickStart-NX.txt

update:

 - make the heap non-executable on PT_GNU_STACK binaries.

 - make all data mmap()s (and the heap) executable on !PT_GNU_STACK
   (legacy) binaries. This has no effect on non-NX CPUs, but should be
   much more compatible on NX CPUs. The only effect it has it has on
   non-NX CPUs is the extra 'x' bit displayed in /proc/PID/maps.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] larger IO bitmaps
Stas Sergeev [Sun, 27 Jun 2004 03:53:48 +0000 (20:53 -0700)]
[PATCH] larger IO bitmaps

The previous discussion was started here:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0211.0/0477.html but in 2.4
times this was kind of problematic.

Now, with the lazy bitmap allocation and per-CPU TSS, this will really not
drain any resources I think.  8K TSS increase and 8K per process *that does
ioperm()* - I think it is not very bad.

The reasons why I need that, are described in the URL above.  Basically this
will allow to use full-screen VESA under dosemu (without LFB though), and this
may be also helpfull for the XFree project and some other projects:

http://www.uwsg.iu.edu/hypermail/linux/kernel/9807.1/1079.html

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] __alloc_bootmem_node should not panic when it fails
Anton Blanchard [Sun, 27 Jun 2004 03:53:37 +0000 (20:53 -0700)]
[PATCH] __alloc_bootmem_node should not panic when it fails

__alloc_bootmem_node currently panics if it cant satisfy an allocation for
a particular node.  Thats rather antisocial, we should at the very least
return NULL and allow the caller to proceed (eg try another node).

A quick look at alloc_bootmem_node usage suggests we should fall back to
allocating from other nodes if it fails (as arch/alpha/kernel/pci_iommu.c
and arch/x86_64/kernel/setup64.c do).

The following patch does that.  We fall back to the regular __alloc_bootmem
when __alloc_bootmem_node fails, which means all other nodes are checked
for available memory.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix usage of cpumask_t on iSeries
David Howells [Sun, 27 Jun 2004 03:53:26 +0000 (20:53 -0700)]
[PATCH] ppc64: fix usage of cpumask_t on iSeries

This fixes a bit of iSeries code that hadn't been changed to reflect that
cpumask_t is now a struct and not an integer type.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: remove a stale comment in rtas.c
Anton Blanchard [Sun, 27 Jun 2004 03:53:15 +0000 (20:53 -0700)]
[PATCH] ppc64: remove a stale comment in rtas.c

rtas.c doesn't call reloc_offset

remove comment from rtas.c and extern function declaration

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: udbg fix
Anton Blanchard [Sun, 27 Jun 2004 03:53:04 +0000 (20:53 -0700)]
[PATCH] ppc64: udbg fix

Some udbg.c cleanups:

- remove some old comments
- clean up formatting
- remove unused udbg_puthex and udbg_printSP

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: another udbg fix
Anton Blanchard [Sun, 27 Jun 2004 03:52:52 +0000 (20:52 -0700)]
[PATCH] ppc64: another udbg fix

udbg_read would lock up if ppc_md.udbg_putc didnt exist.  Just return 0 and
dont lock up instead.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: udbg should use snprintf
Anton Blanchard [Sun, 27 Jun 2004 03:52:41 +0000 (20:52 -0700)]
[PATCH] ppc64: udbg should use snprintf

Use vsnprintf/snprintf in udbg.c

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix oprofile on 970
Anton Blanchard [Sun, 27 Jun 2004 03:52:30 +0000 (20:52 -0700)]
[PATCH] ppc64: fix oprofile on 970

- Use 970/970FX instead of GPUL
- Add POWER5 and 970FX to systemcfg.h
- Create new cpu feature CPU_FTR_MMCRA_SIHV and use it

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: COMMAND_LINE_SIZE fix
Andrew Morton [Sun, 27 Jun 2004 03:52:19 +0000 (20:52 -0700)]
[PATCH] ppc64: COMMAND_LINE_SIZE fix

In file included from arch/ppc64/kernel/setup.c:37:
include/asm/machdep.h:116: `COMMAND_LINE_SIZE' undeclared here (not in a function)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add PCDP console detection support
Bjorn Helgaas [Sun, 27 Jun 2004 03:52:08 +0000 (20:52 -0700)]
[PATCH] Add PCDP console detection support

Add support for the EFI/DIG PCDP console discovery table (see
http://www.dig64.org/specifications/DIG64_HCDPv20_042804.pdf).

This moves the code from drivers/serial/8250_hcdp.[ch] to
drivers/firmware/pcdp.[ch], since it's no longer 8250-specific.  It also
obsoletes CONFIG_SERIAL_8250_HCDP, replacing it with CONFIG_EFI_PCDP (which
defaults to Y for ia64).

In a nutshell, HCDP tells us "these UARTs are available for use as a
console," and it's up to the user to explicitly specify the console device.
 The kernel can guess in some cases, but not all.

The PCDP (aka HCDP v2) tells us what we really want to know, namely, "this
UART or VGA device is the console device." (It also has provision for
support for new device types.)

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Sun, 27 Jun 2004 03:43:53 +0000 (20:43 -0700)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] PATCH: (as333) BLIST flag for non-lockable devices
Alan Stern [Sun, 27 Jun 2004 04:08:50 +0000 (23:08 -0500)]
[PATCH] PATCH: (as333) BLIST flag for non-lockable devices

On Wed, 23 Jun 2004, Mike Anderson wrote:
> Since SCSI already has the device list it would seem like we would
> possibly add a new flag like was done for mode sense. As this is not a
> transport issue I would assume we would not want to add flags in
> usb/storage, but handle it in the mid-layer as a SCSI protocol
> non-compliance.

Here is a patch that implements this suggestion.  It's rather similar to
the one that Javier Marcet wrote back in January, in

http://marc.theaimsgroup.com/?l=linux-usb-users&m=107345268526718&w=2

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[PATCH] kill obsolete typedefs and wrappers from tmscsim
Guennadi Liakhovetski [Sun, 27 Jun 2004 04:03:55 +0000 (23:03 -0500)]
[PATCH] kill obsolete typedefs and wrappers from tmscsim

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[PATCH] some tmscsim consolidation
Christoph Hellwig [Sun, 27 Jun 2004 04:00:47 +0000 (23:00 -0500)]
[PATCH] some tmscsim consolidation

On Sun, Jun 06, 2004 at 02:41:56PM +0200, Christoph Hellwig wrote:
> I've looked through my old tmscsim patch queue and found this one:
>
>  - merge dc390_initDCB into dc390_slave_alloc
>  - merge DC390_release and dc390_shutdown into dc390_remove_one,
>    use del_timer_sync to make sure the timer is really deleted on
>    removal, adjust locking accordingly
>  - some tiny related cleanups

Okay, here's a resend vs current scsi-misc-2.6 that has your three
outstanding merged.  Additionally I've also killed dc390_freeDCBs()
as all dcbs are removed in ->slave_destroy.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years agoncr53c8xx turn on clustering
James Bottomley [Sat, 26 Jun 2004 17:49:04 +0000 (12:49 -0500)]
ncr53c8xx turn on clustering

Since the driver now supports multiple virtual segments
in an iommu situation, it can also support clustering
for non-iommu systems.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[PATCH] mptbase.c build fix
Andrew Morton [Sat, 26 Jun 2004 17:01:14 +0000 (12:01 -0500)]
[PATCH] mptbase.c build fix

drivers/message/fusion/mptbase.c: In function `procmpt_summary_read':
drivers/message/fusion/mptbase.c:5160: parse error before `int'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years agoFix up fdomain after mismerge
James Bottomley [Sat, 26 Jun 2004 17:00:04 +0000 (12:00 -0500)]
Fix up fdomain after mismerge

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years agoMerge
James Bottomley [Sat, 26 Jun 2004 12:44:51 +0000 (07:44 -0500)]
Merge

22 years ago[PATCH] fix aic7xxx probing
James Bottomley [Sat, 26 Jun 2004 12:21:33 +0000 (07:21 -0500)]
[PATCH] fix aic7xxx probing

aic7xxx probing routines are still wrong on eisa.

Fix eisa by incrementing found if it returns successfully
Also make all the various incarnations of the pci probing routine
consistently return the number of found cards (or 1 for the later
generic device model probing).

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years agoMerge
James Bottomley [Sat, 26 Jun 2004 12:16:16 +0000 (07:16 -0500)]
Merge

22 years ago[PATCH] fdomain screwup
Randy Dunlap [Sat, 26 Jun 2004 12:07:04 +0000 (07:07 -0500)]
[PATCH] fdomain screwup

| From: Andrew Morton
| To: linux-scsi@vger.kernel.org
| Subject: fdomain screwup
|
| - fdomain_setup() is marked __init, but is called from non-__init
|   fdomain_16x0_detect()
|
| - fdomain_setup() is declared in drivers/scsi/pcmcia/fdomain_stub.c as
|   taking two arguments, but is implemented in fdomain_setup() taking a
|   single argument.
|
|   Please, never ever ever put extern function declarations in .c files.
|   Put it in a header file which is visible to the definition and to all
|   callsites.
|
| - fdomain_setup() is declared static, hence the linkage fails.
|
| - fdomain_16x0_bus_reset() is implemented in drivers/scsi/fdomain.c but
|   has static scope, so the call from drivers/scsi/pcmcia/fdomain_stub.c
|   doesn't work.

[I didn't find this to be the case, so I didn't fix it.]

| - fdomain_16x0_bus_reset() has an extern declaration in
|   drivers/scsi/pcmcia/fdomain_stub.c.  This should be moved to a header
|   file which is visible to etc...

Builds and loads.  No hardware to test.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
22 years ago[ATM]: fix sparse checker warnings (by Stephen Hemminger <shemminger@osdl.org>)
Chas Williams [Sat, 26 Jun 2004 09:22:25 +0000 (02:22 -0700)]
[ATM]: fix sparse checker warnings (by Stephen Hemminger <shemminger@osdl.org>)

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 26 Jun 2004 08:09:09 +0000 (01:09 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Fix SA1100 build after timer changes.
Russell King [Sat, 26 Jun 2004 15:26:09 +0000 (16:26 +0100)]
[ARM] Fix SA1100 build after timer changes.

22 years agoMerge bk://linux-mtd.bkbits.net/sbc85xx-2.6
Linus Torvalds [Sat, 26 Jun 2004 07:17:44 +0000 (00:17 -0700)]
Merge bk://linux-mtd.bkbits.net/sbc85xx-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge new serial additions
Linus Torvalds [Sat, 26 Jun 2004 07:16:14 +0000 (00:16 -0700)]
Merge new serial additions