WSL2-Linux-Kernel/arch/powerpc/platforms
Michael Ellerman 85f2bf9f60 [POWERPC] RTAS MSI implementation
Implement MSI support via RTAS (RTAS = run-time firmware on pSeries
machines).  For now we assumes that if the required RTAS tokens for
MSI are present, then we want to use the RTAS MSI routines.

When RTAS is managing MSIs for us, it will/may enable MSI on devices that
support it by default. This is contrary to the Linux model where a device
is in LSI mode until the driver requests MSIs.

To remedy this we add a pci_irq_fixup call, which disables MSI if they've
been assigned by firmware and the device also supports LSI. Devices that
don't support LSI at all will be left as is, drivers are still expected
to call pci_enable_msi() before using the device.

At the moment there is no pci_irq_fixup on pSeries, so we can just set it
unconditionally. If other platforms use the RTAS MSI backend they'll need
to check that still holds.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-05-08 13:40:31 +10:00
..
4xx [POWERPC] Re-organize Kconfig code for 4xx in arch/powerpc 2007-04-24 21:32:00 +10:00
8xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
52xx [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
82xx Merge branch 'kconfig' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into for-2.6.22 2007-04-24 08:42:11 +10:00
83xx [POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC 2007-05-02 20:04:29 +10:00
85xx [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
86xx [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell Merge branch 'linux-2.6' 2007-05-08 13:37:51 +10:00
celleb [POWERPC] Generic check_legacy_ioport 2007-04-27 21:14:30 +10:00
chrp [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
embedded6xx [POWERPC] Add support for 750CL Holly board 2007-05-08 11:54:20 +10:00
iseries [POWERPC] Generic check_legacy_ioport 2007-04-27 21:14:30 +10:00
maple [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pasemi [POWERPC] pasemi: Update ppc_proc_freq from cpufreq driver 2007-05-07 20:31:14 +10:00
powermac Merge branch 'linux-2.6' 2007-05-08 13:37:51 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] PS3: Interrupt routine fixups. 2007-05-02 20:04:31 +10:00
pseries [POWERPC] RTAS MSI implementation 2007-05-08 13:40:31 +10:00
Kconfig [POWERPC] Clean up cpufreq Kconfig dependencies 2007-04-30 11:02:03 +10:00
Makefile [POWERPC] Restore 'proper' link order in platform 2007-02-13 15:35:53 +11:00