]> git.neil.brown.name Git - history.git/log
history.git
23 years agoppc64: small fixes for updates in BK
Anton Blanchard [Fri, 8 Nov 2002 11:06:28 +0000 (22:06 +1100)]
ppc64: small fixes for updates in BK

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 8 Nov 2002 10:01:04 +0000 (21:01 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work

23 years ago[PATCH] Support latest NVRAM card from micromemory.
Neil Brown [Wed, 6 Nov 2002 13:08:14 +0000 (05:08 -0800)]
[PATCH] Support latest NVRAM card from micromemory.

Just a new PCI ID (and get twice the MegaHz :-).

23 years ago[PATCH] Make VT8653 work with AGP
Rob Weryk [Wed, 6 Nov 2002 13:08:07 +0000 (05:08 -0800)]
[PATCH] Make VT8653 work with AGP

This makes VT8653 (VIA Apollo Pro266T) work with AGP.  I had someone
test it and verify it works.

23 years ago[PATCH] Fix typo in sl82c105.c driver
Paul Mackerras [Wed, 6 Nov 2002 13:08:01 +0000 (05:08 -0800)]
[PATCH] Fix typo in sl82c105.c driver

This fixes a minor typo in sl82c105.c which stops it from compiling.

23 years ago[PATCH] Update powermac IDE driver
Paul Mackerras [Wed, 6 Nov 2002 13:07:55 +0000 (05:07 -0800)]
[PATCH] Update powermac IDE driver

This updates the powermac IDE driver in 2.5 so it uses the 2.5 kernel
interfaces and types rather than the 2.4 ones.  It also makes it use
blk_rq_map_sg rather than its own code to set up scatter/gather lists in
pmac_ide_build_sglist, and makes it use ide_lock instead of
io_request_lock.

23 years ago[PATCH] Update macserial driver
Paul Mackerras [Wed, 6 Nov 2002 13:07:50 +0000 (05:07 -0800)]
[PATCH] Update macserial driver

This updates the macserial driver in 2.5 so it compiles and works.  The
main changes are to use schedule_work instead of task queues and BHs.
The patch also removes the wait_key method.

I know we need to change macserial to use the new serial
infrastructure.  I'm posting this patch in case it is useful to anyone
trying to compile up a kernel for a powermac at the moment.

23 years ago[PATCH] epoll bits 0.34
Davide Libenzi [Wed, 6 Nov 2002 13:07:44 +0000 (05:07 -0800)]
[PATCH] epoll bits 0.34

 - Some constant adjusted
 - Comments added
 - Better hash initialization
 - Correct timeout setup
 - Added __KERNEL__ bypass to avoid userspace inclusion problems
 - Cleaned up locking
 - Function poll_init_wait() now calls poll_init_wait_ex()
 - Event return fix ( Jay Vosburgh )
 - Use <linux/hash.h> for the hash

23 years ago[PATCH] kNFSd: Make sure svc_process releases response even on error.
Neil Brown [Wed, 6 Nov 2002 13:00:53 +0000 (05:00 -0800)]
[PATCH] kNFSd: Make sure svc_process releases response even on error.

If a rpc operation indicates that response should
be dropped (e.g. kmalloc failure) we must still
call pc_release to release anything it may have allocated.

23 years ago[PATCH] kNFSd: Convert readlink to use a separate page for returning symlink contents.
Neil Brown [Wed, 6 Nov 2002 13:00:46 +0000 (05:00 -0800)]
[PATCH] kNFSd: Convert readlink to use a separate page for returning symlink contents.

This allows NFSv3 to manage 4096byte symlinks.

Also remove now-unused svcbuf_reserver function.

This was used to reserve space in output buffer
for 'data', but now this is stored in separate page.

23 years ago[PATCH] kNFSd: Make sure final xdr_buf.len is correct on server reply
Neil Brown [Wed, 6 Nov 2002 13:00:40 +0000 (05:00 -0800)]
[PATCH] kNFSd: Make sure final xdr_buf.len is correct on server reply

rq_res->len was not always updated properly.
It is only needed in the sendto routine, so we calculate
it just before that is called, and don't bother
updating it anywhere else.

23 years ago[PATCH] kNFSd: Support zero-copy read for NFSD
Neil Brown [Wed, 6 Nov 2002 13:00:35 +0000 (05:00 -0800)]
[PATCH] kNFSd: Support zero-copy read for NFSD

From Hirokazu Takahashi <taka@valinux.co.jp>

This patch changes read and readdir in nfsd.

read:
  If the file supports readpage, we use it to collect pages out of the page
  cache and to attache them directly to the outgoing nfs reply.
  The reduces the number of copies by one, and if the filesystem/device
  driver didn't copy the data, and if the network card can support not copying
  the data, then you get zero-copy reads.

readdir:
  A separate page is used for stoing the readdir response so that a fill
  PAGE_SIZE bytes of reply can be supported.

23 years ago[PATCH] kNFSd: Use ->sendpage to send nfsd (and lockd) replies.
Neil Brown [Wed, 6 Nov 2002 13:00:28 +0000 (05:00 -0800)]
[PATCH] kNFSd: Use ->sendpage to send nfsd (and lockd) replies.

From Hirokazu Takahashi <taka@valinux.co.jp>

As all rpc server replies are now in well defined pages,
we can use ->sendpage to send these replies, and so
make use for zero-copy transmit on network cards that
support it.

23 years ago[PATCH] md: Fix another two bug in raid5
Neil Brown [Wed, 6 Nov 2002 13:00:21 +0000 (05:00 -0800)]
[PATCH] md: Fix another two bug in raid5

 A partial block write over a block on a failed device
 would need to pre-read that block, which means pre-read all
 blocks in stripe and generate that block.  But the generate-block
 code never checked for this possibility, so it wouldn't happen.

23 years ago[PATCH] md: Fix bug in raid5
Neil Brown [Wed, 6 Nov 2002 13:00:15 +0000 (05:00 -0800)]
[PATCH] md: Fix bug in raid5

When analysing a stripe in handle_stripe we set bits
 R5_Wantread or R5_Wantwrite
to indicate if a read or write is needed.  We don't actually schedule the
IO immediately as this is done under a spinlock (sh->lock) and
generic_make_request can block.  Instead we check these bits after
the lock has been lifted and then schedule the IO.

But once the lock has been lifted we aren't safe against multiple
access, and it is possible that the IO will be scheduled never, or twice.

So, we use test_and_clear to check and potentially schedule the IO.

This wasn't a problem in 2.4 because the equivalent information was
stored on the stack instead of in the stripe.

We also make sure bi_io_vec[0] has correct values as a previous
call to generic_make_request may have changed them.

23 years ago[PATCH] md: Fix assorted raid1 problems.
Neil Brown [Wed, 6 Nov 2002 13:00:09 +0000 (05:00 -0800)]
[PATCH] md: Fix assorted raid1 problems.

From Angus Sawyer <angus.sawyer@dsl.pipex.com>:

1. Null pointer dereference in end_sync_read

   r1_bio->read_disk is not initialised correctly in sync_request .

   this is used in end_sync_read to reference the structure
   conf->mirror[read_disk].rdev which with one disk missing is NULL.

2. Null pointer dereference in mempool_free()

   This is a race between close_sync() conf->r1_bufpool =3D NULL and put_buf()
   mempool_free().

   bio completion -> resume_device -> put_buf -> mempool_free(r1_bufpool)
|
   [ wakeup]
|
   close_sync() -> r1_bufpool = NULL;

   The patch attached  reorders the mempool_free before the  barrier is released
   and merges resume_device() into put_buf(), (they are only used together).
   Otherwise I have kept the locking and wakeups identical to the existing code.
   (maybe this could be streamlined)

3.  BUG() at close_sync() if (waitqueue_active(&conf->wait_resume).

   This occurs with and without the patch for (2).

   I think this is a false BUG().  From what I understand of the device barrier
   code, there is nothing wrong with make_request() waiting on wait_resume when
   this test is made.  Therefore I have removed it (the wait_idle test is still
   correct).

4. raid1 tries to start a resync if there is only one working drive,
   which is pretty pointless, and noisy.  We notice that special case and
   avoid the resync.

23 years ago[PATCH] md: Misc little raid fixes
Neil Brown [Wed, 6 Nov 2002 13:00:03 +0000 (05:00 -0800)]
[PATCH] md: Misc little raid fixes

Roughly in order of patch:

1/ xor.h is never needed in md.c
2/ set sb_loaded when we 'sync' mddev to rdev as well as when we load
   sb into rdev from disk.
2/ due to lifetime changes, active count can be 2 when we stop array
3/ due to lifetime changes, we need to explicitly clear the ->pers when we
   stop an array
4/ autostart can only work for 0.90.0 superblocks.
   None others would be silly enough to store device numbers for
   all devices in the superblock...
5/ we had lost the setting of 'sb' when auto-starting an array.
6/ Code currently calls export_rdev(start_rdev) when
   IS_ERR(start_rdev), which causes an oops.
7/ /proc/mdstat contents error:
       code does not take into account that delayed
       resyncs can wait with curr_resync = 1 or 2.
8/ There is a premature "return NOTIFY_DONE", that possibly was in
   for debugging once...

23 years ago[PATCH] Fix typo in nfs_readpages.
Trond Myklebust [Wed, 6 Nov 2002 12:55:28 +0000 (04:55 -0800)]
[PATCH] Fix typo in nfs_readpages.

Make sure we drain the entire list of pages that failed to get added
to the mapping.

23 years agoMerge bk://linux-scsi.bkbits.net/scsi-dledford
Linus Torvalds [Wed, 6 Nov 2002 12:54:32 +0000 (04:54 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-dledford
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge master.kernel.org:/home/hch/BK/xfs/linux-2.5
Linus Torvalds [Wed, 6 Nov 2002 12:53:39 +0000 (04:53 -0800)]
Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoexport find_trylock_page for XFS
Christoph Hellwig [Wed, 6 Nov 2002 23:39:06 +0000 (00:39 +0100)]
export find_trylock_page for XFS

23 years ago[XFS] Fix compilation with ACLs enabled
Christoph Hellwig [Wed, 6 Nov 2002 23:27:24 +0000 (00:27 +0100)]
[XFS] Fix compilation with ACLs enabled

SGI Modid: 2.5.x-xfs:slinx:132214a

23 years ago[XFS] Fix up some Kconfig merging issues
Christoph Hellwig [Wed, 6 Nov 2002 22:42:59 +0000 (23:42 +0100)]
[XFS] Fix up some Kconfig merging issues

23 years ago[XFS] Don't require ACL helpers for XFS
Christoph Hellwig [Wed, 6 Nov 2002 22:35:22 +0000 (23:35 +0100)]
[XFS] Don't require ACL helpers for XFS

SGI Modid: 2.5.x-xfs:slinx:132176a

23 years ago[XFS] Add XFS_POSIX_ACL to control ACL compilation in xfs
Stephen Lord [Wed, 6 Nov 2002 22:33:34 +0000 (23:33 +0100)]
[XFS] Add XFS_POSIX_ACL to control ACL compilation in xfs

SGI Modid: 2.5.x-xfs:slinx:132045a

23 years ago[XFS] remove excess vn_remove from the unmount path
Stephen Lord [Wed, 6 Nov 2002 22:24:48 +0000 (23:24 +0100)]
[XFS] remove excess vn_remove from the unmount path

SGI Modid: 2.5.x-xfs:slinx:131939a

23 years ago[XFS] remove VPURGE
Stephen Lord [Wed, 6 Nov 2002 22:22:28 +0000 (23:22 +0100)]
[XFS] remove VPURGE

SGI Modid: 2.5.x-xfs:slinx:131630a

23 years ago[XFS] Remove a couple other readonly device change remnants
Eric Sandeen [Wed, 6 Nov 2002 22:20:45 +0000 (23:20 +0100)]
[XFS] Remove a couple other readonly device change remnants

SGI Modid: 2.5.x-xfs:slinx:131565a

23 years ago[XFS] Be more careful about quota state changes on ro-devices
Eric Sandeen [Wed, 6 Nov 2002 22:18:46 +0000 (23:18 +0100)]
[XFS] Be more careful about quota state changes on ro-devices
We can't allow quota state changes on a read-only device,
this would kick of a failing transaction & shut down the fs.
Previously the test was quota/no quota but we need to disallow
any change wrt user and/or group quota state.

SGI Modid: 2.5.x-xfs:slinx:131554a

23 years ago[XFS] break out the allocator specific parts of the xfs I/O path into
Stephen Lord [Wed, 6 Nov 2002 22:17:04 +0000 (23:17 +0100)]
[XFS] break out the allocator specific parts of the xfs I/O path into
a separate file, xfs_iomap.c out of xfs_lrw.c. Remove some parts
of the code which were not doing anything for us. This is step
one in some major reorgs of this code.

SGI Modid: 2.5.x-xfs:slinx:131524a

23 years ago[XFS] narrow down comment
Russell Cattelan [Wed, 6 Nov 2002 22:15:09 +0000 (23:15 +0100)]
[XFS] narrow down comment

SGI Modid: 2.5.x-xfs:slinx:131504a

23 years ago[XFS] fix loop termination logic in xfs_sync
Stephen Lord [Wed, 6 Nov 2002 22:13:30 +0000 (23:13 +0100)]
[XFS] fix loop termination logic in xfs_sync

SGI Modid: 2.5.x-xfs:slinx:131490a

23 years ago[XFS] Fix fsx corruption.
Russell Cattelan [Wed, 6 Nov 2002 22:11:38 +0000 (23:11 +0100)]
[XFS] Fix fsx corruption.

SGI Modid: 2.5.x-xfs:slinx:131438a

23 years ago[XFS] more dead code removal
Christoph Hellwig [Wed, 6 Nov 2002 22:05:11 +0000 (23:05 +0100)]
[XFS] more dead code removal

SGI Modid: 2.5.x-xfs:slinx:131386a

23 years ago[XFS] Contributed fix from ASANO Masahiro <masano@tnes.nec.co.jp>. In calculating
Stephen Lord [Wed, 6 Nov 2002 22:01:45 +0000 (23:01 +0100)]
[XFS] Contributed fix from ASANO Masahiro <masano@tnes.nec.co.jp>. In calculating
the layout of a log record for a buffer, the linux code deals with buffers
which are not contiguous in memory - this only applies to an inode buffer.
This adds one more fragmentation case to the code, and a line was missing
from this. The end result would be the logging of too much data if this
was not the last component of the buffer.

The code was definitely wrong, but I think the chances of hitting this were
pretty slim, and the resulting error would only matter if there was a
crash shortly afterward.

SGI Modid: 2.5.x-xfs:slinx:131221a

23 years ago[XFS] Prevent a couple transactions from happening on ro mounts
Eric Sandeen [Wed, 6 Nov 2002 21:35:03 +0000 (22:35 +0100)]
[XFS] Prevent a couple transactions from happening on ro mounts

SGI Modid: 2.5.x-xfs:slinx:131187a

23 years ago[XFS] Fix compile error with XFS_BIG_FILESYSTEMS set.
Nathan Scott [Wed, 6 Nov 2002 21:33:11 +0000 (22:33 +0100)]
[XFS] Fix compile error with XFS_BIG_FILESYSTEMS set.

SGI Modid: 2.5.x-xfs:slinx:131618a

23 years ago[XFS] Fix a couple of issues on the error path when dealing with external
Nathan Scott [Wed, 6 Nov 2002 21:31:29 +0000 (22:31 +0100)]
[XFS] Fix a couple of issues on the error path when dealing with external
devices (log/realtime).  path_init was missing the LOOKUP_POSITIVE
flag, so it would fail to tell us if the file doesn't exist, there
was a spot where we were returning the wrong signedness for the code,
and when mount is failing, we can call into xfs_blkdev_put with a
NULL pointer depending on which devices were initialised and which
weren't.

SGI Modid: 2.5.x-xfs:slinx:131469a

23 years ago[XFS] fix kNFSD operation
Christoph Hellwig [Wed, 6 Nov 2002 21:29:50 +0000 (22:29 +0100)]
[XFS] fix kNFSD operation

SGI Modid: 2.5.x-xfs:slinx:131214a

23 years ago[XFS] Remove tabs from printk's
Eric Sandeen [Wed, 6 Nov 2002 21:28:11 +0000 (22:28 +0100)]
[XFS] Remove tabs from printk's

SGI Modid: 2.5.x-xfs:slinx:131185a

23 years ago[XFS] remove inode reference cache
Christoph Hellwig [Wed, 6 Nov 2002 21:26:17 +0000 (22:26 +0100)]
[XFS] remove inode reference cache

SGI Modid: 2.5.x-xfs:slinx:131130a

23 years ago[XFS] Fix root exec access checks on files with acls
Eric Sandeen [Wed, 6 Nov 2002 21:22:44 +0000 (22:22 +0100)]
[XFS] Fix root exec access checks on files with acls

SGI Modid: 2.5.x-xfs:slinx:130837a

23 years ago[XFS] pagebuf flags cleanup
Eric Sandeen [Wed, 6 Nov 2002 21:20:57 +0000 (22:20 +0100)]
[XFS] pagebuf flags cleanup

SGI Modid: 2.5.x-xfs:slinx:130823a

23 years ago[XFS] fix NULL pointer dereference in pagebuf
Christoph Hellwig [Wed, 6 Nov 2002 21:19:02 +0000 (22:19 +0100)]
[XFS] fix NULL pointer dereference in pagebuf

SGI Modid: 2.5.x-xfs:slinx:130709a

23 years ago[XFS] Avoid creating attrs for acls which can be stored in
Eric Sandeen [Wed, 6 Nov 2002 21:17:17 +0000 (22:17 +0100)]
[XFS] Avoid creating attrs for acls which can be stored in
the standard permission bits, and remove existing attrs
if acls are reduced to standard permissions.

SGI Modid: 2.5.x-xfs:slinx:130256a

23 years ago[XFS] The revalidate routine is now a local, static inline elsewhere, so no
Nathan Scott [Wed, 6 Nov 2002 21:15:33 +0000 (22:15 +0100)]
[XFS] The revalidate routine is now a local, static inline elsewhere, so no
longer needs to be declared globally here.

SGI Modid: 2.5.x-xfs:slinx:130827a

23 years ago[XFS] Move a couple of routines with knowledge of pagebuf targets, block devices,
Christoph Hellwig [Wed, 6 Nov 2002 21:11:31 +0000 (22:11 +0100)]
[XFS] Move a couple of routines with knowledge of pagebuf targets, block devices,
and struct inodes down in with the rest of the Linux-specific code.

SGI Modid: 2.5.x-xfs:slinx:130824a

23 years ago[XFS] remove nopkg() alias for ENOSYS
Christoph Hellwig [Wed, 6 Nov 2002 21:08:16 +0000 (22:08 +0100)]
[XFS] remove nopkg() alias for ENOSYS

SGI Modid: 2.5.x-xfs:slinx:130598a

23 years ago[XFS] fix jiffies (lbolt) compare
Christoph Hellwig [Wed, 6 Nov 2002 21:06:24 +0000 (22:06 +0100)]
[XFS] fix jiffies (lbolt) compare

SGI Modid: 2.5.x-xfs:slinx:130589a

23 years ago[XFS] Fix xfs_da_node_split handling of dir/attr buffers for filesystems built
Nathan Scott [Wed, 6 Nov 2002 21:04:40 +0000 (22:04 +0100)]
[XFS] Fix xfs_da_node_split handling of dir/attr buffers for filesystems built
with a directory block size larger than the filesystem (and hence attr)
blocksize.  This does not affect filesystems built with default mkfs.xfs
parameters, and only hits when a large number of attributes are set on
an inode.

SGI Modid: 2.5.x-xfs:slinx:130577a

23 years ago[XFS] Fix compile error from non-DMAPI enabled builds.
Nathan Scott [Wed, 6 Nov 2002 20:47:42 +0000 (21:47 +0100)]
[XFS] Fix compile error from non-DMAPI enabled builds.

SGI Modid: 2.5.x-xfs:slinx:130575a

23 years ago[XFS] Minor header reorg to get xfs_lrw.h back into line with the other linux
Nathan Scott [Wed, 6 Nov 2002 20:46:00 +0000 (21:46 +0100)]
[XFS] Minor header reorg to get xfs_lrw.h back into line with the other linux
headers.  Allows us to not repeat the xfs_stratcb declaration in several
places.  Also rename linvfs_set_inode_ops to xfs_set_inodeops since its
an auxillary routine not a linvfs method.

SGI Modid: 2.5.x-xfs:slinx:130573a

23 years ago[XFS] Fix the handling of the realtime device on the mount path - this was broken
Nathan Scott [Wed, 6 Nov 2002 20:43:33 +0000 (21:43 +0100)]
[XFS] Fix the handling of the realtime device on the mount path - this was broken
a few weeks ago with the rework of the target device pointer between the
xfs_mount and pb_target structures.

SGI Modid: 2.5.x-xfs:slinx:130572a

23 years ago[XFS] Fix an oversight in the mount option parsing code which would result in
Nathan Scott [Wed, 6 Nov 2002 20:39:39 +0000 (21:39 +0100)]
[XFS] Fix an oversight in the mount option parsing code which would result in
a kernel panic on certain option strings.

SGI Modid: 2.5.x-xfs:slinx:130571a

23 years agoMerge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
Linus Torvalds [Wed, 6 Nov 2002 12:50:44 +0000 (04:50 -0800)]
Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge dougg/cloos changes in sbp2.h
James Bottomley [Wed, 6 Nov 2002 12:56:28 +0000 (07:56 -0500)]
Merge dougg/cloos changes in sbp2.h

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Wed, 6 Nov 2002 12:47:06 +0000 (04:47 -0800)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[ARM] Actually update Neponset default configuration.
Russell King [Wed, 6 Nov 2002 22:54:13 +0000 (22:54 +0000)]
[ARM] Actually update Neponset default configuration.

A previous cset claimed that it updated the default configuration.
It lies.  This cset does though.

(why does bk allow deltas to be created for files with no changes?)

23 years ago[MTD] Avoid bad pointer dereferences in mtd partition cmd line parsing
Russell King [Wed, 6 Nov 2002 22:43:13 +0000 (22:43 +0000)]
[MTD] Avoid bad pointer dereferences in mtd partition cmd line parsing

In response to RMK's message to ipaq@handhelds.org
(http://www.handhelds.org/pipermail/ipaq/2002-November/016028.html),
checking the return value from memparse() before using the output
pointers when parsing mtd partition specs.

Patch from Dave Neuer.

23 years agoFix and simplify port of Orlov allocator to ext3.
Theodore Y. Ts'o [Wed, 6 Nov 2002 17:26:22 +0000 (12:26 -0500)]
Fix and simplify port of Orlov allocator to ext3.

My ext3 port of the Orlov allocator was buggy; the block group
descriptor counts for free inodes and directories were getting
doubly decremented / incremented.  This patch fixes this, as well
as simplifying the code.

23 years agoFix meta_bg compatibility with e2fsprogs 1.30.
Theodore Y. Ts'o [Wed, 6 Nov 2002 17:25:52 +0000 (12:25 -0500)]
Fix meta_bg compatibility with e2fsprogs 1.30.

The algorithm for finding the block group descriptor blocks for the
future on-line resizable ext2/3 format change got out of sync with
what was actually shipped in e2fsprogs 1.30.  (And what is in e2fsprogs
1.30 is better since it avoids a free block fragmentation at the
beginning of the block group.)  This change is safe, since no one is
actually using the new meta_bg block group layout just yet.

23 years agoFix ext3 htree rename bug.
Theodore Y. Ts'o [Wed, 6 Nov 2002 17:25:12 +0000 (12:25 -0500)]
Fix ext3 htree rename bug.

This fixes an ext3 htree bug pointed out by Christopher Li; if
adding the new name to the directory causes a split, this can cause
the directory entry containing the old name to move to another
block, and then the removal of the old name will fail.

23 years ago[GEN] Update credits + maintainers files for ARM people.
Russell King [Wed, 6 Nov 2002 14:46:50 +0000 (14:46 +0000)]
[GEN] Update credits + maintainers files for ARM people.

23 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
Russell King [Wed, 6 Nov 2002 13:20:17 +0000 (13:20 +0000)]
Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk

23 years ago[ARM] Update RISC PC and Neponset default configurations
Russell King [Wed, 6 Nov 2002 13:13:59 +0000 (13:13 +0000)]
[ARM] Update RISC PC and Neponset default configurations

23 years agoaic7xxx_old: multiple updates and fixes, driver ported to scsi
Doug Ledford [Wed, 6 Nov 2002 11:40:20 +0000 (06:40 -0500)]
aic7xxx_old: multiple updates and fixes, driver ported to scsi
mid-layer new error handling scheme

23 years agoCheck for failed kmalloc() in ext3_htree_store_dirent()
Theodore Y. Ts'o [Wed, 6 Nov 2002 11:15:27 +0000 (06:15 -0500)]
Check for failed kmalloc() in ext3_htree_store_dirent()

This patch checks for a failed kmalloc() in ext3_htree_store_dirent(),
and passes the error up to its caller, ext3_htree_fill_tree().

23 years agoRe: [PATCH] fix 2.5 scsi queue depth setting
Patrick Mansfield [Wed, 6 Nov 2002 11:12:56 +0000 (06:12 -0500)]
Re: [PATCH] fix 2.5 scsi queue depth setting

On Wed, Nov 06, 2002 at 01:50:00PM -0500, J.E.J. Bottomley wrote:
> I'm OK with that, since the drivers can be audited as they're moved over to
> slave attach.  It also works for drivers that use older hardware (like the
> 53c700) which don't call adjust_queue_depth from slave attach, but slightly
> later on when they've really verified the device will accept tags.  In this
> case, I don't want the mid layer to call adjust_queue_depth for me even if I
> leave slave_attach with only one command allocated.

OK, here it is again, as discussed, plus it calls scsi_release_commandblocks
on slave_attach failure.

23 years ago[ARM] Make ambakmi.c compile
Russell King [Wed, 6 Nov 2002 10:36:05 +0000 (10:36 +0000)]
[ARM] Make ambakmi.c compile

- Remove obsolete include

23 years ago[ARM] Make rpckbd.c compile
Russell King [Wed, 6 Nov 2002 10:27:27 +0000 (10:27 +0000)]
[ARM] Make rpckbd.c compile

- Add missing interrupt.h include
- Bring up to date wrt serio code
- CONFiG_SERIO_ACORN should be CONFIG_SERIO_RPCKBD

23 years agoAdd '.' and '..' entries to be returned by readdir of htree directories
Theodore Y. Ts'o [Wed, 6 Nov 2002 10:21:34 +0000 (05:21 -0500)]
Add '.' and '..' entries to be returned by readdir of htree directories

This patch from Chris Li adds '.' and '..' to the rbtree so that they
are properly returned by readdir.

23 years ago[ARM] Fix Acorn RISCPC mouse input driver
Russell King [Wed, 6 Nov 2002 10:10:19 +0000 (10:10 +0000)]
[ARM] Fix Acorn RISCPC mouse input driver

- Always pass a dev_id when allocating a shared interrupt
- Correct Y axis direction
- Correct order of mouse buttons
- Correct polarity of mouse buttons
- Rename CONFIG_MOUSE_ACORN to CONFIG_MOUSE_RISCPC

23 years agoFix illegal sleep in mbcache.
Theodore Y. Ts'o [Wed, 6 Nov 2002 10:08:46 +0000 (05:08 -0500)]
Fix illegal sleep in mbcache.

This patch from Andreas Gruenbacher fixes an illegal sleep trace.

23 years agoppc64: defconfig update
Anton Blanchard [Wed, 6 Nov 2002 08:27:47 +0000 (19:27 +1100)]
ppc64: defconfig update

23 years ago[PATCH] fix 2.5 scsi queue depth setting
Patrick Mansfield [Wed, 6 Nov 2002 06:33:05 +0000 (01:33 -0500)]
[PATCH] fix 2.5 scsi queue depth setting

This patch fixes queue depth setting of scsi devices.

This is done by pairing shost->slave_attach() calls with
a scsi_build_commandblocks in the new scsi_slave_attach.

This is a patch aginst linux-scsi.bkbits.net/scsi-for-linus-2.5 after
applying the last posted hch version of the "Eliminate scsi_host_tmpl_list"
patch, it still applies with offset to the current scsi-for-linus-2.5.

It also:

Will properly call shost->slave_attach after a scsi_unregister_device()
followed by a scsi_register_device() - as could happen if you were able to
rmmod all upper level drivers and then insmod any of them back (only
possible when not booted on scsi).

Checks for scsi_build_commandblocks() allocation failures.

Sets queue depth even if shost->slave_attach() does not call
scsi_adjust_queue_depth.

Removes the use of revoke (no drivers are setting it, it was only
call via the proc scsi remove-single-device interface).

There are at least two problems with sysfs and scsi (one in sysfs, one in
scsi, I'll try and post more soon ...) so I could not completey test rmmod
of an adapter or upper level driver without leading to an oops or shutdown
hang.

 hosts.c              |    5 --
 hosts.h              |    6 --
 osst.c               |    9 ++-
 scsi.c               |  118 +++++++++++++++++++++++++++++++--------------------
 scsi.h               |    2
 scsi_mid_low_api.txt |   24 ----------
 scsi_scan.c          |    9 ---
 sd.c                 |   10 +++-
 sg.c                 |   10 ++--
 sr.c                 |    7 ++-
 st.c                 |   11 +++-
 11 files changed, 106 insertions(+), 105 deletions(-)

===== drivers/scsi/hosts.c 1.23 vs edited =====

23 years agoppc64: rework ppc64 hashtable management
Anton Blanchard [Wed, 6 Nov 2002 06:23:56 +0000 (17:23 +1100)]
ppc64: rework ppc64 hashtable management

23 years ago[MTD] mtdblock devices are called mtdblock%d not mtd%d
Russell King [Wed, 6 Nov 2002 00:56:29 +0000 (00:56 +0000)]
[MTD] mtdblock devices are called mtdblock%d not mtd%d

23 years agoppc64: updates from Dave Engebretsen in 2.4
Anton Blanchard [Tue, 5 Nov 2002 23:37:26 +0000 (10:37 +1100)]
ppc64: updates from Dave Engebretsen in 2.4

23 years ago[SERIAL] serial bits from -ac
Russell King [Tue, 5 Nov 2002 22:29:29 +0000 (22:29 +0000)]
[SERIAL] serial bits from -ac
(from Alan Cox)

This adds support for 68328, 68360, MCF and NB85E serial drivers.

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Tue, 5 Nov 2002 21:49:29 +0000 (08:49 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work

23 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
Russell King [Tue, 5 Nov 2002 17:17:55 +0000 (17:17 +0000)]
Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk

23 years ago[ARM] Fixes for 2.5.46
Russell King [Tue, 5 Nov 2002 17:12:52 +0000 (17:12 +0000)]
[ARM] Fixes for 2.5.46

- Add LDFLAGS_BLOB definitions
- Tweak kernel_thread for better code
- Fix vmlinux-armv.lds.in to prevent ld complaining about the
  architecture private flags.
(I'm not certain that the last item isn't a hole in some bug fix in
ld - this fix appears to work with every binutils I've found thus
far.  However, if this suspected bug gets fixed, we're going to have
to rethink how we combine binary objects into ELF objects.)

23 years ago[ARM] Make ARM SCSI drivers build
Russell King [Tue, 5 Nov 2002 16:47:22 +0000 (16:47 +0000)]
[ARM] Make ARM SCSI drivers build
2.5.46 appears to require drivers/scsi/scsi.h to be included before
drivers/scsi/hosts.h.  Make this happen in the Acorn SCSI drivers.

23 years agoFix floppy timer initialization
Linus Torvalds [Tue, 5 Nov 2002 13:56:56 +0000 (05:56 -0800)]
Fix floppy timer initialization

23 years ago[PATCH] init timers under fs/
Andrew Morton [Tue, 5 Nov 2002 12:50:32 +0000 (04:50 -0800)]
[PATCH] init timers under fs/

There's only the one, in XFS.

23 years ago[PATCH] Convert NFS client to use ->readpages()
Trond Myklebust [Tue, 5 Nov 2002 12:49:33 +0000 (04:49 -0800)]
[PATCH] Convert NFS client to use ->readpages()

  - Add the library function read_cache_pages(), which is used in a
    similar fashion to the single page 'read_cache_page()'. It hides
    the details of the LRU cache etc. from a filesystem that wants to
    to populate an address space with a list of pages.

  - Fix NFS so that readahead uses the ->readpages() interface. Means
    that we can immediately schedule an RPC call in order to complete
    the I/O, rather than relying on somebody later triggering it by
    calling lock_page() (and hence sync_page()). The sync_page()
    method is race-prone, since the waiting page may try to call it
    before we've finished initializing the 'struct nfs_page'.

  - Clear out nfs_sync_page(), the nfs_inode->read list, and
    friends. When the I/O completion gets scheduled in ->readpage(),
    ->readpages(), they have no reason to exist.

23 years ago[PATCH] Make ->readpages palatable to NFS
Trond Myklebust [Tue, 5 Nov 2002 12:49:27 +0000 (04:49 -0800)]
[PATCH] Make ->readpages palatable to NFS

The following patch makes the ->readpages() address_space_operation
take a struct file argument just like ->readpage().

23 years agoThe crypto auto-load should only be enabled if crypto in enabled.
Linus Torvalds [Tue, 5 Nov 2002 12:46:28 +0000 (04:46 -0800)]
The crypto auto-load should only be enabled if crypto in enabled.

23 years agoMerge
Linus Torvalds [Tue, 5 Nov 2002 12:27:18 +0000 (04:27 -0800)]
Merge

23 years ago[PATCH] thread-aware coredumps, 2.5.43-C3
Ingo Molnar [Tue, 5 Nov 2002 12:25:29 +0000 (04:25 -0800)]
[PATCH] thread-aware coredumps, 2.5.43-C3

This is the second iteration of thread-aware coredumps.

Changes:

- Ulrich Drepper has reviewed the data structures and checked actual
  coredumps via readelf - everything looks fine and according to the spec.

- a serious bug has been fixed in the thread-state dumping code - it was
  still based on the 2.4 assumption that the task struct points to the
  kernel stack - it's task->thread_info in 2.5. This bug caused bogus
  register info to be filled in for threads.

- properly wait for all threads that share the same MM to serialize with
  the coredumping thread. This is CLONE_VM based, not tied to
  CLONE_THREAD and/or signal semantics, ie. old-style (or different-style)
  threaded apps will be properly stopped as well.

  The locking might look a bit complex, but i wanted to keep the
  __exit_mm() overhead as low as possible. It's not quite trivial to get
  these bits right, because 'sharing the MM' is detached from signals
  semantics, so we cannot rely on broadcast-kill catching all threads. So
  zap_threads() iterates through every thread and zaps those which were
  left out. (There's a minimal race left in where a newly forked child
  might escape the attention of zap_threads() - this race is fixed by the
  OOM fixes in the mmap-speedup patch.)

- fill_psinfo() is now called with the thread group leader, for the
  coredump to get 'process' state.

 - initialize the elf_thread_status structure with zeroes.

the IA64 ELF bits are not included, yet, to reduce complexity of the
patch. The patch has been tested on x86 UP and SMP.

23 years agoMerge
Linus Torvalds [Tue, 5 Nov 2002 12:20:15 +0000 (04:20 -0800)]
Merge

23 years ago[PATCH] PATCH: PCMCIA updates for 2.5, #4
David Hinds [Tue, 5 Nov 2002 12:09:50 +0000 (04:09 -0800)]
[PATCH] PATCH: PCMCIA updates for 2.5, #4

drivers/ide/legacy/ide-cs.c:
 o Added MODULE_{AUTHOR,DESCRIPTION}, fixed MODULE_LICENSE
 o Added support for (Panasonic) KME KXLC005 cards
 o Better errno for failed module initialization

drivers/parport/parport_cs.c
 o Fixed it so it actually works
 o Removed cruft for old kernels
 o Better errno for failed module initialization

23 years ago[PATCH] PATCH: more PCMCIA fixes for 2.5
David Hinds [Tue, 5 Nov 2002 12:09:46 +0000 (04:09 -0800)]
[PATCH] PATCH: more PCMCIA fixes for 2.5

include/pcmcia/ciscode.h
o added product ID's for a few more cards

drivers/net/pcmcia/fmvj18x_cs.c
o Added MODULE_DESCRIPTION
o Added support for RATOC cards
o Added support for Nextcom NC5310B cards
o Added support for SSi 78Q8370 chipset
o Added support for TDK GN3410 multifunction cards
o Better errno for failed module initialization
o Cleaned up whitespace

drivers/net/pcmcia/smc91c92_cs.c
o Added full duplex support for smc91c100 based cards
o Better errno for failed module initialization
o Synced up naming of stuff to match pcmcia-cs version
o Cleaned up whitespace

drivers/pcmcia/cardbus.c
drivers/pcmcia/cistpl.c
drivers/pcmcia/cs_internal.c
o Fixed card identification bug triggered by invoking certain PCMCIA
  tools when cardmgr is not running.

23 years ago[PATCH] PATCH: PCMCIA network driver update
David Hinds [Tue, 5 Nov 2002 12:09:42 +0000 (04:09 -0800)]
[PATCH] PATCH: PCMCIA network driver update

This brings several PCMCIA network drivers into sync with 2.4 and the
pcmcia-cs package.  The axnet_cs driver gets a major cleanup.

23 years ago[PATCH] PATCH: small attribution fixes
David Hinds [Tue, 5 Nov 2002 12:09:37 +0000 (04:09 -0800)]
[PATCH] PATCH: small attribution fixes

This cleans up some obsolete email addresses.

23 years agoMerge http://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Tue, 5 Nov 2002 11:53:25 +0000 (03:53 -0800)]
Merge http://gkernel.bkbits.net/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoRemove performance barrier in i810_rng char driver.
Jeff Garzik [Tue, 5 Nov 2002 16:02:34 +0000 (11:02 -0500)]
Remove performance barrier in i810_rng char driver.

In order to conserve CPU, the read(2) syscall would schedule_timeout
unconditionally.  This also crippled speed, and was a bad design
decision.  This cset merges the updated read(2) logic of the sister
driver amd768_rng from Alan, which schedules only when it needs to.

On my test system, by one microbenmark, read(2) output jumped
from 0.08 kbit/s to "what Intel expects" of 20 kbit/s.

End users may notice a significant decrease in idle time after
this change (and a correspondingly large increase in /dev/hwrng user
speed), if /dev/hwrng is used to its maximum capacity.

23 years agoMerge bk://linuxusb.bkbits.net/pci_hp-2.5
Linus Torvalds [Tue, 5 Nov 2002 11:53:01 +0000 (03:53 -0800)]
Merge bk://linuxusb.bkbits.net/pci_hp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Tue, 5 Nov 2002 11:52:21 +0000 (03:52 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge dougg/hch changes in sg.c
James Bottomley [Tue, 5 Nov 2002 11:22:23 +0000 (06:22 -0500)]
Merge dougg/hch changes in sg.c