]> git.hungrycats.org Git - linux/log
linux
23 years agoMerge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
Greg Kroah-Hartman [Tue, 18 Feb 2003 08:12:44 +0000 (00:12 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years ago[PATCH] USB: serial core fix to solve ordering issues when destroying our objects.
Greg Kroah-Hartman [Tue, 18 Feb 2003 08:05:07 +0000 (00:05 -0800)]
[PATCH] USB: serial core fix to solve ordering issues when destroying our objects.

23 years ago[PATCH] USB serial: fix locking logic
Greg Kroah-Hartman [Tue, 18 Feb 2003 08:03:32 +0000 (00:03 -0800)]
[PATCH] USB serial: fix locking logic

This gets rid of the port semaphore, and the serialization caused by
that, and replaces it with the proper reference counting logic for
the usb serial object.

23 years ago[PATCH] USB: add "present" flag to usb_device structure.
Greg Kroah-Hartman [Tue, 18 Feb 2003 07:52:11 +0000 (23:52 -0800)]
[PATCH] USB: add "present" flag to usb_device structure.

This solves lots of races when drivers hold a reference to the usb_device
after the device is physically removed from the system (like when a user
has a open handle.)  This now prevents any new urbs being submitted or
canceled for the device.

23 years agoAdd ndelay() compatibility macro. If the architecture
Linus Torvalds [Tue, 18 Feb 2003 06:42:21 +0000 (22:42 -0800)]
Add ndelay() compatibility macro. If the architecture
doesn't define ndelay(), fall back on udelay().

23 years ago[PATCH] POSIX clocks & timers
George Anzinger [Tue, 18 Feb 2003 06:41:13 +0000 (22:41 -0800)]
[PATCH] POSIX clocks & timers

This is version 23 or so of the POSIX timer code.

Internal changelog:

 - Changed the signals code to match the new order of things.  Also the
   new xtime_lock code needed to be picked up.  It made some things a lot
   simpler.

 - Fixed a spin lock hand off problem in locking timers (thanks
   to Randy).

 - Fixed nanosleep to test for out of bound nanoseconds
   (thanks to Julie).

 - Fixed a couple of id deallocation bugs that left old ids
   laying around (hey I get this one).

 - This version has a new timer id manager.  Andrew Morton
   suggested elimination of recursion (done) and I added code
   to allow it to release unused nodes.  The prior version only
   released the leaf nodes.  (The id manager uses radix tree
   type nodes.)  Also added is a reuse count so ids will not
   repeat for at least 256 alloc/ free cycles.

 - The changes for the new sys_call restart now allow one
   restart function to handle both nanosleep and clock_nanosleep.
   Saves a bit of code, nice.

 - All the requested changes and Lindent too :).

 - I also broke clock_nanosleep() apart much the same way
   nanosleep() was with the 2.5.50-bk5 changes.

TIMER STORMS

The POSIX clocks and timers code prevents "timer storms" by
not putting repeating timers back in the timer list until
the signal is delivered for the prior expiry.  Timer events
missed by this delay are accounted for in the timer overrun
count.  The net result is MUCH lower system overhead while
presenting the same info to the user as would be the case if
an interrupt and timer processing were required for each
increment in the overrun count.

23 years ago[PATCH] make the sl82c105 work again
Alan Cox [Tue, 18 Feb 2003 03:49:46 +0000 (19:49 -0800)]
[PATCH] make the sl82c105 work again

23 years ago[PATCH] update sis driver
Alan Cox [Tue, 18 Feb 2003 03:49:31 +0000 (19:49 -0800)]
[PATCH] update sis driver

23 years ago[PATCH] clean up siimage, use generic mmio ops
Alan Cox [Tue, 18 Feb 2003 03:49:17 +0000 (19:49 -0800)]
[PATCH] clean up siimage, use generic mmio ops

23 years ago[PATCH] part fix the highpoint timing/overclock bug
Alan Cox [Tue, 18 Feb 2003 03:49:02 +0000 (19:49 -0800)]
[PATCH] part fix the highpoint timing/overclock bug

23 years ago[PATCH] don't force enable generic IDE controllers
Alan Cox [Tue, 18 Feb 2003 03:48:48 +0000 (19:48 -0800)]
[PATCH] don't force enable generic IDE controllers

Fixes hangs on Micron Samurai boards

23 years ago[PATCH] fix some escaped globals
Alan Cox [Tue, 18 Feb 2003 03:48:35 +0000 (19:48 -0800)]
[PATCH] fix some escaped globals

23 years ago[PATCH] fix ALi 32bitisms, fix ALi FIFO, fix ALi IRQ crash
Alan Cox [Tue, 18 Feb 2003 03:48:21 +0000 (19:48 -0800)]
[PATCH] fix ALi 32bitisms, fix ALi FIFO, fix ALi IRQ crash

also Enable ATI IGP/ALi combo

23 years ago[PATCH] update ide-floppy for new style onlydisk
Alan Cox [Tue, 18 Feb 2003 03:48:07 +0000 (19:48 -0800)]
[PATCH] update ide-floppy for new style onlydisk

23 years ago[PATCH] ide-dma, fix bogus inc of waiting_for_dma
Alan Cox [Tue, 18 Feb 2003 03:47:52 +0000 (19:47 -0800)]
[PATCH] ide-dma, fix bogus inc of waiting_for_dma

23 years ago[PATCH] clean up DMA reference, new style ONLYDISK
Alan Cox [Tue, 18 Feb 2003 03:47:39 +0000 (19:47 -0800)]
[PATCH] clean up DMA reference, new style ONLYDISK

23 years ago[PATCH] add a reminder for vdma on non disk
Alan Cox [Tue, 18 Feb 2003 03:47:26 +0000 (19:47 -0800)]
[PATCH] add a reminder for vdma on non disk

23 years ago[PATCH] use ide_execute_command for CD
Alan Cox [Tue, 18 Feb 2003 03:47:11 +0000 (19:47 -0800)]
[PATCH] use ide_execute_command for CD

This is the only user I'll feed you this time. As with 2.4 I want it to
run for a bit on read only media first 8)

