]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] unplugging fix
Andrew Morton [Tue, 11 Mar 2003 11:13:16 +0000 (03:13 -0800)]
[PATCH] unplugging fix

Patch from Neil Brown <neilb@cse.unsw.edu.au>

Allow auto-unplugging to work for devices that do it themselves.

Auto-unplugging - and blk_unplug_work in particular - assumes that the device
uses "generic_unplug_device" for unplugging, but some devices don't.  md
crashes.

So blk_unplug_work should use ->unplug_fn

23 years ago[PATCH] Documentation spelling cleanup
Steven Cole [Tue, 11 Mar 2003 09:47:56 +0000 (01:47 -0800)]
[PATCH] Documentation spelling cleanup

This patch fixes spelling errors in the Documentation directory and was
extensively reviewed by the following people: Dan Kegel, David
Woodhouse, Joe Perches, Jared Daniel J.  Smith, Michael Hayes, and
Steven Cole

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 11 Mar 2003 08:53:48 +0000 (00:53 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Tue, 11 Mar 2003 08:24:02 +0000 (00:24 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[SPARC64]: Need to export up_clock_tick on uniprocessor.
Joshua Uziel [Tue, 11 Mar 2003 08:12:28 +0000 (00:12 -0800)]
[SPARC64]: Need to export up_clock_tick on uniprocessor.

23 years ago[SPARC64]: Fix warning during uniprocessor build of US3 cpufreq.
Joshua Uziel [Tue, 11 Mar 2003 08:11:23 +0000 (00:11 -0800)]
[SPARC64]: Fix warning during uniprocessor build of US3 cpufreq.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Tue, 11 Mar 2003 08:06:16 +0000 (00:06 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[NETFILTER]: Really apply the ipv4 C99 patches this time. :-)
Art Haas [Tue, 11 Mar 2003 08:12:46 +0000 (00:12 -0800)]
[NETFILTER]: Really apply the ipv4 C99 patches this time. :-)

23 years ago[COMPAT]: Sparc64 part of fcntl changes.
Stephen Rothwell [Tue, 11 Mar 2003 07:42:31 +0000 (23:42 -0800)]
[COMPAT]: Sparc64 part of fcntl changes.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Tue, 11 Mar 2003 07:29:32 +0000 (23:29 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge bk://ldm.bkbits.net/linux-2.5-core
Linus Torvalds [Tue, 11 Mar 2003 07:11:00 +0000 (23:11 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agodriver model: add bus_rescan_devices()
Patrick Mochel [Tue, 11 Mar 2003 10:00:30 +0000 (04:00 -0600)]
driver model: add bus_rescan_devices()

From Ben Collins

Used as manual trigger for device/driver binding, so drivers can claim
devices that are present but failed to be bound. In case of ieee1394, this
can happen if two computers are attached to a device - the second one won't
be able to claim it until the first detaches.

Changed device_attach() to return 1 when a driver was bound to a device.
Makes it so bus_rescan_devices() can return the number of devices attached.
Tested this with ieee1394 over a bus reset and it worked as expected.

23 years agosysfs: fix BUG()s on directory creation and removal.
Patrick Mochel [Tue, 11 Mar 2003 09:30:19 +0000 (03:30 -0600)]
sysfs: fix BUG()s on directory creation and removal.

- Don't d_delete() files when removing a directory - they must still be
  hashed when dput() reaps them, and it will __d_drop() them anyway.

- Don't d_invalidate() the directory on removal.

- do simple_rmdir() after d_delete() on directory.

- Remove extra dput(), which was causing refcount to go negative, causing
  an oops when someone tried to create the directory again.

- Make sure we don't d_delete() or do extra dput() on file when updating,
  either.

23 years ago[PATCH] some more NAND flash IDs
Andries E. Brouwer [Tue, 11 Mar 2003 07:09:23 +0000 (23:09 -0800)]
[PATCH] some more NAND flash IDs

23 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Tue, 11 Mar 2003 10:45:07 +0000 (04:45 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5

23 years ago[PATCH] i2c-core locking updates
Christoph Hellwig [Tue, 11 Mar 2003 03:55:31 +0000 (19:55 -0800)]
[PATCH] i2c-core locking updates

The old adap_lock and driver_lock could deadlock and there was a bunch
of stuff that was horribly racy.  The new locking scheme is from
lm_sensors CVS but I had to fix quite a few bugs to make this work.

23 years ago[PATCH] update i2c algorithm drivers
Christoph Hellwig [Tue, 11 Mar 2003 03:55:23 +0000 (19:55 -0800)]
[PATCH] update i2c algorithm drivers

This one is from lm_sensors CVS and mostly cosmetic changes.  I it up a
bit to compile properly under latest 2.5.

23 years ago[PATCH] i2c ID updates
Christoph Hellwig [Tue, 11 Mar 2003 03:55:14 +0000 (19:55 -0800)]
[PATCH] i2c ID updates

another bunch of IDs appeared in lm_sensors CVS lately..

23 years ago[PATCH] missing drivers/video/Makefile entry
Christoph Hellwig [Tue, 11 Mar 2003 03:55:07 +0000 (19:55 -0800)]
[PATCH] missing drivers/video/Makefile entry

This somehow got lost in the uClinux merge.

23 years ago[PATCH] remove regular file support from devfs
Christoph Hellwig [Tue, 11 Mar 2003 03:54:58 +0000 (19:54 -0800)]
[PATCH] remove regular file support from devfs

It's the _device_ filesystem, so regular files are grossly misplaced
here.  Fortauntely only one driver actually tries to use it (microcode)
and it's works fine with  a regular miscdevice as well.

23 years ago[PATCH] remaining bits of DEVFS_FL_AUTO_DEVNUM
Christoph Hellwig [Tue, 11 Mar 2003 03:54:50 +0000 (19:54 -0800)]
[PATCH] remaining bits of DEVFS_FL_AUTO_DEVNUM

Sorry, the devs_only() patch accidentally included the devfs-portion
of the DEVFS_FL_AUTO_DEVNUM patch.  This patch contains the remaining
parts.

23 years ago[PATCH] fix kmem_cache_size() for new slab poisoning
Christoph Hellwig [Tue, 11 Mar 2003 03:54:41 +0000 (19:54 -0800)]
[PATCH] fix kmem_cache_size() for new slab poisoning

The new slab poisoning code broke kmem_cache_size(), it now returns
a too large size as the poisoning area after the object is includes.
XFS's kmem_zone_zalloc thus overwrites exactly that area and triggers
the new checks everytime such an object is freed again.

I don't recommend using XFS on BK-current without this patch applied :)

23 years ago[PATCH] Fix x86-64 build
Jens Axboe [Tue, 11 Mar 2003 02:55:02 +0000 (18:55 -0800)]
[PATCH] Fix x86-64 build

23 years ago[PATCH] fix m68knommu/68360 serial driver to use work_struct
Greg Ungerer [Tue, 11 Mar 2003 01:49:16 +0000 (17:49 -0800)]
[PATCH] fix m68knommu/68360 serial driver to use work_struct

This patches fixes the m68knommu 68360 serial driver to use the
work_struct, not the obsoleted workqueue.

23 years ago[PATCH] move common timer and vector code for m68knommu/ColdFire/5206
Greg Ungerer [Tue, 11 Mar 2003 01:49:08 +0000 (17:49 -0800)]
[PATCH] move common timer and vector code for m68knommu/ColdFire/5206

This patch moves common ColdFire vector and timer procesing code from
the local per-processor config.c for the 5206 ColdFire sub-architecture.
All ColdFire CPU's have the same timer and basic vector setup, seems
crazy to repeat this code for each of 6 ColdFire CPU varients.

23 years ago[PATCH] move common timer and vector code for m68knommu/ColdFire/5206e
Greg Ungerer [Tue, 11 Mar 2003 01:48:58 +0000 (17:48 -0800)]
[PATCH] move common timer and vector code for m68knommu/ColdFire/5206e

This patch moves common ColdFire vector and timer procesing code from
the local per-processor config.c for the 5206e ColdFire sub-architecture.
All ColdFire CPU's have the same timer and basic vector setup, seems
crazy to repeat this code for each of 6 ColdFire CPU varients.
This patch also removes the reset button support, this is now moved to
a proper device driver, where it belongs.

23 years ago[PATCH] move common timer and vector code for m68knommu/ColdFire/5249
Greg Ungerer [Tue, 11 Mar 2003 01:48:48 +0000 (17:48 -0800)]
[PATCH] move common timer and vector code for m68knommu/ColdFire/5249

This patch moves common ColdFire vector and timer procesing code from
the local per-processor config.c for the 5249 ColdFire sub-architecture.
All ColdFire CPU's have the same timer and basic vector setup, seems
crazy to repeat this code for each of 6 ColdFire CPU varients.

23 years ago[PATCH] create common timer code for m68knommu/ColdFire processors
Greg Ungerer [Tue, 11 Mar 2003 01:48:38 +0000 (17:48 -0800)]
[PATCH] create common timer code for m68knommu/ColdFire processors

This patch creates common timer setup and handling code for the m68knommu
ColdFire CPU sub-architecture. All 6 ColdFire CPU varients contain the
same hardware timers. Currently each sub-arch has its own timer code.
This reduces a lot of code duplication.

23 years ago[PATCH] build m68knommu/ColdFire common vectors.c and timers.c
Greg Ungerer [Tue, 11 Mar 2003 01:48:27 +0000 (17:48 -0800)]
[PATCH] build m68knommu/ColdFire common vectors.c and timers.c

This patch puts the new common ColdFire timers.c and vectors.c into
the build list (in the m68knommu architecture branch).

23 years ago[PATCH] fix m68knommu/68328 serial driver to use work_struct
Greg Ungerer [Tue, 11 Mar 2003 01:48:18 +0000 (17:48 -0800)]
[PATCH] fix m68knommu/68328 serial driver to use work_struct

This patches fixes the m68knommu 68328 serial driver header to use the
work_struct, not the obsoleted workqueue.

23 years ago[PATCH] move common timer and vector code for m68knommu/ColdFire/5407
Greg Ungerer [Tue, 11 Mar 2003 01:48:10 +0000 (17:48 -0800)]
[PATCH] move common timer and vector code for m68knommu/ColdFire/5407

This patch moves common ColdFire vector and timer procesing code from
the local per-processor config.c for the 5407 ColdFire sub-architecture.
All ColdFire CPU's have the same timer and basic vector setup, seems
crazy to repeat this code for each of 6 ColdFire CPU varients.

23 years ago[PATCH] fix m68knommu COMEM-lite PCI header code
Greg Ungerer [Tue, 11 Mar 2003 01:48:02 +0000 (17:48 -0800)]
[PATCH] fix m68knommu COMEM-lite PCI header code

This patch fixes up the PCI bios header for the m68knommu COMEM-lite
PCI hardware support. Adds missing definitions, and a couple of trivial
inline functions here.

23 years ago[PATCH] include stddef.h in include/linux/list.h
Greg Ungerer [Tue, 11 Mar 2003 01:47:54 +0000 (17:47 -0800)]
[PATCH] include stddef.h in include/linux/list.h

This patches add an include to stddef.h into include/linux/list.h.
It uses the NULL define.

23 years ago[PATCH] inline some mm functions for MMUless targets
Greg Ungerer [Tue, 11 Mar 2003 01:47:44 +0000 (17:47 -0800)]
[PATCH] inline some mm functions for MMUless targets

This patch is the last of the MMUless support changes to the mm system.
It inlines for MMUless targets the following functions:

vmalloc_to_page()
follow_page()
remap_page_range()

All of these return NULL for the non-MMU case. Doing the inline here
minimizes changes to assorted mm/ files. This patch was originally
from Christoph Hellwig.

23 years ago[PATCH] fix m68knommu/68360 Kconfig wrong define
Greg Ungerer [Tue, 11 Mar 2003 01:47:36 +0000 (17:47 -0800)]
[PATCH] fix m68knommu/68360 Kconfig wrong define

This patch fixes a wrong m68knommu/68360 config define,
CONFIG_68630_SCC -> CONFIG_68360_SCC.

23 years ago[PATCH] move common timer and vector code for m68knommu/ColdFire/5307
Greg Ungerer [Tue, 11 Mar 2003 01:47:27 +0000 (17:47 -0800)]
[PATCH] move common timer and vector code for m68knommu/ColdFire/5307

This patch moves common ColdFire vector and timer procesing code from
the local per-processor config.c for the 5307 ColdFire sub-architecture.
All ColdFire CPU's have the same timer and basic vector setup, seems
crazy to repeat this code for each of 6 ColdFire CPU varients.
This patch also removes the reset button support, this is now moved to
a proper device driver, where it belongs.

23 years ago[PATCH] call schedule_tail() in m68knommu return from fork code path
Greg Ungerer [Tue, 11 Mar 2003 01:47:19 +0000 (17:47 -0800)]
[PATCH] call schedule_tail() in m68knommu return from fork code path

This patch adds a call to schedule_tail() in the return from fork
post processing.

23 years ago[PATCH] fix m68knommu/68VZ328/ucdimm Makefile to compile local code files
Greg Ungerer [Tue, 11 Mar 2003 01:47:11 +0000 (17:47 -0800)]
[PATCH] fix m68knommu/68VZ328/ucdimm Makefile to compile local code files

This patch fixes the m68knomu/68VZ328/ucdimm Makefile to build all its
local code files. Previously it relied on Makefiles above it to do
this. It should be done here.

23 years ago[PATCH] fix m68knommu/68VZ328/de2 Makefile to compile local code files
Greg Ungerer [Tue, 11 Mar 2003 01:47:00 +0000 (17:47 -0800)]
[PATCH] fix m68knommu/68VZ328/de2 Makefile to compile local code files

This patch fixes the m68knomu/68VZ328/de2 Makefile to build all its
local code files. Previously it relied on Makefiles above it to do
this. It should be done here.

23 years ago[PATCH] move common timer and vector code for m68knommu/ColdFire/5272
Greg Ungerer [Tue, 11 Mar 2003 01:46:50 +0000 (17:46 -0800)]
[PATCH] move common timer and vector code for m68knommu/ColdFire/5272

This patch moves common ColdFire vector and timer procesing code from
the local per-processor config.c for the 5272 ColdFire sub-architecture.
All ColdFire CPU's have the same timer and basic vector setup, seems
crazy to repeat this code for each of 6 ColdFire CPU varients.
This patch also removes the reset button support, this is now moved to
a proper device driver, where it belongs.

23 years ago[PATCH] fix m68knommu COMEM-lite PCI bios code
Greg Ungerer [Tue, 11 Mar 2003 01:46:42 +0000 (17:46 -0800)]
[PATCH] fix m68knommu COMEM-lite PCI bios code

This patch fixes up a lot of problems in the m68knommu architecture
CO-MEMlite PCI interface code. The code was seriously out of date,
not implementing many of the requried PCI bios support functions.
Also fixes many wrong function return types and arguments.

23 years ago[PATCH] fix m68knommu/68VZ328 Makefile to traverse sub-dirs
Greg Ungerer [Tue, 11 Mar 2003 01:46:32 +0000 (17:46 -0800)]
[PATCH] fix m68knommu/68VZ328 Makefile to traverse sub-dirs

Fix m68knommu 68VZ328 Makefile to only traverse its sub-directories.
There is no local code files for it to compile.

23 years ago[PATCH] include errno.h in m68knommu 68360 interrupt setup code
Greg Ungerer [Tue, 11 Mar 2003 01:46:24 +0000 (17:46 -0800)]
[PATCH] include errno.h in m68knommu 68360 interrupt setup code

Include errno.h in the m68knommu 68360 specific interrupt setup code.
It needs a few E* types as return values.

23 years ago[PATCH] fix wrong argument prototype in m68knommu/68360 for interrupt handler
Greg Ungerer [Tue, 11 Mar 2003 01:46:15 +0000 (17:46 -0800)]
[PATCH] fix wrong argument prototype in m68knommu/68360 for interrupt handler

Fix wrong argument prototype in m68knommu commproc.c.

23 years ago[PATCH] m68knommu/de2 should use generic 68328 irq setup.
Greg Ungerer [Tue, 11 Mar 2003 01:46:07 +0000 (17:46 -0800)]
[PATCH] m68knommu/de2 should use generic 68328 irq setup.

This patch fixes the m68knommu de2 platform config to use the generic
68328 irq setup. All 68*328 family can use the same setup.

23 years ago[PATCH] fix spelling in m68knommu Kconfig help
Greg Ungerer [Tue, 11 Mar 2003 01:45:59 +0000 (17:45 -0800)]
[PATCH] fix spelling in m68knommu Kconfig help

This patch fixes a couple of spelling errors in the m68knommy Kconfig
help entries. Also makes CONFIG_HIGHPROFILE dependant on CONFIG_COLDFIRE,
since that feature is only implemented on ColdFIre based platforms.

23 years ago[PATCH] m68knommu/ucdimm should use generic 68328 irq setup.
Greg Ungerer [Tue, 11 Mar 2003 01:45:51 +0000 (17:45 -0800)]
[PATCH] m68knommu/ucdimm should use generic 68328 irq setup.

This patch fixes the m68knommu ucdimm platform config to use the generic
68328 irq setup. All 68*328 family can use the same setup.

23 years ago[PATCH] include errn0.h in m68knommu 68328 interrupt setup code
Greg Ungerer [Tue, 11 Mar 2003 01:45:41 +0000 (17:45 -0800)]
[PATCH] include errn0.h in m68knommu 68328 interrupt setup code

Include errno.h in the m68knommu 68328 specific interrupt setup code.
It needs a few E* types as return values.

23 years ago[PATCH] include unistd.h in m68knommu 68328 entry code
Greg Ungerer [Tue, 11 Mar 2003 01:45:33 +0000 (17:45 -0800)]
[PATCH] include unistd.h in m68knommu 68328 entry code

Include asm/unistd.h to get the NR_syscalls definition in the
m68knommu 68328 interrupt entry code.

23 years ago[PATCH] include unistd.h in m68knommu 68360 entry code
Greg Ungerer [Tue, 11 Mar 2003 01:45:24 +0000 (17:45 -0800)]
[PATCH] include unistd.h in m68knommu 68360 entry code

Include asm/unistd.h to get the NR_syscalls definition in the
m68knommu 68360 interrupt entry code.

23 years ago[PATCH] EISA/sysfs update
Marc Zyngier [Tue, 11 Mar 2003 01:36:55 +0000 (17:36 -0800)]
[PATCH] EISA/sysfs update

Here is the latest round of EISA/sysfs update.

 - Add documentation,
 - Add support for per EISA-id driver data,
 - Move virtual_root device to a platform device,
 - Update CREDITS.

23 years ago[PATCH] compat_sys_fcntl{,64} parisc part
Stephen Rothwell [Tue, 11 Mar 2003 01:34:25 +0000 (17:34 -0800)]
[PATCH] compat_sys_fcntl{,64} parisc part

Here is the parisc part of the patch with Willy's blessing.

23 years ago[PATCH] compat_sys_fcntl{,64} s390x part
Stephen Rothwell [Tue, 11 Mar 2003 01:34:17 +0000 (17:34 -0800)]
[PATCH] compat_sys_fcntl{,64} s390x part

Here is the s390x part of the patch with Martin's blessing.

23 years ago[PATCH] compat_sys_fcntl{,64} x86_64 part
Stephen Rothwell [Tue, 11 Mar 2003 01:34:10 +0000 (17:34 -0800)]
[PATCH] compat_sys_fcntl{,64} x86_64 part

Here is the x86_64 part of the patch with Andi's blessing.

23 years ago[PATCH] compat_sys_fcntl{,64} Generic part
Stephen Rothwell [Tue, 11 Mar 2003 01:34:01 +0000 (17:34 -0800)]
[PATCH] compat_sys_fcntl{,64} Generic part

This patch creates compat_sys_fcntl{,64}.  The diffstat for the whole
patch set is below, but this is just the generic part, the architecture
specific parts will follow.

This patch also removes struct flock64 from all the 64 bit architectures
(except parisc).

23 years agoMerge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
Dave Jones [Tue, 11 Mar 2003 11:59:10 +0000 (10:59 -0100)]
Merge tetrachloride.(none):/mnt/raid/src/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/raid/src/kernel/2.5/cpufreq

23 years ago[CPUFREQ] More typos.
Dave Jones [Tue, 11 Mar 2003 11:56:25 +0000 (10:56 -0100)]
[CPUFREQ] More typos.

23 years ago[CPUFREQ] powernow-k7 lazy voltage setting.
Dave Jones [Mon, 10 Mar 2003 16:07:10 +0000 (15:07 -0100)]
[CPUFREQ] powernow-k7 lazy voltage setting.

23 years ago[CPUFREQ] Fix documentation typos.
Dave Jones [Mon, 10 Mar 2003 15:59:58 +0000 (14:59 -0100)]
[CPUFREQ] Fix documentation typos.

23 years ago[PATCH] ext2: fix directory handling bug
Andrew Morton [Mon, 10 Mar 2003 15:42:47 +0000 (07:42 -0800)]
[PATCH] ext2: fix directory handling bug

Patch from Dave Miller.  Fixes a very long-standing bug.

If a process has an fd open against a now-removed directory, lookups on that
fd will end up calling ext2_find_entry() against a zero-length directory.

When this happens ext2_find_entry() will, on the first pass through the loop,
set `kaddr' to page_address(page) - 20.  Things get confused and the "zero
length directory entry" warning triggers.

This only happens on 64-bit machines, because ext2_last_byte() is returning
an unsigned (32-bit) value, and the arithmetic works out OK for 32-bit
machines.

So we change ext2_find_entry() to bale out immediately if the directory is
zero-length.  All other directory-walking functions do this, but
ext2_find_entry() forgot to, due to the search-from-the-last-place
optimisation.

23 years ago[PATCH] ext3: error handling robustness
Andrew Morton [Mon, 10 Mar 2003 15:42:39 +0000 (07:42 -0800)]
[PATCH] ext3: error handling robustness

Fix a couple of ext3 error handling routines to not assume that the
superblock has valid journal and buffer_head pointers.  These functions are
called during mount and unmount and that may not be true.

This should fix the oops which Zwane saw when mounting a corrupt filesystem.

23 years ago[PATCH] Force cache alignment of task_structs
Andrew Morton [Mon, 10 Mar 2003 15:42:31 +0000 (07:42 -0800)]
[PATCH] Force cache alignment of task_structs

I enabled the advanced use-after-free detector for large slab objects and the
kernel oopsed.  This is because that debug code adds things at the head of
the slab objects, and the kernel will die if task_structs are not
well-aligned.

The way to tell the slab allocator that it is not allowed to misalign objects
from this slab is SLAB_MUST_HWCACHE_ALIGN.

23 years ago[PATCH] Fix memleak in ircomm_core
Andrew Morton [Mon, 10 Mar 2003 15:42:24 +0000 (07:42 -0800)]
[PATCH] Fix memleak in ircomm_core

Patch from Oleg Drokin <green@linuxhacker.ru>

There seems to be a memleak on error exit path.

23 years ago[PATCH] Memleak in Windows Logical Disk Manager partition
Andrew Morton [Mon, 10 Mar 2003 15:42:15 +0000 (07:42 -0800)]
[PATCH] Memleak in Windows Logical Disk Manager partition

Patch from Oleg Drokin <green@linuxhacker.ru>

   Not freeing allocated memory on error exit path.

23 years ago[PATCH] NCPFS memleak fix
Andrew Morton [Mon, 10 Mar 2003 15:42:09 +0000 (07:42 -0800)]
[PATCH] NCPFS memleak fix

Patch from Petr Vandrovec <vandrove@vc.cvut.cz>
Reported by Oleg Drokin.

    In NCP_IOC_SETOBJECTNAME handler, we allocated space (newname pointer),
    copy stuff from userspace to there and then assign userspace
    pointer to our internal structure, whoops!

23 years ago[PATCH] work around gcc-3.x inlining bugs
Andrew Morton [Mon, 10 Mar 2003 15:42:00 +0000 (07:42 -0800)]
[PATCH] work around gcc-3.x inlining bugs

Force inlining even when gcc-3.x is too confused to do it for us.

23 years ago[PATCH] fix console ordering default
Andrew Morton [Mon, 10 Mar 2003 15:41:53 +0000 (07:41 -0800)]
[PATCH] fix console ordering default

The conversion of the console registration to an initcall-style thing has
broken lots of people's setups.  It is now dependent upon linkage order and
if you have both CONFIG_VT_CONSOLE and CONFIG_SERIAL_CONSOLE, no boot
messages come out on the screen because the kernel is selecting the serial
console first.

It can be fixed by specifying console=tty0, but nobody is doing that.

We can fix it up by placing drivers/char/ in front of drivers/serial/ in
linkage order.

23 years ago[PATCH] pnp warning fix
Andrew Morton [Mon, 10 Mar 2003 15:41:44 +0000 (07:41 -0800)]
[PATCH] pnp warning fix

The pnp_request_card_device() stub should return NULL, not -ENODEV.

23 years ago[PATCH] fix typo in init/Kconfig
Andrew Morton [Mon, 10 Mar 2003 15:41:37 +0000 (07:41 -0800)]
[PATCH] fix typo in init/Kconfig

23 years ago[PATCH] ACPI suspend/resume locking fix
Andrew Morton [Mon, 10 Mar 2003 15:41:28 +0000 (07:41 -0800)]
[PATCH] ACPI suspend/resume locking fix

Patch from Andreas Mohr <andi@rhlx01.fht-esslingen.de>

Need to retake the spinlock in __pdflush() before continuing.

23 years agoUse cond_sched() instead of manual expansion of it.
Linus Torvalds [Mon, 10 Mar 2003 15:39:34 +0000 (07:39 -0800)]
Use cond_sched() instead of manual expansion of it.

23 years agoMerge bk://linux-pnp.bkbits.net/linux-pnp
Linus Torvalds [Mon, 10 Mar 2003 09:42:49 +0000 (01:42 -0800)]
Merge bk://linux-pnp.bkbits.net/linux-pnp
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] x86-64 updates for 2.5.64-bk3
Andi Kleen [Mon, 10 Mar 2003 09:41:56 +0000 (01:41 -0800)]
[PATCH] x86-64 updates for 2.5.64-bk3

Make x86-64 boot again after the INITIAL_JIFFIES changes
and some bug fixes. Also some work for NPTL.

 - Merge with i386/2.5.64-bk3
 - Fix memory leak in copy_thread
 - arch_prctl uses GDT for base if possible. Cleanup.
 - clone supports bases >32bit for SETTLS etc. %fs hardcoded now.
 - new ptrace support for 64bit TLS
 - Disable (set|get)_thread_* for 64bit processes.
 - Audit arch/x86_64 for jiffies wrap issues.
 - Fix initial jiffies problem (that caused hanging kernels)
 - FIx a few 32bit emulation bugs (sigaltstack, sigqueue)
 - Some cleanup from Pavel
 - Should compile again as UP
 - Shrink size a bit by not putting exception tables into object files.
 - Fix compilation with gcc 3.3 :- force inlining when needed
 - Work around 2.5.64-bk3 console init bug.
 - Fix some alignments in assembly code

23 years ago[PATCH] remove devfs_only()
Christoph Hellwig [Mon, 10 Mar 2003 09:37:02 +0000 (01:37 -0800)]
[PATCH] remove devfs_only()

Rationale:  devfs_only does nothing but disabling {un,}register_blkdev
and {un,}register_chrdev.  {un,}register_blkdev already do nothing but
adding it's name argument to a lookup table for the __bdevname and
/proc/device output so this use is already bogus.  The disabling of
the character device per-major arrays can work in practice but is
useless as any driver relying on it can't be used on non-devfs systems.

23 years ago[PATCH] i2c-core.c procfs updates
Christoph Hellwig [Mon, 10 Mar 2003 09:36:47 +0000 (01:36 -0800)]
[PATCH] i2c-core.c procfs updates

Cleanup the i2c procfs code a bit (less ifdef mess), partially based
on the lm_sensors CVS code.

23 years ago[PATCH] Fix $(src) versus $(obj)
H. Peter Anvin [Mon, 10 Mar 2003 09:36:37 +0000 (01:36 -0800)]
[PATCH] Fix $(src) versus $(obj)

This fixes a bunch of "src" versus "obj" confusions that apparently
existed in my bootsect removal patch.  How embarrassing...

23 years ago[PATCH] revert "noirqbalance still doesn't do anything"
Andrew Morton [Mon, 10 Mar 2003 09:36:27 +0000 (01:36 -0800)]
[PATCH] revert "noirqbalance still doesn't do anything"

This recent patch caused Nick Piggin's 2xPIII VIA686B chipset machine into an
interrupts-off lockup during IDE probing.

We don't really know why - it might be because an interrupt is delivered to a
secondary which doesn't expect it.

I have a second patch from Zwane which solves the same problem in a different
way, but until that's had some wider testing I suggest we just back off the
original.

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Mon, 10 Mar 2003 09:33:58 +0000 (01:33 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] neaten fs/locks.c a little
Matthew Wilcox [Mon, 10 Mar 2003 09:32:14 +0000 (01:32 -0800)]
[PATCH] neaten fs/locks.c a little

 - Fix my email address to one which reaches me ;-)
 - Remove timer.h include as we don't use timers.
 - Add module.h.
 - Sort includes alphabetically.
 - Move EXPORT_SYMBOL from ksyms.c to locks.c.
 - Simplify locks_conflict().

23 years ago[IPV4]: Fix deadlock in IGMP locking.
Alexey Kuznetsov [Mon, 10 Mar 2003 09:12:51 +0000 (01:12 -0800)]
[IPV4]: Fix deadlock in IGMP locking.

23 years agoUse a fixed per-cpu SYSENTER_MSR_ESP value by having the sysenter
Linus Torvalds [Mon, 10 Mar 2003 06:41:27 +0000 (22:41 -0800)]
Use a fixed per-cpu SYSENTER_MSR_ESP value by having the sysenter
entry routine load the real ESP0 off that per-cpu stack. Make this
even faster by putting the sysenter stack in the per-CPU TSS, so
that we can use the tss->esp0 value directly (which we have to
update on task switches anyway).

CAREFUL! This needs very subtle code for debug and NMI exceptions,
to make sure we don't run with the sysenter stack in any real kernel
code!

23 years agoRemove <asm-i386/xor.h>'s own home-made FPU begin/end macros,
Linus Torvalds [Mon, 10 Mar 2003 06:36:20 +0000 (22:36 -0800)]
Remove <asm-i386/xor.h>'s own home-made FPU begin/end macros,
use the real ones instead.

23 years agoJFS: Fix hang while flushing outstanding transactions under heavy load
Dave Kleikamp [Mon, 10 Mar 2003 06:32:02 +0000 (00:32 -0600)]
JFS: Fix hang while flushing outstanding transactions under heavy load

During syncbarrier recovery, when JFS is waiting for all outstanding
transactions to complete before allowing new ones to start, there was a
window where a new transaction starts, but is not committed when JFS thought
it could stop flushing the journal to disk.  This caused the log_SYNCBARRIER
flag to not be reset, and no new transactions are allowed to start.

This is fixed by using the log->active field to determine when to reset the
log_FLUSH flag.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Mon, 10 Mar 2003 04:05:34 +0000 (20:05 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[SNMP]: Fix SNMP_STAT_{USR,BH}PTR.
Randy Dunlap [Mon, 10 Mar 2003 03:56:00 +0000 (19:56 -0800)]
[SNMP]: Fix SNMP_STAT_{USR,BH}PTR.

23 years ago[PATCH] v4l: video-buf update
Gerd Knorr [Mon, 10 Mar 2003 03:09:48 +0000 (19:09 -0800)]
[PATCH] v4l: video-buf update

This patch is a update for the video-buf mm helper module.  It has
some minor bugfixes and a number of signed/unsigned cleanups to make
gcc 3.3 happy.

23 years agoMove "used FPU status" into new non-atomic thread_info->status field.
Linus Torvalds [Mon, 10 Mar 2003 02:20:35 +0000 (18:20 -0800)]
Move "used FPU status" into new non-atomic thread_info->status field.

This allows us to avoid having to use atomic updates for the lazy FP
status setting, since we don't have to worry about other CPU's racing
on the fields.

Also, fix x86 FP state after fork() by making sure the FP is unlazied
_before_ we copy the state information. Otherwise, if a process did a
fork() while holding the FP state lazily in the registers, the child
would incorrectly unlazy bogus state.

23 years agoAditional Card Service Changes
Adam Belay [Sun, 9 Mar 2003 23:44:44 +0000 (23:44 +0000)]
Aditional Card Service Changes

Fixes many issues that were discovered after testing.  Also cleans up the
card service code and fixes the card_drvdata bug in which only one driver
at a time could have driver data.

23 years agoOSS SB driver Updates
Adam Belay [Sun, 9 Mar 2003 23:41:56 +0000 (23:41 +0000)]
OSS SB driver Updates

Compatibility update for the latest changes.

23 years agoALS100 Updates
Adam Belay [Sun, 9 Mar 2003 23:39:45 +0000 (23:39 +0000)]
ALS100 Updates

Updates the als100 driver to use the pnp apis.  Includes resource config
templates.

23 years agoPnP Card Serivice Revisions
Adam Belay [Sun, 9 Mar 2003 23:38:08 +0000 (23:38 +0000)]
PnP Card Serivice Revisions

This set of changes addresses the following issues with the existing card
service implementation:

1.) Only one driver can be bound to a card.
2.) repetive code is required for pnp_request_card_device and other
functions

This patch will make the card services usable by ALSA.

23 years agoMerge http://linux.bkbits.net/linux-2.5
Adam Belay [Sun, 9 Mar 2003 23:25:33 +0000 (23:25 +0000)]
Merge http://linux.bkbits.net/linux-2.5
into neo.rr.com:/home/ambx1/src/bk/linus-2.5

23 years agoInterface Changes
Adam Belay [Sun, 9 Mar 2003 23:18:13 +0000 (23:18 +0000)]
Interface Changes

A few minor revisions.  Simpifies a few commands and adds config mode
information.

23 years agoCache the MSR_IA32_SYSENTER_CS value in the per-CPU TSS (using
Linus Torvalds [Sun, 9 Mar 2003 10:49:41 +0000 (02:49 -0800)]
Cache the MSR_IA32_SYSENTER_CS value in the per-CPU TSS (using
the otherwise unused cpl1 entry for SS), so that we can avoid
re-loading it on task switches if it doesn't change.

23 years agoFix nanosleep() problem noticed by Todd Mokros <tmokros@neo.rr.com>.
Linus Torvalds [Sun, 9 Mar 2003 10:48:06 +0000 (02:48 -0800)]
Fix nanosleep() problem noticed by Todd Mokros <tmokros@neo.rr.com>.

If we raced on a timer expire, we'd get a negative timeout and think
that is was a _huge_ positive timeout.

23 years ago[VLAN]: Fix memory leak in procfs handling.
Oleg Drokin [Sun, 9 Mar 2003 06:00:34 +0000 (22:00 -0800)]
[VLAN]: Fix memory leak in procfs handling.

23 years agoFix up i387 task switching bug introduced by Andi Kleen's patch
Linus Torvalds [Sun, 9 Mar 2003 03:25:32 +0000 (19:25 -0800)]
Fix up i387 task switching bug introduced by Andi Kleen's patch
to speed it up - use the proper bitmask for clearing "used-fpu"
state.

23 years ago[PATCH] Fast path context switch - microoptimize FPU reload
Andi Kleen [Sun, 9 Mar 2003 02:32:51 +0000 (18:32 -0800)]
[PATCH] Fast path context switch - microoptimize FPU reload

Following some changes on x86-64.

When cpu_has_fxsr is defined to 1 like in many kernels unlazy_fpu can
collapse to three instructions. For that inlining is a very good idea.
Otherwise it's 10 instructions or so, which can be still inlined.

We don't need the lock prefix to test our local thread flags state.
Unfortunately test_thread_flag currently always uses test_bit which
has a LOCK on SMP, but that's unnecessary. LOCK is costly on P4,
so it's a good idea to avoid it.

Work around this for now by testing directly. Better would be
probably to define __set_bit for all architectures to not guarantee
atomicity and then always use that for local thread_info accesses
in linux/thread_info.h

23 years ago[PATCH] fix oprofile on x86 > 1 counter
John Levon [Sun, 9 Mar 2003 02:31:41 +0000 (18:31 -0800)]
[PATCH] fix oprofile on x86 > 1 counter

Without this we have a choice between dropping lots of counter events
for counters > 0, or getting dazed and confused.  This brings it inline
with the 2.4 module code.  Tested on my 2-way.

Also fix a typo from Steven Cole, and remove some unnecessary code

23 years agoMerge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
Linus Torvalds [Sun, 9 Mar 2003 01:28:04 +0000 (17:28 -0800)]
Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux