]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] ppc64: yet another hugepage cleanup
Andrew Morton [Sat, 17 Apr 2004 10:29:02 +0000 (03:29 -0700)]
[PATCH] ppc64: yet another hugepage cleanup

From: David Gibson <david@gibson.dropbear.id.au>

Trivial cleanup to flush_hash_hugepage() in the ppc64 hugepage code.

21 years ago[PATCH] ipmi build fix
Andrew Morton [Sat, 17 Apr 2004 10:28:52 +0000 (03:28 -0700)]
[PATCH] ipmi build fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

While compiling drivers/char/ipmi/ipmi_si_intf.c in 2.6.6-rc1 on m68k, I
noticed a missing include (needed for disable_irq_nosync() and enable_irq())

21 years ago[PATCH] floppy98.c build fixes
Andrew Morton [Sat, 17 Apr 2004 10:28:36 +0000 (03:28 -0700)]
[PATCH] floppy98.c build fixes

From: "Randy.Dunlap" <rddunlap@osdl.org>

floppy98.c (along with other PC-9800 files) has not been updated lately.  It
won't build currently (2.6.5).

This patch makes floppy98 build cleanly.

21 years ago[PATCH] reiserfs: remove final sleep_on
Andrew Morton [Sat, 17 Apr 2004 10:28:24 +0000 (03:28 -0700)]
[PATCH] reiserfs: remove final sleep_on

From: Chris Mason <mason@suse.com>

Get rid of the last sleep_on in the reiserfs code

21 years ago[PATCH] reiserfs: fsync() speedup
Andrew Morton [Sat, 17 Apr 2004 10:28:13 +0000 (03:28 -0700)]
[PATCH] reiserfs: fsync() speedup

From: Chris Mason <mason@suse.com>

Updates the reiserfs-logging improvements to use schedule_timeout instead of
yield when letting the transaction grow a little before forcing a commit for
fsync/O_SYNC/O_DIRECT.

Also, when one process forces a transaction to end and plans on doing the
commit (like fsync), it sets a flag on the transaction so the journal code
knows not to bother kicking the journal work queue.

queue_delayed_work is used so that if we get a bunch of tiny transactions
ended quickly, we aren't constantly kicking the work queue.

These significantly improve reiserfs performance during fsync heavy
workloads.

21 years ago[PATCH] Add "commit=0" to reiserfs
Andrew Morton [Sat, 17 Apr 2004 10:28:02 +0000 (03:28 -0700)]
[PATCH] Add "commit=0" to reiserfs

From: Bart Samwel <bart@samwel.tk>

Add support for value 0 to the commit option of reiserfs.  Means "restore
to the default value".  For the maximum commit age, this default value is
normally read from the journal; this patch adds an extra variable to cache
the default value for the maximum commit age.

21 years ago[PATCH] ppc64: hugepage cleanup
Andrew Morton [Sat, 17 Apr 2004 10:27:51 +0000 (03:27 -0700)]
[PATCH] ppc64: hugepage cleanup

From: David Gibson <david@gibson.dropbear.id.au>

This is a small cleanup to the PPC64 hugepage code.  It removes an
unhelpful function, removing some studlyCaps in the process.  It was
originally this way to match the normal page path, but that has all been
rewritten since.

21 years ago[PATCH] Fix mq 32-bit compatibility
Andrew Morton [Sat, 17 Apr 2004 10:27:40 +0000 (03:27 -0700)]
[PATCH] Fix mq 32-bit compatibility

From: Jakub Jelinek <jakub@redhat.com>

The first change removes just a useless put_user (si_int and si_ptr are
part of the same union, si_ptr is on all arches covering whole union), the
rest is fixes for signal handling of SI_MESGQ.

21 years ago[PATCH] remove buffer_error()
Andrew Morton [Sat, 17 Apr 2004 10:27:28 +0000 (03:27 -0700)]
[PATCH] remove buffer_error()

From: Jeff Garzik <jgarzik@pobox.com>

It was debug code, no longer required.

21 years ago[PATCH] PCI MSI Kconfig consolidation
Andrew Morton [Sat, 17 Apr 2004 10:27:17 +0000 (03:27 -0700)]
[PATCH] PCI MSI Kconfig consolidation

From: Bjorn Helgaas <bjorn.helgaas@hp.com>

This consolidates the PCI MSI configuration into drivers/pci/Kconfig,
removing it from the i386, x86_64, and ia64 Kconfig.