23 years ago[PATCH] copy idesync
Alan Cox [Tue, 18 Feb 2003 03:46:57 +0000 (19:46 -0800)]
[PATCH] copy idesync

We need to copy the new io op. Actually we need to shoot the entire mess
in this function and make the drivers always set it but not today.

23 years ago[PATCH] resync externs, add execute command remove is_flashcard
Alan Cox [Tue, 18 Feb 2003 03:46:44 +0000 (19:46 -0800)]
[PATCH] resync externs, add execute command remove is_flashcard

(is_flashcard is unneeded outside ide_probe as we have a drive->flash check)

23 years ago[PATCH] kill more ioregs, add OUTBSYNC
Alan Cox [Tue, 18 Feb 2003 03:46:30 +0000 (19:46 -0800)]
[PATCH] kill more ioregs, add OUTBSYNC

23 years ago[PATCH] add pio_speed
Alan Cox [Tue, 18 Feb 2003 03:46:16 +0000 (19:46 -0800)]
[PATCH] add pio_speed

Some drivers need this. Its in the core as the core eventually needs to
be doing the tracking here

23 years ago[PATCH] exterminate unused io_ops structures and switch to ulong
Alan Cox [Tue, 18 Feb 2003 03:46:02 +0000 (19:46 -0800)]
[PATCH] exterminate unused io_ops structures and switch to ulong

The iops struct may be a good idea in the longer run but right now its
unused and its mess that can be restored neatly later on.

23 years ago[PATCH] add a 'NO_IRQ' definition to IDE
Alan Cox [Tue, 18 Feb 2003 03:45:47 +0000 (19:45 -0800)]
[PATCH] add a 'NO_IRQ' definition to IDE

(second hunk just makes 2.4/2.5 header match format)

23 years ago[PATCH] fix path names and printks in IDE pci
Alan Cox [Tue, 18 Feb 2003 03:45:33 +0000 (19:45 -0800)]
[PATCH] fix path names and printks in IDE pci

23 years ago[PATCH] rmeove ide_ioreg_t from PCI ide
Alan Cox [Tue, 18 Feb 2003 03:45:17 +0000 (19:45 -0800)]
[PATCH] rmeove ide_ioreg_t from PCI ide

23 years ago[PATCH] fix the rest of the names/ide_ioreg_t in ide legacy
Alan Cox [Tue, 18 Feb 2003 03:45:02 +0000 (19:45 -0800)]
[PATCH] fix the rest of the names/ide_ioreg_t in ide legacy

23 years ago[PATCH] fix int for i/o in pcmcia ide_cs
Alan Cox [Tue, 18 Feb 2003 03:44:47 +0000 (19:44 -0800)]
[PATCH] fix int for i/o in pcmcia ide_cs

23 years ago[PATCH] path/ide_ioreg_t fixes for legacy drivers
Alan Cox [Tue, 18 Feb 2003 03:44:33 +0000 (19:44 -0800)]
[PATCH] path/ide_ioreg_t fixes for legacy drivers

