[PATCH] move over exposing host attributes from sg/procfs to sysfs
This patch moves over printing of the various struct Scsi_Host
attributes from procfs functions in the sg driver to sysfs.
Not only is this the much more logical place for them, but with some
more work on the pcmcia drivers this will allow us to make
scsi_host_get_next() private to the midlayer for implementing
refcounting and cleaning up locking in that area.
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.
Douglas Gilbert [Fri, 21 Feb 2003 03:26:07 +0000 (21:26 -0600)]
[PATCH] scsi_mid_low_api.txt
Attached is an update for this document following on from
the changes that Christoph made around bk2 (changing
scsi_set_pci_device() to scsi_set_device() ).
(1) don't include eata_dma_proc.h - it's gone and we don't need it
(2) remove eata_pio_proc.c - it's #included in the main source file,
so the functions can be there aswell
(3) move host template away from eata_pio.h
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.