]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[VLAN]: Cleaner module interface.
Stephen Hemminger [Fri, 18 Apr 2003 03:40:06 +0000 (20:40 -0700)]
[VLAN]: Cleaner module interface.

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Fri, 18 Apr 2003 03:34:48 +0000 (20:34 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years ago[PATCH] devfs: make devfs_generate_path static
Christoph Hellwig [Fri, 18 Apr 2003 02:20:39 +0000 (19:20 -0700)]
[PATCH] devfs: make devfs_generate_path static

There's just one caller in fs/devfs/base.c left.

22 years ago[PATCH] devfs: cleanup partition handling interaction
Christoph Hellwig [Fri, 18 Apr 2003 02:20:20 +0000 (19:20 -0700)]
[PATCH] devfs: cleanup partition handling interaction

Always pass around the pathnames for the devfs entries / directories
instead of the devfs_handle_ts.  Cleanes up the code massivly.

22 years ago[PATCH] devfs: sanitize devfs_register_tape prototype
Christoph Hellwig [Fri, 18 Apr 2003 02:19:55 +0000 (19:19 -0700)]
[PATCH] devfs: sanitize devfs_register_tape prototype

Pass in the path directly instead of getting it from a devfs_handle_t.

22 years ago[PATCH] devfs: cleanup devfs use in scsi
Christoph Hellwig [Fri, 18 Apr 2003 02:19:42 +0000 (19:19 -0700)]
[PATCH] devfs: cleanup devfs use in scsi

Store the path of it's devfs directory in struct scsi_device.  Use
it in the devfs_register calls instead of the devfs_handle_t
which will go away soon.

22 years ago[PATCH] devfs: cleanup devfs use in ide
Christoph Hellwig [Fri, 18 Apr 2003 02:19:31 +0000 (19:19 -0700)]
[PATCH] devfs: cleanup devfs use in ide

Store the path of it's devfs directory in ide_drive_t.  Use
it in the devfs_register calls instead of the devfs_handle_t
which will go away soon.

22 years ago[PATCH] devfs: minor miscdev changes
Christoph Hellwig [Fri, 18 Apr 2003 02:19:22 +0000 (19:19 -0700)]
[PATCH] devfs: minor miscdev changes

Make sure the first argument to devfs_register is zero.

22 years ago[PATCH] devfs: fix compilation
Christoph Hellwig [Fri, 18 Apr 2003 02:19:14 +0000 (19:19 -0700)]
[PATCH] devfs: fix compilation

As several people found out while I was asleep I sent you
a bogus patch version and devfs didn't compile in your
tree since then.  Fix it.

22 years ago[PATCH] remove unnecessary FIXME
Andrew Morton [Thu, 17 Apr 2003 15:29:03 +0000 (08:29 -0700)]
[PATCH] remove unnecessary FIXME

Supporting PAGE_CACHE_SIZE != PAGE_SIZE is a "won't fix" for 2.6.  (Bill
Irwin)

22 years agoCleanups: remove unused label and fix crappy counting code that
Linus Torvalds [Thu, 17 Apr 2003 15:28:12 +0000 (08:28 -0700)]
Cleanups: remove unused label and fix crappy counting code that
didn't work.

22 years ago[PATCH] Fix scsi build on !CONFIG_GENERIC_ISA_DMA
Matt Porter [Thu, 17 Apr 2003 15:02:50 +0000 (08:02 -0700)]
[PATCH] Fix scsi build on !CONFIG_GENERIC_ISA_DMA

This allows the SCSI subsystem to build on systems where
CONFIG_GENERIC_ISA_DMA is not set.

22 years agoMerge redhat.com:/garz/repo/linus-2.5
Jeff Garzik [Thu, 17 Apr 2003 16:48:45 +0000 (12:48 -0400)]
Merge redhat.com:/garz/repo/linus-2.5
into redhat.com:/garz/repo/misc-2.5

22 years ago[ia32] use __builtin_memcpy compiler intrinsic for small memcpy's
Jeff Garzik [Thu, 17 Apr 2003 16:38:57 +0000 (12:38 -0400)]
[ia32] use __builtin_memcpy compiler intrinsic for small memcpy's

22 years ago[NET]: Actually apply Yoshfuji's fl6_{src,dst} patch.
David S. Miller [Thu, 17 Apr 2003 11:57:09 +0000 (04:57 -0700)]
[NET]: Actually apply Yoshfuji's fl6_{src,dst} patch.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
Linus Torvalds [Thu, 17 Apr 2003 10:08:13 +0000 (03:08 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PCMCIA] Fix non-PCI PCMCIA bridge oops
Russell King [Fri, 18 Apr 2003 01:53:22 +0000 (02:53 +0100)]
[PCMCIA] Fix non-PCI PCMCIA bridge oops

Only call pci_remove_behind_bridge() if we have a PCI-based bridge
controller.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-rmk
Linus Torvalds [Thu, 17 Apr 2003 10:02:19 +0000 (03:02 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-rmk
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[ARM] Fix Kconfig breakage in arch/arm/mach-iop3xx/Kconfig
Russell King [Thu, 17 Apr 2003 23:26:15 +0000 (00:26 +0100)]
[ARM] Fix Kconfig breakage in arch/arm/mach-iop3xx/Kconfig

When a "depends" statement against all configuration options of a choice,
which causes all options of that choice to be disabled, it sends Kconfig
into an infinite loop.  Move the "depends" clause to the choice statement
instead.

22 years ago[ARM PATCH] 1506/1: Add iq80321 MTD mapping
Eli Carter [Thu, 17 Apr 2003 22:59:27 +0000 (23:59 +0100)]
[ARM PATCH] 1506/1: Add iq80321 MTD mapping

Patch from Eli Carter

# Thu Apr 17 14:05:58 CDT 2003 ejc@rnd-linux-c84
# iq80321-mtd
#
# Add the MTD mapping for the flash chip on the iq80321 board.
# The drivers/mtd/maps/iq80321.c file comes from 2.4.19-rmk4-ds2, and is
# essentially a copy of the iq80310.c file in the same directory.
# This version used C99 initializers
#
# Diff'ed against 2.5.65-rmk1+1472-4+1502-3
# Applies cleanly to linux-2.5.67-rmk1+1502-3
#
#  arch/arm/def-configs/iq80321 |   61 ++++++++++-----
#  drivers/mtd/maps/Kconfig     |    8 ++
#  drivers/mtd/maps/Makefile    |    1
#  drivers/mtd/maps/iq80321.c   |  169 +++++++++++++++++++++++++++++++++++++++++++
#  4 files changed, 218 insertions(+), 21 deletions(-)
#

22 years ago[ARM PATCH] 1503/1: Adds basic support for the iq80321 board
Eli Carter [Thu, 17 Apr 2003 18:37:48 +0000 (19:37 +0100)]
[ARM PATCH] 1503/1: Adds basic support for the iq80321 board

Patch from Eli Carter

# Tue Apr 15 16:07:34 CDT 2003 ejc@rnd-linux-c84
# add-iq80321
#
# Adds basic support for the iq80321 board.
#
# Diff'ed against 2.5.65-rmk1+1472-4+1502
# Applies to 2.5.67-rmk1+1502 with offsets
#
#  arch/arm/boot/Makefile                    |    1
#  arch/arm/boot/compressed/head-xscale.S    |    6
#  arch/arm/def-configs/iq80321              |  676 ++++++++++++++++++++++++++++++
#  arch/arm/kernel/debug.S                   |   10
#  arch/arm/kernel/entry-armv.S              |   22
#  arch/arm/mach-iop3xx/Kconfig              |   12
#  arch/arm/mach-iop3xx/Makefile             |   16
#  arch/arm/mach-iop3xx/arch.c               |   26 +
#  arch/arm/mach-iop3xx/iop321-irq.c         |   95 ++++
#  arch/arm/mach-iop3xx/iop321-pci.c         |  257 +++++++++++
#  arch/arm/mach-iop3xx/iop321-time.c        |   92 ++++
#  arch/arm/mach-iop3xx/iq80321-pci.c        |   98 ++++
#  arch/arm/mach-iop3xx/mm-321.c             |   64 ++
#  arch/arm/mm/proc-xscale.S                 |   19
#  include/asm-arm/arch-iop3xx/hardware.h    |   17
#  include/asm-arm/arch-iop3xx/iop321-irqs.h |   83 +++
#  include/asm-arm/arch-iop3xx/iop321.h      |  143 ++++++
#  include/asm-arm/arch-iop3xx/iq80321.h     |   17
#  include/asm-arm/arch-iop3xx/irqs.h        |   67 --
#  include/asm-arm/arch-iop3xx/memory.h      |   11
#  include/asm-arm/arch-iop3xx/serial.h      |   11
#  include/asm-arm/arch-iop3xx/timex.h       |    6
#  include/asm-arm/arch-iop3xx/uncompress.h  |    7
#  include/asm-arm/mach/pci.h                |    4
#  24 files changed, 1691 insertions(+), 69 deletions(-)

22 years ago[ARM PATCH] 1502/1: rename IOP310 config vars to IOP3XX
Eli Carter [Thu, 17 Apr 2003 18:34:40 +0000 (19:34 +0100)]
[ARM PATCH] 1502/1: rename IOP310 config vars to IOP3XX

Patch from Eli Carter

# Tue Apr 15 14:41:15 CDT 2003 ejc@rnd-linux-c84
# config-rename
#
# This patch renames the IOP310 config variables to IOP3XX in preparation for
# IOP321 support.
#
# Diff'ed against 2.5.65-rmk1+1472-4
# Applies to 2.5.67-rmk1 with an offset.
#
#  arch/arm/Kconfig                     |   14 +++++-----
#  arch/arm/Makefile                    |    2 -
#  arch/arm/def-configs/iq80310         |   15 +++++-----
#  arch/arm/kernel/debug.S              |    2 -
#  arch/arm/mach-iop3xx/Kconfig         |   49 ++++++++++++++++++++++-------------
#  arch/arm/mach-iop3xx/Makefile        |    8 ++---
#  include/asm-arm/arch-iop3xx/memory.h |    2 -
#  include/asm-arm/arch-iop3xx/timex.h  |    2 -
#  8 files changed, 54 insertions(+), 40 deletions(-)
#

22 years ago[ARM PATCH] 1501/1: fix a path name in comment
Eli Carter [Thu, 17 Apr 2003 18:30:58 +0000 (19:30 +0100)]
[ARM PATCH] 1501/1: fix a path name in comment

Patch from Eli Carter

Fixes the filename in the comment in include/asm-arm/arch/iop3xx/timex.h

Applies cleanly to 2.5.67-rmk1

22 years agoDon't allow rmap to touch reserved or out-of-range pages
Linus Torvalds [Thu, 17 Apr 2003 09:33:05 +0000 (02:33 -0700)]
Don't allow rmap to touch reserved or out-of-range pages

22 years ago[PATCH] update intermezzo contacts
Alan Cox [Thu, 17 Apr 2003 09:31:31 +0000 (02:31 -0700)]
[PATCH] update intermezzo contacts

22 years ago[PATCH] first cut at 3c505 clean up
Alan Cox [Thu, 17 Apr 2003 09:31:20 +0000 (02:31 -0700)]
[PATCH] first cut at 3c505 clean up

22 years ago[PATCH] input typo fixes
Alan Cox [Thu, 17 Apr 2003 09:31:11 +0000 (02:31 -0700)]
[PATCH] input typo fixes

22 years ago[PATCH] compile fix for sx.c
Alan Cox [Thu, 17 Apr 2003 09:31:01 +0000 (02:31 -0700)]
[PATCH] compile fix for sx.c

Missing <uaccess.h>

22 years ago[PATCH] compile fix for rio_linux.c
Alan Cox [Thu, 17 Apr 2003 09:30:51 +0000 (02:30 -0700)]
[PATCH] compile fix for rio_linux.c

Missing <uaccess.h>

22 years ago[PATCH] small ipmi updates
Alan Cox [Thu, 17 Apr 2003 09:30:41 +0000 (02:30 -0700)]
[PATCH] small ipmi updates

22 years ago[PATCH] Fix z2ram
Alan Cox [Thu, 17 Apr 2003 09:30:33 +0000 (02:30 -0700)]
[PATCH] Fix z2ram

22 years ago[PATCH] fix a make kerneldoc glitch
Alan Cox [Thu, 17 Apr 2003 09:30:24 +0000 (02:30 -0700)]
[PATCH] fix a make kerneldoc glitch

22 years ago[PATCH] more random C99 initializers
Alan Cox [Thu, 17 Apr 2003 09:30:15 +0000 (02:30 -0700)]
[PATCH] more random C99 initializers

22 years ago[PATCH] more random C99 initializers
Alan Cox [Thu, 17 Apr 2003 09:30:07 +0000 (02:30 -0700)]
[PATCH] more random C99 initializers

22 years ago[PATCH] generalise fpu_irq also add pc98 for x86 code
Alan Cox [Thu, 17 Apr 2003 09:29:58 +0000 (02:29 -0700)]
[PATCH] generalise fpu_irq also add pc98 for x86 code

The idea is to move more to if(pc98) so that we can attempt to get all
the ports buildable as one "generic" port in time. I don't think its p
possible for PC9800 but no need to dig holes

22 years ago[PATCH] generalise pic mask names since the port varies
Alan Cox [Thu, 17 Apr 2003 09:29:49 +0000 (02:29 -0700)]
[PATCH] generalise pic mask names since the port varies

22 years ago[PATCH] generalise traps and nmi
Alan Cox [Thu, 17 Apr 2003 09:29:41 +0000 (02:29 -0700)]
[PATCH] generalise traps and nmi

22 years ago[PATCH] generalise PIT usage in tsc code, plus tsc sync
Alan Cox [Thu, 17 Apr 2003 09:29:30 +0000 (02:29 -0700)]
[PATCH] generalise PIT usage in tsc code, plus tsc sync

22 years ago[PATCH] generalise more PIT usage
Alan Cox [Thu, 17 Apr 2003 09:29:23 +0000 (02:29 -0700)]
[PATCH] generalise more PIT usage

22 years ago[PATCH] now we have the time logic in Mach_* use it
Alan Cox [Thu, 17 Apr 2003 09:29:14 +0000 (02:29 -0700)]
[PATCH] now we have the time logic in Mach_* use it

22 years ago[PATCH] generalise PIC locations, PIT and FPU IRQ
Alan Cox [Thu, 17 Apr 2003 09:29:06 +0000 (02:29 -0700)]
[PATCH] generalise PIC locations, PIT and FPU IRQ

22 years ago[PATCH] Update proc.c for renamed fpu irq
Alan Cox [Thu, 17 Apr 2003 09:28:55 +0000 (02:28 -0700)]
[PATCH] Update proc.c for renamed fpu irq

22 years ago[PATCH] use names for PIT access. Not all PIT is the same location
Alan Cox [Thu, 17 Apr 2003 09:28:48 +0000 (02:28 -0700)]
[PATCH] use names for PIT access. Not all PIT is the same location

22 years ago[PATCH] generalise mptable access
Alan Cox [Thu, 17 Apr 2003 09:28:39 +0000 (02:28 -0700)]
[PATCH] generalise mptable access

22 years ago[PATCH] use the mach resources we added before
Alan Cox [Thu, 17 Apr 2003 09:28:31 +0000 (02:28 -0700)]
[PATCH] use the mach resources we added before

Now hw resources can be per mach- and we dont need a pile of ugly
ifdefs for weird shite

22 years ago[PATCH] update visws to use generic mask names
Alan Cox [Thu, 17 Apr 2003 09:28:21 +0000 (02:28 -0700)]
[PATCH] update visws to use generic mask names

22 years ago[PATCH] new summit ID
Alan Cox [Thu, 17 Apr 2003 09:28:14 +0000 (02:28 -0700)]
[PATCH] new summit ID

22 years ago[PATCH] another broken APM bios
Alan Cox [Thu, 17 Apr 2003 09:28:06 +0000 (02:28 -0700)]
[PATCH] another broken APM bios

22 years ago[PATCH] H8300 support
Alan Cox [Thu, 17 Apr 2003 09:27:57 +0000 (02:27 -0700)]
[PATCH] H8300 support

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.5
Linus Torvalds [Thu, 17 Apr 2003 08:36:01 +0000 (01:36 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] USB: fix oops in usb_hotplug for root devices
Greg Kroah-Hartman [Thu, 17 Apr 2003 07:41:36 +0000 (00:41 -0700)]
[PATCH] USB: fix oops in usb_hotplug for root devices

22 years ago[PATCH] dm devfs fix
Christoph Hellwig [Thu, 17 Apr 2003 06:10:26 +0000 (23:10 -0700)]
[PATCH] dm devfs fix

Don't pass DEVFS_FL_CURRENT_OWNER to devfs_register, the uid/gid of new
nodes should always be 0.

22 years ago[PATCH] remove DEVFS_FL_*
Christoph Hellwig [Thu, 17 Apr 2003 06:09:52 +0000 (23:09 -0700)]
[PATCH] remove DEVFS_FL_*

Okay, all flags are gone from devfs callers, time to remove the gunk
handling it.  devfs_register prototype will change later.

22 years ago[PATCH] make devpts filesystem mandatory even for CONFIG_DEVFS
Christoph Hellwig [Thu, 17 Apr 2003 06:09:42 +0000 (23:09 -0700)]
[PATCH] make devpts filesystem mandatory even for CONFIG_DEVFS

This patch rips out handling of UNIX98 ptys from devfs.  We already
have a special small filesystem to handle it (devpts) that's always
compiled in anyway.  This allows to get rid of all DEVFS_FL* flags and
some gunk in devfs.

22 years ago[PATCH] bring devfs_register calls in dvb in shape
Christoph Hellwig [Thu, 17 Apr 2003 06:09:34 +0000 (23:09 -0700)]
[PATCH] bring devfs_register calls in dvb in shape

Trying to always have a NULL first argument to simplify devfs code
big time in mid-term.  (Especially in preparation of Adam's smalldevfs).

22 years ago[PATCH] fix devfs support in i386 microcode driver
Christoph Hellwig [Thu, 17 Apr 2003 06:09:26 +0000 (23:09 -0700)]
[PATCH] fix devfs support in i386 microcode driver

register a /dev/cpu/microcode symlink instead of a regular file
with the same name - regular file support is gone in devfs.

22 years ago[PATCH] IEEE-1394/Firewire updates
Ben Collins [Thu, 17 Apr 2003 06:07:43 +0000 (23:07 -0700)]
[PATCH] IEEE-1394/Firewire updates

- Add driver registration for dv1394/video1394/raw1394.
- Fix 3 sleep-while-atomic bugs in ohci1394 and ieee1394.
- Cleanup some bus-reset handling in ohci1394.
- Add empty config-rom handling.
- Check and handle SBP-2 logins active/available for non-exclusive
  logins.
- Fix bug in SBP-2 DMA cleanup.

22 years ago[PATCH] Fix orlov allocator boundary case
Andrew Morton [Thu, 17 Apr 2003 05:52:11 +0000 (22:52 -0700)]
[PATCH] Fix orlov allocator boundary case

In the interests of SMP scalability the ext2 free blocks and free inodes
counters are "approximate".  But there is a piece of code in the Orlov
allocator which fails due to boundary conditions on really small
filesystems.

Fix that up via a final allocation pass which simply uses first-fit for
allocation of a directory inode.

22 years ago[PATCH] Handle invalid pfns in page_add/remove_rmap
Andrew Morton [Thu, 17 Apr 2003 05:52:04 +0000 (22:52 -0700)]
[PATCH] Handle invalid pfns in page_add/remove_rmap

My recent micro-optmisation to these functions broke the pfn_valid()
checks.  Revert it.

22 years ago[PATCH] Use WARN_ON in local_bh_enable()
Andrew Morton [Thu, 17 Apr 2003 05:51:56 +0000 (22:51 -0700)]
[PATCH] Use WARN_ON in local_bh_enable()

This BUG_ON is triggering via ppp's line discipline flushing, due to
brokenness in tty_io.c.

We need to fix tty.  Meanwhile, let's not gratuitously nuke people's boxes.

22 years agoCset exclude: arndt@lin02384n012.mc.schoenewald.de|ChangeSet|20030415031138|37565
Greg Kroah-Hartman [Thu, 17 Apr 2003 03:11:50 +0000 (20:11 -0700)]
Cset exclude: arndt@lin02384n012.mc.schoenewald.de|ChangeSet|20030415031138|37565

22 years ago[PATCH] getrlimit,setrlimit,getrusage,wait4 unification
Randolph Chung [Wed, 16 Apr 2003 14:45:43 +0000 (07:45 -0700)]
[PATCH] getrlimit,setrlimit,getrusage,wait4 unification

22 years agoMerge http://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Wed, 16 Apr 2003 14:43:17 +0000 (07:43 -0700)]
Merge http://gkernel.bkbits.net/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Wed, 16 Apr 2003 10:35:02 +0000 (03:35 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years agoMerge hum.(none):/garz/repo/linus-2.5
Jeff Garzik [Wed, 16 Apr 2003 09:07:39 +0000 (05:07 -0400)]
Merge hum.(none):/garz/repo/linus-2.5
into hum.(none):/garz/repo/net-drivers-2.5

22 years agoAdd more user pointer annotations.
Linus Torvalds [Wed, 16 Apr 2003 08:35:05 +0000 (01:35 -0700)]
Add more user pointer annotations.

22 years agoAnnotate namespace system calls (mount, umount, pivot_root etc)
Linus Torvalds [Wed, 16 Apr 2003 08:13:03 +0000 (01:13 -0700)]
Annotate namespace system calls (mount, umount, pivot_root etc)
with user pointer annotations.

22 years agoFix user pointer annotations in more places, now that 'sparse'
Linus Torvalds [Wed, 16 Apr 2003 08:10:06 +0000 (01:10 -0700)]
Fix user pointer annotations in more places, now that 'sparse'
verifies declarations against definitions and checks argument
types.

22 years agoAnnotate sys_nfsservctl() with user pointer annotations
Linus Torvalds [Wed, 16 Apr 2003 07:09:53 +0000 (00:09 -0700)]
Annotate sys_nfsservctl() with user pointer annotations

22 years ago[PATCH] fix fs->lock deadlock with emulated name lookup
David Mosberger [Wed, 16 Apr 2003 04:20:26 +0000 (21:20 -0700)]
[PATCH] fix fs->lock deadlock with emulated name lookup

The patch below is needed to avoid a deadlock on fs->lock.  Without
the patch, if __emul_lookup_dentry() returns 0, we fail to reacquire
current->fs->lock and then go ahead to read_unlock() it anyhow.  Bad
for your health.

I believe the bug was introduced when the fast pathwalk was reverted
in order to introduce the RCU lockless path walking.

22 years ago[NET]: Use fl6_{src,dst} etc.
Hideaki Yoshifuji [Wed, 16 Apr 2003 03:55:28 +0000 (20:55 -0700)]
[NET]: Use fl6_{src,dst} etc.

22 years ago[NETFILTER IPV6]: Fix Makefile typo.
Martin Josefsson [Wed, 16 Apr 2003 03:51:53 +0000 (20:51 -0700)]
[NETFILTER IPV6]: Fix Makefile typo.

22 years ago[IPV6]: Set noblock to 1 in NDISC sock_alloc_send_skb calls.
Hideaki Yoshifuji [Wed, 16 Apr 2003 03:35:53 +0000 (20:35 -0700)]
[IPV6]: Set noblock to 1 in NDISC sock_alloc_send_skb calls.

22 years agoMerge kroah.com:/home/linux/linux/BK/bleed-2.5
Greg Kroah-Hartman [Wed, 16 Apr 2003 02:04:51 +0000 (19:04 -0700)]
Merge kroah.com:/home/linux/linux/BK/bleed-2.5
into kroah.com:/home/linux/linux/BK/gregkh-2.5

22 years ago[PATCH] s390 network driver fixes
Martin Schwidefsky [Wed, 16 Apr 2003 01:20:10 +0000 (18:20 -0700)]
[PATCH] s390 network driver fixes

 - lcs: Don't free net_device in lcs_stop_device.
 - lcs: Reset card after LGW initiaited stoplan.
 - lcs: Fix bug in lcs_tasklet
 - ctc: Get channel structure from private pointer. Remove __NO_VERSION__.
 - lcs,ctc,iucv: Remove MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT. Set dev->owner.

22 years ago[IPV6]: Add MLDv2 support.
David Stevens [Tue, 15 Apr 2003 18:46:01 +0000 (11:46 -0700)]
[IPV6]: Add MLDv2 support.

22 years ago[PATCH] Fix coda/devfs oops
Jan Harkes [Tue, 15 Apr 2003 15:51:35 +0000 (08:51 -0700)]
[PATCH] Fix coda/devfs oops

The problem is caused by the devfs_mk_dir simplification that went in a
couple of weeks ago that didn't update one of the coda call-sites.

22 years ago[PATCH] module symbol fix
David Mosberger [Tue, 15 Apr 2003 15:51:27 +0000 (08:51 -0700)]
[PATCH] module symbol fix

Fix for trivial typo.  Without it, you can't insert anything on top of
agpgart.ko because the agp_register_driver() will erroneously pick up
the symbol version from agp_backend_acquire().

22 years ago[NETFILTER_IPV4]: De-linearization of IP Connection Tracking.
Rusty Russell [Tue, 15 Apr 2003 14:56:40 +0000 (07:56 -0700)]
[NETFILTER_IPV4]: De-linearization of IP Connection Tracking.

This converts connection tracking and all the connection tracking
modules to handle non-linear skbs.  Enough interfaces have been
broken in the process that old helpers won't compile.

Interfaces which used to take a "void *data, int len" or
"struct iphdr *iph, int len" now take the skb itself (and an offset to
the data in the case of the first interface), which is not
linearized in any way (although Alexey says after ip_rcv the IP header
is always linear, so IPv4 netfilter hooks can always assume a linear
IP hdr).

Helpers which examine data (amanda, FTP, IRC) now copy it into a buffer
and examine that.

22 years ago[PATCH] Cleanups for posix timer hang fix
George Anzinger [Tue, 15 Apr 2003 12:37:17 +0000 (05:37 -0700)]
[PATCH] Cleanups for posix timer hang fix

Clean up "pendcount" locking (or rather - lack there-of) by making it a
per-timer thing and thus automatically protected by the timer lock.

Fix whitespace damage.

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Tue, 15 Apr 2003 12:24:21 +0000 (05:24 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Tue, 15 Apr 2003 06:59:11 +0000 (23:59 -0700)]
Merge bk://are.twiddle.net/axp-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[ALPHA] Elide cabriolet_init_irq for CONFIG_ALPHA_PC164.
Richard Henderson [Tue, 15 Apr 2003 06:40:40 +0000 (23:40 -0700)]
[ALPHA] Elide cabriolet_init_irq for CONFIG_ALPHA_PC164.

22 years ago[PATCH] unwinding for vsyscall code
Ulrich Drepper [Tue, 15 Apr 2003 06:31:11 +0000 (23:31 -0700)]
[PATCH] unwinding for vsyscall code

Now that the kernel provides code user programs are executing directly
(I mean the vsyscall code on x86) it is necessary to add unwind
information for that code as well.  The unwind information is used not
only in C++ code.

This patch adds a AT_SYSINFO_EH_FRAME ELF aux-table value that points to
the unwinding block description for the sysinfo frame, and makes sure
the AT_* value is passed to applications.  It defines the static data
for the unwind blocks (two, one for int80 and the other for sysenter),
and finally adds code to copy the data in place.

22 years agoFix typo (and logic bug that the typo hid) in bit value
Linus Torvalds [Tue, 15 Apr 2003 05:41:03 +0000 (22:41 -0700)]
Fix typo (and logic bug that the typo hid) in bit value
testing.

Found by 'sparse', my source parser tool.

22 years ago[ALPHA] Include module.h for EXPORT_SYMBOL.
Matt Reppert [Tue, 15 Apr 2003 04:05:13 +0000 (21:05 -0700)]
[ALPHA] Include module.h for EXPORT_SYMBOL.

22 years ago[PATCH] alpha: lynx support
Ivan Kokshaysky [Tue, 15 Apr 2003 04:00:37 +0000 (21:00 -0700)]
[PATCH] alpha: lynx support

Forward port of Jay's 2.4 patch.
Also I've cleaned up EISA configury - we only need it for
systems with EISA.

Ivan.

22 years ago[PATCH] alpha: move_initrd fix (from Jeff Wiedemeier)
Ivan Kokshaysky [Tue, 15 Apr 2003 03:58:21 +0000 (20:58 -0700)]
[PATCH] alpha: move_initrd fix (from Jeff Wiedemeier)

While testing our upcoming kernel update for 7.2 alpha, I've encountered
a problem with move_initrd. It allocates a page-aligned chunk to move
the initrd into, but it doesn't allocate the entire last
page. Subsequent bootmem allocations can then be filled from the last
page used be the initrd.  This then becomes a problem when the initrd
memory is released.

22 years ago[PATCH] alpha: execve() fix
Ivan Kokshaysky [Tue, 15 Apr 2003 03:56:48 +0000 (20:56 -0700)]
[PATCH] alpha: execve() fix

The 2.5 kernels may hang on execve(). Most easily this can be reproduced
by submitting forms in mozilla, apparently because it does execve with
very long argument strings.
That's what happens in do_execve, I suppose:
bprm.mm = mm_alloc();
...
init_new_context(current, bprm.mm); here we update current ptbr
    with new mm->pgd
...
copy_strings;
interrupt -> do_softirq -> switch to ksoftirqd
...
switch back to do_execve;
copy_strings -  immediate page fault in copy_user that we can't
handle because the new ptbr has been activated
after context switch and current->mm is not
valid anymore.

The fix is to not update ptbr for current task in init_new_context(),
as we do it later in activate_mm() anyway.

With it my (UP) boxes look quite stable so far.

Ivan.

22 years agoMerge are.twiddle.net:/home/rth/BK/linus-2.5
Richard Henderson [Tue, 15 Apr 2003 03:34:46 +0000 (20:34 -0700)]
Merge are.twiddle.net:/home/rth/BK/linus-2.5
into are.twiddle.net:/home/rth/BK/axp-2.5

22 years ago[PATCH] {get,set}affinity unification
Randolph Chung [Mon, 14 Apr 2003 16:07:21 +0000 (09:07 -0700)]
[PATCH] {get,set}affinity unification

This one gets rid of sys32_{get,set}affinity in favor of a unified
compat implementation.

22 years ago[PATCH] USB: keyspan: fixed up might_sleep() problems on device close.
Greg Kroah-Hartman [Mon, 14 Apr 2003 15:12:51 +0000 (08:12 -0700)]
[PATCH] USB: keyspan: fixed up might_sleep() problems on device close.

22 years ago[PATCH] USB: io_edgeport: stop unlinking a urb that we don't need to unlink.
Greg Kroah-Hartman [Mon, 14 Apr 2003 14:24:10 +0000 (07:24 -0700)]
[PATCH] USB: io_edgeport: stop unlinking a urb that we don't need to unlink.

22 years ago[PATCH] Resource management for NFS...
Andrew Morton [Mon, 14 Apr 2003 13:11:28 +0000 (06:11 -0700)]
[PATCH] Resource management for NFS...

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

The patch fixes some problems with NFS under heavy writeout.

NFS pages can be in a clean but unreclaimable state.  They are unreclaimable
because the server has not yet acked the write - we may need to "redirty"
them if the server crashes.

These are referred to as "unstable" pages.  We need to count them alongside
dirty and writeback pages when making flushing and throttling decisions.
Otherwise the machine can be flooded with these pages and the VM has
problems.

22 years ago[PATCH] fix MCE startup ordering problems
Andrew Morton [Mon, 14 Apr 2003 13:11:02 +0000 (06:11 -0700)]
[PATCH] fix MCE startup ordering problems

The MCE code is setting up a timer whose handler uses the workqueue code
before workqueue is initialised.  If you boot slowly it oopses.

Convert the MCE code to use an initcall.

22 years ago[PATCH] Posix timer hang fix
Andrew Morton [Mon, 14 Apr 2003 13:10:43 +0000 (06:10 -0700)]
[PATCH] Posix timer hang fix

From: george anzinger <george@mvista.com>

The MAJOR problem was a hang in the kernel if a user tried to delete a
repeating timer that had a signal delivery pending. I was putting the
task in a loop waiting for that same task to pick up the signal. OUCH!

A minor issue relates to the need by the glibc folks, to specify a
particular thread to get the signal.  I had this code in all along,
but somewhere in 2.5 the signal code was made POSIX compliant, i.e.
deliver to the first thread that doesn't have it masked out.

This now uses the code from the above mentioned clean up.  Most
signals go to the group delivery signal code, however, those
specifying THREAD_ID (an extension to the POSIX standard) are sent to
the specified thread.  That thread MUST be in the same thread group as
the thread that creates the timer.

22 years ago[PATCH] export kernel_fpu_begin() to GPL modules
Andrew Morton [Mon, 14 Apr 2003 13:10:24 +0000 (06:10 -0700)]
[PATCH] export kernel_fpu_begin() to GPL modules

drivers/md/xor.c needs kernel_fpu_begin() for the mmx checksumming functions.
 So export that to GPL modules.

22 years ago[PATCH] genrtc: jiffies type fix
Andrew Morton [Mon, 14 Apr 2003 13:10:08 +0000 (06:10 -0700)]
[PATCH] genrtc: jiffies type fix

use `unsigned long' for a jiffies-holding type.

22 years ago[PATCH] fix tty shutdown race
Andrew Morton [Mon, 14 Apr 2003 13:09:57 +0000 (06:09 -0700)]
[PATCH] fix tty shutdown race

use-after-free races have been seen due to the workqueue timer in the tty
structure going off after the tty was freed.

Fix that up by using cancel_scheduled_work() and flush_scheduled_work().

22 years ago[PATCH] flush_work_queue() fixes
Andrew Morton [Mon, 14 Apr 2003 13:09:45 +0000 (06:09 -0700)]
[PATCH] flush_work_queue() fixes

The workqueue code currently has a notion of a per-cpu queue being "busy".
flush_scheduled_work()'s responsibility is to wait for a queue to be not busy.

Problem is, flush_scheduled_work() can easily hang up.

- The workqueue is deemed "busy" when there are pending delayed
  (timer-based) works.  But if someone repeatedly schedules new delayed work
  in the callback, the queue will never fall idle, and flush_scheduled_work()
  will not terminate.

- If someone reschedules work (not delayed work) in the work function, that
  too will cause the queue to never go idle, and flush_scheduled_work() will
  not terminate.

So what this patch does is:

- Create a new "cancel_delayed_work()" which will try to kill off any
  timer-based delayed works.

- Change flush_scheduled_work() so that it is immune to people re-adding
  work in the work callout handler.

  We can do this by recognising that the caller does *not* want to wait
  until the workqueue is "empty".  The caller merely wants to wait until all
  works which were pending at the time flush_scheduled_work() was called have
  completed.

  The patch uses a couple of sequence numbers for that.

So now, if someone wants to reliably remove delayed work they should do:

/*
 * Make sure that my work-callback will no longer schedule new work
 */
my_driver_is_shutting_down = 1;

/*
 * Kill off any pending delayed work
 */
cancel_delayed_work(&my_work);

/*
 * OK, there will be no new works scheduled.  But there may be one
 * currently queued or in progress.  So wait for that to complete.
 */
flush_scheduled_work();

The patch also changes the flush_workqueue() sleep to be uninterruptible.
We cannot legally bale out if a signal is delivered anyway.