23 years ago[PATCH] fix path of file
Alan Cox [Tue, 18 Feb 2003 03:44:19 +0000 (19:44 -0800)]
[PATCH] fix path of file

23 years ago[PATCH] ide-tape no longer needs this ifdef
Alan Cox [Tue, 18 Feb 2003 03:44:05 +0000 (19:44 -0800)]
[PATCH] ide-tape no longer needs this ifdef

Now handled at runtime

23 years ago[PATCH] add new settings locks to ide-proc
Alan Cox [Tue, 18 Feb 2003 03:43:51 +0000 (19:43 -0800)]
[PATCH] add new settings locks to ide-proc

23 years ago[PATCH] ide-proc - fix crash on identify
Alan Cox [Tue, 18 Feb 2003 03:43:37 +0000 (19:43 -0800)]
[PATCH] ide-proc - fix crash on identify

We cannot do an identify on a drive with no driver loaded. The kernel
has a ton of half backed "if no driver" cases but they dont cover all
cases and its a mess.

For now we rely on the probe time identify unless a driver is loaded. A
proper fix (an 'ide-unassigned' driver) will follow later

23 years ago[PATCH] ide-probe updates
Alan Cox [Tue, 18 Feb 2003 03:43:22 +0000 (19:43 -0800)]
[PATCH] ide-probe updates

Fix crash with slave and no master
Fix crash with hdb=noprobe hdb=cdrom
Fix crash with pre ATA devices refusing IDENTIFY
Fix flash slave making master disappear
Add interfaces that the PPC uses to do disk spin up when the BIOS has not
Add framework to allow hdparm -d1 on a box built with IDE_DMA_ONLYDISK
Fix identify framework so we can fix the proc identify crash too

23 years ago[PATCH] remove ide_ioreg_t
Alan Cox [Tue, 18 Feb 2003 03:43:07 +0000 (19:43 -0800)]
[PATCH] remove ide_ioreg_t

23 years ago[PATCH] add ide_execute_command but do not use it yet
Alan Cox [Tue, 18 Feb 2003 03:42:54 +0000 (19:42 -0800)]
[PATCH] add ide_execute_command but do not use it yet

23 years ago[PATCH] fix ide_ioreg_t and ifdefs in iops
Alan Cox [Tue, 18 Feb 2003 03:42:39 +0000 (19:42 -0800)]
[PATCH] fix ide_ioreg_t and ifdefs in iops

23 years ago[PATCH] clean up the IDE iops, add ones for a dead iface
Alan Cox [Tue, 18 Feb 2003 03:42:26 +0000 (19:42 -0800)]
[PATCH] clean up the IDE iops, add ones for a dead iface

Also adds the new OUTBSYNC iop

23 years ago[PATCH] remove old style and unused bad drive list
Alan Cox [Tue, 18 Feb 2003 03:42:12 +0000 (19:42 -0800)]
[PATCH] remove old style and unused bad drive list

23 years ago[PATCH] update ide.c
Alan Cox [Tue, 18 Feb 2003 03:41:59 +0000 (19:41 -0800)]
[PATCH] update ide.c

Remove ide_ioreg_t
Add locking on the ide setting lists

23 years ago[PATCH] eliminate use of ide_ioreg_t on ARM
Alan Cox [Tue, 18 Feb 2003 03:41:45 +0000 (19:41 -0800)]
[PATCH] eliminate use of ide_ioreg_t on ARM

23 years ago[PATCH] add generic ide iops
Alan Cox [Tue, 18 Feb 2003 03:41:30 +0000 (19:41 -0800)]
[PATCH] add generic ide iops

This abstracts out the mmio copies as PPC at least has better ways to
this and there are other issues on other platforms. It keeps DaveM happy
too 8)

23 years ago[PATCH] ide resync
Alan Cox [Tue, 18 Feb 2003 03:41:12 +0000 (19:41 -0800)]
[PATCH] ide resync

Ok this first piece eliminates some of the use of ide_ioreg_t, which
actually only works as a ulong anyway. Its a dysfunctional abstraction.

We also need the ide pci stuff if we have IDE PCI not if we have PCI but
only legacy mode IDE support

23 years ago[PATCH] USB speedtouch: speedtouch cleanups
Duncan Sands [Tue, 18 Feb 2003 01:29:42 +0000 (17:29 -0800)]
[PATCH] USB speedtouch: speedtouch cleanups

Grab bag of minor cleanups.

23 years ago[PATCH] USB speedtouch: speedtouch stability fix fix
Duncan Sands [Tue, 18 Feb 2003 01:22:09 +0000 (17:22 -0800)]
[PATCH] USB speedtouch: speedtouch stability fix fix

