Vojtech Pavlik [Tue, 5 Feb 2002 10:03:32 +0000 (02:03 -0800)]
The patch moves:
* joystick drivers from drivers/char/joystick to drivers/input/joystick
* gameport drivers from drivers/char/joystick to drivers/input/gameport
* serio drivers from drivers/char/joystick to drivers/input/serio
I don't think the joystick drivers should stay in char, because they're
NOT character device drivers (check for register_chrdev, none to be found).
It also fixes build problems with sound driver gameport support.
the appended patch works around a bug in the PLX9050 chip. This chip is
used in various PCI ISDN adapters (it's an PCI interface chip) and has
an erratum when the BAR 0/1 has bit 7 set (the size of the region is
0x80, so aligning it to 0x80 is legal and really happens for people).
This workaround has been tested by a user who hit this problem with a
Gazel card. Basically the same fix has been done for Elsa cards, but it's
untested.
Petr Vandrovec [Tue, 5 Feb 2002 09:24:28 +0000 (01:24 -0800)]
[PATCH] crc32 and lib.a (was Re: [PATCH] nbd in 2.5.3 does
I've found that multiple level initcalls went into kernel
behind my back, so you can throw away my yesterday patch
which converted lib.a => lib.o, and apply this one.
[Patch tested with both lib.a and lib.o - it boots correctly
in both cases]
Petr Vandrovec [Tue, 5 Feb 2002 09:24:24 +0000 (01:24 -0800)]
[PATCH] Re: [PATCH] nbd in 2.5.3 does not work, and can cause severe damage when read-write
Linus, this reverts limit for request size from 10KB to unlimited.
Although no released nbd version supports it, it is certainly better to
add support to servers than cripple clients if incompatibility does
not matter.
Trond Myklebust [Tue, 5 Feb 2002 09:24:21 +0000 (01:24 -0800)]
[PATCH] Drop reliance on file->f_dentry in NFS reads/writes
Following a request by David Chow on linux fsdevel, this patch causes
NFS read and write requests to take the inode from page->mapping->host
rather than relying on file->f_dentry->d_inode. Apparently this will
simplify some work he is doing on another filesystem.
In any case, it cleans up the current mix of sometimes doing one
thing, sometimes the other (historical cruft), and puts NFS client
behaviour on par with what is done in other filesystems...
Trond Myklebust [Tue, 5 Feb 2002 09:24:18 +0000 (01:24 -0800)]
[PATCH] Fix spurious ETXTBSY errors due to late release of struct file
The following patch should fix a problem of ETXTBSY sometimes
occurring if one tries to run a file straight after compilation.
The problem is that both NFS read and write requests can currently
hold a count on the struct file. This is done partly so as to be able
to pass along the RPC credential (which is cached in the struct file),
and partly so that asynchronous writes can report any errors via the
file->f_error mechanism.
The problem is that both the read and write requests may persist even
after file close() occurs. For O_RDONLY files, this is not a problem,
but for O_WRONLY, and O_RDWR files, the fact that the struct file is
not released until the last call to nfs_release_request() means that
inode->i_writecount does not necessarily get cleared upon file
close().
The following patch fixes both these issues.
- NFS read requests no longer hold the struct file. They take a
count on the the RPC credential itself.
- NFS write requests still hold the struct file, since they want to
report errors to sys_close() using the file->f_error mechanism.
However they are made to release the page, credential, and file
structures as soon as the write is completed instead of following
the current practice of waiting for the last nfs_page request
release.
This is a resend of the NFS lookup code rewrite, but with the open(".")
VFS fix removed. (I'll resend the 'uses d_revalidate()' version
separately after a suitable delay to allow for comments.)
Issues fixed by this patch:
- Use the directory mtime in order to give us a hint when we should
check for namespace changes.
- Add support for the 'nocto' flag, in order to turn off the strict
attribute cache revalidation on file open().
- Simplify inode lookup. Don't check the 'fsid' field (which appears
to be buggy in too many servers in order to be reliable). Instead
we only rely on the inode number (a.k.a. 'fileid') and the
(supposedly unique) filehandle.
Here's a patch against 2.5.3 for the USB ohci-hcd driver that does the
following:
- doesn't assume CONFIG_DEBUG_SLAB
- unlink from interrupt completions now work
- doesn't force debugging on
- updated copyright / license statements
- slightly smaller object size
- fewer inlined magic numbers
- removes unused fields from data structures
- header file reorg, doc fixup
This patch was done by David Brownell.
Here's a patch against 2.5.3 for the USB vicam driver that removes the
use of interruptible_sleep_on() in the driver. This patch was done by
Oliver Neukum.
Here's a patch against 2.5.3 for the USB core that fixes a possible
initialization bug for some platforms when allocating a new usb, and
changes the warning level on a message (it isn't an error.) This patch
was done by Oliver Neukum and David Brownell.
Here's a patch against 2.5.3 for the USB printer driver that does the
following:
- removes the races inherent in sleep_on
- uses 2.5 style of module usage counting
- kills a lockup on failure of usb_submit_urb
This patch was done by Oliver Neukum.
Here's a patch against 2.5.3 for the USB pegasus driver that does the
following:
- fixes __FUNCTION__ warnings on gcc-3.0.3 and up
- added 3 more devices
- fixed memory leak
This patch was done by Petko Manolov and Oliver Neukum.
Here's a patch against 2.5.3 for the USB kaweth driver that does the
following:
- removes SMP deadlock
- removes nfs deadlock
- fixes a memory leak when the firmware is not loaded.
- few other minor cleanups.
This patch was done by Oliver Neukum.
Hans Reiser [Tue, 5 Feb 2002 09:10:50 +0000 (01:10 -0800)]
[PATCH] reiserfs patchset, patch 4 of 9 04-nfs_stale_inode_access.diff
04-nfs_stale_inode_access.diff
This is to fix a case where stale NFS handles are correctly detected as
stale, but inodes assotiated with them are still valid and present in cache,
hence there is no way to deal with files, these handles are attached to.
Bug was found and explained by
Anne Milicia <milicia@missioncriticallinux.com>
Hans Reiser [Tue, 5 Feb 2002 09:10:40 +0000 (01:10 -0800)]
[PATCH] reiserfs patchset, patch 1 of 9 01-pick_correct_key_version.diff
01-pick_correct_key_version.diff
This is to fix certain cases where items may get its keys to be interpreted
wrong, or to be inserted into the tree in wrong order. This bug was only
observed live on 2.5.3, though it is present in 2.4, too.
Patrick Mochel [Tue, 5 Feb 2002 08:36:53 +0000 (00:36 -0800)]
[PATCH] driver model updates (5/5)
Remove struct iobus.
There is a lot of duplication between struct device and struct iobus, both
in their members and the code in their interfaces. Waxing struct iobus
removes this duplication and makes things a bit simpler.
Patrick Mochel [Tue, 5 Feb 2002 08:36:53 +0000 (00:36 -0800)]
[PATCH] driver model updates (4/5)
Patch 4: Add some default files for PCI devices.
This adds two files for PCI devices: 'irq' and 'resources'. They display
just those things and currently do nothing on write. These are the
examples for other subsystems to use for creating files ('Hey, look how
simple it is!')
Patrick Mochel [Tue, 5 Feb 2002 08:36:52 +0000 (00:36 -0800)]
[PATCH] driver model updates (3/5)
Patch 3: Make default callbacks simpler.
I want to move as much to a 1 file/1 value model as possible. I haven't
come up with a clean way to enforce it except via social pressure.
This patch is a step in that direction. It:
- Reduces the output of 'power' to just the decimal state of the device
- Adds a 'name' file which exports just the device name
- Reduces the 'status' file to just export the bus ID. (This will change,
since the bus ID is obvious based on what directory you're in, but it's
another patch at another time)
Petr Vandrovec [Tue, 5 Feb 2002 08:36:49 +0000 (00:36 -0800)]
[PATCH] nbd in 2.5.3 does not work, and can cause severe damage when read-write
Hi Linus,
I've got strange idea and tried to build diskless machine around
2.5.3... Besides problem with segfaulting crc32 (it is initialized after
net/ipv4/ipconfig.c due to lib/lib.a being a library... I had to hardcode
lib/crc32.o before --start-group in main Makefile, but it is another
story) there is bad problem with NBD caused by BIO changes:
(1) request flags were immediately put into on-wire request format.
In the past, we had 0=READ, !0=WRITE. Now only REQ_RW bit determines
direction. As nbd-server from nbd distribution package treats any
non-zero value as write, it performs writes instead of read. Fortunately
it will die due to other consistency checks on incoming request, but...
(2) nbd servers handle only up to 10240 byte requests. So setting max_sectors
to 20 is needed, as otherwise nbd server commits suicide. Maximum request size
should be handshaked during nbd initialization, but currently just use
hardwired 20 sectors, so it will behave like it did in the past.
Tim Waugh [Tue, 5 Feb 2002 08:36:48 +0000 (00:36 -0800)]
[PATCH] 2.5.3-pre6: deadlock
This patch fixes a potential deadlock in ppdev.
* drivers/char/ppdev.c: Watch out for errors from
parport_claim_or_block.
* drivers/parport/share.c: Watch out for signals.
* drivers/parport/ChangeLog: Updated.
David S. Miller [Tue, 5 Feb 2002 08:36:40 +0000 (00:36 -0800)]
[PATCH] Fix ESP thinko in 2.5.3-final
I think I told you to revert this bit from 2.5.3, but here
it is in patch form anyways. Whoever made this change didn't
read the driver, and well... didn't even build test it either :-)
Linus Torvalds [Tue, 5 Feb 2002 08:18:49 +0000 (00:18 -0800)]
v2.5.2.6 -> v2.5.3
- Doug Ledford: i810 audio driver update
- Evgeniy Polyakov: update various SCSI drivers to new locking
- David Howells: syscall latency improvement, try 2
- Francois Romieu: dscc4 driver update
- Patrick Mochel: driver model fixes
- Andrew Morton: clean up a few details in ext3 inode initialization
- Pete Wyckoff: make x86 machine check print out right address..
- Hans Reiser: reiserfs update
- Richard Gooch: devfs update
- Greg KH: USB updates
- Dave Jones: PNPBIOS
- Nathan Scott: extended attributes
- Corey Minyard: clean up zlib duplication (triplication..)
Linus Torvalds [Tue, 5 Feb 2002 08:17:56 +0000 (00:17 -0800)]
v2.5.2.5 -> v2.5.2.6
- Asit Mallick: mtrr update
- Patrick Mochel: split up kernel/device.c into drivers/base
- Mikael Pettersson/Al Viro: fix missing in-core inode initialization
in ext2 introduced by Al's inode trimming
- David Miller: sparc and network updates
- Frank Davis: firewire video mmap page remapping fix
- me: fix configure help scripts to fix breakage noticed by Dave Jones
- Greg KH: USB updates
- Kai Germaschewski: ISDN fixes, Config.help entries
- Douglas Gilbert: SCSI doc update
- Ingo Molnar: x86 taskswitch optimizations, scheduler updates
- Mikael Pettersson: make APIC work on old external setups
- Al Viro: more inode trimming
Linus Torvalds [Tue, 5 Feb 2002 08:17:14 +0000 (00:17 -0800)]
v2.5.2.4 -> v2.5.2.4.1
- Patrick Mochel: devicefs locking cleanups, refcount fixes
- Brian Gerst: apic timer cleanup
- Adam Richter: fix loop over block device bio breakage, ipfwadm compile fix
- Peter Anvin: bootproto v2.03
- me: split up Configure.help over the subdirectories where it is used
Linus Torvalds [Tue, 5 Feb 2002 08:16:46 +0000 (00:16 -0800)]
v2.5.2.3 -> v2.5.2.4
- Patrick Mochel: initcall levels
- Patrick Mochel: devicefs updates, add PCI devices into the hierarchy
- Denis Oliver Kropp: neomagic fb driver
- David Miller: sparc64 and network updates
- Kai Mäkisara: scsi tape update
- Al Viro: more inode trimming, VFS cleanup
- Greg KH: USB update - proper urb allocations
- Eric Raymond: kdev_t updates for fb devices
Linus Torvalds [Tue, 5 Feb 2002 08:13:46 +0000 (00:13 -0800)]
v2.5.2.1 -> v2.5.2.1.1
- David Howells: abtract out "current->need_resched" as "need_resched()"
- Frank Davis: ide-tape update for bio
- various: header file fixups
- Jens Axboe: fix up bio/ide/highmem issues
- Kai Germaschewski: ISDN update
- Tim Waugh: parport update
- Patrik Mochel: initcall update
- Greg KH: USB and Compaq PCI hotplug updates
Linus Torvalds [Tue, 5 Feb 2002 08:13:42 +0000 (00:13 -0800)]
v2.5.2 -> v2.5.2.1
- Al Viro: fix up silly problem in swapfile filp cleanups in 2.5.2
- Tachino Nobuhiro: fix another error return for swapfile filp code
- Robert Love: merge some of Ingo's scheduler fixes
- David Miller: networking, sparc and some scsi driver fixes
- Tim Waugh: parport update
- OGAWA Hirofumi: fatfs cleanups and bugfixes
- Roland Dreier: fix vsscanf buglets.
- Ben LaHaise: include file cleanup
- Andre Hedrick: IDE taskfile update
Linus Torvalds [Tue, 5 Feb 2002 08:13:33 +0000 (00:13 -0800)]
v2.5.1.11 -> v2.5.2
- Matt Domsch: combine common crc32 library
- Pete Zaitcev: ymfpci update
- Davide Libenzi: scheduler improvements
- Al Viro: almost there: "struct block_device *" everywhere
- Richard Gooch: devfs cpqarray update, race fix
- Rusty Russell: PATH_MAX should include the final '0' count
- David Miller: various random updates (mainly net and sparc)
Linus Torvalds [Tue, 5 Feb 2002 08:12:58 +0000 (00:12 -0800)]
v2.5.1.9 -> v2.5.1.10
- Kai Germaschewski: ISDN updates
- Al Viro: start moving buffer cache indexing to "struct block_device *"
- Greg KH: USB update
- Russell King: fix up some ARM merge issues
- Ingo Molnar: scalable scheduler
Linus Torvalds [Tue, 5 Feb 2002 07:59:51 +0000 (23:59 -0800)]
v2.5.1.6 -> v2.5.1.7
- Jeff Garzik: fix up loop and md for struct kdev_t typechecking
- Jeff Garzik: improved old-tulip network driver
- Arnaldo: more scsi driver bio updates
- Kai Germaschewski: ISDN updates
- various: kdev_t updates
Linus Torvalds [Tue, 5 Feb 2002 07:59:27 +0000 (23:59 -0800)]
v2.5.1.2 -> v2.5.1.3
- Christoph Hellwig: scsi_register_module cleanup
- Mikael Pettersson: apic.c LVTERR fixes
- Russell King: ARM update (including bio update for icside)
- Jens Axboe: more bio updates
- Al Viro: make ready to switch bread away from kdev_t..
- Davide Libenzi: scheduler cleanups
- Anders Gustafsson: LVM fixes for bio
- Richard Gooch: devfs update
Linus Torvalds [Tue, 5 Feb 2002 07:59:20 +0000 (23:59 -0800)]
v2.5.1 -> v2.5.1.1
- me: revert the "kill(-1..)" change. POSIX isn't that clear on the
issue anyway, and the new behaviour breaks things.
- Jens Axboe: more bio updates
- Al Viro: rd_load cleanups. hpfs mount fix, mount cleanups
- Ingo Molnar: more raid updates
- Jakub Jelinek: fix Linux/x86 confusion about arg passing of "save_v86_state" and "do_signal"
- Trond Myklebust: fix NFS client race conditions
Linus Torvalds [Tue, 5 Feb 2002 07:59:01 +0000 (23:59 -0800)]
v2.5.0.10 -> v2.5.0.11
- Jeff Garzik: no longer support old cards in tulip driver
(see separate driver for old tulip chips)
- Pat Mochel: driverfs/device model documentation
- Ballabio Dario: update eata driver to new IO locking
- Ingo Molnar: raid resync with new bio structures (much more efficient)
and mempool_resize()
- Jens Axboe: bio queue locking
Linus Torvalds [Tue, 5 Feb 2002 07:58:17 +0000 (23:58 -0800)]
v2.5.0.4 -> v2.5.0.5
- Patrick Mochel: driver model infrastructure, part 1
- Jens Axboe: more bio fixes, cleanups
- Andrew Morton: release locking fixes
- Al Viro: superblock/mount handling
- Kai Germaschewski: AVM Fritz!Card ISDN driver
- Christoph Hellwig: make cramfs SMP-safe.
Linus Torvalds [Tue, 5 Feb 2002 07:58:11 +0000 (23:58 -0800)]
v2.5.0.2 -> v2.5.0.3
- Al Viro: more superblock cleanups
- Jens Axboe: more patches for new block IO layer
- Christoph Hellwig: get rid of the old, long- deprecated SCSI error
handling
Linus Torvalds [Tue, 5 Feb 2002 04:33:54 +0000 (20:33 -0800)]
v2.4.14.8 -> v2.4.14.9
- David Brownell: usbnet update
- Greg KH: USB and PCI hotplug update
- Ingo/me: fix SCHED_FIFO for UP/SMP for good (flw).
- Add back direct_IO now that it works again.
Linus Torvalds [Tue, 5 Feb 2002 04:33:49 +0000 (20:33 -0800)]
v2.4.14.5 -> v2.4.14.6
- Russell King: /proc/cpuinfo for ARM
- Paul Mackerras: PPC update (cpuinfo etc)
- Nicolas Aspert: fix Intel 8xx agptlb flush
- Marko Myllynen: "Lindent" doesn't really need bash ;)
- Alexander Viro: /proc/cpuinfo for s390/s390x/sh, /proc/pci cleanup
- Alexander Viro: make lseek work on seqfiles
Linus Torvalds [Tue, 5 Feb 2002 04:33:47 +0000 (20:33 -0800)]
v2.4.14.4 -> v2.4.14.5
- Greg KH: enable hotplug driver support
- Andrea Arcangeli: remove bogus sanity check
- David Mosberger: /proc/cpuinfo and scsi scatter-gather for ia64
- David Hinds: 16-bit pcmcia network driver updates/cleanups
- Hugh Dickins: remove some stale code from VM
- David Miller: /proc/cpuinfo for sparc, sparc fork bug fix, network
fixes, warning fixes
- Peter Braam: intermezzo update
- Greg KH: USB updates
- Ivan Kokshaysky: /proc/cpuinfo for alpha
- David Woodhouse: jffs2 - remove dead code, remove gcc3 warning
- Hugh Dickins: fix kiobuf page allocation/deallocation
Linus Torvalds [Tue, 5 Feb 2002 04:33:43 +0000 (20:33 -0800)]
v2.4.14.3 -> v2.4.14.4
- Mikael Pettersson: make proc_misc happy without modules
- Arjan van de Ven: clean up acpitable implementation ("micro-acpi")
- Anton Altaparmakov: LDM partition code update
- Alan Cox: final (yeah, sure) small missing pieces
- Andrey Savochkin/Andrew Morton: eepro100 config space save/restore over suspend
- Arjan van de Ven: remove power from pcmcia socket on card remove
- Greg KH: USB updates
- Neil Brown: multipath updates
- Martin Dalecki: fix up some "asmlinkage" routine markings
Linus Torvalds [Tue, 5 Feb 2002 04:30:11 +0000 (20:30 -0800)]
v2.4.14 -> v2.4.14.1
- me: fix page flags race condition Andrea found
- David Miller: sparc and network updates
- various: fix loop driver that thought it was part of the VM system
- me: teach DRM about VM_RESERVED
- Alan Cox: more merging
Linus Torvalds [Tue, 5 Feb 2002 04:30:08 +0000 (20:30 -0800)]
v2.4.13.8 -> v2.4.14
- David Miller: sparc/scsi scatterlist fixes
- Martin Mares: PCI ids, email address update
- David Miller: revert TCP hash optimizations that need more checking
- Ivan Kokshaysky/Richard Henderson: alpha update (atomic_dec_and_lock etc)
- Peter Anvin: cramfs/zisofs missing pieces
Linus Torvalds [Tue, 5 Feb 2002 04:30:06 +0000 (20:30 -0800)]
v2.4.13.7 -> v2.4.13.8
- Andrea: fix races in do_wp_page, free_swap_and_cache
- me: clena up page dirty handling
- Tim Waugh: parport IRQ probing and documentation fixes
- Greg KH: USB updates
- Michael Warfield: computone driver update
- Randy Dunlap: add knowledge about some new io-apics
- Richard Henderson: alpha updates
- Trond Myklebust: make readdir xdr verify the reply packet
- Paul Mackerras: PPC update
- Jens Axboe: make cpqarray and cciss play nice with the request layer
- Massimo Dal Zotto: SMM driver for Dell Inspiron 8000
- Richard Gooch: devfs symlink deadlock fix
- Anton Altaparmakov: make NTFS compile on sparc