It also changes the default for ia64 from "y" to "n".  The default on i386
is "n" already, and I'm not sure why ia64 should be different.

21 years ago[PATCH] kill submit_{bh,bio} return value
Andrew Morton [Sat, 17 Apr 2004 10:27:06 +0000 (03:27 -0700)]
[PATCH] kill submit_{bh,bio} return value

From: Jeff Garzik <jgarzik@pobox.com>

Nobody ever checks the return value of submit_bh(), and submit_bh() is the
only caller that checks the submit_bio() return value.

This changes the kernel I/O submission path -- a fast path -- so this
cleanup is also a microoptimization.

21 years ago[PATCH] kNFSdv4: Implement server-side reboot recovery (mostly)
Andrew Morton [Sat, 17 Apr 2004 10:26:55 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Implement server-side reboot recovery (mostly)

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: Implement server-side reboot recovery (server now handles
open and lock reclaims).  Not completely to spec: we don't yet store the
state in stable storage that would be required to recover correctly in
certain situations.

21 years ago[PATCH] kNFSdv4: Set credentials properly when puutrootfh is used
Andrew Morton [Sat, 17 Apr 2004 10:26:39 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Set credentials properly when puutrootfh is used

From: NeilBrown <neilb@cse.unsw.edu.au>

The credentials (uid/gid) of a process are set when a filehandle is
verified.  Nfsv4 allows requests without an explicit filehandle (instead,
an implicit 'root' filehandle) so we much make sure the credentials are set
for these requests too.

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: added a call to nfsd_setuser in nfsd4_putrootfh so that nfsd
runs as the rpc->cred user.

21 years ago[PATCH] kNFSdv4: Improve how locking copes with replays
Andrew Morton [Sat, 17 Apr 2004 10:26:28 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Improve how locking copes with replays

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: Hold state_lock longer so the stateowner doesn't diseappear
out from under us before we get the chance to encode the replay.  Don't
attempt to save replay if we failed to find a stateowner.

21 years ago[PATCH] kNFSdv4: Allow locku replays aswell
Andrew Morton [Sat, 17 Apr 2004 10:26:12 +0000 (03:26 -0700)]
[PATCH] kNFSdv4: Allow locku replays aswell

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: locku replies should be saved for possible replay as well.

21 years ago[PATCH] kNFSdv4: Keep state to allow replays for 'close' to work.
Andrew Morton [Sat, 17 Apr 2004 10:25:57 +0000 (03:25 -0700)]
[PATCH] kNFSdv4: Keep state to allow replays for 'close' to work.

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

From: Andros: Idea is to keep around a list of openowners recently released
by closes, and make sure they stay around long enough so that replays still
work.

21 years ago[PATCH] kNFSdv4: Fix bad error returm from svcauth_gss_accept
Andrew Morton [Sat, 17 Apr 2004 10:25:42 +0000 (03:25 -0700)]
[PATCH] kNFSdv4: Fix bad error returm from svcauth_gss_accept

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Error return when the client supplies a bad service should be badcred.

21 years ago[PATCH] kNFSdv4: nfsd4_readdir fixes
Andrew Morton [Sat, 17 Apr 2004 10:25:31 +0000 (03:25 -0700)]
[PATCH] kNFSdv4: nfsd4_readdir fixes

From: NeilBrown <neilb@cse.unsw.edu.au>

From: "J. Bruce Fields" <bfields@fieldses.org>

Fix out-of-spec errors in nfs4 readdir.  Add checks for bad cookie values.

(plus compile fix from akpm)

21 years ago[PATCH] dm: Use an EMIT macro in the status function.
Andrew Morton [Sat, 17 Apr 2004 10:25:21 +0000 (03:25 -0700)]
[PATCH] dm: Use an EMIT macro in the status function.

From: Kevin Corry <kevcorry@us.ibm.com>

Striped: Use an EMIT macro in the status function.

21 years ago[PATCH] dm: avoid ioctl buffer overrun
Andrew Morton [Sat, 17 Apr 2004 10:25:10 +0000 (03:25 -0700)]
[PATCH] dm: avoid ioctl buffer overrun

From: Kevin Corry <kevcorry@us.ibm.com>

dm-ioctl.c::retrieve_status(): Prevent overrunning the ioctl buffer by making
sure we don't call the target status routine with a buffer size limit of
zero.  [Kevin Corry, Alasdair Kergon]

21 years ago[PATCH] dm: fix a comment
Andrew Morton [Sat, 17 Apr 2004 10:24:54 +0000 (03:24 -0700)]
[PATCH] dm: fix a comment

From: Kevin Corry <kevcorry@us.ibm.com>

Clarify the comment regarding the "next" field in struct dm_target_spec.  The
"next" field has different behavior if you're performing a DM_TABLE_STATUS
command than it does if you're performing a DM_TABLE_LOAD command.

See populate_table() and retrieve_status() in drivers/md/dm-ioctl.c for more
details on how this field is used.

21 years ago[PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status().
Andrew Morton [Sat, 17 Apr 2004 10:24:39 +0000 (03:24 -0700)]
[PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status().

From: Kevin Corry <kevcorry@us.ibm.com>

Correctly align the dm_target_spec structures during retrieve_status().

21 years ago[PATCH] dm: Log an error if the target has unknown target type, or zero length.
Andrew Morton [Sat, 17 Apr 2004 10:24:28 +0000 (03:24 -0700)]
[PATCH] dm: Log an error if the target has unknown target type, or zero length.

From: Kevin Corry <kevcorry@us.ibm.com>

Log an error if the target has unknown target type, or zero length.

21 years ago[PATCH] dm: Use wake_up() rather than wake_up_interruptible()
Andrew Morton [Sat, 17 Apr 2004 10:24:16 +0000 (03:24 -0700)]
[PATCH] dm: Use wake_up() rather than wake_up_interruptible()

From: Kevin Corry <kevcorry@us.ibm.com>

dm.c: Use wake_up() rather than wake_up_interruptible() with the eventq.

21 years ago[PATCH] dm: Handle interrupts within suspend.
Andrew Morton [Sat, 17 Apr 2004 10:24:04 +0000 (03:24 -0700)]
[PATCH] dm: Handle interrupts within suspend.

From: Kevin Corry <kevcorry@us.ibm.com>

Handle interrupts within suspend.

21 years ago[PATCH] dm: Check the uptodate flag in sub-bios to see if there was an error.
Andrew Morton [Sat, 17 Apr 2004 10:23:52 +0000 (03:23 -0700)]
[PATCH] dm: Check the uptodate flag in sub-bios to see if there was an error.

From: Kevin Corry <kevcorry@us.ibm.com>

Check the uptodate flag in sub-bios to see if there was an error.  [Mike
Christie]

21 years ago[PATCH] dm: Fix 64/32 bit ioctl problems.
Andrew Morton [Sat, 17 Apr 2004 10:23:39 +0000 (03:23 -0700)]
[PATCH] dm: Fix 64/32 bit ioctl problems.

From: Kevin Corry <kevcorry@us.ibm.com>

Fix 64/32 bit ioctl problems.

21 years ago[PATCH] Fix exec in multithreaded application
Petr Vandrovec [Sat, 17 Apr 2004 10:08:23 +0000 (03:08 -0700)]
[PATCH] Fix exec in multithreaded application

The recent controlling terminal changes broke exec from multithreaded
application because de_thread was not upgraded to new arrangement.  I
know that I should not have LD_PRELOAD library which automatically
creates one thread, but it looked like a cool solution to the problem I
had.

de_thread must initialize the controlling terminal information in the
new thread group.

21 years agoMerge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux
Linus Torvalds [Fri, 16 Apr 2004 10:50:41 +0000 (03:50 -0700)]
Merge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoAdd sparse __safe annotation
Linus Torvalds [Fri, 16 Apr 2004 10:49:32 +0000 (03:49 -0700)]
Add sparse __safe annotation

21 years agoMake sock_no_{get|set}opt() use the proper __user annotation
Linus Torvalds [Fri, 16 Apr 2004 10:48:52 +0000 (03:48 -0700)]
Make sock_no_{get|set}opt() use the proper __user annotation

21 years ago[PATCH] Fix typo in the openpromfs remount patch
Marcel Holtmann [Fri, 16 Apr 2004 09:18:05 +0000 (02:18 -0700)]
[PATCH] Fix typo in the openpromfs remount patch

The just merged openpromfs remount patch contains a silly typo in the
field of the super_operations structure.

Fixed like this.

21 years agoMerge bk://gkernel.bkbits.net/misc-2.6
Linus Torvalds [Fri, 16 Apr 2004 09:17:28 +0000 (02:17 -0700)]
Merge bk://gkernel.bkbits.net/misc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Fri, 16 Apr 2004 09:16:31 +0000 (02:16 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Fri, 16 Apr 2004 09:15:36 +0000 (02:15 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] pcnet32 transmit performance fix
Don Fry [Fri, 16 Apr 2004 09:01:59 +0000 (05:01 -0400)]
[PATCH] pcnet32 transmit performance fix

When the pcnet32 adapter is installed in a system with long PCI latency
and the read burst bit is not set, performance on transmission is very
low (under 20Mbit on a 100Mbit link).  This patch against 2.6.6-rc1 will
make sure that read and write bursts are enabled.  Tested on ppc64 and
ia32.

21 years ago[netdrvr via-rhine] Fix MII phy scanning
Jeff Garzik [Fri, 16 Apr 2004 09:01:32 +0000 (05:01 -0400)]
[netdrvr via-rhine] Fix MII phy scanning

Noticed by Roger Luethi, via-rhine maintainer.

21 years ago[PATCH] amd8111e retval fix
Andrew Morton [Fri, 16 Apr 2004 08:59:08 +0000 (04:59 -0400)]
[PATCH] amd8111e retval fix

drivers/net/amd8111e.c: In function `amd8111e_vlan_rx':
drivers/net/amd8111e.c:677: warning: control reaches end of non-void function

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Fri, 16 Apr 2004 08:55:41 +0000 (04:55 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 16 Apr 2004 08:14:24 +0000 (01:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Add __user address space identifiers for sparse.
Russell King [Fri, 16 Apr 2004 23:09:02 +0000 (00:09 +0100)]
[ARM] Add __user address space identifiers for sparse.

21 years ago[ARM] Update mach-types file.
Russell King [Fri, 16 Apr 2004 23:02:08 +0000 (00:02 +0100)]
[ARM] Update mach-types file.

21 years ago[ARM] Remove needless export of __do_softirq()
Russell King [Fri, 16 Apr 2004 22:54:40 +0000 (23:54 +0100)]
[ARM] Remove needless export of __do_softirq()

21 years ago[ARM] Add --no-undefined to linker command line.
Russell King [Fri, 16 Apr 2004 16:27:18 +0000 (17:27 +0100)]
[ARM] Add --no-undefined to linker command line.

Many binutils versions over the last year appear to silently build
assembler files with undefined constants, and able to successfully
create executables from such files.  The assembler appears to add
undefined symbols to the symbol table without any corresponding
relocation information.  Obviously this is bad news since the
resulting executable may not be what the programmer intended.
Work around the problem by forcing the linker to fail if there are
any undefined symbols in the final object(s).

21 years agoMerge master.kernel.org:/home/davem/BK/tg3-2.6
Linus Torvalds [Fri, 16 Apr 2004 08:05:17 +0000 (01:05 -0700)]
Merge master.kernel.org:/home/davem/BK/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] Fix mprotect bogus check.
Dave Jones [Fri, 16 Apr 2004 08:03:33 +0000 (01:03 -0700)]
[PATCH] Fix mprotect bogus check.

If we want to trap NULL vma's, we'd better be sure
that we don't dereference it first..

21 years ago[PATCH] Fix edd driver dereferencing before pointer checks.
Dave Jones [Fri, 16 Apr 2004 08:03:20 +0000 (01:03 -0700)]
[PATCH] Fix edd driver dereferencing before pointer checks.

Lots of occurences of the same bug..

21 years ago[PATCH] ide-probe.c: SanDisk is flash
Bartlomiej Zolnierkiewicz [Fri, 16 Apr 2004 08:03:09 +0000 (01:03 -0700)]
[PATCH] ide-probe.c: SanDisk is flash

From: Meelis Roos <mroos@linux.ee>

This is self-explanatory - former SunDisk renamed itself to SanDisk and
now there are flash disks with both names.

21 years ago[PATCH] remount: mount flags filtering
Alexander Viro [Fri, 16 Apr 2004 07:27:54 +0000 (00:27 -0700)]
[PATCH] remount: mount flags filtering

 - we could pass MS_ACTIVE in mount flags and it would be passed into
   ->get_sb(), leading to interesting failure modes.  This flag is only
   for internal use (it's set once fill_super is complete and reset
   before the inode eviction on umount); made sure that we never get
   tricked into having it set it too early.

21 years ago[PATCH] remount: forced-nodiratime filesystems
Alexander Viro [Fri, 16 Apr 2004 07:27:41 +0000 (00:27 -0700)]
[PATCH] remount: forced-nodiratime filesystems

 - a bunch of filesystems force MS_NODIRATIME on mount but forgot to do
   the same on remount.  Fixed.

21 years ago[PATCH] remount: forced-ro filesystems
Alexander Viro [Fri, 16 Apr 2004 07:27:28 +0000 (00:27 -0700)]
[PATCH] remount: forced-ro filesystems

 - a bunch of r/o filesystems did force MS_RDONLY on mount but forgot to
   do the same on remount.  Fixed.

21 years ago[PATCH] remount: fs/jffs2
Alexander Viro [Fri, 16 Apr 2004 07:27:14 +0000 (00:27 -0700)]
[PATCH] remount: fs/jffs2

 - jff2->remount_fs() was buggy - it played with sb->s_flags instead of
   doing modifications to *flags (->s_flags will be overwritten using
   *flags right after the call of ->remount_fs()).  Moreover, it tried
   to do the wrong thing - it should just enforce noatime and be done
   with that.  Fixed, ACKed by maintainer.

21 years ago[PATCH] remount: fs/openpromfs
Alexander Viro [Fri, 16 Apr 2004 07:27:00 +0000 (00:27 -0700)]
[PATCH] remount: fs/openpromfs

 - we should force noatime both on mount and remount.  Fixed.

21 years ago[PATCH] remount: fs/udf fixes
Alexander Viro [Fri, 16 Apr 2004 07:26:48 +0000 (00:26 -0700)]
[PATCH] remount: fs/udf fixes

 - same problem as with sysv - mount-time checks for fs being good for
   writing are absent on remount.  Check added.

21 years ago[PATCH] remount: fs/sysv fixes
Alexander Viro [Fri, 16 Apr 2004 07:26:34 +0000 (00:26 -0700)]
[PATCH] remount: fs/sysv fixes

 - several variants of sysv fs are supported only r/o.  Driver does
   force r/o on mount, but doesn't do anything on remount.  As the
   result, one can remount them r/w and results are Not Pretty(tm).
   Missing checks added, code cleaned up.

 - we had double-brelse() in v7fs - if sanity checks on root inode will
   succeed, but allocation of root dentry fails, we brelse() the same
   buffer_head twice.  Fixed.

21 years agoMerge nuts.davemloft.net:/disk1/BK/tg3work-2.6
David S. Miller [Fri, 16 Apr 2004 07:05:19 +0000 (00:05 -0700)]
Merge nuts.davemloft.net:/disk1/BK/tg3work-2.6
into nuts.davemloft.net:/disk1/BK/tg3-2.6

21 years agoMerge
David S. Miller [Fri, 16 Apr 2004 04:36:57 +0000 (21:36 -0700)]
Merge

21 years agoMerge nuts.davemloft.net:/disk1/BK/net-2.6.6
David S. Miller [Fri, 16 Apr 2004 03:39:56 +0000 (20:39 -0700)]
Merge nuts.davemloft.net:/disk1/BK/net-2.6.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years agoMerge.
David S. Miller [Fri, 16 Apr 2004 03:37:13 +0000 (20:37 -0700)]
Merge.

21 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.6
Linus Torvalds [Fri, 16 Apr 2004 00:01:03 +0000 (17:01 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Thu, 15 Apr 2004 23:58:40 +0000 (16:58 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://linuxusb.bkbits.net/d
Linus Torvalds [Thu, 15 Apr 2004 23:56:30 +0000 (16:56 -0700)]
Merge bk://linuxusb.bkbits.net/d
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] ppc64: Fix RTAS races on pSeries
Benjamin Herrenschmidt [Thu, 15 Apr 2004 23:55:37 +0000 (16:55 -0700)]
[PATCH] ppc64: Fix RTAS races on pSeries

The low level kernel interface to RTAS (the firmware runtime services)
was plagued with races that could cause from bogus results of RTAS
operations to total machine crashes in some circumstances. This patch
fix the ones I could identify, hoping I didn't miss any. I also added
a WARN_ON (well, it's asm equivalent) to enter_rtas to make sure we
never _ever_ try to call that with interrupts enabled.

21 years ago[PATCH] ppc64: always initialise dn->type and dn->name
Anton Blanchard [Thu, 15 Apr 2004 23:53:12 +0000 (16:53 -0700)]
[PATCH] ppc64: always initialise dn->type and dn->name

This fix comes from ppc32. Always initialise dn->type and dn->name so
that code doesnt have to check for NULL everywhere. There is at least
one bug report where we oopsed because of this.

21 years ago[PATCH] ppc64: catch branch to 0 in real mode
Anton Blanchard [Thu, 15 Apr 2004 23:52:58 +0000 (16:52 -0700)]
[PATCH] ppc64: catch branch to 0 in real mode

We have been debugging some strange fails where we branch to 0 in real
mode. At the moment this results in the cpu running through the
initialisation code and failing somewhere well into it.

The following patch uses the featuring nop'ing code to remove the branch
at real address 0 so it falls through to a trap instruction and gets
caught early.

21 years ago[PATCH] NMI watchdog Pentium M support
Adam Goode [Thu, 15 Apr 2004 23:44:35 +0000 (16:44 -0700)]
[PATCH] NMI watchdog Pentium M support

This adda nmi_watchdog=2 support to the Pentium M processor.  The P-M is
a P6 chip, but it shares some chipset logic with the Pentium 4, so it
requires this workaround to function.

Without this patch, NMI gets stuck after 1 count.  With it, the NMI
fires and breaks me out of UHCI-related hard lockups.

This patch is basically a modified version of the same patch for
oprofile. See the threaded discussion here:

http://lkml.org/lkml/2004/2/12/181

21 years ago[IXGB]: ixgb.h needs dma-mapping.h
David S. Miller [Thu, 15 Apr 2004 16:55:02 +0000 (09:55 -0700)]
[IXGB]: ixgb.h needs dma-mapping.h

21 years ago[E1000]: e1000.h needs dma-mapping.h
David S. Miller [Thu, 15 Apr 2004 16:54:31 +0000 (09:54 -0700)]
[E1000]: e1000.h needs dma-mapping.h

21 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Thu, 15 Apr 2004 15:28:52 +0000 (11:28 -0400)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/ieee1394-2.6

21 years ago[PATCH] Amiga Zorro8390 Ethernet section conflict
Geert Uytterhoeven [Thu, 15 Apr 2004 04:57:06 +0000 (21:57 -0700)]
[PATCH] Amiga Zorro8390 Ethernet section conflict

Jeff Garzik notes that the previous cleanup highlights a bug:
>
>  static const struct card_info {
>      zorro_id id;
>      const char *name;
>      unsigned int offset;
>  } cards[] __initdata = {
>
> and the lone user is __devinit:
>
> static int __devinit zorro8390_init_one(struct zorro_dev *z,
>                                        const struct zorro_device_id *ent)

Here's the fix..

21 years ago[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change
James Bottomley [Thu, 15 Apr 2004 04:56:52 +0000 (21:56 -0700)]
[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change

The author apparently didn't understand that only the mach-default
include directory is included by fallback for header files only.  You
can't stick a .c file in mach-default and expect all subarchs to be able
to use it.

The correct fix is to put std_resources.c in the kernel directory and
give it its own Kconfig symbol for conditional compile so that subarchs
may choose to include it or not.

21 years ago[PATCH] USB: Fix vicam debug compile, fix user access
Michal Schmidt [Thu, 15 Apr 2004 03:29:23 +0000 (20:29 -0700)]
[PATCH] USB: Fix vicam debug compile, fix user access

The last copy_from_user patch to the vicam driver broke compilation with
VICAM_DEBUG on.

There is also another copy_from_user missing in case VIDIOCSPICT.

This fixes both issues.

21 years agoMerge bk://linuxusb.bkbits.net/pci-2.6
Linus Torvalds [Thu, 15 Apr 2004 03:24:09 +0000 (20:24 -0700)]
Merge bk://linuxusb.bkbits.net/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[PATCH] fix 4k irqstacks on x86 (and add voyager support)
James Bottomley [Thu, 15 Apr 2004 02:20:00 +0000 (19:20 -0700)]
[PATCH] fix 4k irqstacks on x86 (and add voyager support)

There's a bug in the x86 code in that it sets the boot CPU to zero.

This isn't correct since some subarch's use physically indexed CPUs.
However, subarchs have either set the boot cpu before irq_INIT() (or
just inherited the default zero from INIT_THREAD_INFO()), so it's safe
to believe current_thread_info()->cpu about the boot cpu.

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Thu, 15 Apr 2004 01:39:55 +0000 (18:39 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/driver-2.6

21 years agomerge
Greg Kroah-Hartman [Thu, 15 Apr 2004 01:22:54 +0000 (18:22 -0700)]
merge

21 years ago[PATCH] ppc64: update g5_defconfig
Benjamin Herrenschmidt [Thu, 15 Apr 2004 00:04:22 +0000 (17:04 -0700)]
[PATCH] ppc64: update g5_defconfig

This adds IOMMU support & IOMU virtual merging to the default g5 config.

This will not impair performances of machines that don't need the iommu
(the kernel will only enable it if you have more than 2Gb of RAM, though
you can explicitely enable it using a command line argument).

21 years ago[PATCH] ppc64: Fix possible duplicate MMU hash entries
Benjamin Herrenschmidt [Thu, 15 Apr 2004 00:04:10 +0000 (17:04 -0700)]
[PATCH] ppc64: Fix possible duplicate MMU hash entries

The current code has a subtle race where 2 hash PTEs can be inserted
for the same virtual address for a short period of time. There should
not be a stale one as the "old" one ultimately gets flushed, but the
architecture specifies that having two hash PTE is illegal and can
result in undefined behaviour.

This patch fixes it by never clearing the _PAGE_HASHPTE bit when
doing test_and_clear_{young,dirty}. That means that subsequent faults
on those pages will have a bit more overhead to "discover" that the
hash entry was indeed evicted.

It also adds a small optisation to avoid doing the atomic operation
and the hash flush in test_and_clear_dirty when the page isn't dirty
or when setting write protect while it's already set.

21 years ago[PATCH] posix messages queues for s390.
Andrew Morton [Thu, 15 Apr 2004 00:03:54 +0000 (17:03 -0700)]
[PATCH] posix messages queues for s390.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

The new message queue interface needs the following patch to get it working
on s390 (31-bit, 64-bit and 31-bit compat).

21 years ago[PATCH] light-weight auditing framework for s390.
Andrew Morton [Thu, 15 Apr 2004 00:03:43 +0000 (17:03 -0700)]
[PATCH] light-weight auditing framework for s390.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

This patch adds the TIF_SYSCALL_AUDIT option to the s390 ptrace interface.

21 years ago[PATCH] Add mqueue support to x86-64
Andrew Morton [Thu, 15 Apr 2004 00:03:32 +0000 (17:03 -0700)]
[PATCH] Add mqueue support to x86-64

From: Andi Kleen <ak@suse.de>

Add POSIX mqueue support to x86-64.

21 years ago[PATCH] ext3: journalled quotas
Andrew Morton [Thu, 15 Apr 2004 00:03:20 +0000 (17:03 -0700)]
[PATCH] ext3: journalled quotas

From: Jan Kara <jack@ucw.cz>

Journalled quota support for ext3: The patch consists of two parts - ext3
changes and changes in generic quota code.  The main idea of the changes is
that a transaction is always started before any operation which changes quota
file and dirtifying of the quota causes its write to disk.  These two changes
assure that quota change is journalled into the same transaction as the file
change and hence after journal replay quota is consistent with the filesystem
state.  As during journal replay inodes from orphan list are deleted/truncated
we have to do quota_on before the replay of the orphan list - this problem is
solved by additional mount options to ext3 with quota file names and format.

Some changes in generic code were also needed to assure that quota structure
in file is always allocated and so ordinary quota operations (like
adding/deleting a block/inode) need only a few blocks from the transaction.

21 years ago[PATCH] mq_open() and close_on_exec
Andrew Morton [Thu, 15 Apr 2004 00:03:05 +0000 (17:03 -0700)]
[PATCH] mq_open() and close_on_exec

From: Chris Wright <chrisw@osdl.org>

SUSv3 doesn't seem to specify one way or the other.  I don't have the POSIX
specs, and the old docs I have suggest that mq_open() creates an object
which is to be closed upon exec.

Jakub said:

  I think it is valid and required:

    http://www.opengroup.org/onlinepubs/007904975/functions/exec.html

    All open message queue descriptors in the calling process shall be
    closed, as described in mq_close()

  I'll add a new test for this into glibc testsuite.

21 years ago[PATCH] radix-tree comment fix
Andrew Morton [Thu, 15 Apr 2004 00:02:51 +0000 (17:02 -0700)]
[PATCH] radix-tree comment fix

Fix various bogons and outright lies.

21 years ago[PATCH] Fix mq_notify with SIGEV_NONE notification
Andrew Morton [Thu, 15 Apr 2004 00:02:37 +0000 (17:02 -0700)]
[PATCH] Fix mq_notify with SIGEV_NONE notification

From: Jakub Jelinek <jakub@redhat.com>

mq_notify (q, NULL)

and
struct sigevent ev = { .sigev_notify = SIGEV_NONE };
mq_notify (q, &ev)

are not the same thing in POSIX, yet the kernel treats them the same.  Only
the former makes the notification available to other processes immediately,
see

http://www.opengroup.org/onlinepubs/007904975/functions/mq_notify.html

Without the patch below,

http://sources.redhat.com/ml/libc-hacker/2004-04/msg00028.html

glibc test fails.

I looked at mq in Solaris and they behave the same in this regard as Linux
with this patch.  Kernel with this patch passes both Intel POSIX testsuite
(with testsuite fixes from Ulrich) and glibc mq testsuite.

21 years agoMerge redhat.com:/spare/repo/linux-2.6
Jeff Garzik [Wed, 14 Apr 2004 18:34:22 +0000 (14:34 -0400)]
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/misc-2.6

21 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.6
Linus Torvalds [Wed, 14 Apr 2004 18:25:59 +0000 (11:25 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[libata sata_promise] fix taskfile delivery cases
Jeff Garzik [Wed, 14 Apr 2004 17:04:48 +0000 (13:04 -0400)]
[libata sata_promise] fix taskfile delivery cases

We should only be touching the ATA shadow registers if we are doing
PIO.

21 years ago[libata] move some PIO state init to its proper place
Jeff Garzik [Wed, 14 Apr 2004 17:04:35 +0000 (13:04 -0400)]
[libata] move some PIO state init to its proper place

21 years ago[libata] abstract SCSI->ATA translation a bit
Jeff Garzik [Wed, 14 Apr 2004 17:03:15 +0000 (13:03 -0400)]
[libata] abstract SCSI->ATA translation a bit

21 years agoLinux 2.6.6-rc1 v2.6.6-rc1
Linus Torvalds [Wed, 14 Apr 2004 11:31:20 +0000 (04:31 -0700)]
Linux 2.6.6-rc1

21 years agoMerge redhat.com:/spare/repo/netdev-2.6/janitor
Jeff Garzik [Wed, 14 Apr 2004 16:50:03 +0000 (12:50 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/janitor
into redhat.com:/spare/repo/net-drivers-2.6

21 years agoMerge bk://linuxusb.bkbits.net/i2c-2.6
Linus Torvalds [Wed, 14 Apr 2004 08:47:05 +0000 (01:47 -0700)]
Merge bk://linuxusb.bkbits.net/i2c-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://linuxusb.bkbits.net/usb-2.6
Linus Torvalds [Wed, 14 Apr 2004 08:12:43 +0000 (01:12 -0700)]
Merge bk://linuxusb.bkbits.net/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Wed, 14 Apr 2004 08:11:34 +0000 (01:11 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 1810/1: Support for non-PXA XScale UARTs
Deepak Saxena [Wed, 14 Apr 2004 19:39:05 +0000 (20:39 +0100)]
[ARM PATCH] 1810/1: Support for non-PXA XScale UARTs

Patch from Deepak Saxena

Supersedes 1809/1

21 years ago[SERIAL] Add ARM PL011 uart primecell support.
Russell King [Wed, 14 Apr 2004 18:33:32 +0000 (19:33 +0100)]
[SERIAL] Add ARM PL011 uart primecell support.

This adds support for the AMBA PL011 UART primecell, and moves the
existing AMBA UART support to indicate it covers the AMBA PL010
primecell.

21 years ago[PATCH] yenta: interrupt routing for TI briges
Daniel Ritz [Wed, 14 Apr 2004 07:46:25 +0000 (00:46 -0700)]
[PATCH] yenta: interrupt routing for TI briges

Some TI cardbus bridges found in notebooks and PCI add-on cards are
uninitialized.  This means the interrupt mode and the interrupt routing
is wrong in most cases, ending up in non working PCI interrupts.

This makes the TI Yenta driver probe the PCI interrupt and adjust the
interrupt setting if no interrupts are delivered.  It's done in a safe
way, that doesn't hurt working setups.

Function 1 on two slot devices is handled differently from function 0
since both share the settings.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 14 Apr 2004 07:44:30 +0000 (00:44 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Use #defined constants for handle_mm_fault and __do_page_fault.
Russell King [Wed, 14 Apr 2004 21:44:50 +0000 (22:44 +0100)]
[ARM] Use #defined constants for handle_mm_fault and __do_page_fault.