It's usually considered stupid to stuff-up like this. However,
for this once we'll just call it "inspired".

23 years ago[PATCH] remove BSD_PARTITION
Andries E. Brouwer [Tue, 18 Feb 2003 00:54:32 +0000 (16:54 -0800)]
[PATCH] remove BSD_PARTITION

There is no reason to have both BSD_PARTITION and FREEBSD_PARTITION
denoting the same partition type.

23 years ago[PATCH] USB speedtouch: replace speedtouch crc routines
Duncan Sands [Tue, 18 Feb 2003 00:43:30 +0000 (16:43 -0800)]
[PATCH] USB speedtouch: replace speedtouch crc routines

Use the kernel CRC routines rather than a do-it-yourself version.
By the way, I created a common USB Makefile.lib, rather than having
one for the class drivers, and one for speedtouch.

23 years ago[PATCH] Provide a 'safe-mode' for soft raid.
Neil Brown [Mon, 17 Feb 2003 11:17:51 +0000 (03:17 -0800)]
[PATCH] Provide a 'safe-mode' for soft raid.

When a raid1 or raid5 array is in 'safe-mode', then the array
is marked clean whenever there are no outstanding write requests,
and is marked dirty again before allowing any write request to
proceed.

This means than an unclean shutdown while no write activity is happening
will NOT cause a resync to be required.  However it does mean extra
updates to the superblock.

Currently safe-mode is turned on by sending SIGKILL to the raid thread
as would happen at a normal shutdown.  This should mean that the
reboot notifier is no longer needed.

After looking more at performance issues I may make safemode be on
all the time.  I will almost certainly make it on when RAID5 is degraded
as an unclean shutdown of a degraded RAID5 means data loss.

This code was provided by  Angus Sawyer <angus.sawyer@dsl.pipex.com>

23 years ago[PATCH] Add name of md device to name of thread managing that device.
Neil Brown [Mon, 17 Feb 2003 11:17:43 +0000 (03:17 -0800)]
[PATCH] Add name of md device to name of thread managing that device.

This allows the thread to easily identified and signalled.
The point of signalling will appear in the next patch.

23 years ago[PATCH] C99 initializers for drivers/md/md.c
Neil Brown [Mon, 17 Feb 2003 11:17:36 +0000 (03:17 -0800)]
[PATCH] C99 initializers for drivers/md/md.c

From Art Haas <ahaas@airmail.net>:

This converts md.c to use C99 initializers to improve readability and
remove warnings if '-W' is used.

23 years ago[PATCH] Small bug fix for multipath.
Neil Brown [Mon, 17 Feb 2003 11:17:30 +0000 (03:17 -0800)]
[PATCH] Small bug fix for multipath.

by the nature of multipath, already be in-sync, so we should set the
in-sync flag.

23 years ago[PATCH] linear.c fix for gcc bug
Neil Brown [Mon, 17 Feb 2003 11:17:22 +0000 (03:17 -0800)]
[PATCH] linear.c fix for gcc bug

From Andrew Morton <akpm@digeo.com>:

gcc-2.95.3 is getting an internal compiler error with CONFIG_LBD=y.  Reorganising
the code a bit made it go away.

23 years ago[PATCH] Fix bug in md superblock sanity checking.
Neil Brown [Mon, 17 Feb 2003 11:17:16 +0000 (03:17 -0800)]
[PATCH] Fix bug in md superblock sanity checking.

