android_kernel_xiaomi_sm8350/arch/i386/pci
Eric W. Biederman 92db6d10bc [PATCH] genirq: msi: simplify the msi irq limit policy
Currently we attempt to predict how many irqs we will be able to allocate with
msi using pci_vector_resources and some complicated accounting, and then we
only allow each device as many irqs as we think are available on average.

Only the s2io driver even takes advantage of this feature all other drivers
have a fixed number of irqs they need and bail if they can't get them.

pci_vector_resources is inaccurate if anyone ever frees an irq.  The whole
implmentation is racy.  The current irq limit policy does not appear to make
sense with current drivers.  So I have simplified things.  We can revisit this
we we need a more sophisticated policy.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rajesh Shah <rajesh.shah@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 07:55:27 -07:00
..
acpi.c
common.c [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1 2006-09-26 10:52:41 +02:00
direct.c [PATCH] i386/x86-64: PCI: split probing and initialization of type 1 config space access 2006-09-26 10:52:40 +02:00
early.c [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1 2006-09-26 10:52:41 +02:00
fixup.c Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
i386.c [PATCH] 64bit resource: change pci core and arch code to use resource_size_t 2006-06-27 09:24:00 -07:00
init.c [PATCH] i386/x86-64: PCI: split probing and initialization of type 1 config space access 2006-09-26 10:52:40 +02:00
irq.c [PATCH] genirq: msi: simplify the msi irq limit policy 2006-10-04 07:55:27 -07:00
legacy.c
Makefile [PATCH] x86: Move direct PCI scanning functions out of line 2006-09-26 10:52:41 +02:00
mmconfig.c [PATCH] arch/i386/pci/mmconfig.c tweaks 2006-10-01 00:39:18 -07:00
numa.c
pcbios.c [PATCH] arch: use list_move() 2006-06-26 09:58:17 -07:00
pci.h [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1 2006-09-26 10:52:41 +02:00
visws.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00