deliverable/linux.git
19 years ago[SCSI] allow sleeping in ->eh_abort_handler()
Jeff Garzik [Sat, 28 May 2005 11:54:40 +0000 (07:54 -0400)] 
[SCSI] allow sleeping in ->eh_abort_handler()

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] Remove no-op implementations of SCSI EH hooks
Jeff Garzik [Sat, 28 May 2005 11:52:51 +0000 (07:52 -0400)] 
[SCSI] Remove no-op implementations of SCSI EH hooks

Drivers need not implement a hook that returns FAILED, and does nothing
else, since the SCSI midlayer code will do that for us.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] Remove unnecessary locking around completion function calls
Jeff Garzik [Sat, 28 May 2005 11:47:39 +0000 (07:47 -0400)] 
[SCSI] Remove unnecessary locking around completion function calls

The SCSI ->done() hook should not be called from inside a spinlock.

Drivers that do this are mostly cut-n-paste from 2.2.x-era.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx: fix the BIOS limits setting routines
James Bottomley [Tue, 14 Jun 2005 01:58:56 +0000 (20:58 -0500)] 
[SCSI] aic7xxx: fix the BIOS limits setting routines

Following the go around over the SONY DVD that needs artificial limits,
this should be the correct code for all cases (minus the debugging
prints).

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix handling of port boxed and lun boxed fsf states
Andreas Herrmann [Mon, 13 Jun 2005 11:23:57 +0000 (13:23 +0200)] 
[SCSI] zfcp: fix handling of port boxed and lun boxed fsf states

From: Maxim Shchetynin <maxim@de.ibm.com>

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix module parameter parsing
Andreas Herrmann [Mon, 13 Jun 2005 11:22:25 +0000 (13:22 +0200)] 
[SCSI] zfcp: fix module parameter parsing

From: Heiko Carstens <heiko.carstens@de.ibm.com>

Fixes module parameter parsing for "device" parameter.  The original
module parameter was changed while parsing it.  This corrupted the
output in sysfs (/sys/module/zfcp/parameters/device).

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix bug during adapter shutdown
Andreas Herrmann [Mon, 13 Jun 2005 11:20:35 +0000 (13:20 +0200)] 
[SCSI] zfcp: fix bug during adapter shutdown

Fixes a race between zfcp_fsf_req_dismiss_all and
zfcp_qdio_reqid_check. During adapter shutdown it occurred that a
request was cleaned up twice. First during its normal
completion. Second when dismiss_all was called.  The fix is to
serialize access to fsf request list between zfcp_fsf_req_dismiss_all
and zfcp_qdio_reqid_check and delete a fsf request from the list if
its completion is triggered.  (Additionally a rwlock was replaced by a
spinlock and fsf_req_cleanup was eliminated.)

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix: problem in send_els_handler when D_ID assignment changes
Andreas Herrmann [Mon, 13 Jun 2005 11:18:56 +0000 (13:18 +0200)] 
[SCSI] zfcp: fix: problem in send_els_handler when D_ID assignment changes

From: Maxim Shchetynin <maxim@de.ibm.com>

Fixes a bug in zfcp_send_els_handler.  If D_ID assignments for ports
are changing between initiation of one ELS request and its completion
the wrong port might be accessed in the completion for that ELS
request. Thus a pointer to the port has to be passed for ELS requests
to identify the port structure if required.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix: mark fsf request failed when receiving unknown status qualifier
Andreas Herrmann [Mon, 13 Jun 2005 11:17:44 +0000 (13:17 +0200)] 
[SCSI] zfcp: fix: mark fsf request failed when receiving unknown status qualifier

From: Maxim Shchetynin <maxim@de.ibm.com>

Correct a bug in zfcp_fsf_send_fcp_command_handler.  An fsf request
was not marked as failed if an unknown status qualifier was returned.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix: reopen port only if link-test fails
Andreas Herrmann [Mon, 13 Jun 2005 11:16:27 +0000 (13:16 +0200)] 
[SCSI] zfcp: fix: reopen port only if link-test fails

From: Maxim Shchetynin <maxim@de.ibm.com>

Reopen a remote port only if the link-test fails. This avoids that a
port is unnecessarily reopened.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix: allow more time for adapter initialization
Andreas Herrmann [Mon, 13 Jun 2005 11:15:15 +0000 (13:15 +0200)] 
[SCSI] zfcp: fix: allow more time for adapter initialization

From: Maxim Shchetynin <maxim@de.ibm.com>

Extend the time for adapter initialization: In case of protocol
status HOST_CONNECTION_INITIALIZING for the exchange config data
command do a first retry in 1 second, then double the sleep time for
each following retry until recovery exceeds 2 minutes. The old
behaviour of allowing 6 retries with .5 seconds delay between retries
was insufficient and qdio queues were shut down too erarly.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: fix wrong handling of failed requests for GID_PN command
Andreas Herrmann [Mon, 13 Jun 2005 11:13:45 +0000 (13:13 +0200)] 
[SCSI] zfcp: fix wrong handling of failed requests for GID_PN command

Fixes the handling of failed requests for GID_PN nameserver command:
Set ZFCP_STATUS_PORT_INVALID_WWPN only if indicated by response
payload for GID_PN nameserver command and not if fsf request fails.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx: clean up eisa support
Christoph Hellwig [Fri, 10 Jun 2005 22:17:03 +0000 (00:17 +0200)] 
[SCSI] aic7xxx: clean up eisa support

 - the eisa layer only probes when it's actually safe, no need for
   a driver option
 - store the id table directly in linux format instead of convering
   at runtime

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx: remove some dead wood
Christoph Hellwig [Fri, 10 Jun 2005 22:13:30 +0000 (00:13 +0200)] 
[SCSI] aic7xxx: remove some dead wood

especially the now dead scsi_cmnd overlay

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx: remove ahc_find_softc
Christoph Hellwig [Fri, 10 Jun 2005 22:14:30 +0000 (00:14 +0200)] 
[SCSI] aic7xxx: remove ahc_find_softc

there's absolutely no reason not to trust the driver private data

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] zfcp: remove flags_dump feature
Andreas Herrmann [Fri, 10 Jun 2005 08:16:33 +0000 (10:16 +0200)] 
[SCSI] zfcp: remove flags_dump feature

Removes the rarely used "flags_dump" mechanism of zfcp.

Equivalent debug information will be provided with a reworking of
zfcp's s390dbf-facilities which is in preparation.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] cciss 2.6 DMA mapping
mike.miller@hp.com [Fri, 10 Jun 2005 19:51:04 +0000 (14:51 -0500)] 
[SCSI] cciss 2.6 DMA mapping

Patch removes our homegrown DMA masks and uses the ones defined in the kernel.
This patch replaces the broken one I sent in earlier. It has been tested and works. Please discard the first submission.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx: do not check for duplicate pci ids
Christoph Hellwig [Fri, 10 Jun 2005 22:15:31 +0000 (00:15 +0200)] 
[SCSI] aic7xxx: do not check for duplicate pci ids

pci layer handles this just fine for us

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx/aic79xx: remove useless byte order macro cruft
Christoph Hellwig [Fri, 10 Jun 2005 22:26:00 +0000 (00:26 +0200)] 
[SCSI] aic7xxx/aic79xx: remove useless byte order macro cruft

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] 2.6 aacraid: updated sysfs files
Mark Haverkamp [Wed, 1 Jun 2005 17:24:38 +0000 (10:24 -0700)] 
[SCSI] 2.6 aacraid: updated sysfs files

This patch adds some files into the /sys/class/scsi_host/hostN
directories for aacraid adapters:

model
vendor
hba_kernel_version
hba_monitor_version
hba_bios_version
serial_number

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] update spi transport class so that u320 Domain Validation works
James Bottomley [Tue, 31 May 2005 23:35:39 +0000 (18:35 -0500)] 
[SCSI] update spi transport class so that u320 Domain Validation works

There are several extra things that have to be considered when running
Domain Validation on a u320 target (notably how you fall back).

Hopefully this should help us when someone adds this transport class to
aic79xx.

I've tested this on the lsi1030, so I know it works correctly up to
u320.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] fix aic7xxx coupled parameter problem
James Bottomley [Fri, 3 Jun 2005 14:49:01 +0000 (09:49 -0500)] 
[SCSI] fix aic7xxx coupled parameter problem