This call the super_90_load is meant to make sure that the new
superblock is consistant with a pre-exisitnig one (on rdev0)...  but
rdev0 was not passed :-(

23 years ago[PATCH] Convert fs/nfsctl.c to use C99 named initiailzers
Neil Brown [Mon, 17 Feb 2003 11:17:07 +0000 (03:17 -0800)]
[PATCH] Convert fs/nfsctl.c to use C99 named initiailzers

From Art Haas <ahaas@airmail.net>:

This converts the file to use C99 named initializers.  These change make
the file compile with fewer warnings if '-W' is added to the compile
flags, and may enhance code readability.  Let me know if you think this
should be sent to Linus.

23 years ago[PATCH] Make kNFSd pre/post_[acm]time use struct timespec
Neil Brown [Mon, 17 Feb 2003 11:17:00 +0000 (03:17 -0800)]
[PATCH] Make kNFSd pre/post_[acm]time use struct timespec

From Trond:

  When the nanosecond resolution on [acm]time was introduced to 2.5.x,
the knfsd GETATTR responses were converted to make use of the
nanosecond field, but the pre/post WCC attributes were not. This will
lead to a lot of unnecessary cache invalidations on the clients.

The following trivial patch should fix up knfsd so that it stores and
encodes the full 'struct timespec' in both pre and post attribute
fields.

23 years ago[PATCH] Fix problem where knfsd wouldn't release filesystem on unexport.
Neil Brown [Mon, 17 Feb 2003 11:16:52 +0000 (03:16 -0800)]
[PATCH] Fix problem where knfsd wouldn't release filesystem on unexport.

Problem was that the cache was being updated inplace, rather
than swapping in a new entry, so old filesystem pointers
were overwritten without being released.

23 years ago[PATCH] Fix handling of error code in NFSv4 replies
Neil Brown [Mon, 17 Feb 2003 11:16:44 +0000 (03:16 -0800)]
[PATCH] Fix handling of error code in NFSv4 replies

As nfsv4 does some reply encoding while processing
requests, the code which tries to put the overall status
at the head of the reply fails.

With this patch, we take the address for the overall
status very early so NFSv4's encoding wont confuse us.

23 years ago[PATCH] Keep track of which page is the 'tail' of an NFSd reply
Neil Brown [Mon, 17 Feb 2003 11:16:37 +0000 (03:16 -0800)]
[PATCH] Keep track of which page is the 'tail' of an NFSd reply

NFS replies can have a 'tail' after a 'data' component
(for read, readlink, readdir).

For nfsv2 and v3 this tail is in the same page as the head.
For nfsv4, this tail is in a separate page.

We need to keep track of which page so that it right one
gets sent.  This patch does that.

23 years ago[PATCH] Bounds checking for NFSv3 readdirplus
Neil Brown [Mon, 17 Feb 2003 11:16:29 +0000 (03:16 -0800)]
[PATCH] Bounds checking for NFSv3 readdirplus

From Ted Phelps <phelps@dstc.edu.au>

The NFSv3 readdirplus path doesn't check to see if maxcount is less
than the size of a page before it fills it up, possibly overwriting
random bits of memory.  At least, it makes my Solaris NFSv3 client
work.

The attached patch, against 2.5.58, adds this check in a way which is
consistent with the way readdir does under both NFSv2 andNFSv3.

23 years agoMerge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
James Bottomley [Mon, 17 Feb 2003 13:02:49 +0000 (07:02 -0600)]
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5

23 years agoAdd #include <linux/pci.h> to scsi_lib.c (needed for PCI_DMA_BUS_IS_PHYS)
James Bottomley [Mon, 17 Feb 2003 09:23:48 +0000 (04:23 -0500)]
Add #include <linux/pci.h> to scsi_lib.c (needed for PCI_DMA_BUS_IS_PHYS)

23 years ago[PATCH] scsi/pcmcia compile fix
Mike Anderson [Mon, 17 Feb 2003 07:14:19 +0000 (02:14 -0500)]
[PATCH] scsi/pcmcia compile fix

This is a compile fix for bug:
http://bugme.osdl.org/show_bug.cgi?id=360

This patch is against scsi-misc-2.5.

Testing: Compile only

-andmike
--
Michael Anderson
andmike@us.ibm.com

 aha152x_stub.c |    2 +-
 nsp_cs.c       |   40 ++++++++++++++++++++--------------------
 nsp_message.c  |    2 +-
 3 files changed, 22 insertions(+), 22 deletions(-)

23 years agoLinux 2.5.62 v2.5.62
Linus Torvalds [Mon, 17 Feb 2003 06:52:07 +0000 (22:52 -0800)]
Linux 2.5.62

23 years ago[PATCH] char/drivers/random.c - fix warning
Sam Ravnborg [Mon, 17 Feb 2003 06:15:45 +0000 (22:15 -0800)]
[PATCH] char/drivers/random.c - fix warning

When compiling random.c without SYSCTL defined a warning is
issued about free_entropy_store being defined but not used.
Put ifdef's around the functions.

I could have moved the whole function, but it logically belongs
to this part of the file.

23 years ago[PATCH] fix warning in kernel/dma.c
Sam Ravnborg [Mon, 17 Feb 2003 06:15:39 +0000 (22:15 -0800)]
[PATCH] fix warning in kernel/dma.c

When compiling without PROC_FS enabled a warning is issued about
proc_dma_show defined but not used.

Move both versions of proc_dma_show inside the #ifdef CONFIG_PROC_FS

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Mon, 17 Feb 2003 05:53:08 +0000 (21:53 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agokbuild: Fix non-verbose make modules_install output
Rusty Russell [Mon, 17 Feb 2003 08:21:08 +0000 (02:21 -0600)]
kbuild: Fix non-verbose make modules_install output

23 years agoMerge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5
Kai Germaschewski [Mon, 17 Feb 2003 08:17:58 +0000 (02:17 -0600)]
Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.make

23 years ago[PATCH] fix Documentation/cli-sti-removal.txt thinko
Randy Dunlap [Mon, 17 Feb 2003 05:35:32 +0000 (21:35 -0800)]
[PATCH] fix Documentation/cli-sti-removal.txt thinko

The 3 lines being deleted are repeated from above (in same file).
I pulled the 2 lines being added from an earlier version of the patch.

23 years ago[PATCH] EISA/sysfs updates
Marc Zyngier [Mon, 17 Feb 2003 05:35:00 +0000 (21:35 -0800)]
[PATCH] EISA/sysfs updates

This is an update to the EISA/sysfs code :

 - Separate bus root code from generic code.
 - Add driver for PCI/EISA bridge.
 - Hacked parisc eisa driver so it can act as a root device.
 - Add driver for so-called virtual root (for bridge-less systems).
 - Allow multiple roots.
 - Moved quirk_eisa_bridge from alpha to generic code, since
   the EISA code needs it now (on x86, for example...).
 - 3c59x :
   Prevent driver from returning ENODEV in case it has registered with
   the EISA framework, but no device has been found yet (it happends
   when the driver is built into the kernel, and the EISA bus root has
   not been discovered yet).

It's been discussed on lkml, and all suggestions (mainly from Ivan
Kokshaysky <ink@jurassic.park.msu.ru>) have been taken into account.

23 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Mon, 17 Feb 2003 05:25:03 +0000 (21:25 -0800)]
Merge http://linux-sound.bkbits.net/linux-sound
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoManual merge
Linus Torvalds [Mon, 17 Feb 2003 05:23:05 +0000 (21:23 -0800)]
Manual merge

