]> git.neil.brown.name Git - history.git/log
history.git
23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Thu, 9 Jan 2003 05:09:27 +0000 (21:09 -0800)]
Merge bk://bk.arm.linux.org.uk
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Thu, 9 Jan 2003 04:22:34 +0000 (20:22 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoUSB: fix ehci build for older versions of gcc
Greg Kroah-Hartman [Thu, 9 Jan 2003 02:29:40 +0000 (18:29 -0800)]
USB: fix ehci build for older versions of gcc

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Thu, 9 Jan 2003 02:28:46 +0000 (18:28 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoPPC32: Handle machine checks on 4xx processors better.
Paul Mackerras [Thu, 9 Jan 2003 20:47:04 +0000 (07:47 +1100)]
PPC32: Handle machine checks on 4xx processors better.

This also cleans up the machine check code generally.

23 years agoPPC32: Add support for the IBM PPC 405GPR-based "Sycamore" board.
Paul Mackerras [Thu, 9 Jan 2003 20:45:01 +0000 (07:45 +1100)]
PPC32: Add support for the IBM PPC 405GPR-based "Sycamore" board.

23 years agoMerge bk://68.0.152.218/linux-2.5-misc
Paul Mackerras [Thu, 9 Jan 2003 20:20:34 +0000 (07:20 +1100)]
Merge bk://68.0.152.218/linux-2.5-misc
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Thu, 9 Jan 2003 02:27:29 +0000 (18:27 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 9 Jan 2003 02:26:43 +0000 (18:26 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[SERIAL] Restrict the baud rates returnable from uart_get_baud_rate()
Russell King [Wed, 8 Jan 2003 23:21:39 +0000 (23:21 +0000)]
[SERIAL] Restrict the baud rates returnable from uart_get_baud_rate()

Supply the old termios, along with the max and min acceptable baud
rate to uart_get_baud_rate().  uart_get_baud_rate() will now try to
find a baud rate that satisfies the max and min constraint out of
(requested rate, old rate, 9600 baud).

We remove the code which performed a similar act in uart_get_divisor()
and pass an appropriate min and max baud rate to uart_get_baud_rate()
based on the UART clock rate.

23 years ago[SERIAL] Bug fix: remove infinite loop in sa1100 serial driver.
Russell King [Wed, 8 Jan 2003 23:08:50 +0000 (23:08 +0000)]
[SERIAL] Bug fix: remove infinite loop in sa1100 serial driver.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Wed, 8 Jan 2003 17:22:05 +0000 (09:22 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Wed, 8 Jan 2003 17:11:06 +0000 (09:11 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[TCP]: Fix tcp_put_port declaration.
David S. Miller [Wed, 8 Jan 2003 17:19:11 +0000 (09:19 -0800)]
[TCP]: Fix tcp_put_port declaration.

23 years ago[NET]: Kill __tcp_put_port module export.
David S. Miller [Wed, 8 Jan 2003 17:14:18 +0000 (09:14 -0800)]
[NET]: Kill __tcp_put_port module export.

23 years ago[IPV4 ROUTE]: Fix some sysctl documentation.
Oskar Andreasson [Wed, 8 Jan 2003 16:23:06 +0000 (08:23 -0800)]
[IPV4 ROUTE]: Fix some sysctl documentation.

23 years ago[SUNSAB]: Comment out powering down of chip for now.
James Morris [Wed, 8 Jan 2003 16:12:47 +0000 (08:12 -0800)]
[SUNSAB]: Comment out powering down of chip for now.

23 years ago[CRYPTO]: Fix typo in aes.o rule.
David S. Miller [Wed, 8 Jan 2003 16:09:48 +0000 (08:09 -0800)]
[CRYPTO]: Fix typo in aes.o rule.

23 years ago[CRYPTO]: Add AES algorithm.
James Morris [Wed, 8 Jan 2003 16:05:49 +0000 (08:05 -0800)]
[CRYPTO]: Add AES algorithm.
- Merged AES code from Adam J. Richter <adam@yggdrasil.com>
- Add kconfig help and test vector code from
  Martin Clausen <martin@ostenfeld.dk>
- Minor cleanups: removed EXPORT_NO_SYMBOLS (not needed for 2.5),
  removed debugging code etc.
- Documentation updates.

23 years ago[IPSEC]: Clean up key manager algorithm handling.
James Morris [Wed, 8 Jan 2003 15:59:28 +0000 (07:59 -0800)]
[IPSEC]: Clean up key manager algorithm handling.

23 years agoMerge kroah.com:/home/linux/linux/BK/bleeding-2.5
Greg Kroah-Hartman [Wed, 8 Jan 2003 14:46:04 +0000 (06:46 -0800)]
Merge kroah.com:/home/linux/linux/BK/bleeding-2.5
into kroah.com:/home/linux/linux/BK/gregkh-2.5

23 years agoLinux v2.5.55 v2.5.55
Linus Torvalds [Wed, 8 Jan 2003 11:58:50 +0000 (03:58 -0800)]
Linux v2.5.55

23 years ago[PATCH] Remove unused proto
Dave Jones [Wed, 8 Jan 2003 10:56:17 +0000 (02:56 -0800)]
[PATCH] Remove unused proto

23 years ago[PATCH] Remove unneeded CONFIG_X86_USE_STRING_486
Dave Jones [Wed, 8 Jan 2003 10:56:12 +0000 (02:56 -0800)]
[PATCH] Remove unneeded CONFIG_X86_USE_STRING_486

Since we killed off the broken 486 strings copies,
the config item isn't needed any longer.

23 years ago[PATCH] signal.h -W cleanup
Dave Jones [Wed, 8 Jan 2003 10:56:06 +0000 (02:56 -0800)]
[PATCH] signal.h -W cleanup

Next in line for the -W cleanups is this patch from Willy
which I've been carrying since 2.5.29 or so. Should be no
functional differences, just no more warnings when we compile
with -W

23 years ago[PATCH] EDD typo.
Dave Jones [Wed, 8 Jan 2003 10:55:59 +0000 (02:55 -0800)]
[PATCH] EDD typo.

s/boundry/boundary/

23 years ago[PATCH] compiler warning silence
Dave Jones [Wed, 8 Jan 2003 10:55:52 +0000 (02:55 -0800)]
[PATCH] compiler warning silence

23 years ago[PATCH] x86-64 spinlock code typo
Dave Jones [Wed, 8 Jan 2003 10:55:45 +0000 (02:55 -0800)]
[PATCH] x86-64 spinlock code typo

Without this fix, compiling with CONFIG_DEBUG_SPINLOCK
dies with an unknown variable error..

23 years ago[PATCH] Remove broken prefetching in free_one_pgd()
Dave Jones [Wed, 8 Jan 2003 10:55:39 +0000 (02:55 -0800)]
[PATCH] Remove broken prefetching in free_one_pgd()

This looks extremely suspect to me, and seems like
it will prefetch past the end of the pmd, which is a no no.

23 years ago[PATCH] Correct header
Dave Jones [Wed, 8 Jan 2003 10:55:32 +0000 (02:55 -0800)]
[PATCH] Correct header

23 years ago[PATCH] tracer pid.
Dave Jones [Wed, 8 Jan 2003 10:55:25 +0000 (02:55 -0800)]
[PATCH] tracer pid.

Can't remember where this came from, but its been around
for quite a while. Prints the parent (tracer) pid if
its being traced.

23 years ago[PATCH] size_t fixes.
Dave Jones [Wed, 8 Jan 2003 10:55:18 +0000 (02:55 -0800)]
[PATCH] size_t fixes.

The first of many...

From 2.4

23 years ago[PATCH] x86-64 pmd corruption fix.
Dave Jones [Wed, 8 Jan 2003 10:55:12 +0000 (02:55 -0800)]
[PATCH] x86-64 pmd corruption fix.

Silly typo caused strange corruption.

With this fixed, agpgart almost works again on x86-64
(change_page_attr() seems broken there)

23 years ago[PATCH] zoran ioctl sleeping fixes.
Dave Jones [Wed, 8 Jan 2003 10:55:05 +0000 (02:55 -0800)]
[PATCH] zoran ioctl sleeping fixes.

From 2.4

23 years ago[PATCH] Fix up dma_alloc_coherent with 64bit DMA masks on i386.
Dave Jones [Wed, 8 Jan 2003 10:54:58 +0000 (02:54 -0800)]
[PATCH] Fix up dma_alloc_coherent with 64bit DMA masks on i386.

Cset 1.808 in 2.4 never got propagated forward to 2.5

It's pretty much the same fix as below (s/!=/</), but with the following
changes
 - This was a patch to pci_alloc_consistant(), which now wants to be
   dma_alloc_coherent()
 - Removal of the u32 cast

23 years ago[PATCH] Missing check in PCI hotplug.
Dave Jones [Wed, 8 Jan 2003 10:54:50 +0000 (02:54 -0800)]
[PATCH] Missing check in PCI hotplug.

Missed forward port from 2.4. ACKed by GregKH

23 years ago[PATCH] Make ip2 module variable dependant on CONFIG_MODULE
Dave Jones [Wed, 8 Jan 2003 10:54:44 +0000 (02:54 -0800)]
[PATCH] Make ip2 module variable dependant on CONFIG_MODULE

23 years ago[PATCH] Missed checks in hisax.
Dave Jones [Wed, 8 Jan 2003 10:54:37 +0000 (02:54 -0800)]
[PATCH] Missed checks in hisax.

From 2.4

23 years ago[PATCH] yenta comment typo
Dave Jones [Wed, 8 Jan 2003 10:54:30 +0000 (02:54 -0800)]
[PATCH] yenta comment typo

23 years ago[PATCH] Appletalk bits depend on ISA/EISA
Dave Jones [Wed, 8 Jan 2003 10:54:23 +0000 (02:54 -0800)]
[PATCH] Appletalk bits depend on ISA/EISA

From 2.4, and munged.

23 years ago[PATCH] CREDITS updates
Dave Jones [Wed, 8 Jan 2003 10:54:16 +0000 (02:54 -0800)]
[PATCH] CREDITS updates

From 2.4

23 years ago[PATCH] P4 typo.
Dave Jones [Wed, 8 Jan 2003 10:54:09 +0000 (02:54 -0800)]
[PATCH] P4 typo.

Fix incorrect CONFIG_ name

23 years ago[PATCH] Wacky gdth driver vendor update.
Dave Jones [Wed, 8 Jan 2003 10:54:02 +0000 (02:54 -0800)]
[PATCH] Wacky gdth driver vendor update.

From 2.4 a few months back. With a few edits by
myself to remove the wacky bits of the diff that
backed out fixes. (*Sigh*, Intel).

23 years ago[PATCH] CDROM changers timeout tweak
Dave Jones [Wed, 8 Jan 2003 10:53:55 +0000 (02:53 -0800)]
[PATCH] CDROM changers timeout tweak

Been carrying this for ages..

From Jens Axboe:

   This is for changers, we may need more than the default
   5 second timeout for loading a disc since it may require
   moving stuff around :)

23 years ago[PATCH] Fix READ_CD fallback.
Dave Jones [Wed, 8 Jan 2003 10:53:48 +0000 (02:53 -0800)]
[PATCH] Fix READ_CD fallback.

From Jens Axboe:

   Only fall back to plain READ, if the device says it doesn't
   support the READ_CD opcode. This is the true error for which
   we want to do the fall back, not for any generic error.

23 years ago[PATCH] x86-64 RAID XOR compile fix.
Dave Jones [Wed, 8 Jan 2003 10:53:41 +0000 (02:53 -0800)]
[PATCH] x86-64 RAID XOR compile fix.

Missing macro header.

23 years agoMake vm86 traps correctly distinguish between vm86 and kernel mode.
Linus Torvalds [Wed, 8 Jan 2003 10:35:25 +0000 (02:35 -0800)]
Make vm86 traps correctly distinguish between vm86 and kernel mode.

23 years ago[PATCH] PATCH: more unusual USB storage devices
Alan Cox [Wed, 8 Jan 2003 08:50:57 +0000 (00:50 -0800)]
[PATCH] PATCH: more unusual USB storage devices

IBM memory key
Epson 785EPX PCMCIA slot
Konica KD-200Z camera

23 years agoPPC32: Default to 768MB of lowmem.
Tom Rini [Wed, 8 Jan 2003 07:24:41 +0000 (00:24 -0700)]
PPC32: Default to 768MB of lowmem.

23 years agoMerge kroah.com:/home/linux/linux/BK/bleeding-2.5
Greg Kroah-Hartman [Wed, 8 Jan 2003 03:47:34 +0000 (19:47 -0800)]
Merge kroah.com:/home/linux/linux/BK/bleeding-2.5
into kroah.com:/home/linux/linux/BK/gregkh-2.5

23 years ago[PATCH] USB Serial patch for old pl2303 devices.
Neil Turton [Wed, 8 Jan 2003 02:21:15 +0000 (18:21 -0800)]
[PATCH] USB Serial patch for old pl2303 devices.

I got a PL2303 USB serial converter a few days ago, and got your driver
up and running fairly quickly.  The problem is that I got an oops when I
rmmod-ed the drivers.  The pl2303 uses two interfaces but registers only
the second (technically wrong, I guess, but should work).  When pl2303.o
is removed, it attempts to deregister the first interface (which has no
effect), so the second interface remains registered with usbserial.  The
old struct serial still points at the removed pl2303 driver so things go
pop when anything touches it.

I think the PL2303 hack in usb_serial_probe should not change the
"interface" variable, which gets stored in serial->interface, since
usbcore will register whatever "ifnum" says.  I think that's enough
waffle.  The patch is below.  Keep up the good work!

23 years ago[PATCH] saa7134 driver update
Gerd Knorr [Wed, 8 Jan 2003 02:11:58 +0000 (18:11 -0800)]
[PATCH] saa7134 driver update

This updates the saa7134 driver.  It adds support for a few more cards
and includes adaptions to the video-buf.c changes sent earlier.

23 years ago[PATCH] i2c update for tuner.c
Gerd Knorr [Wed, 8 Jan 2003 02:11:50 +0000 (18:11 -0800)]
[PATCH] i2c update for tuner.c

This has some i2c adaptions and cleanups for the tv card tuner module.

23 years ago[PATCH] media/video i2c updates
Gerd Knorr [Wed, 8 Jan 2003 02:11:43 +0000 (18:11 -0800)]
[PATCH] media/video i2c updates

This updates a bunch of i2c modules in drivers/media/video.  Most of it
are adaptions to the recent i2c changes in the kernel.  While being at
it I also did some other cleanups like deleting unused+dead code, using
name-based initialization for some not-yet converted structs, ...

The also has a few small fixes here and there, but no major functional
changes.

23 years ago[PATCH] add bt832 module
Gerd Knorr [Wed, 8 Jan 2003 02:11:35 +0000 (18:11 -0800)]
[PATCH] add bt832 module

This adds a driver module for the bt832 chip.  It is needed by the bttv
driver to support the Pixelview Digital Camera.  The bt832 is connected
using the GPIO pins of the bt878 chip.

23 years ago[PATCH] update bttv documentation
Gerd Knorr [Wed, 8 Jan 2003 02:11:28 +0000 (18:11 -0800)]
[PATCH] update bttv documentation

23 years ago[PATCH] bttv driver update.
Gerd Knorr [Wed, 8 Jan 2003 02:11:20 +0000 (18:11 -0800)]
[PATCH] bttv driver update.

This updates the bttv driver.  Changes:

 * adaptions to the video-buf changes send in a previous mail.
 * adaptions to recent i2c changes in the kernel.
 * first code bits the pixelview digital camera support (not
   working yet).
 * lots of small fixes/changes for specific TV cards.

23 years ago[PATCH] add v4l1-compat module.
Gerd Knorr [Wed, 8 Jan 2003 02:11:13 +0000 (18:11 -0800)]
[PATCH] add v4l1-compat module.

This adds the v4l1-compat module.  This is a module which can translate
most (old) v4l1 ioctls into the new v4l2 API.  This makes it easier for
v4l2 drivers to present both old v4l and new v4l2 APIs to video4linux
applications.  The saa7134 driver uses this for example.

23 years ago[PATCH] video-buf.c update
Gerd Knorr [Wed, 8 Jan 2003 02:11:06 +0000 (18:11 -0800)]
[PATCH] video-buf.c update

This updates the video-buf helper module.  It changes the field handling
a bit and adds code do deal better with alternating field capture (=
capture even and odd fields to separate video buffers).

23 years ago[PATCH] add tda9887 module
Gerd Knorr [Wed, 8 Jan 2003 02:11:00 +0000 (18:11 -0800)]
[PATCH] add tda9887 module

This adds the tda9887 i2c module to the linux kernel.  This one is
needed for some TV cards.  It also adds the missing #define to
audiochip.h which currently breaks the bttv build.

23 years ago[PATCH] scanner.c, scanner.h: Use symbolic name for interface class
Henning Meier-Geinitz [Wed, 8 Jan 2003 02:09:32 +0000 (18:09 -0800)]
[PATCH] scanner.c, scanner.h: Use symbolic name for interface class

Hi,

On Wed, Jan 08, 2003 at 08:29:36AM -0800, Greg KH wrote:
> On Tue, Dec 24, 2002 at 05:44:55PM +0100, Henning Meier-Geinitz wrote:
> > Hi,
> >
> > On Tue, Dec 24, 2002 at 12:40:06AM +0100, Oliver Neukum wrote:
> > >
> > > > Well, the reason I didn't use one was that I didn't found one in
> > > > usb.h/usb_ch9.h for 16. It's also not listed on www.usb.org.
> > > >
> > > > lsusb calls it "Data". However, I'm not sure if this is a hex/dec
> > > > error and they really mean "Data" = dec 10, not 0x10 (=dec 16).
> > > >
> > > > Shall I define a local symbolic name (e.g.
> > > > STRANGE_HP_SCANJET_INTERFACE_CLASS)? But I really don't know what this
> > > > class is. I only know that it's used by a Hewlett-Packard ScanJet
> > > > 3300c and Genius HR6 USB - Vivid III.
> > >
> > > Better that than a bare number.
> >
> > Patch attached.
>
> Applied to my 2.4 tree, sorry for the delay.

Here is the same for 2.5.44:

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 8 Jan 2003 02:03:40 +0000 (18:03 -0800)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoPPC32: Add support for new IBM embedded PPC cpus.
Paul Mackerras [Thu, 9 Jan 2003 08:56:55 +0000 (19:56 +1100)]
PPC32: Add support for new IBM embedded PPC cpus.

This adds support for 405GPR, 405LP, STBx25, NP4GS3.

23 years agoPPC32: Add support for the "Redwood-6" STB03xxx-based eval board
Paul Mackerras [Thu, 9 Jan 2003 08:50:15 +0000 (19:50 +1100)]
PPC32: Add support for the "Redwood-6" STB03xxx-based eval board

23 years agoPPC32: Add support for the IBM405LP-based "Beech" board
Paul Mackerras [Thu, 9 Jan 2003 08:44:42 +0000 (19:44 +1100)]
PPC32: Add support for the IBM405LP-based "Beech" board

23 years agoPPC32: remove execute permission from some ppc source files.
Paul Mackerras [Thu, 9 Jan 2003 08:31:21 +0000 (19:31 +1100)]
PPC32: remove execute permission from some ppc source files.

23 years agoPPC32: Update the support for the IBM 40x embedded PowerPC chips and boards.
Paul Mackerras [Thu, 9 Jan 2003 04:11:56 +0000 (15:11 +1100)]
PPC32: Update the support for the IBM 40x embedded PowerPC chips and boards.

Some of this comes from recent work in the 2_4_devel tree, including the
conversion to using an array (core_ocp[]) to describe on-chip peripherals
in a standard format.  The other major change is to give the board file
control early on in the boot and let it call back to generic 4xx routines
rather than vice-versa.

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 8 Jan 2003 23:09:36 +0000 (10:09 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge bk://68.0.152.218/linux-2.5-misc
Paul Mackerras [Wed, 8 Jan 2003 21:30:37 +0000 (08:30 +1100)]
Merge bk://68.0.152.218/linux-2.5-misc
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 8 Jan 2003 21:07:55 +0000 (08:07 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 8 Jan 2003 03:42:53 +0000 (14:42 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years ago[PATCH] {get,put}_compat_timspec: s390x
Stephen Rothwell [Wed, 8 Jan 2003 02:02:55 +0000 (18:02 -0800)]
[PATCH] {get,put}_compat_timspec: s390x

Here is the s390x part of the compat_timespec changes.

23 years ago[PATCH] {get,put}_compat_timspec: generic
Stephen Rothwell [Wed, 8 Jan 2003 02:02:49 +0000 (18:02 -0800)]
[PATCH] {get,put}_compat_timspec: generic

Andi Kleen asked for these two, so here they are.  This is the generic
part of creating compat functions for timespec get/put.

23 years ago[PATCH] Cleanup for SunRPC auth code
Trond Myklebust [Wed, 8 Jan 2003 01:59:44 +0000 (17:59 -0800)]
[PATCH] Cleanup for SunRPC auth code

Converts the RPC client auth code to use 'list_head' rather than a
custom pointer scheme.

Fixes a (relatively harmless) race which could cause several cred
entries to be created for the same user.

23 years ago[PATCH] allow arbitrary alignment of NFS read/write requests
Trond Myklebust [Wed, 8 Jan 2003 01:59:37 +0000 (17:59 -0800)]
[PATCH] allow arbitrary alignment of NFS read/write requests

Patch by Chuck Lever to add a new field called wb_pgbase to the
nfs_page struct. This separates the concept of file page offset from
buffer page offset, allowing NFS to specify read and write requests
into buffers at offsets that are independent of the file page
offset. It is a prequisite for direct I/O in NFS.

23 years ago[PATCH] Fix NFS 'off by one' bug
Trond Myklebust [Wed, 8 Jan 2003 01:59:30 +0000 (17:59 -0800)]
[PATCH] Fix NFS 'off by one' bug

 This fixes a bug that was found using the Stanford checker.

23 years ago[PATCH] dm: Remove redundant error checking
Joe Thornber [Wed, 8 Jan 2003 01:54:50 +0000 (17:54 -0800)]
[PATCH] dm: Remove redundant error checking

bio_alloc() shouldn't fail if GFP_NOIO is used, and the bvec count is
sensible.  So remove redundant error checking.

23 years ago[PATCH] dm: Export dm_table_get_mode()
Joe Thornber [Wed, 8 Jan 2003 01:54:43 +0000 (17:54 -0800)]
[PATCH] dm: Export dm_table_get_mode()

Export dm_table_get_mode()

23 years ago[PATCH] dm: Simplify error->map
Joe Thornber [Wed, 8 Jan 2003 01:54:36 +0000 (17:54 -0800)]
[PATCH] dm: Simplify error->map

Just return an error from the error targets map function, rather than
erroring the buffer_head.

23 years ago[PATCH] dm: printk tgt->error if dm_table_add_target() fails.
Joe Thornber [Wed, 8 Jan 2003 01:54:28 +0000 (17:54 -0800)]
[PATCH] dm: printk tgt->error if dm_table_add_target() fails.

printk tgt->error if dm_table_add_target() fails.

23 years ago[PATCH] dm: Remove explicit returns from void fns (fluff)
Joe Thornber [Wed, 8 Jan 2003 01:54:21 +0000 (17:54 -0800)]
[PATCH] dm: Remove explicit returns from void fns (fluff)

Remove explicit return at the end of a couple of void functions.

23 years ago[PATCH] dm: Call dm_put_target_type() *after* calling the destructor
Joe Thornber [Wed, 8 Jan 2003 01:54:15 +0000 (17:54 -0800)]
[PATCH] dm: Call dm_put_target_type() *after* calling the destructor

Call dm_put_target_type() *after* calling the destructor.

23 years ago[PATCH] dm: rwlock_t -> rw_semaphore (fluff)
Joe Thornber [Wed, 8 Jan 2003 01:54:09 +0000 (17:54 -0800)]
[PATCH] dm: rwlock_t -> rw_semaphore (fluff)

Use a rw_semaphore in dm_target.c rather than a rwlock_t, just to keep
in line with dm.c

23 years ago[PATCH] dm: Correct target_type reference counting
Joe Thornber [Wed, 8 Jan 2003 01:54:02 +0000 (17:54 -0800)]
[PATCH] dm: Correct target_type reference counting

ti->use was only getting incremented the first time a target type was
retrieved (bug introduced by recent hch patch).

23 years ago[PATCH] dm: Correct clone info initialisation
Joe Thornber [Wed, 8 Jan 2003 01:53:56 +0000 (17:53 -0800)]
[PATCH] dm: Correct clone info initialisation

Initialize the clone-info's index to the original bio's index.
Required to properly handle stacking DM devices. [Kevin Corry]

23 years ago[PATCH] dm: Don't let the ioctl interface drop a suspended device
Joe Thornber [Wed, 8 Jan 2003 01:53:48 +0000 (17:53 -0800)]
[PATCH] dm: Don't let the ioctl interface drop a suspended device

Don't let the ioctl interface drop a suspended device.

23 years ago[PATCH] Reduced wakeup rate in direct-io code
Andrew Morton [Wed, 8 Jan 2003 01:48:48 +0000 (17:48 -0800)]
[PATCH] Reduced wakeup rate in direct-io code

We don't need to wake up the synchronous waiter for every BIO
completion - just for the final BIO.

This reduces the context switch rate of a 180 megabyte/sec read from
3500/sec to 2200/sec when performing 1400 128k I/Os per second, so it
more than halves the overhead.

23 years ago[PATCH] AIO support for raw/O_DIRECT
Andrew Morton [Wed, 8 Jan 2003 01:48:41 +0000 (17:48 -0800)]
[PATCH] AIO support for raw/O_DIRECT

Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself.

This patch adds AIO support for direct-IO - O_DIRECT files, O_DIRECT
blockdevs and /dev/raw/rawN.

Also, the controlling `struct dio' is now always kmalloced, saving ~400 bytes
of stack.

The best tool for testing AIO/DIO is the modified fsx-linux in ext3 CVS.
See http://www.zip.com.au/~akpm/linux/ext3/ for details.  For example:

fsx-linux -Z -A -R -W -r 512 -w 4096 foo

Running many instances of this against ext3 currently fails with incorrect
file data; some bug in the new ext3 O_DIRECT support.  ext2 is OK though.

23 years ago[PATCH] bio dirtying infrastructure
Andrew Morton [Wed, 8 Jan 2003 01:48:34 +0000 (17:48 -0800)]
[PATCH] bio dirtying infrastructure

In two cases (AIO-for-direct-IO and some CDROM DMA stuff which Jens
did), we need to run set_page_dirty() in interrupt context.  After DMA
hardware has altered userspace pages for direct-IO reads.

But mapping->page_lock, mapping->private_lock and inode_lock are not
irq-safe.  And really, we don't want to convert those locks just for this
problem.

So what we do is to dirty the pages *before* starting I/O.  Then, in
interrupt completion context, check to see that they are still dirty.
If so then there is nothing to do.  But if the pages were cleaned while
the direct-IO is in progress we need to redirty them.  The code uses
schedule_work() for that.

Of course, we could use schedule_work() for all BIOs and pages.  The
speculative dirty-before-starting-IO is just an optimisation.  It's
quite unlikely that any of the pages will be cleaned during the direct
IO.

This code is basically untestable under normal circumstances, because the
relevant pages are pinned via get_user_pages().  This makes
is_page_cache_freeable() evaluate false and the VM doesn't try to write them
out anyway.  But if the pages happen to be MAP_SHARED file pages, pdflush
could clean them.  The way I tested this code was to disable the call to
bio_set_pages_dirty() in fs/direct-io.c.

23 years ago[PATCH] AIO support for raw/O_DIRECT
Andrew Morton [Wed, 8 Jan 2003 01:48:27 +0000 (17:48 -0800)]
[PATCH] AIO support for raw/O_DIRECT

Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself

This patch adds the infrastructure for performing asynchronous (AIO) blockdev
direct-IO.

- Adds generic_file_aio_write_nolock() and make other
  generic_file_*_write() to use it.

- Modify generic_file_direct_IO() and ->direct_IO() functions to take
  "kiocb *" instead of "file *".

- Renames generic_direct_IO() to blockdev_direct_IO().

- Move generic_file_direct_IO() to mm/filemap.c (it is not
  blockdev-specific, whereas the rest of fs/direct-io.c is).

- Add AIO read/write support to the raw driver.

23 years ago[PATCH] return the correct thing from direct-io
Andrew Morton [Wed, 8 Jan 2003 01:48:21 +0000 (17:48 -0800)]
[PATCH] return the correct thing from direct-io

If direct-io encounters an error, it currently returns that error even if it
performed some I/O.

Change it so that if there is an error and we read or wrote something, return
the number of bytes written/read.  Only return the error code if zero bytes
were written/read.

23 years ago[PATCH] AIO exit fix
Andrew Morton [Wed, 8 Jan 2003 01:48:13 +0000 (17:48 -0800)]
[PATCH] AIO exit fix

We need to run exit_aio() when the final user of the mm goes away, else lots
of things leak.

Also remove a printk which comes out when this change is made.

This patch was acked by bcrl.

23 years ago[PATCH] remove code for 2.0 kernels from drivers/char/ftape/*
Adrian Bunk [Wed, 8 Jan 2003 01:48:06 +0000 (17:48 -0800)]
[PATCH] remove code for 2.0 kernels from drivers/char/ftape/*

The patch below is large but trivial:

It removes old #if'd compatiblity code for 2.0 kernels from
drivers/char/ftape/* (this includes the removal of two header files
including only compatibility code and the #include's of these files).

23 years ago[PATCH] USB: speedtouch: add GPL notices
Duncan Sands [Wed, 8 Jan 2003 01:32:25 +0000 (17:32 -0800)]
[PATCH] USB: speedtouch: add GPL notices

speedtouch and friends: add GPL notices (yes, the module was released by Alcatel
under the GPL) and fix some typos.

23 years ago[PATCH] USB: speedtouch: remove version string duplication
Duncan Sands [Wed, 8 Jan 2003 01:32:04 +0000 (17:32 -0800)]
[PATCH] USB: speedtouch: remove version string duplication

speedtouch: remove udsl_version in favour of DRIVER_VERSION (which it duplicated).

23 years ago[PATCH] USB: speedtouch missing __init and __exit
Duncan Sands [Wed, 8 Jan 2003 01:31:41 +0000 (17:31 -0800)]
[PATCH] USB: speedtouch missing __init and __exit

speedtouch: add __init and __exit to the module init/exit routines.

23 years ago[PATCH] USB: atmsar is not a module
Duncan Sands [Wed, 8 Jan 2003 01:31:20 +0000 (17:31 -0800)]
[PATCH] USB: atmsar is not a module

atmsar is not a module in its own right, it is an auxiliary library for speedtouch.
So remove module code from atmsar and build module speedtch from speedtouch and
atmsar.  Note the module name change speedtouch -> speedtch (speedtch is the name
 used for the original 2.4 module, and is the name used in the online documentation).

23 years ago[PATCH] [PATCH 2.5.54] scanner.c: endpoint detection cleanup
Henning Meier-Geinitz [Wed, 8 Jan 2003 00:23:03 +0000 (16:23 -0800)]
[PATCH] [PATCH 2.5.54] scanner.c: endpoint detection cleanup

This patch makes endpoint detection more generic. Basically, only one bulk-in
endpoint is required, everything else is optional.

The patch is on top of the PV8630 removal patch.

23 years agoPPC32: Update the defconfigs
Paul Mackerras [Tue, 7 Jan 2003 23:22:29 +0000 (10:22 +1100)]
PPC32: Update the defconfigs

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Tue, 7 Jan 2003 23:11:25 +0000 (10:11 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc