2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/drivers/message/i2o
Vasily Averin 1725d71d99 i2o_cfg_passthru cleanup
This patch fixes a number of issues in i2o_cfg_passthru{,32}:
- i2o_msg_get_wait() return vaile is not checked;
- i2o_message memory leaks on error paths;
- infinite loop to sg_list_cleanup in passthru32

It's important issue because of i2o_cfg_passthru is used by raidutils for
monitorig controllers state, and in case of memory shortage it leads to the
node crash or disk IO stall.

[akpm@linux-foundation.org: fix null-ptr deref]
Signed-off-by: Vasily Averin <vvs@sw.ru>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Acked-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:23:06 -07:00
..
bus-osm.c [PATCH] kernel-doc: fix fusion and i2o docs 2006-12-07 08:39:40 -08:00
config-osm.c [PATCH] I2O: Optimizing 2006-01-06 08:33:54 -08:00
core.h [PATCH] i2o_exec_exit and i2o_driver_exit should not be __exit. 2006-12-13 09:05:47 -08:00
debug.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
device.c Use mutexes instead of semaphores in I2O driver 2007-07-16 09:05:41 -07:00
driver.c i2o: eliminate a peculiar constraint on i2o_max_drivers 2007-05-23 20:14:14 -07:00
exec-osm.c Use mutexes instead of semaphores in I2O driver 2007-07-16 09:05:41 -07:00
i2o_block.c [PATCH] i2o: block IO errors on i2o disk 2007-03-27 09:05:16 -07:00
i2o_block.h [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
i2o_config.c i2o_cfg_passthru cleanup 2007-07-17 10:23:06 -07:00
i2o_proc.c [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
i2o_scsi.c [SCSI] i2o: convert to use the data buffer accessors 2007-06-17 15:01:54 -05:00
iop.c Use mutexes instead of semaphores in I2O driver 2007-07-16 09:05:41 -07:00
Kconfig Introduce CONFIG_VIRT_TO_BUS 2007-07-16 09:05:42 -07:00
Makefile [PATCH] I2O: new sysfs attributes and Adaptec specific block device access and 64-bit DMA support 2005-06-24 00:05:28 -07:00
pci.c [PATCH] kernel-doc: fix fusion and i2o docs 2006-12-07 08:39:40 -08:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README.ioctl spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00

	Linux I2O Support	(c) Copyright 1999 Red Hat Software
					and others.

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version
	2 of the License, or (at your option) any later version.

AUTHORS (so far)

Alan Cox, Building Number Three Ltd.
	Core code, SCSI and Block OSMs

Steve Ralston, LSI Logic Corp.
	Debugging SCSI and Block OSM

Deepak Saxena, Intel Corp.
	Various core/block extensions
	/proc interface, bug fixes
	Ioctl interfaces for control
	Debugging LAN OSM

Philip Rumpf
	Fixed assorted dumb SMP locking bugs

Juha Sievanen, University of Helsinki Finland
	LAN OSM code
	/proc interface to LAN class
	Bug fixes
	Core code extensions

Auvo Häkkinen, University of Helsinki Finland
	LAN OSM code
	/Proc interface to LAN class
	Bug fixes
	Core code extensions

Taneli Vähäkangas, University of Helsinki Finland
	Fixes to i2o_config

CREDITS

	This work was made possible by 

Red Hat Software
	Funding for the Building #3 part of the project

Symbios Logic (Now LSI)
	Host adapters, hints, known to work platforms when I hit
	compatibility problems

BoxHill Corporation
	Loan of initial FibreChannel disk array used for development work.

European Comission
	Funding the work done by the University of Helsinki

SysKonnect
        Loan of FDDI and Gigabit Ethernet cards

ASUSTeK
        Loan of I2O motherboard 

STATUS:

o	The core setup works within limits.
o	The scsi layer seems to almost work. 
           I'm still chasing down the hang bug.
o	The block OSM is mostly functional
o	LAN OSM works with FDDI and Ethernet cards.

TO DO:

General:
o	Provide hidden address space if asked
o	Long term message flow control
o	PCI IOP's without interrupts are not supported yet
o	Push FAIL handling into the core
o	DDM control interfaces for module load etc
o       Add I2O 2.0 support (Deffered to 2.5 kernel)

Block:
o	Multiple major numbers
o	Read ahead and cache handling stuff. Talk to Ingo and people
o	Power management
o	Finish Media changers

SCSI:
o	Find the right way to associate drives/luns/busses

Lan:	
o	Performance tuning
o	Test Fibre Channel code

Tape:
o	Anyone seen anything implementing this ?
           (D.S: Will attempt to do so if spare cycles permit)