]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] (2/8) arlan -- get rid of some dead wood
Stephen Hemminger [Thu, 25 Sep 2003 15:26:58 +0000 (11:26 -0400)]
[PATCH] (2/8) arlan -- get rid of some dead wood

This code is littered with unused structure elements and globals.
Eliminate some of the fields set and never used.

More in later patches.

23 years ago[PATCH] (1/8) arlan -- merge arlan-proc with main code
Stephen Hemminger [Thu, 25 Sep 2003 15:26:49 +0000 (11:26 -0400)]
[PATCH] (1/8) arlan -- merge arlan-proc with main code

The arlan driver tries to build it's /proc interface into a separate module,
which leads to circular dependencies and other ugliness.  This patch
moves arlan.c to arlan-main.c and changes initialization builds one module arlan.o

Patch is for 2.6.0-test5

23 years ago[netdrvr tlan] netif_carrier_* support
Matt Mackall [Wed, 24 Sep 2003 08:22:58 +0000 (04:22 -0400)]
[netdrvr tlan] netif_carrier_* support

23 years ago[netdrvr sk98lin] Remove useless configure options
Mirko Lindner [Wed, 24 Sep 2003 07:51:49 +0000 (03:51 -0400)]
[netdrvr sk98lin] Remove useless configure options

here is a new version of the sk98lin driver (v6.18) with some changes
for kernel 2.6.0-test4. This is a diff between the latest patched kernel
version with sk98lin driver v6.17.

Patch 1/3
* Remove bogus config stuff

23 years ago[PATCH] 32-bit dev_t fallout: mips/kernel/sysirix.c
Alexander Viro [Tue, 23 Sep 2003 16:46:08 +0000 (09:46 -0700)]
[PATCH] 32-bit dev_t fallout: mips/kernel/sysirix.c

Fix for typo in arch/mips/kernel/sysirix.c (spotted by Milton Miller)

23 years ago[PATCH] SELinux leak fixes
Andrew Morton [Tue, 23 Sep 2003 16:44:55 +0000 (09:44 -0700)]
[PATCH] SELinux leak fixes

From: Stephen Smalley <sds@epoch.ncsc.mil>

I believe that the patch below fixes the legitimate leaks in the SELinux
code.  In some cases, it rearranges the code (moving the allocation later
to reduce the need for further cleanup or linking the object into a
containing structure earlier so that the policydb_destroy will handle it
upon any subsequent errors).

23 years ago[PATCH] asm/softirq.h is dead
Andrew Morton [Tue, 23 Sep 2003 16:44:47 +0000 (09:44 -0700)]
[PATCH] asm/softirq.h is dead

From: Christoph Hellwig <hch@lst.de>

Still three arches keep an unused copy around and quite a few places refer
to it in comments still.

Two of the two arches also include it in their _ksyms.c file, but given
that softirq.h only contains macros (which are in hardirq.c as well) that's
just a leftover as well.

23 years ago[PATCH] use "normalized" syntax for lgdt/lidt
Andrew Morton [Tue, 23 Sep 2003 16:44:37 +0000 (09:44 -0700)]
[PATCH] use "normalized" syntax for lgdt/lidt

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

Use common (normalized) asm syntax for lidt/lgdt, specifying that the
operand is an input value instead of output.

23 years ago[PATCH] wanxl compile and warning fixes
Andrew Morton [Tue, 23 Sep 2003 16:44:29 +0000 (09:44 -0700)]
[PATCH] wanxl compile and warning fixes

From: Krzysztof Halasa <khc@pm.waw.pl>

Fix wanxl for older gcc's, and fix a couple of warnings.

23 years ago[PATCH] DAC960: remove redundant (and uninitialized)
Andrew Morton [Tue, 23 Sep 2003 16:44:21 +0000 (09:44 -0700)]
[PATCH] DAC960: remove redundant (and uninitialized)

From: Dave Olien <dmo@osdl.org>

this patch fixes a bug that appeared only on Alpha hardware with
DAC960 controllers.  The Command->PciDevice structure member was
never initialized.  This was passed to the pci scatter/gather functions.
This didn't cause a problem for x86 platforms because the scatter/gather
funtions never really used that information.  Alpha platforms do use
that pointer.

The Command->PciDevice field was also redundant with the Controller->PCIDevice
field, which IS initialized properly.  So, eliminating the redundant
structure member and substituting the Controller's member fixes the bug.

23 years ago[PATCH] remove CONFIG_SERIAL_21285_OLD
Andrew Morton [Tue, 23 Sep 2003 16:44:12 +0000 (09:44 -0700)]
[PATCH] remove CONFIG_SERIAL_21285_OLD

From: Adrian Bunk <bunk@fs.tum.de>

CONFIG_SERIAL_21285_OLD depends on the non-existent option CONFIG_OBSOLETE,
IOW it's not selectable, and the help text says "This is obsolete and will
be removed during later 2.5 development.".