23 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 17 Feb 2003 05:14:42 +0000 (21:14 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoJFS: Fix jfs_sync_fs
Dave Kleikamp [Mon, 17 Feb 2003 06:09:10 +0000 (00:09 -0600)]
JFS: Fix jfs_sync_fs

jfs_sync_fs was implemented using the same code as the unmount code to flush
the journal and wait for the journal to quiesce.  Since jfs_sync_fs may  be
called while the volume is under heavy use, we can end up waiting
indefinately.  Code in jfs_flush_journal meant to detect a hang at unmount
time may be triggered in this case causing a trap.  This patch changes
jfs_sync_fs to only wait until the most recent transaction has been
commited to disk, rather than waiting until the commit queue is empty.

23 years agoFix locking for "send_sig_info()", to avoid possible races with signal
Linus Torvalds [Mon, 17 Feb 2003 03:51:37 +0000 (19:51 -0800)]
Fix locking for "send_sig_info()", to avoid possible races with signal
state changes due to execve() and exit(). We need to hold the tasklist
lock to guarantee stability of "task->sighand".

23 years ago[PATCH] USB: ov511 bugfixes/cleanup
Mark W. McClelland [Mon, 17 Feb 2003 02:41:09 +0000 (18:41 -0800)]
[PATCH] USB: ov511 bugfixes/cleanup

This patch updates the 2.5 ov511 driver to version 1.64. This fixes some
longstanding bugs and cleans the code up a bit.

Changes:
 - Eliminate remaining uses of sleep_on()
 - Remove unnecessary (and racy) calls to waitqueue_active()
 - Fix a memory leak in the open() error path
 - Remove some redundant and unused variables
 - Documentation fixes

23 years ago[PATCH] USB: USB keyboard works after reboot (ehci-hcd)
David Brownell [Mon, 17 Feb 2003 02:40:43 +0000 (18:40 -0800)]
[PATCH] USB: USB keyboard works after reboot (ehci-hcd)

This resolves a problem caused by "reboot" not actually
doing a clean shutdown of drivers.  It uses a reboot
notifier to make sure that typical BIOS code (using the
USB 1.1 companion controllers) will see keyboards even
without an EHCI driver being active.

23 years ago[PATCH] USB: sg_complete() warning downgrade
David Brownell [Mon, 17 Feb 2003 02:40:17 +0000 (18:40 -0800)]
[PATCH] USB: sg_complete() warning downgrade

An error check would wrongly fire after usb_sg_cancel().
This patch prevents the misfire, and also makes the
diagnostic (a) more useful, (b) less scarey.

23 years ago[PATCH] USB: trivial help texts for drivers/usb/serial/Kconfig
Steven Cole [Mon, 17 Feb 2003 02:39:56 +0000 (18:39 -0800)]
[PATCH] USB: trivial help texts for drivers/usb/serial/Kconfig

Here are some trivial help texts for drivers/usb/serial/Kconfig.

23 years ago[PATCH] USB speedtouch: minor speedtouch changes
Duncan Sands [Mon, 17 Feb 2003 02:14:43 +0000 (18:14 -0800)]
[PATCH] USB speedtouch: minor speedtouch changes

Add some comments and debug info.

23 years ago[PATCH] USB speedtouch: speedtouch 330 support
Duncan Sands [Mon, 17 Feb 2003 02:13:56 +0000 (18:13 -0800)]
[PATCH] USB speedtouch: speedtouch 330 support

Differences: speedtouch 330 vs the older speedtouch USB:
Vendor and ProdID: no difference (!)
Rev: 2.00 vs 0.00
SerialNumber: 0090D0xxxxxx, xxxxxx larger for 330
Interface 1, Alt 2:
E: Ad=06(O) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=87(I) Atr=01(Isoc) MxPS=640 Ivl=1ms
vs
E: Ad=06(O) Atr=02(Bulk) MxPS=32 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS=32 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS=64 Ivl=0ms
Interface 1, Alt 3:
E: Ad=06(O) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=87(I) Atr=01(Isoc) MxPS=960 Ivl=1ms
vs
E: Ad=06(O) Atr=02(Bulk) MxPS=16 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS=16 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS=64 Ivl=0ms
The current driver works with the speedtouch 330 as long as we use alternate setting
1 on interface 1 rather than alternate 2 as we do now.  In fact it makes sense to use
alternate 1 for the speedtouch USB as well: the difference is in the max packet size
for the out bulk endpoint (0x07): 64 for Alt 1, 32 for Alt 2.  Since we send only
multiples of 53 bytes (ATM cell size), the potential lower latency for Alt 2 is not
really exploitable (think about it!).  My tests indicate no harm and perhaps a slight
gain by using Alt 1.  The manufacturer seems to think so too, since they chose to
keep the Alt 1 setting and threw out Alt 2 when designing the 330.  So just use Alt 1
for both modems.

23 years ago[PATCH] USB speedtouch: add help text for speedtouch
Duncan Sands [Mon, 17 Feb 2003 02:10:04 +0000 (18:10 -0800)]
[PATCH] USB speedtouch: add help text for speedtouch

23 years ago[PATCH] USB speedtouch: Update CREDITS and MAINTAINERS
Duncan Sands [Mon, 17 Feb 2003 02:09:44 +0000 (18:09 -0800)]
[PATCH] USB speedtouch: Update CREDITS and MAINTAINERS

23 years ago[PATCH] USB speedtouch: Fix speedtouch maxi race
Duncan Sands [Mon, 17 Feb 2003 02:09:22 +0000 (18:09 -0800)]
[PATCH] USB speedtouch: Fix speedtouch maxi race

Instead of trying to close all ATM connections in the USB disconnect routine,
just notify the ATM layer that the ATM device should go down when the last
connection is closed.  This should be the last big speedtouch stability fix.

23 years ago[PATCH] USB speedtouch: fix speedtouch micro race
Duncan Sands [Mon, 17 Feb 2003 02:09:00 +0000 (18:09 -0800)]
[PATCH] USB speedtouch: fix speedtouch micro race

The disconnect routine counts the completed_receivers/spare_senders list
to see if the completion handler has finished.  It then kills the tasklet.
However the tasklet was being scheduled after adding to the lists, creating
a micro race.  So schedule the tasklet before adding to the list.

23 years ago[ARM] Update signal handling for ARM.
Russell King [Sun, 16 Feb 2003 19:38:14 +0000 (19:38 +0000)]
[ARM] Update signal handling for ARM.

Update the ARM signal handling to use the generic
get_signal_to_deliver() implementation.  There is a caveat though -
ARM has no hardware support for single stepping, and thus needs the
kernel to help provide this.

We introduce a new ptrace flag for this, PT_SINGLESTEP, which
indicates to architecture specific code that it should take extra
actions in the signal handler to set and/or clear breakpoints as
appropriate.

23 years ago[ALPHA] Add fadvise64.
Richard Henderson [Sun, 16 Feb 2003 17:04:57 +0000 (09:04 -0800)]
[ALPHA] Add fadvise64.

23 years ago[ALPHA] Add isa_eth_io_copy_and_sum.
Richard Henderson [Sun, 16 Feb 2003 16:28:00 +0000 (08:28 -0800)]
[ALPHA] Add isa_eth_io_copy_and_sum.
From Geoffrey Lee <glee@gnupilgrims.org>.

23 years ago[PATCH] delay marvel agp printk until after !hose check
Jeff Wiedemeier [Sun, 16 Feb 2003 16:19:31 +0000 (08:19 -0800)]
[PATCH] delay marvel agp printk until after !hose check

Delay the marvel agp hose printk until after the check for whether a
valid AGP hose was found. Otherwise if none was found, hose->index in
the printk arg list dereferences NULL.

/jeff

23 years agoMerge kanga.twiddle.net:/home/rth/linux/linus-2.5
Richard Henderson [Sun, 16 Feb 2003 16:17:36 +0000 (08:17 -0800)]
Merge kanga.twiddle.net:/home/rth/linux/linus-2.5
into kanga.twiddle.net:/home/rth/linux/axp-2.5

23 years agoALSA update
Jaroslav Kysela [Sun, 16 Feb 2003 15:48:18 +0000 (16:48 +0100)]
ALSA update
  - AC'97 - added quirks for tuning of hardware configuration
  - PCM midlevel - improved ring buffer allocation
  - sa11xx-uda1341 - small fixes
  - ISA - fixed ring buffer pointer calculation
  - OSS PCM - fixed deadlock (rate plugin)
  - timer - fixed deadlock when user interface is used
  - CS4232 - added detection of plain CS4236
  - USB driver - added boot quirk for SoundBlaster Extigy

23 years agokbuild: Fix a "make -j" bug.
Kai Germaschewski [Sun, 16 Feb 2003 15:20:31 +0000 (09:20 -0600)]
kbuild: Fix a "make -j" bug.

We really need fixdep before we can compile anything...

(Pointed out by wli, and others)

23 years agokbuild: Fix a 64-bit issue in scripts/modpost.c
Kai Germaschewski [Sun, 16 Feb 2003 13:42:14 +0000 (07:42 -0600)]
kbuild: Fix a 64-bit issue in scripts/modpost.c

The checksums are generally 32-bit (unsigned int), though they are saved
in symbol values, which may 64-bit, so we need to convert.

Pointed out by Anton Blanchard.

23 years agokbuild: Fix modules_install w/o modules error
Kai Germaschewski [Sun, 16 Feb 2003 13:27:57 +0000 (07:27 -0600)]
kbuild: Fix modules_install w/o modules error

I fixed scripts/Makefile.modpost to handle CONFIG_MODULES but no modules
selected, but forgot scripts/Makefile.modinst

(pointed out by akpm)

23 years agoIt's usually considered stupid to lock the same spinlock twice in
Linus Torvalds [Sun, 16 Feb 2003 12:46:44 +0000 (04:46 -0800)]
It's usually considered stupid to lock the same spinlock twice in
close succession. However, for this once we'll just call it "inspired".

But let's decide pair the lock with an unlock anyway, even if it is
boring and "square".

23 years ago[PATCH] get rid of exec_usermodehelper, replace with call_usermodehelper
Rusty Russell [Sun, 16 Feb 2003 12:02:37 +0000 (04:02 -0800)]
[PATCH] get rid of exec_usermodehelper, replace with call_usermodehelper

Urban Widmark points out that modprobe calls system() in many
configurations, which drops privs since request_module() doesn't
set ruid and rguid.

This gets rid of exec_usermodehelper and makes everyone use
call_usermodehelper, which has a new "wait" flag.

23 years ago[PATCH] compat futex fix
Anton Blanchard [Sun, 16 Feb 2003 12:02:30 +0000 (04:02 -0800)]
[PATCH] compat futex fix

Fix compile errors after futex merge.

23 years agoDo proper signal locking for the old-style /proc/stat too.
Linus Torvalds [Sun, 16 Feb 2003 11:56:15 +0000 (03:56 -0800)]
Do proper signal locking for the old-style /proc/stat too.

23 years ago[ARM PATCH] 1099/4: trizeps MTD support
Russell King [Sun, 16 Feb 2003 11:10:44 +0000 (11:10 +0000)]
[ARM PATCH] 1099/4: trizeps MTD support

Patch from Guennadi Liakhovetski

An update of the partition-table and a typo-fix. Please, apply.

23 years ago[ARM] Add input_devclass support to SA1111 PS/2 port driver.
Russell King [Sun, 16 Feb 2003 10:57:42 +0000 (10:57 +0000)]
[ARM] Add input_devclass support to SA1111 PS/2 port driver.