Stelian Pop [Fri, 21 Feb 2003 05:52:12 +0000 (21:52 -0800)]
[PATCH] sonypi and input subsystem
This makes the sonypi driver forward the VAIO jog-dial events directly
to the input subsystem as mouse wheel events. This way one is not
required anymore to have an external daemon polling /dev/sonypi if
interested only in jogdial events.
Linus Torvalds [Fri, 21 Feb 2003 01:55:12 +0000 (17:55 -0800)]
We don't need to wait for task in-activity in release_task() any more,
since we now properly reference-count the allocations and thus can't
be freeing the thread structures from underneath the task running on
another CPU.
Move "free_uid(p->user)" and "security_task_free()" to __put_task_struct(),
so that we're guaranteed to always have a user structure pointer.
Pamela Delaney [Fri, 21 Feb 2003 01:19:11 +0000 (17:19 -0800)]
[PATCH] Fusion Driver 2.05.00.03 against 2.5.62bk3
Please accept this large patch against 2.5.62bk4 to update the
Fusion-MPT driver from 2.03.01.01 to 2.05.00.03.
This version contains full 2.5 kernel support (add, configuration &
removal of disks, new module hooks), performance enhancements, removal
of obsolete code that is 2.4 (or earlier) specific and removal of blank
spaces at end of lines. Tested overnight on 2.5.62bk3 and ran some
tests against bk4 this morning on both machines. Things appear to be
fine - have not tested the two failure conditions today.
The driver has been tested on two different platforms:
- P4 4-processor
o boot controller
o built into kernel
o disk add, configure, remove
o bus, target reset
o device offline cases
o cross channel I/O stress tests w/ Fibre and SCSI
- Athlon uniprocessor, IDE boot
o Ran a test that repeatedly loads the driver, mounts disks, runs a
short I/O test (20mins) then unload the driver components in a
different order
Failures:
o Unable to boot if boot controller is built as a module - pivot_root
fails (Happens if IDE or SCSI boot)
o Problems when formatting large SCSI disks. On P4 w/ 2.5.60, there
were no difficulties formatting a 36GB disk. On Athlon, mkfs.ext2
would never send a write command to the driver (verified w/ SCSI
trace and driver debug). Reads completed successfully. mkfs.ext2
would not exit and is shown as a running process.
Smaller partitions were formatted correctly. W/ 2.5.62 failures on
P4 and Athlon.
Andrew Morton [Thu, 20 Feb 2003 05:45:35 +0000 (21:45 -0800)]
[PATCH] Don't call mmdrop under a spinlock
We're calling mmdrop() under spin_lock_irq(&rq->lock). But mmdrop
calls vfree(), which calls smp_call_function().
It is not legal to call smp_call_function() with irq's off. Because
another CPU may be running smp_call_function() against _this_ CPU, which
deadlocks.
So the patch arranges for mmdrop() to not be called under
spin_lock_irq(&rq->lock).
Andrew Morton [Thu, 20 Feb 2003 05:19:00 +0000 (21:19 -0800)]
[PATCH] Keep interrupts enabled in exit path
We are leaving local interrupts disabled coming out of exit_notify().
But we are about to call wait_task_inactive() which spins, waiting for
another CPU to end a task. If that CPU has issued smp_call_function() to
this CPU, deadlock.
So the patch enables interrupts again before returning from exit_notify().
Also, exit_notify() returns with preemption disabled, so there is no
need to perform another preempt_disable() in do_exit().
Adam Belay [Wed, 19 Feb 2003 17:35:42 +0000 (17:35 +0000)]
PnPBIOS Updates
Fixes a very tricky GPF bug that caused crashes on a few buggy systems,
especially laptops. For those interested, PnPBIOS now reserves
segement 0x40 before any call. Also it updates the driver to use the
new parsing functions.
Adam Belay [Wed, 19 Feb 2003 17:00:08 +0000 (17:00 +0000)]
Moves the resource parsing functions to a new location "support.c". These
resource parsing functions contain many improvements including the ability
to set resources according to actual value rather than dependent functions.
The interface changes will be able to take advantage of this.
Adam Belay [Wed, 19 Feb 2003 16:56:09 +0000 (16:56 +0000)]
This patch contains an improved resource management algorithm. It is
capable of resolving nearly any conflict between two or more PnP devices.
It also contains better error reporting and a manual override capability.
Linus Torvalds [Wed, 19 Feb 2003 09:48:59 +0000 (01:48 -0800)]
Add doublefault handling with a task gate.
This potentially helps debugging, since otherwise a double fault
would generate a triple fault and then reboot the machine. Now
instead it can print out a note about where the problem happened,
unless all the kernel data structures are truly buggered.
This patch removes the devfs interface code in mtrr that has been
stubbed out by an ifdef forever. It's one of the few remaining users
of regular files on devfs so there's some urge for me to get rid of it :)
small updates to bring us nearer the lm_Sensors CVS (docs, comments,
missing statics, named initializers). I still need to review their
actual code changes before submitting those..
[XFS] Under heavy load, there are not enough hash buckets to deal with
the number of metadata buffers. Use the same techniques as the
regular linux buffer cache here.
use more hash buckets for holding xfs metadata, and use the same
hash algorithm as the regular buffer cache.
Glen Overby [Wed, 19 Feb 2003 19:26:14 +0000 (20:26 +0100)]
[XFS] fix one more set of transaction callback ordering issues,
this was always there, but exposed by the last change in
this area and made much more likely.
Nathan Scott [Wed, 19 Feb 2003 19:19:52 +0000 (20:19 +0100)]
[XFS] Extra check on the mount path - ensure we don't attempt to mount XFS fs's
with sector sizes smaller than those the device supports. Tripped a BUG
in pagebuf, should now be resolved.
Greg Ungerer [Tue, 18 Feb 2003 13:47:55 +0000 (05:47 -0800)]
[PATCH] create an architecture specific flat header for m68knommu
Add a per-architecture flat.h flat format executable header. The idea is
to support the different options required in a clean way. For starters
we need to be able to configure the initial stack layout, and this
differs for different CPU types.
This first patch adds the header for the m68knommu architecture.
Greg Ungerer [Tue, 18 Feb 2003 13:47:47 +0000 (05:47 -0800)]
[PATCH] fix text and data sizing in MMUless task_nommu.c
This patch does a couple of things to the MMUless proc support:
1. change current->sig to current->sighand
2. initialize vsize var in task_vsize() function
3. correctly set *text and *data values in task_vsize() function
Greg Ungerer [Tue, 18 Feb 2003 13:47:26 +0000 (05:47 -0800)]
[PATCH] use local RODATA setup for m68knommu linker script
This patch removes the use of the common RODATA define in the m68knommu
architecture. It cannot be used the same way for the m68knommu target.
For starters just inserting it here is syntactically wrong. All the read
only parts are grouped into a single "text" segment, and this is the root
cause of the problem. So for the m68knommu arch it makes sense to not
use the generic RODATA setup, but to list them locally.
This patch reformats the 68360 crt_ram.S file to make it consistent
with the other m68knommu assembler files, and generally to good
style standards :-)
Greg Ungerer [Tue, 18 Feb 2003 13:47:11 +0000 (05:47 -0800)]
[PATCH] inline unsued functions for MMUless configuration
This patch adds inline versions of init_emergency_isa_pool() and
blk_queue_bounce() for MMUless builds. This patch was originally
from Christoph Hellwig, as part of the MMUless merge.
Greg Ungerer [Tue, 18 Feb 2003 13:47:03 +0000 (05:47 -0800)]
[PATCH] include the architecture flat file header in common flat header
This patch adds support into the common flat.h header to include
the architecture specific flat.h header. This is modelled on the
same scheme as the elf include header file support.
Greg Ungerer [Tue, 18 Feb 2003 13:46:56 +0000 (05:46 -0800)]
[PATCH] create an architecture specific flat header for v850
This patch adds a v850 architecture specific flat file header.
It supports the stack layout define needed by the flat format
load binfmt_flat.c (for MMUless CPU's).
Greg Ungerer [Tue, 18 Feb 2003 13:46:48 +0000 (05:46 -0800)]
[PATCH] reformat m68knommu 68328/pilot crt0_rom.S
This patch reformats the 68328/pilot crt_rom.S file to make it consistent
with the other m68knommu assembler files, and generally to good style
standards :-)
Greg Ungerer [Tue, 18 Feb 2003 13:46:41 +0000 (05:46 -0800)]
[PATCH] create common vector setup code for m68knommu/ColdFire
This patch creates a common set of vector code for the ColdFire
sub-architecture of the m68knommu architecture. The basic setup
code for all ColdFire CPU's is the same. Some more patches will
follow this that remove theis common code from each of the
ColdFire CPU configs.