23 years ago[PATCH] setuid clearing fix
Andrew Morton [Tue, 23 Sep 2003 16:44:04 +0000 (09:44 -0700)]
[PATCH] setuid clearing fix

From: Andries.Brouwer@cwi.nl

jpcartal@free.fr writes:

I noticed that contrary to what was happening with 2.4.x kernel, suid
root files don't loose their suid bit when they get overwritten by a
normal user (see example below)

Is this the intended behaviour or a bug ?

Example :

[root@localhost test]# chown root ~cartaljp/test/suid_test
[root@localhost test]# chmod 4775 ~cartaljp/test/suid_test
[root@localhost test]# exit
[cartaljp@localhost test]$ cp /bin/ls suid_test
[cartaljp@localhost test]$ ls -l
total 72
-rwsrwxr-x    1 root     cartaljp    67668 Sep 19 07:56 suid_test <-
Suid bit is still set whereas with 2.4.x kernel it was reset.

Yes. Here 2.4 had the terrible code

     mode = (inode->i_mode & S_IXGRP)*(S_ISGID/S_IXGRP) | S_ISUID;

while 2.6 does things via notify_change().  However, in 2.6 notify_change()
does not allow removal of the SUID bit because you are not owner of the
file :-).  So, we have to convince inode_change_ok() to do it anyway.

23 years ago[PATCH] make CONFIG_HUGETLB_PAGE mirror CONFIG_HUGETLBFS
Andrew Morton [Tue, 23 Sep 2003 16:43:54 +0000 (09:43 -0700)]
[PATCH] make CONFIG_HUGETLB_PAGE mirror CONFIG_HUGETLBFS

At present you can set CONFIG_HUGETLB_PAGE and not CONFIG_HUGETLBFS, which
give the kernel low-level hugepage support, but no userspace API with which
to access it.

And with the recent hugetlbfs-accounting fix, the low-level code needs
functions which are in hugetlbfs, so CONFIG_HUGETLBFS=n,
CONFIG_HUGETLB_PAGE=y doesn't even link.

So we flip things around: CONFIG_HUGETLB_PAGE is set if CONFIG_HUGETLBFS is
set and CONFIG_HUGETLB_PAGE is unset if CONFIG_HUGETLBFS is unset.  The
CONFIG_HUGETLB_PAGE option hence disappears from the per-arch configuration
menus.

23 years ago[PATCH] Hugetlb FS quota accounting problem
Andrew Morton [Tue, 23 Sep 2003 16:43:45 +0000 (09:43 -0700)]
[PATCH] Hugetlb FS quota accounting problem

From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>

We found a problem in hugetlbfs file system quota when using huge page
via mmap.  The mmap method in hugetlbfs_file_operation always takes
quota for every mmap even for pages that are already allocated on that
inode.  This results in taxing the same hugepage multiple times and
causing mmap to fail on existing file when quota mistakenly runs out.

23 years ago[PATCH] misc fixes
Andrew Morton [Tue, 23 Sep 2003 16:43:36 +0000 (09:43 -0700)]
[PATCH] misc fixes

- modules need blk_rq_prep_restart()  (Florian Schanda <ma1flfs@bath.ac.uk>)

- Remove unneeded inclusions from configs.c (Randy Dunlap)

- The agp_setup() ifdef was backwards (Stephen Hemminger <shemminger@osdl.org>)

- makefiles.txt typo fix (Paolo Ornati <ornati@despammed.com>)

23 years ago[PATCH] switch remaining serial drivers to initcalls
Andrew Morton [Tue, 23 Sep 2003 16:43:28 +0000 (09:43 -0700)]
[PATCH] switch remaining serial drivers to initcalls

From: Christoph Hellwig <hch@lst.de>

All drivers that compile on ppc with CONFIG_ISA set (= all but
some m68-only drivers), I looked at the compile warnings very
closely and there are no new warnings or even errors this time :)

drivers/char/Makefile needed to be reordered big time to keep
the intialization order the same.

23 years ago[PATCH] disallow utime{s}() on immutable or append-only files
Andrew Morton [Tue, 23 Sep 2003 16:43:18 +0000 (09:43 -0700)]
[PATCH] disallow utime{s}() on immutable or append-only files

From: Ethan Benson <erbenson@alaska.net>

Currently Linux allows the use of the utime() and utimes() syscalls on
immutable or append-only files, this is incorrect.

utime{s}() is not supposed to work if you lack write access to a file,
in the case of an immutable file NOBODY has write access.

for an append-only file it only makes sense to be able to update its
time to present, not the past.

I have checked BSD, and they implement the behavior I propose, for
immutable files utime() and utimes() fail.  for append-only files they
fail if the time argument is not NULL.

23 years ago[PATCH] add -Wdeclaration-after-statement
Andrew Morton [Tue, 23 Sep 2003 16:43:09 +0000 (09:43 -0700)]
[PATCH] add -Wdeclaration-after-statement

