linux/arch/powerpc/platforms
Milton Miller 4f1fc48a73 powerpc/xics: Fix numberspace mismatch from irq_desc conversion
commit 79f26c268e (powerpc:
platforms/pseries irq_data conversion) pushed irq_desc down into many
functions, dererencing the descriptor irq field as late as possible.

But it incorrectly passed a linix virtural irq number to RTAS,
resulting in the interrupt not being disabled and possibly
other bad things, such as another interrupt being disabled and/or
a checkstop.

In addition this missed the point of xics_mask_unknown_vec and
the seperation of xics_mask_real_irq from xics_mask_irq.  When
xics_mask_unknown_vec is called it's because the hardware delivered an
irq source for which we have no linux irq allocated, and thefore we can
not have an irq_desc allocated.

Revert xics_mask_real_irq to its prior version, naming the argument
hwirq to highlight the difference.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-03-30 10:44:13 +11:00
..
8xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/44x: PHY fixup for USB on canyonlands board 2011-02-02 06:58:26 -05:00
52xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
82xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
83xx Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
85xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
86xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
512x powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
chrp powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
embedded6xx powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
iseries powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
powermac powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
prep
ps3 powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pseries powerpc/xics: Fix numberspace mismatch from irq_desc conversion 2011-03-30 10:44:13 +11:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig Merge v2.6.37-rc8 into powerpc/next 2010-12-29 22:21:47 -07:00
Kconfig.cputype powerpc/fsl-booke: Add support for FSL 64-bit e5500 core 2010-10-14 00:55:03 -05:00
Makefile powerpc/85xx: Kconfig cleanup 2009-11-20 16:45:27 -06:00