]> git.hungrycats.org Git - linux/log
linux
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 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 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.

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.