For setting coupled parameters, we need to be comparing against the goal
settings, not the current ones.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] sg: Command completion after remove oops
brking@us.ibm.com [Tue, 24 May 2005 14:49:59 +0000 (09:49 -0500)] 
[SCSI] sg: Command completion after remove oops

A problem exists todayin the sg driver that if an SG_IO request is
outstanding to a device when it is removed from the system. The
system may oops if that command completes later in time.

1. sg_remove gets called
2. sg_remove calls sg_finish_req_req on all pending requests
   This removes the Sg_request's from the headrp list in the Sg_fd
3. The sleeping SG_IO ioctl is woken. It does nothing and returns.
4. The caller closes the fd, which invokes sg_release
5. sg_release calls sg_remove_sfp. It finds no outstanding commands
   since the headrp list is empty, so it calls __sg_remove_sfp,
   which frees the sfp.
6. Now when sg_cmd_done gets called, sg uses upper_private_data in
   the Scsi_Request, which should point to the srp, which has been
   freed, so it points to freed memory.
7. sg then dereferences the srp pointer to get the sfp, and we oops.

The fix is to NULL out the upper_private_data field in this path,
which sg_cmd_done already checks for, which will prevent the oops
from occurring.

cpu 0x1: Vector: 300 (Data Access) at [c00000000fff7aa0]
    pc: d0000000002bbea8: .sg_cmd_done+0x70/0x394 [sg]
    lr: d000000000073304: .scsi_finish_command+0x10c/0x130 [scsi_mod]
    sp: c00000000fff7d20
   msr: 8000000000009032
   dar: 2f70726f63202f78
 dsisr: 40000000
  current = 0xc0000000024589b0
  paca    = 0xc0000000003da800
    pid   = 7, comm = events/1
