linux_dsm_epyc7002/arch/powerpc/platforms
Michael Ellerman d385366a9b [POWERPC] Simplify rtas_change_msi() error semantics
Currently rtas_change_msi() returns either the error code from RTAS, or if
the RTAS call succeeded the number of irqs that were configured by RTAS.
This makes checking the return value more complicated than it needs to be.

Instead, have rtas_change_msi() check that the number of irqs configured by
RTAS is equal to what we requested - and return an error otherwise. This makes
the return semantics match the usual 0 for success, something else for error.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-03 09:11:39 +10:00
..
8xx [POWERPC] Convert define_machine(mpc885_ads) to C99 initializer syntax 2007-09-22 14:49:22 +10:00
40x [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00
44x [POWERPC] Fix bus probe on Bamboo board 2007-09-07 07:50:26 -05:00
52xx [POWERPC] mpc5200: Add cuimage support for mpc5200 boards 2007-09-22 14:49:22 +10:00
82xx [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
83xx [POWERPC] MPC832x_RDB: Update dts to use SPI1 in QE, register mmc_spi stub 2007-09-14 08:54:13 -05:00
85xx [POWERPC] 85xx: Add basic Uniprocessor MPC8572 DS port 2007-09-14 08:51:54 -05:00
86xx [POWERPC] 86xx: Remove unnecessary loops_per_jiffy initialization code. 2007-09-14 08:51:32 -05:00
cell [POWERPC] Make sure to of_node_get() the result of pci_device_to_OF_node() 2007-10-03 09:11:29 +10:00
celleb [POWERPC] Fix section mismatch in PCI code 2007-09-19 15:25:34 +10:00
chrp [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
embedded6xx [POWERPC] Move embedded6xx into multiplatform 2007-10-03 09:11:25 +10:00
iseries [POWERPC] Invert null match behaviour for irq_hosts 2007-09-14 01:33:20 +10:00
maple [POWERPC] maple pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
pasemi [POWERPC] Add workaround for MPICs with broken register reads 2007-09-14 01:33:25 +10:00
powermac [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
prep [POWERPC] Split several platforms into their respective Kconfig file 2007-03-22 10:07:32 -05:00
ps3 [POWERPC] PS3: Enhance storage probe debug output 2007-09-14 01:33:26 +10:00
pseries [POWERPC] Simplify rtas_change_msi() error semantics 2007-10-03 09:11:39 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Move embedded6xx into multiplatform 2007-10-03 09:11:25 +10:00
Kconfig.cputype [POWERPC] add Kconfig option for optimizing for cell 2007-09-22 14:49:22 +10:00
Makefile [POWERPC] Walnut board support 2007-09-07 07:51:24 -05:00