android_kernel_xiaomi_sm8350/drivers/scsi/megaraid
Noriyuki Fujii aeab3fd7b8 [SCSI] megaraid_sas: make driver PCI legacy I/O port free driver
On the large servers, I/O port resource may not be assigned to all
the PCI devices since it is limited (to 64KB on Intel Architecture[1])
and it may also be fragmented (I/O base register of PCI-to-PCI bridge
will usually be aligned to a 4KB boundary[2]).
If no I/O port resource is assigned to devices, those devices do not
work.

[1] Some machines support 64KB I/O port space per PCI segment.
[2] Some P2P bridges support optional 1KB aligned I/O base.

Therefore, I made a patch for MegaRAID SAS driver to make PCI legacy
I/O port free.  I have also tested the patch and it had no problem.

The way to make PCI legacy I/O port free is the same as Fusion-MPT
driver's and it has been merged into 2.6.30.4.

This has already been fixed in e1000 and lpfc.

As a result of the above, the driver can handle its device even when
there are a huge number of PCI devices being used on the system and no
I/O port region assigned to the device.

Signed-off-by: Noriyuki Fujii <n-fujii@np.css.fujitsu.com>
Acked-by: "Yang, Bo" <Bo.Yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-10 08:54:16 -06:00
..
Kconfig.megaraid
Makefile
mbox_defs.h tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mega_common.h
megaraid_ioctl.h
megaraid_mbox.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
megaraid_mbox.h
megaraid_mm.c
megaraid_mm.h
megaraid_sas.c [SCSI] megaraid_sas: make driver PCI legacy I/O port free driver 2009-12-10 08:54:16 -06:00
megaraid_sas.h [SCSI] megaraid_sas: Update version number and documentation 2009-10-29 13:03:22 -04:00