]> git.hungrycats.org Git - linux/log
linux
23 years agoPPC32: Set max_pfn correctly.
Paul Mackerras [Sun, 16 Mar 2003 09:34:55 +0000 (20:34 +1100)]
PPC32: Set max_pfn correctly.

23 years agoPPC32: Better check for when we should expand the stack.
Paul Mackerras [Sun, 16 Mar 2003 09:33:18 +0000 (20:33 +1100)]
PPC32: Better check for when we should expand the stack.

23 years agoMerge bk://stop.crashing.org/linux-2.5-misc
Paul Mackerras [Sun, 16 Mar 2003 06:27:28 +0000 (17:27 +1100)]
Merge bk://stop.crashing.org/linux-2.5-misc
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sun, 16 Mar 2003 05:15:27 +0000 (16:15 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Sat, 15 Mar 2003 07:25:40 +0000 (18:25 +1100)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge
Linus Torvalds [Fri, 14 Mar 2003 11:52:58 +0000 (03:52 -0800)]
Merge

23 years ago[PATCH] switch over /proc/bus/i2c to seq_file interface
Christoph Hellwig [Fri, 14 Mar 2003 11:35:40 +0000 (03:35 -0800)]
[PATCH] switch over /proc/bus/i2c to seq_file interface

23 years ago[PATCH] fix up the i2c locking changes
Christoph Hellwig [Fri, 14 Mar 2003 11:35:33 +0000 (03:35 -0800)]
[PATCH] fix up the i2c locking changes

There was one place where we missed an unlock, in addition some more
code cleanups.

23 years ago[PATCH] fix OOPS in i2c sysctl registration
Christoph Hellwig [Fri, 14 Mar 2003 11:35:27 +0000 (03:35 -0800)]
[PATCH] fix OOPS in i2c sysctl registration

I had to rewrite the code from scratch to understand what it does,
but at least it doesn't OOPS anymore on boot..

23 years agoMerge bk://kernel.bkbits.net/jgarzik/random-2.5
Linus Torvalds [Fri, 14 Mar 2003 11:32:59 +0000 (03:32 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/random-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://thebsh.namesys.com/bk/reiser3-linux-2.5-relocation-fix
Linus Torvalds [Fri, 14 Mar 2003 10:14:19 +0000 (02:14 -0800)]
Merge bk://thebsh.namesys.com/bk/reiser3-linux-2.5-relocation-fix
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoreiserfs: Correctly free all the allocated memory if open of the journal failed.
Oleg Drokin [Fri, 14 Mar 2003 22:17:32 +0000 (01:17 +0300)]
reiserfs: Correctly free all the allocated memory if open of the journal failed.
  Also added \n to some error messages.

23 years ago[PATCH] export platform_bus_type
Jean Tourrilhes [Fri, 14 Mar 2003 10:13:27 +0000 (02:13 -0800)]
[PATCH] export platform_bus_type

23 years ago[PATCH] kNFSd: Introduce CROSSMNT flag for knfsd
Neil Brown [Fri, 14 Mar 2003 10:12:01 +0000 (02:12 -0800)]
[PATCH] kNFSd: Introduce CROSSMNT flag for knfsd

Now that we have working up-calls to userspace,
CROSSMNT makes sense.
If CROSSMNT is set for an export, and we too a
LOOKUP which crosses a mountpoint, we initiate an
upcall to find out if and how that filesystem
is exported.

23 years ago[PATCH] kNFSd: Rename NFSEXP_CROSSMNT to NFSEXP_NOHIDE
Neil Brown [Fri, 14 Mar 2003 10:11:55 +0000 (02:11 -0800)]
[PATCH] kNFSd: Rename NFSEXP_CROSSMNT to NFSEXP_NOHIDE

becase nohide is the user-space visible name
for the flag, and we are about to define a real
CROSSMNT.

23 years ago[PATCH] kNFSd: Assort fixes to nfsd auth cache stuff.
Neil Brown [Fri, 14 Mar 2003 10:11:49 +0000 (02:11 -0800)]
[PATCH] kNFSd: Assort fixes to nfsd auth cache stuff.

1/ call cache_fresh when replacing a cache entry (instead of only
  when updating) so that up-calls waiting on the replaced entry continue.

2/ in svcauth_unix_accept, don't put the verifier until all tests have
   succeeded.

3/ calculate size of request-being-deferred correctly.

23 years ago[PATCH] kNFSd: Fix deadlock problem in lockd.
Neil Brown [Fri, 14 Mar 2003 10:11:42 +0000 (02:11 -0800)]
[PATCH] kNFSd: Fix deadlock problem in lockd.

nlmsvc_lock calls nlmsvc_create_block with file->f_sema
held.
nlmsvc_create_block calls nlmclnt_lookup_host which might
call nlm_gc_hosts which might, eventually, try to claim
file->f_sema for the same file -> deadlock.

nlmsvc_create_block does not need any protection under
any lock as lockd is single-threaded and _create_block
only plays with internal data structures.

So we release the f_sema before calling in, and make sure
it gets claimed again afterwards.

23 years ago[PATCH] kNFSd: Fix race in svcsock.c
Neil Brown [Fri, 14 Mar 2003 10:11:35 +0000 (02:11 -0800)]
[PATCH] kNFSd: Fix race in svcsock.c

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

knfsd needs to disable soft interrupts when calling
csum_partial_copy_to_xdr().

At the moment there's a nasty conflict between the RPC server and
client. The problem arises when you get to xdr_partial_copy_from_skb()
(and the kmap_atomic()); the RPC client can end up calling the same
function from a ->data_ready() soft interrupt, and corrupt any data
the knfsd process may have copied.

23 years ago[PATCH] kNFSd: Fix exit-without-free bug in nfsd
Neil Brown [Fri, 14 Mar 2003 10:11:30 +0000 (02:11 -0800)]
[PATCH] kNFSd: Fix exit-without-free bug in nfsd

23 years ago[PATCH] md: Add new superblock format for md
Neil Brown [Fri, 14 Mar 2003 10:09:26 +0000 (02:09 -0800)]
[PATCH] md: Add new superblock format for md

Superblock format '1' resolves a number of issues with
superblock format '0'.
It is more dense and can support many more sub-devices.
It does not contains un-needed redundancy.
It adds a few new useful fields

23 years ago[PATCH] md: Allow md to select between superblock formats
Neil Brown [Fri, 14 Mar 2003 10:09:20 +0000 (02:09 -0800)]
[PATCH] md: Allow md to select between superblock formats

The code to understand a specific superblock format is
already highly localised in md.  This patch defines a
user-space interface for selecting which superblock format
to use, and obeys that selection.

Md currently has a concept of 3 version numbers:
 A major version number
 A minor version number
 A patch version number

There historically seems to be some confusion about whether
these refer to a version of the superblock layout,
or a version of the software.

We will now define that:
   the "major_version" defines the superblock handler.
      '0' is the current superblock format.  All new formats
          will need new numbers.
   the "minor_version" can specify minor variations in the
      superblock, such as different location on the device
   the "patch_version" will be used to indicate new extenstions
      to the software.. patch_version=1 will mean multiple superblock
      support.

A superblock version number is selected by specifing major_version
in SET_ARRAY_INFO ioctl.

This patch:
  Updates Documentation/md.txt with details of new interface.
  Generalises desc_nr handling and makes sure that an array never
  has two devices with the same desc_nr.
  makes sure mddev->major_version is always valid and is 0 by default.
  uses mddev->major_version to select superblock handlers.
  Modifies set_array_info to just record version number if raid_disks==0
  Makes sure max_disks is always set correctly.
  Determines device size when reading superblock, or a hot-add/add-new.

23 years ago[PATCH] md: Allow components of MD raid array to have data start at offset from start...
Neil Brown [Fri, 14 Mar 2003 10:09:13 +0000 (02:09 -0800)]
[PATCH] md: Allow components of MD raid array to have data start at offset from start of device.

Normally the data stored on a component of a RAID array is stored
from the start of the device.  This patch allows a per-device
data_offset so the data can start elsewhere. This will allow
RAID arrays where the metadata is at the head of the device
rather than the tail.

23 years ago[PATCH] md: Fix bad interaction between sync checkpointing and recovery
Neil Brown [Fri, 14 Mar 2003 10:09:06 +0000 (02:09 -0800)]
[PATCH] md: Fix bad interaction between sync checkpointing and recovery

Md devices (raid1/raid5) can resync or recover.
There are similar but importantly different.
resync happens after an unclean shutdown
recovery happens when a failed drive is being replaced by a hot spare.

The sync-checkpoint code confused the two somewhat and this causes
problems.

This patch makes sure "recovery_cp" only relates to resync,
not recovery.
It also fixes a small problem with recording spares in
the superblock.

23 years ago[PATCH] md: Fulltime delayed 'safe_mode' for md
Neil Brown [Fri, 14 Mar 2003 10:09:01 +0000 (02:09 -0800)]
[PATCH] md: Fulltime delayed 'safe_mode' for md

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

If there are no writes for 20 milliseconds, write out superblock
to mark array as clean.  Write out superblock with
dirty flag before allowing any further write to succeed.

If an md thread gets signaled with SIGKILL, reduce the
delay to 0.

Also tidy up some printk's and make sure writing the
superblock isn't noisy.

23 years ago[PATCH] md: Remove md_recoveryd thread for md
Neil Brown [Fri, 14 Mar 2003 10:08:54 +0000 (02:08 -0800)]
[PATCH] md: Remove md_recoveryd thread for md

The md_recoveryd thread is responsible for initiating and cleaning
up resync threads.
This job can be equally well done by the per-array threads
for those arrays which might need it.

So the mdrecoveryd thread is gone and the core code that
it ran is now run by raid5d, raid1d or multipathd.

We add an MD_RECOVERY_NEEDED flag so those daemon don't have
to bother trying to lock the md array unless it is likely
that something needs to be done.

Also modify the names of all threads to have the number of
md device.

23 years ago[PATCH] md: Include asm-i386/387.h in asm-i386/xor.h
Neil Brown [Fri, 14 Mar 2003 10:08:47 +0000 (02:08 -0800)]
[PATCH] md: Include asm-i386/387.h in asm-i386/xor.h

It is needed for kernel_fpu_*

23 years ago[PATCH] md: Tidy up recovery_running flags in md
Neil Brown [Fri, 14 Mar 2003 10:08:40 +0000 (02:08 -0800)]
[PATCH] md: Tidy up recovery_running flags in md

Md uses ->recovery_running and ->recovery_err to keep track of the
status or recovery.  This is rather ad hoc and race prone.

This patch changes it to ->recovery which has bit flags for various
states.

23 years ago[PATCH] md: Opencode flush_curr_signals in md.c
Neil Brown [Fri, 14 Mar 2003 10:08:35 +0000 (02:08 -0800)]
[PATCH] md: Opencode flush_curr_signals in md.c

It is (now) too trivial to even have an inline.

23 years ago[PATCH] md: C99 initiailzers for xor.h
Neil Brown [Fri, 14 Mar 2003 10:08:28 +0000 (02:08 -0800)]
[PATCH] md: C99 initiailzers for xor.h

From: Art Haas <ahaas@airmail.net>

This patch converts the file to use C99 initializers.

23 years ago[PATCH] md: Convert /proc/mdstat to use seq_file
Neil Brown [Fri, 14 Mar 2003 10:08:21 +0000 (02:08 -0800)]
[PATCH] md: Convert /proc/mdstat to use seq_file

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

Mainly straightforward convert of sprintf -> seq_printf.  seq_start and
seq_next modelled on /proc/partitions.  locking/ref counting as for
ITERATE_MDDEV.

pos == 0 -> header
pos == n -> nth mddev
pos == 0x10000 -> tail

23 years ago[PATCH] md: Missing mddev_put in md resync code
Neil Brown [Fri, 14 Mar 2003 10:08:13 +0000 (02:08 -0800)]
[PATCH] md: Missing mddev_put in md resync code

Whenever a ITERATE_MDDEV loop is exitted abnormally
we need to mddev_put the current mddev.  There was
one point in md_do_sync where we didn't so use counts
became wrong.

23 years ago[hw_random] fixes and cleanups
Jeff Garzik [Thu, 13 Mar 2003 13:51:25 +0000 (08:51 -0500)]
[hw_random] fixes and cleanups

* s/Via/VIA/
* allow multiple simultaneous open(2)s of the chrdev.  This allows
us to eliminate some code, without modifying the core code (rng_dev_read)
at all.
* s/__exit// in ->cleanup ops, to eliminate link error

23 years ago[hw_random] add support for VIA Nehemiah RNG ("xstore" instruction)
Jeff Garzik [Thu, 13 Mar 2003 13:48:48 +0000 (08:48 -0500)]
[hw_random] add support for VIA Nehemiah RNG ("xstore" instruction)

23 years ago[ia32] cpu capabilities cleanups and additions
Jeff Garzik [Thu, 13 Mar 2003 13:47:27 +0000 (08:47 -0500)]
[ia32] cpu capabilities cleanups and additions

* Add support for new Centaur(VIA) and Intel cpuid feature bits,
  expanding the x86_capability array by two.
* (cleanup) Move cpu setup for newer Via C3 cpus into its own
  function, init_c3()
* Add support for RNG control msr on VIA Nehemiah
* export X86_FEATURE_XSTORE and cpu_has_xstore macros so that
  kernel code may easily test for cpu support of the new
  "xstore" instruction.

23 years ago[hw_random] update amd768_rng driver to be modular; add Intel support
Jeff Garzik [Thu, 13 Mar 2003 13:24:13 +0000 (08:24 -0500)]
[hw_random] update amd768_rng driver to be modular; add Intel support

Take Alan's amd768_rng driver, recently renamed to hw_random.c,
and convert it's very-simple structure to support multiple
types of hardware RNG.  Integrate Intel i8xx (ICH) RNG support.

23 years ago[hw_random] shuffle files in preparation for hw_random driver update
Jeff Garzik [Thu, 13 Mar 2003 13:20:33 +0000 (08:20 -0500)]
[hw_random] shuffle files in preparation for hw_random driver update

Delete drivers/char/i810_rng.c, superceded.
Rename Doc/i810_rng.txt to Doc/hw_random.txt.
Rename drv/char/amd768_rng.c to drv/char/hw_random.c.

23 years agoPPC32: Add a thread-pointer argument to the clone syscall, make a prepare_to_copy().
Paul Mackerras [Thu, 13 Mar 2003 09:28:56 +0000 (20:28 +1100)]
PPC32: Add a thread-pointer argument to the clone syscall, make a prepare_to_copy().

The thread-pointer argument gets copied to R2 in the child in copy_thread() if
the CLONE_SETTLS flag is set.  Adding a prepare_to_copy simplifies the copy_thread
logic since we don't have to do the extra copy of fpu/altivec state to the child.

23 years agoi2c: add driver model support to i2c adapter drivers
Greg Kroah-Hartman [Thu, 13 Mar 2003 08:39:40 +0000 (00:39 -0800)]
i2c: add driver model support to i2c adapter drivers

23 years agodriver core: Export the legacy_bus structure for drivers to use.
Greg Kroah-Hartman [Thu, 13 Mar 2003 08:37:27 +0000 (00:37 -0800)]
driver core: Export the legacy_bus structure for drivers to use.

23 years ago[PATCH] remove redundant local_irq_disable in bio_kmap_irq()
Jens Axboe [Thu, 13 Mar 2003 07:34:26 +0000 (23:34 -0800)]
[PATCH] remove redundant local_irq_disable in bio_kmap_irq()

23 years agoi2c: add i2c sysfs bus support.
Greg Kroah-Hartman [Thu, 13 Mar 2003 04:26:39 +0000 (20:26 -0800)]
i2c: add i2c sysfs bus support.

23 years agoi2c: i2c-piix4.c: Clean up the ibm dma scan logic
Greg Kroah-Hartman [Thu, 13 Mar 2003 04:16:52 +0000 (20:16 -0800)]
i2c: i2c-piix4.c: Clean up the ibm dma scan logic

Also export the is_unsafe_smbus variable, which is needed.

23 years agoi2c: get i2c-piix4 driver to actually bind to a PCI device.
Greg Kroah-Hartman [Thu, 13 Mar 2003 03:59:13 +0000 (19:59 -0800)]
i2c: get i2c-piix4 driver to actually bind to a PCI device.

23 years agoi2c: add bus driver for Intel PIIX4 devices
Greg Kroah-Hartman [Thu, 13 Mar 2003 03:52:26 +0000 (19:52 -0800)]
i2c: add bus driver for Intel PIIX4 devices

This is from the i2c CVS tree.

23 years agoi2c: get i2c-i801 driver to actually bind to a PCI device.
Greg Kroah-Hartman [Thu, 13 Mar 2003 03:38:03 +0000 (19:38 -0800)]
i2c: get i2c-i801 driver to actually bind to a PCI device.

23 years agoi2c: add bus driver for Intel 801 devices
Greg Kroah-Hartman [Thu, 13 Mar 2003 03:15:15 +0000 (19:15 -0800)]
i2c: add bus driver for Intel 801 devices

This is from the i2c CVS tree.

23 years agoi2c: get i2c-ali15x3 driver to actually bind to a PCI device.
Greg Kroah-Hartman [Thu, 13 Mar 2003 02:50:41 +0000 (18:50 -0800)]
i2c: get i2c-ali15x3 driver to actually bind to a PCI device.

23 years agoi2c: add bus driver for ALI15x3 devices
Greg Kroah-Hartman [Thu, 13 Mar 2003 02:31:07 +0000 (18:31 -0800)]
i2c: add bus driver for ALI15x3 devices

This is from the i2c CVS tree.

23 years agoPPC32: Replace 2 inline functions with their normal macro equivalents
Tom Rini [Wed, 12 Mar 2003 05:53:09 +0000 (22:53 -0700)]
PPC32: Replace 2 inline functions with their normal macro equivalents

23 years agoPPC32: Fix a problem with 'next' and 'step' type KGDB commands.
Mark A. Greer [Wed, 12 Mar 2003 05:48:12 +0000 (22:48 -0700)]
PPC32: Fix a problem with 'next' and 'step' type KGDB commands.

23 years agoError out for the case of a gcc-2.96 compiler with CONFIG_FRAME_POINTER
Linus Torvalds [Wed, 12 Mar 2003 01:13:31 +0000 (17:13 -0800)]
Error out for the case of a gcc-2.96 compiler with CONFIG_FRAME_POINTER
set. A few versions of gcc-2.96 generate seriously incorrect code.

23 years ago[PATCH] v4l: create include/media
Gerd Knorr [Tue, 11 Mar 2003 23:25:48 +0000 (15:25 -0800)]
[PATCH] v4l: create include/media

This patch creates a new include directory include/media, populates
it with a few files header files and fixups the affected drivers to
compile with the new directory layout.

The directory is intented to be used for (kernel-internal) header files
of the media drivers (which are sitting below drivers/media).  For now
the video-buf.h (mm helper), tuner.h (tv/radio tuner) and audiochip.h
(tv sound decoder drivers) header files are moved.  Some more header
files from the dvb folks will likely follow.

23 years ago[PATCH] v4l: crunch MIN/MAX macros.
Gerd Knorr [Tue, 11 Mar 2003 23:23:15 +0000 (15:23 -0800)]
[PATCH] v4l: crunch MIN/MAX macros.

This patch deletes the MIN/MAX macros from audiochip.h
and fixes all users of these macros to use the kernels
min/max macros instead.

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.