From: John Levon <levon@movementarian.org>

Not that many people are going to be using GCC 3.4 currently, but it
might help a bit to prevent compilation bugs like that just witnessed
in procfs.

(And it consolidates the check_gcc implementation nicely)

23 years ago[PATCH] kill some leftovers from the big sysrq syncing rewrite
Andrew Morton [Tue, 23 Sep 2003 16:43:01 +0000 (09:43 -0700)]
[PATCH] kill some leftovers from the big sysrq syncing rewrite

From: Christoph Hellwig <hch@lst.de>

Some junk which was needed before we did the big cleansweep for the sysrq
syncing stuff.

23 years ago[PATCH] mark devfs obsolete
Andrew Morton [Tue, 23 Sep 2003 16:42:53 +0000 (09:42 -0700)]
[PATCH] mark devfs obsolete

From: Christoph Hellwig <hch@lst.de>

Richard hasn't touched it for about a year and since then only bugfixes and
my changes to the kernel interface went in.  No one has stepped up to
maintain it and with udev we have a proper replacement now.

I will do some more work before 2.6 (mainly trying to implement Al's
refcounting scheme to avoid stale entries), but that's it.

23 years ago[PATCH] Try harder in IRQ context before falling back to ksoftirqd
Andrew Morton [Tue, 23 Sep 2003 16:42:44 +0000 (09:42 -0700)]
[PATCH] Try harder in IRQ context before falling back to ksoftirqd

From: "David S. Miller" <davem@redhat.com>

It's from Ingo Molnar.  ksoftirqd kicks in way too early, so do more work in
interrupt context before falling back.

We can probably sysctl this thing, that way everyone gets what they want
probably...

(has been in -mm since 2.5.71 and I haven't heard a peep).

23 years ago[PATCH] slab: hexdump structures when things go wrong
Andrew Morton [Tue, 23 Sep 2003 16:42:36 +0000 (09:42 -0700)]
[PATCH] slab: hexdump structures when things go wrong

From: Manfred Spraul <manfred@colorfullife.com>

- Remove cache_alloc_one_tail and cache_alloc_listfixup - there is no
  reason for their existance.

- Print a bit more debugging info when slab corruption is detected.

23 years ago[PATCH] 32-bit dev_t fixups
Alexander Viro [Tue, 23 Sep 2003 16:07:14 +0000 (09:07 -0700)]
[PATCH] 32-bit dev_t fixups

Argh.  A couple of places where we needed ..._encode_dev() had
been lost in reordering the patchset - the most notable being ctty number in
/proc/<pid>/stat.  Fix follows:

23 years ago[PATCH] 3ware driver update
Adam Radford [Tue, 23 Sep 2003 09:27:21 +0000 (02:27 -0700)]
[PATCH] 3ware driver update

This fixes several things including fixing the character ioctl polling
to use wait_event_interruptible_timeout() instead of
interruptible_sleep_on_timeout() and several other fixes.

These changes were already applied to 2.4.22.

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Tue, 23 Sep 2003 06:11:54 +0000 (23:11 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 23 Sep 2003 05:59:04 +0000 (22:59 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] cdrom memory leaks
Jens Axboe [Tue, 23 Sep 2003 05:58:42 +0000 (22:58 -0700)]
[PATCH] cdrom memory leaks

From Szombathelyi György

This fixes a memory leak in the uniform cdrom layer.

23 years ago[PATCH] ide-cd cgc command bug
Jens Axboe [Tue, 23 Sep 2003 05:58:33 +0000 (22:58 -0700)]
[PATCH] ide-cd cgc command bug

From Szombathelyi György

This fixes a problem where the residual data count isn't being set
correctly.

23 years ago[PATCH] 32-bit dev_t: switch-over
Alexander Viro [Tue, 23 Sep 2003 05:52:28 +0000 (22:52 -0700)]
[PATCH] 32-bit dev_t: switch-over

Real conversion to 32bit dev_t.  Expansion to:
* mknod() - 32
* newstat() - 32 on 64bit platforms
* stat64() - 32 on mips, 64 on everything else (mips has weird struct
stat64 and can't get more than 32 bits).  Note that right now the difference
is purely theoretical - we don't have internal values above 32 bits, so
huge_... vs. new_... only marks the places where 64bit conversion will need
extra work.
* arch-dependent stat variants - depending on width available.
* ustat et.al. - 32
* filesystems that can handle 32 bits right now - 32
* ext2 and ext3 - 32, with large dev_t inodes having 0 in the first
element of i_data[] (where we store dev_t value for small device numbers) and
keeping the value in the second element.
* nfsd - 32; it can be driven to 64, but we'll get several issues with
NFSv2 support.
* RAID - 32
* devmapper - with v1 it's still 16 (nothing to do here), with v4 it's
64.
* loop - 64
* initramfs - 32
* do_mounts code - 32.  Parts that scan devfs tree are using newstat()
on 64bit platforms and stat64() on the rest (IOW, the latest stat variant on
given platform).
* old_valid_dev()/new_valid_dev() added where needed (stat variants,
mostly - we fail with -EOVERFLOW if values do not fit).

23 years ago[PATCH] 32-bit dev_t: internal use
Alexander Viro [Tue, 23 Sep 2003 05:52:17 +0000 (22:52 -0700)]
[PATCH] 32-bit dev_t: internal use

Starting the conversion:
* internal dev_t made 32bit.
* new helpers - new_encode_dev(), new_decode_dev(), huge_encode_dev(),
huge_decode_dev(), new_valid_dev().  They do encoding/decoding of 32bit and
64bit values; for now huge_... are aliases for new_... and new_valid_dev()
is always true.  We do 12:20 for 32bit; representation is compatible with
16bit one - we have major in bits 19--8 and minor in 31--20,7--0.  That's
what the userland sees; internally we have (major << 20)|minor, of course.
* MKDEV(), MAJOR() and MINOR() updated.
* several places used to handle Missed'em'V dev_t (14:18 split)
manually; that stuff had been taken into common helpers.
Now we can start replacing old_... with new_... and huge_..., depending
on the width available.  MKDEV() callers should (for now) make sure that major
and minor are within 12:20.  That's what the next chunk will do.

23 years ago[PATCH] prepare for 32-bit dev_t: stat()
Alexander Viro [Tue, 23 Sep 2003 05:52:09 +0000 (22:52 -0700)]
[PATCH] prepare for 32-bit dev_t: stat()

Added old_encode_dev() to assorted stat() variants.
Fixed bug in s390 emulation on s390x: stat64() should never truncate
UID and GID.
Ditto for i386 emulation on x86_64.
Replaced dev_t in various struct stat with explicit integer type.
Replaced __kernel_dev_t with __old_kernel_dev_t in dm-ioctl-v1.h
Now we are free to change dev_t in any way we want - on all boundaries
we have explicit conversions.
Took __kernel_dev_t definition to linux/types.h and changed it with
__u16.  We are ready to proceed to 32bit now.

23 years ago[PATCH] prepare for 32-bit dev_t: CODA
Alexander Viro [Tue, 23 Sep 2003 05:51:59 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: CODA

Added old_encode_dev()/old_decode_dev() in CODA code - on assignments
to/from ->va_rdev.

23 years ago[PATCH] prepare for 32-bit dev_t: loop.c
Alexander Viro [Tue, 23 Sep 2003 05:51:50 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: loop.c

Added old_encode_dev() in loop.c

23 years ago[PATCH] prepare for 32-bit dev_t: mknod()/ustat()
Alexander Viro [Tue, 23 Sep 2003 05:51:41 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: mknod()/ustat()

Changed sys_mknod() prototype to have unsigned int passed to it
instead of current dev_t.  Added old_decode_dev() in sys_mknod() and
made sure that its callers are passing it old_encode_dev(<value>)
Switched sys_ustat() and its variants from dev_t to unsigned (and
added old_decode_dev()).
Took care of assignments to ROOT_DEV - again, old_decode_dev().
Late-boot search in devfs (call sys_newstat() and compare with
st_rdev) also updated.

23 years ago[PATCH] prepare for 32-bit dev_t: misc cleanups
Alexander Viro [Tue, 23 Sep 2003 05:51:32 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: misc cleanups

23 years ago[PATCH] prepare for 32-bit dev_t: dm-ioctl-*.c
Alexander Viro [Tue, 23 Sep 2003 05:51:23 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: dm-ioctl-*.c

Added old_encode_dev()/old_decode_dev() in dm-ioctl-*.c

23 years ago[PATCH] prepare for 32-bit dev_t: md.c cleanups
Alexander Viro [Tue, 23 Sep 2003 05:51:15 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: md.c cleanups

Minor cleanups in md.c + added old_decode_dev() on ioctl argument in
there.

23 years ago[PATCH] prepare for 32-bit dev_t: jffs2 cleanups
Alexander Viro [Tue, 23 Sep 2003 05:51:07 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: jffs2 cleanups

Minor cleanup of jffs2 fill_super.

23 years ago[PATCH] prepare for 32-bit dev_t: JFS
Alexander Viro [Tue, 23 Sep 2003 05:51:00 +0000 (22:51 -0700)]
[PATCH] prepare for 32-bit dev_t: JFS

Added missing old_encode_dev() in JFS.

23 years ago[PATCH] prepare for 32-bit dev_t: NFS
Alexander Viro [Tue, 23 Sep 2003 05:50:51 +0000 (22:50 -0700)]
[PATCH] prepare for 32-bit dev_t: NFS

NFS made dev_t-agnostic.  Aside of minor fixes in debugging printks,
and adding old_encode_dev()/old_decode_dev(), the main part is in handling
of exports with large dev_t.  New fhandle format introduced, fh_verify(),
fh_compose() and exports cache taught to deal with it.  Format is used when
->s_dev of exported fs doesn't fit into 256:256; in that case we put major
and minor in separate words in fhandle; ->fh_fsid_type is set to 2.

23 years ago[PATCH] prepare for 32-bit dev_t: tty usage
Alexander Viro [Tue, 23 Sep 2003 05:50:42 +0000 (22:50 -0700)]
[PATCH] prepare for 32-bit dev_t: tty usage

tty->device had been used only in a couple of places and can be
calculated by tty->index and tty->driver.  Field removed, its users switched
to static inline dev_t tty_devnum(tty).

23 years ago[PATCH] prepare for 32-bit dev_t: XFS
Alexander Viro [Tue, 23 Sep 2003 05:50:33 +0000 (22:50 -0700)]
[PATCH] prepare for 32-bit dev_t: XFS

sanitized dev_t use in debugging printks in XFS, switched their
bhash to use of struct block_device, added old_encode_dev() in XFS statfs()
(it had stored dev_t in ->fs_id[0])

23 years ago[PATCH] prepare for 32-bit dev_t: drm debugging printks
Alexander Viro [Tue, 23 Sep 2003 05:50:24 +0000 (22:50 -0700)]
[PATCH] prepare for 32-bit dev_t: drm debugging printks

added old_encode_dev() in drm debugging printks, so they won't change
when we go for bigger dev_t.

23 years ago[PATCH] prepare for 32-bit dev_t: reiserfs/procfs.c
Alexander Viro [Tue, 23 Sep 2003 05:50:15 +0000 (22:50 -0700)]
[PATCH] prepare for 32-bit dev_t: reiserfs/procfs.c

fs/reiserfs/procfs.c made sane.  It used to store dev_t of filesystem
in the proc_dir_entry->data (which is void *) and played very odd games after
that.
Switched to seq_file, stores pointer to superblock, uses sget() to
validate it, avoids use of dev_t completely.

23 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.5
David S. Miller [Tue, 23 Sep 2003 04:17:38 +0000 (21:17 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

23 years ago[SPARC]: Make atomic_read() take const.
Mitchell Blank Jr. [Tue, 23 Sep 2003 05:55:07 +0000 (22:55 -0700)]
[SPARC]: Make atomic_read() take const.

23 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Tue, 23 Sep 2003 04:04:36 +0000 (21:04 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[ATM]: If CLIP is not enabled, try_atm_clp_ops() should always fail.
Chas Williams [Tue, 23 Sep 2003 05:39:35 +0000 (22:39 -0700)]
[ATM]: If CLIP is not enabled, try_atm_clp_ops() should always fail.

23 years ago[NET]: Fix boot param string setup in Space.c
Stephen Hemminger [Tue, 23 Sep 2003 05:10:07 +0000 (22:10 -0700)]
[NET]: Fix boot param string setup in Space.c

23 years ago[NET]: Fix inaccurate comments in Space.c
Stephen Hemminger [Tue, 23 Sep 2003 05:09:10 +0000 (22:09 -0700)]
[NET]: Fix inaccurate comments in Space.c

23 years ago[NET]: No need for alloc_divert_blk in Space.c
Stephen Hemminger [Tue, 23 Sep 2003 05:08:45 +0000 (22:08 -0700)]
[NET]: No need for alloc_divert_blk in Space.c

23 years ago[PATCH] Minor K8 fix for oprofile
Andi Kleen [Tue, 23 Sep 2003 02:36:15 +0000 (19:36 -0700)]
[PATCH] Minor K8 fix for oprofile

K8 can run with a 32bit kernel too.  If that's the case we have to tell
user space about it.  Remove the unneeded ifdef.

In that case the CPU is called "x86-64/hammer" even on 32bit.  This is
not strictly true on i386, but it's the named used by the current
oprofile user space for K8 performance counters and it would complicate
things to use different names between 32bit and 64bit.

23 years ago[PATCH] x86-64 merge
Andi Kleen [Tue, 23 Sep 2003 02:36:06 +0000 (19:36 -0700)]
[PATCH] x86-64 merge

 - Fix -funit-at-a-time compilation and enable it when possible
 - Remove -finline-limit as it should not be needed anymore.
 - Update defconfig
 - Fix Makefile bug that caused a recompilation of vsyscall.so on
   every make (thanks to Sam Ravnborg)
 - Add beginning of asm/dwarf2.h to support assembler CFI directives
   (not complete yet)
 - Remove old PDAREF macro from entry.S
 - Remove clever and buggy code in sys_ioperm/set_bitmap and replace it
   by simple and working code
 - Don't make acpi_disabled __initdata.  It is referenced after boot.
 - Fix TLB size reporting in /proc/cpuinfo
 - Cleanup oops printing a bit
 - Add "executive summary" at end of oopses
 - Reenable interrupts on oopses before calling do_exit
 - Remove some unneeded prefetches.  Just two are enough to kickstart
   the hardware prefetcher.
 - Add prefetch workaround (based on code from Richard Brunner)
 - Clean up signal checking in do_page_fault
 - Don't allow modify_ldt to set 64bit codesegments
 - Readd SIGEV_PAD_SIZE (Stephen Rothwell)
 - Add some likelys to uaccess.h (idea from Manfred Spraul)

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 24 Sep 2003 07:46:42 +0000 (17:46 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years ago[I2C]: Several drivers forget to include asm/io.h
David S. Miller [Mon, 22 Sep 2003 22:22:23 +0000 (15:22 -0700)]
[I2C]: Several drivers forget to include asm/io.h

23 years ago[NET]: rtnetlink -- ASSERT_RTNL and BUG_TRAP.
Stephen Hemminger [Mon, 22 Sep 2003 21:12:56 +0000 (14:12 -0700)]
[NET]: rtnetlink -- ASSERT_RTNL and BUG_TRAP.

Change ASSERT_RTNL and BUG_TRAP
- unlikely to occur
- tag message as error
- dump_stack in ASSERT_RTNL to aide finding code path
- make all format's which a smart compiler can optimize

23 years ago[NET]: rtnetlink -- RTA_PUT unlikely.
Stephen Hemminger [Mon, 22 Sep 2003 21:11:18 +0000 (14:11 -0700)]
[NET]: rtnetlink -- RTA_PUT unlikely.

23 years ago[NET]: rtnetlink -- rtattr_strcmp const args.
Stephen Hemminger [Mon, 22 Sep 2003 21:10:49 +0000 (14:10 -0700)]
[NET]: rtnetlink -- rtattr_strcmp const args.

23 years ago[IPVS]: Fix errors in list_for_each changes.
Stephen Hemminger [Mon, 22 Sep 2003 21:10:07 +0000 (14:10 -0700)]
[IPVS]: Fix errors in list_for_each changes.

23 years ago[ATM]: [he] Possibly using corrupted structure (from felipewd@terra.com.br)
Chas Williams [Mon, 22 Sep 2003 21:07:51 +0000 (14:07 -0700)]
[ATM]: [he] Possibly using corrupted structure (from felipewd@terra.com.br)

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Mon, 22 Sep 2003 17:51:18 +0000 (03:51 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years ago[PATCH] dm: Support arbitrary number of target params
Kevin Corry [Mon, 22 Sep 2003 15:35:41 +0000 (08:35 -0700)]
[PATCH] dm: Support arbitrary number of target params

Support an arbitrary number of target parameters.  [Alasdair Kergon]

23 years ago[PATCH] dm: Message fix in dm-linear
Kevin Corry [Mon, 22 Sep 2003 15:35:33 +0000 (08:35 -0700)]
[PATCH] dm: Message fix in dm-linear

Fix error message when linear targets gets handed more than 2 arguments.
[Alasdair Kergon]

23 years ago[PATCH] dm: Return table status for dev_wait
Kevin Corry [Mon, 22 Sep 2003 15:35:25 +0000 (08:35 -0700)]
[PATCH] dm: Return table status for dev_wait

dev_wait was meant to return table status not dev status.  [Alasdair Kergon]

23 years ago[PATCH] dm: Move retrieve_status function
Kevin Corry [Mon, 22 Sep 2003 15:35:16 +0000 (08:35 -0700)]
[PATCH] dm: Move retrieve_status function

Move retrieve_status up so dev_wait() can use it.

23 years ago[PATCH] dm: Drop extra table ref-count
Kevin Corry [Mon, 22 Sep 2003 15:35:08 +0000 (08:35 -0700)]
[PATCH] dm: Drop extra table ref-count

When multiple load ioctls are issued the reference count on older
'new_tables' wasn't being dropped.  [Christophe Saout]

23 years ago[PATCH] dm: Use new format_dev_t macro
Kevin Corry [Mon, 22 Sep 2003 15:35:00 +0000 (08:35 -0700)]
[PATCH] dm: Use new format_dev_t macro

Use the format_dev_t function for target status functions.

23 years ago[PATCH] knfsd: nfsdv4 byte range locking - LOCKU
Neil Brown [Mon, 22 Sep 2003 12:23:13 +0000 (05:23 -0700)]
[PATCH] knfsd: nfsdv4 byte range locking - LOCKU

From: "William A.(Andy) Adamson" <andros@citi.umich.edu>

This implments the LOCKU operation.  These all pass the connectathon
lock test suite against the solaris nfsv4 client.

23 years ago[PATCH] knfsd: nfsdv4 byte range locking - LOCKT
Neil Brown [Mon, 22 Sep 2003 12:23:04 +0000 (05:23 -0700)]
[PATCH] knfsd: nfsdv4 byte range locking - LOCKT

From: "William A.(Andy) Adamson" <andros@citi.umich.edu>

This implements the LOCKT operation.

23 years ago[PATCH] knfsd: nfsd byte range locking - LOCK
Neil Brown [Mon, 22 Sep 2003 12:22:55 +0000 (05:22 -0700)]
[PATCH] knfsd: nfsd byte range locking - LOCK

From: "William A.(Andy) Adamson" <andros@citi.umich.edu>

This implements the nfsv4 LOCK operation.

23 years ago[PATCH] knfsd: nfsdv4 byte range locking - prepatation
Neil Brown [Mon, 22 Sep 2003 12:22:47 +0000 (05:22 -0700)]
[PATCH] knfsd: nfsdv4 byte range locking - prepatation

From: "William A.(Andy) Adamson" <andros@citi.umich.edu>

This renames some structures and functions that can be used for
byte-range locking as well as for the exiting open share locks, and does
some cleanup.

23 years ago[PATCH] knfsd: idempotent replay cache for OPEN state
Neil Brown [Mon, 22 Sep 2003 12:22:37 +0000 (05:22 -0700)]
[PATCH] knfsd: idempotent replay cache for OPEN state

This implements the idempotent replay cache need for NFSv4 OPEN state.
each state owner (open owner or lock owner) is required to store the
last sequence number mutating operation, and retransmit it when replayed
sequence number is presented for the operation.

I've implemented the cache as a static buffer of size 112 bytes
(NFSD4_REPLAY_ISIZE) which is large enough to hold the OPEN, the largest
of the sequence mutation operations.  This implements the cache for
OPEN, OPEN_CONFIRM, OPEN_DOWNGRADE, and CLOSE.  LOCK and UNLOCK will be
added when byte-range locking is done (soon!).

23 years ago[PATCH] knfsd: NFS4XDR get rid of warning
Neil Brown [Mon, 22 Sep 2003 12:22:28 +0000 (05:22 -0700)]
[PATCH] knfsd: NFS4XDR get rid of warning

There is a warning because of calling return with an argument on a void
function.  The root cause is putting a return statement in a macro (evil
side effect).

Change ENCODE_SEQID_OP_TAIL to be a more proper macro, change all
calling functions to return void.

23 years ago[PATCH] knfsd: Fix cmsg setup for sock_sendmsg in svc_sendto
Neil Brown [Mon, 22 Sep 2003 12:22:18 +0000 (05:22 -0700)]
[PATCH] knfsd: Fix cmsg setup for sock_sendmsg in svc_sendto

From: Trond Myklebust <trond.myklebust@fys.uio.no>

... see the code in ip_sockglue.c + the macros in socket.h....
AFAICS the control messages have wierd alignment requirements.

23 years ago[PATCH] md: change 'or' to 'plus' in raid1
Neil Brown [Mon, 22 Sep 2003 12:22:08 +0000 (05:22 -0700)]
[PATCH] md: change 'or' to 'plus' in raid1

Silly typo.

23 years ago[PATCH] md: MODULE_ALIAS for md
Neil Brown [Mon, 22 Sep 2003 12:22:00 +0000 (05:22 -0700)]
[PATCH] md: MODULE_ALIAS for md

From: Rusty Russell <rusty@rustcorp.com.au>

23 years ago[PATCH] md: Don't setup make_request_fn for md array until *after* it has been started
Neil Brown [Mon, 22 Sep 2003 12:21:53 +0000 (05:21 -0700)]
[PATCH] md: Don't setup make_request_fn for md array until *after* it has been started

Also revert to md_fail_request before stopping an array.

The ->stop method can never fail, so there is not point checking it.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
Linus Torvalds [Mon, 22 Sep 2003 12:11:54 +0000 (05:11 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] Memory leak in ixj_pcmcia driver
Chris Wright [Mon, 22 Sep 2003 09:14:03 +0000 (02:14 -0700)]
[PATCH] Memory leak in ixj_pcmcia driver

Found by checker (David Yu Chen @Stanford)

23 years ago[PATCH] I2C: remove I2C_VERSION and I2C_DATE as they make no sense in the kernel...
Greg Kroah-Hartman [Mon, 22 Sep 2003 09:03:26 +0000 (02:03 -0700)]
[PATCH] I2C: remove I2C_VERSION and I2C_DATE as they make no sense in the kernel tree.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Mon, 22 Sep 2003 08:36:30 +0000 (01:36 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/i2c-2.6

23 years ago[PATCH] I2C: sysfs sensor nameing inconsistency
Andrey Borzenkov [Mon, 22 Sep 2003 08:24:36 +0000 (01:24 -0700)]
[PATCH] I2C: sysfs sensor nameing inconsistency

> That's what you are going to have to set the name file to in the
> i2c_client structure, much like your patch did.  Then look at the
> different name files in each device directory to see what kind of device
> it is (chip, subclient, etc.)

OK attached patch sets all names to just chip name for chips themselves and
"chipname subclient" when subclient ios registered.

23 years ago[PATCH] I2C: remove check_region usage and warning from i2c-sensor
Greg Kroah-Hartman [Mon, 22 Sep 2003 08:11:24 +0000 (01:11 -0700)]
[PATCH] I2C: remove check_region usage and warning from i2c-sensor

23 years ago[PATCH] I2C: move the remaining i2c bus drivers to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 08:00:04 +0000 (01:00 -0700)]
[PATCH] I2C: move the remaining i2c bus drivers to drivers/i2c/busses

23 years ago[PATCH] I2C: move the scx200* drivers to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 07:21:09 +0000 (00:21 -0700)]
[PATCH] I2C: move the scx200* drivers to drivers/i2c/busses

23 years ago[PATCH] I2C: move i2c-velleman driver to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 07:09:17 +0000 (00:09 -0700)]
[PATCH] I2C: move i2c-velleman driver to drivers/i2c/busses

23 years agoI2C: move i2c-elektor.c driver to drivers/i2c/busses/
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:57:44 +0000 (23:57 -0700)]
I2C: move i2c-elektor.c driver to drivers/i2c/busses/

23 years ago[PATCH] I2C: clean up the i2c-elv.c driver a bit
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:44:13 +0000 (23:44 -0700)]
[PATCH] I2C: clean up the i2c-elv.c driver a bit

23 years ago[PATCH] I2C: move i2c-elv.c driver to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:36:52 +0000 (23:36 -0700)]
[PATCH] I2C: move i2c-elv.c driver to drivers/i2c/busses

23 years ago[PATCH] I2C: clean up i2c-philips-par.c driver a bit
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:30:23 +0000 (23:30 -0700)]
[PATCH] I2C: clean up i2c-philips-par.c driver a bit

Fix bug when registering the i2c_adap as the structure was not set to 0.

23 years ago[PATCH] shared signals require shared VM
Albert Cahalan [Mon, 22 Sep 2003 06:23:42 +0000 (23:23 -0700)]
[PATCH] shared signals require shared VM

Elimination of this nonsense allows for the assumption
that a task group shares VM. This lets procps run faster.

23 years ago[PATCH] I2C: move the i2c-philips-par driver to drivers/i2c/busses
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:20:35 +0000 (23:20 -0700)]
[PATCH] I2C: move the i2c-philips-par driver to drivers/i2c/busses

23 years ago[PATCH] I2C: fix up dependancies in the i2c/busses/Kconfig file
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:10:15 +0000 (23:10 -0700)]
[PATCH] I2C: fix up dependancies in the i2c/busses/Kconfig file

23 years ago[PATCH] I2C: clean up i2c-prosavage.c driver
Greg Kroah-Hartman [Mon, 22 Sep 2003 06:06:04 +0000 (23:06 -0700)]
[PATCH] I2C: clean up i2c-prosavage.c driver

Remove direct memory accesses and link up device in the proper place in the
sysfs tree.

23 years ago[PATCH] I2C: move i2c-prosavage.c driver to drivers/i2c/busses where it belongs.
Greg Kroah-Hartman [Mon, 22 Sep 2003 05:46:46 +0000 (22:46 -0700)]
[PATCH] I2C: move i2c-prosavage.c driver to drivers/i2c/busses where it belongs.

23 years ago[PATCH] smbfs NLS fix
Andrew Morton [Mon, 22 Sep 2003 05:35:00 +0000 (22:35 -0700)]
[PATCH] smbfs NLS fix

strut nls_table was changed, but smbfs uses it and was not updated.

23 years ago[PATCH] misc fixes
Andrew Morton [Mon, 22 Sep 2003 05:34:50 +0000 (22:34 -0700)]
[PATCH] misc fixes

- bio_release_pages() should have file-local scope.

- don't use spaces in slab names in device mapper, enforce this henceforth
  in kmem_cache_create().

- Fix alpha header leftover from cpumask_t conversion

23 years ago[PATCH] ia64 sched_clock() implementation.
Andrew Morton [Mon, 22 Sep 2003 05:34:42 +0000 (22:34 -0700)]
[PATCH] ia64 sched_clock() implementation.

From David M-T.

23 years agoI2C: clean up the drivers/i2c/Kconfig file
Greg Kroah-Hartman [Mon, 22 Sep 2003 05:26:49 +0000 (22:26 -0700)]
I2C: clean up the drivers/i2c/Kconfig file

23 years agoI2C: clean up the i2c chips Kconfig logic and help information
Greg Kroah-Hartman [Mon, 22 Sep 2003 04:42:40 +0000 (21:42 -0700)]
I2C: clean up the i2c chips Kconfig logic and help information