[c00000000fff7dc0d000000000073304 .scsi_finish_command+0x10c/0x130 [scsi_mod]
[c00000000fff7e50d00000000007317c .scsi_softirq+0x140/0x168 [scsi_mod]
[c00000000fff7ef0c0000000000634dc .__do_softirq+0xa0/0x17c
[c00000000fff7f90c000000000018430 .call_do_softirq+0x14/0x24
[c00000000ed472e0c0000000000142e0 .do_softirq+0x74/0x9c
[c00000000ed47370c000000000013c9c .do_IRQ+0xe8/0x100
[c00000000ed473f0c00000000000ae34 HardwareInterrupt_entry+0x8/0x54

c00000000003df28 .smp_call_function+0
x100/0x1d0
[c00000000ed47780c0000000000ba99c .invalidate_bh_lrus+0x30/0x70
[c00000000ed47810c0000000000b91a0 .invalidate_bdev+0x18/0x3c
[c00000000ed478a0c0000000000da7b8 .__invalidate_device+0x70/0x94
[c00000000ed47930c0000000001d40bc .invalidate_partition+0x4c/0x7c
[c00000000ed479c0c00000000010a944 .del_gendisk+0x48/0x15c
[c00000000ed47a50d00000000003d55c .sd_remove+0x34/0xe4 [sd_mod]
[c00000000ed47ae0c0000000001c5d30 .device_release_driver+0x90/0xb4
[c00000000ed47b70c0000000001c6130 .bus_remove_device+0xb0/0x12c
[c00000000ed47c00c0000000001c4378 .device_del+0x120/0x198
[c00000000ed47ca0d00000000007dcdc .scsi_remove_device+0xb4/0x194 [scsi_mod]
[c00000000ed47d30d0000000000a5864 .ipr_worker_thread+0x1d4/0x27c [ipr]
[c00000000ed47dd0c0000000000734c4 .worker_thread+0x238/0x2f4
[c00000000ed47ee0c0000000000796c0 .kthread+0xcc/0x11c
[c00000000ed47f90c000000000018ad0 .kernel_thread+0x4c/0x6c

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] aic7xxx: remove separate target and device allocations
James Bottomley [Tue, 24 May 2005 22:15:43 +0000 (17:15 -0500)] 
[SCSI] aic7xxx: remove separate target and device allocations

Since the aic driver is now taught to speak in terms of the generic
linux devices, we can now also dispense with the transport class get
routines (since we update the parameters when the driver sees they
change) and also plumb it into the spi transport transfer agreement
reporting infrastructure.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years agoAutomatic merge of ../scsi-misc-2.6-old/
James Bottomley [Thu, 26 May 2005 18:14:55 +0000 (14:14 -0400)] 
Automatic merge of ../scsi-misc-2.6-old/

19 years agoMerge of 'misc-fixes' branch from
Linus Torvalds [Thu, 26 May 2005 17:02:30 +0000 (10:02 -0700)] 
Merge of 'misc-fixes' branch from

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev

19 years ago[SCSI] allow the HBA to reserve target and device private areas
James Bottomley [Tue, 24 May 2005 21:57:31 +0000 (16:57 -0500)] 
[SCSI] allow the HBA to reserve target and device private areas

This patch basically allows any HBA attached to the SPI transport class
to declare an extra area which the mid-layer will allocate as part of
its device and target allocations.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] git-scsi-misc-sbp2-warning-fix
Andrew Morton [Tue, 24 May 2005 09:05:24 +0000 (02:05 -0700)] 
[SCSI] git-scsi-misc-sbp2-warning-fix

drivers/ieee1394/sbp2.c: In function `sbp2_check_sbp2_response':
drivers/ieee1394/sbp2.c:2154: warning: unused variable `device_type'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] Add target alloc/destroy callbacks to the host template
James Bottomley [Tue, 24 May 2005 17:06:38 +0000 (12:06 -0500)] 
[SCSI] Add target alloc/destroy callbacks to the host template

This gives the HBA driver notice when a target is created and
destroyed to allow it to manage its own target based allocations
accordingly.

This is a much reduced verson of the original patch sent in by
James.Smart@Emulex.com

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[PATCH] timeout at boottime with NEC3500A (and possibly others) when inserted a CD...
Marcello Maggioni [Thu, 26 May 2005 13:47:35 +0000 (15:47 +0200)] 
[PATCH] timeout at boottime with NEC3500A (and possibly others) when inserted a CD in it

From: Marcello Maggioni <hayarms@gmail.com>

Problem: Some drives (NEC 3500, TDK 1616N, Mad-dog MD-16XDVD9, RICOH
MP5163DA, Memorex DVD9 drive and IO-DATA's too for sure), if a
CD/DVD is inserted into the tray when the system is booted and if
before the OS bootup the BIOS checked for the presence of a bootable
CD/DVD into the drive, during the IDE probe phase the drive may
result busy and remain so for the next 25/30 seconds . This cause the
drive to be skipped during the booting phase and not begin usable
until the next reboot (if the reboot goes well and the drive doesn't
timeout again).

Solution: Rising the timeout time from 10 seconds to 35 seconds
(during these 35 seconds every drive should wake up for sure
according to the tests I've done).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
19 years ago[SCSI] TYPE_RBC cache fixes (sbp2.c affected)
Al Viro [Mon, 16 May 2005 00:59:55 +0000 (01:59 +0100)] 
[SCSI] TYPE_RBC cache fixes (sbp2.c affected)

a) TYPE_SDAD renamed to TYPE_RBC and taken to scsi.h
b) in sbp2.c remapping of TYPE_RPB to TYPE_DISK turned off
c) relevant places in midlayer and sd.c taught to accept TYPE_RBC
d) sd.c::sd_read_cache_type() looks into page 6 when dealing with
TYPE_RBC - these guys have writeback cache flag there and are not guaranteed
to have page 8 at all.
e) sd_read_cache_type() got an extra sanity check - it checks that
it got the page it asked for before using its contents.  And screams if
mismatch had happened.  Rationale: there are broken devices out there that
are "helpful" enough to go for "I don't have a page you've asked for, here,
have another one".  For example, PL3507 had been caught doing just that...
f) sbp2 sets sdev->use_10_for_rw and sdev->use_10_for_ms instead
of bothering to remap READ6/WRITE6/MOD_SENSE, so most of the conversions
in there are gone now.

Incidentally, I wonder if USB storage devices that have no
mode page 8 are simply RBC ones.  I haven't touched that, but it might
be interesting to check...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[SCSI] sym2 version 2.2.1
Matthew Wilcox [Fri, 20 May 2005 18:15:43 +0000 (19:15 +0100)] 
[SCSI] sym2 version 2.2.1

sym2 version 2.2.1:
 - Fix MMIO BAR detection (Thanks to Bob Picco)
 - Fix odd-sized transfers with a wide bus (Thanks to Larry Stephens)
 - Write posting fixes (Thanks to Thibaut Varene)
 - Change one of the GFP_KERNEL allocations back into a GFP_ATOMIC
 - Make CCB_BA() return a script-endian address
 - Move range checks and disabling of devices from the queuecommand path
   to slave_alloc()
 - Remove a warning in sym_setup_cdb()
 - Keep a pointer to the scsi_target instead of the scsi_dev in the tcb
 - Remove a check for the upper layers passing an oversized cmd
 - Replace CAM_REQ_ constants with the Linux DID_ constants
 - Replace CAM_DIR_ constants with the Linux DMA_ constants
 - Inline sym_read_parisc_pdc() on non-parisc systems

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
19 years ago[PATCH] ide-scsi: kmap scatter/gather before doing PIO
Stuart Hayes [Thu, 26 May 2005 13:38:45 +0000 (15:38 +0200)] 
[PATCH] ide-scsi: kmap scatter/gather before doing PIO

From: Stuart Hayes <Stuart_Hayes@dell.com>

The system can panic with a null pointer dereference using ide-scsi if
PIO is being done on scatter gather pages that are in high memory,
because page_address() returns 0.  We are actually seeing this using a
tape drive.  This patch will kmap_atomic() the pages before performing
PIO.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
19 years ago[PATCH] convert IDE device drivers to driver-model
Bartlomiej Zolnierkiewicz [Thu, 26 May 2005 12:55:34 +0000 (14:55 +0200)] 
[PATCH] convert IDE device drivers to driver-model

* add ide_bus_match() and export ide_bus_type
* split ide_remove_driver_from_hwgroup() out of ide_unregister()
* move device cleanup from ide_unregister() to drive_release_dev()
* convert ide_driver_t->name to driver->name
* convert ide_driver_t->{attach,cleanup} to driver->{probe,remove}
* remove ide_driver_t->busy as ide_bus_type->subsys.rwsem
  protects against concurrent ->{probe,remove} calls
* make ide_{un}register_driver() void as it cannot fail now
* use driver_{un}register() directly, remove ide_{un}register_driver()
* use device_register() instead of ata_attach(), remove ata_attach()
* add proc_print_driver() and ide_drivers_show(), remove ide_drivers_op
* fix ide_replace_subdriver() and move it to ide-proc.c
* remove ide_driver_t->drives, ide_drives and drives_lock
* remove ide_driver_t->drivers, drivers and drivers_lock
* remove ide_drive_t->driver and DRIVER() macro

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
19 years ago[PATCH] libata: Fix zero sg_dma_len() on 64-bit platform
Albert Lee [Thu, 26 May 2005 07:49:42 +0000 (03:49 -0400)] 
[PATCH] libata: Fix zero sg_dma_len() on 64-bit platform

When testing ATAPI PIO data transfer on the ppc64 platform,  __atapi_pio_bytes() got zero when
sg_dma_len() is used. I checked the <asm-ppc64/scatterlish.h>, the struct scatterlist is defined as:

struct scatterlist {
struct page *page;
unsigned int offset;
unsigned int length;

/* For TCE support */
u32 dma_address;
u32 dma_length;
};

#define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->dma_length)

So, if the scatterlist is not DMA mapped, sg_dma_len() will return zero on ppc64.
The same problem should occur on the x86-64 platform.
On the i386 platform, sg_dma_len() returns sg->length, that's why the problem does not occur on an i386.

Changes:
- Use sg->length if the scatterlist is not DMA mapped (yet).

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
19 years agoMerge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Thu, 26 May 2005 01:01:26 +0000 (18:01 -0700)] 
Merge ... /linux/kernel/git/davem/sparc-2.6

19 years agoMerge of 'new-ids' branch from
Linus Torvalds [Thu, 26 May 2005 00:56:57 +0000 (17:56 -0700)] 
Merge of 'new-ids' branch from

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev

19 years ago[PATCH] sata_promise: add PCI ID for FastTrak TX2200 2-ports
Francisco Javier [Wed, 25 May 2005 23:29:37 +0000 (19:29 -0400)] 
[PATCH] sata_promise: add PCI ID for FastTrak TX2200 2-ports

19 years ago[PATCH] sata_sil: new ID 1002:437A for ATI IXP400
NAKAMURA Kenta [Wed, 25 May 2005 23:28:38 +0000 (19:28 -0400)] 
[PATCH] sata_sil: new ID 1002:437A for ATI IXP400

19 years ago[PATCH] therm_adt746x: show correct sensor locations
Colin Leroy [Wed, 25 May 2005 19:31:35 +0000 (12:31 -0700)] 
[PATCH] therm_adt746x: show correct sensor locations

This patch shows the correct locations of the heat sensors present in iBook
and PowerBooks G4, instead of displaying them as being on CPU and GPU
(which is not always the case).

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] Make sure therm_adt746x only handles known hardware
Colin Leroy [Wed, 25 May 2005 19:31:34 +0000 (12:31 -0700)] 
[PATCH] Make sure therm_adt746x only handles known hardware

This patch limits therm_adt746x to currently existing fan controllers in
Apple laptops.  It may avoid problems with future hardware.

Signed-off-by: Colin Leroy <colin@colino.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] IB: fix endianness of path record MTU field
Roland Dreier [Wed, 25 May 2005 19:31:31 +0000 (12:31 -0700)] 
[PATCH] IB: fix endianness of path record MTU field

Make MTU field in SA PathRecord and MCMemberRecord a u8 rather than an enum
to avoid complications with endianness.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] IB: fix potential ib_umad leak
Roland Dreier [Wed, 25 May 2005 19:31:30 +0000 (12:31 -0700)] 
[PATCH] IB: fix potential ib_umad leak

Free all unclaimed MAD receive buffers when userspace closes our file so we
don't leak memory.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] IB: allow NULL sa_query callbacks
Roland Dreier [Wed, 25 May 2005 19:31:29 +0000 (12:31 -0700)] 
[PATCH] IB: allow NULL sa_query callbacks

Check if a client passes a NULL callback into an SA query, and if so, never
call back.  This fixes an oops if someone unloads ib_ipoib and ib_sa in
rapid succession.  ib_ipoib does an MCMember delete with a NULL callback
and 0 timeout on unload, which is usually fine since the delete completes
successfully.  However, if ib_sa is unloaded immediately afterwards, the
delete will be canceled and ib_sa will try to call the (now already
unloaded) ib_ipoib module back with the cancel completion, which triggers
the oops.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] x86_64: CONFIG_BUG=n fixes
Alexander Nyberg [Wed, 25 May 2005 19:31:28 +0000 (12:31 -0700)] 
[PATCH] x86_64: CONFIG_BUG=n fixes

Fixes some !CONFIG_BUG warnings:
include/asm/mmu_context.h: I funktion `switch_mm':
include/asm/mmu_context.h:57: varning: implicit declaration of function `out_of_line_bug'

Signed-off-by: Alexander Nyberg <alexn@telia.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] ipmi build fix
Neil Horman [Wed, 25 May 2005 19:31:27 +0000 (12:31 -0700)] 
[PATCH] ipmi build fix

It looks like the recent IPMI patches had some -mm-onlyisms.

Signed-off-by: Neil Horman <nhorman@redhat.com>
Cc: Corey Minyard <minyard@acm.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] v4l: bttv i2c oops fix
Gerd Knorr [Wed, 25 May 2005 19:31:26 +0000 (12:31 -0700)] 
[PATCH] v4l: bttv i2c oops fix

Don't try to access the i2c bus if the register wasn't successful.

Signed-off-by: Gerd Knorr <kraxel@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge of /home/davem/src/GIT/linux-2.6/.git/
David S. Miller [Wed, 25 May 2005 21:58:04 +0000 (14:58 -0700)] 
Merge of /home/davem/src/GIT/linux-2.6/.git/

19 years agoMerge of 'for-linus' branch from
Linus Torvalds [Wed, 25 May 2005 21:01:50 +0000 (14:01 -0700)] 
Merge of 'for-linus' branch from

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

19 years agoAutomatic merge of /spare/repo/netdev-2.6 branch amd8111