linux/arch/powerpc
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
..
boot Merge remote branch 'jwb/next' into next 2011-03-17 17:59:01 +11:00
configs powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
include/asm powerpc: Wire up new syscalls 2011-03-30 10:44:11 +11:00
kernel powerpc: Implement dma_mmap_coherent() 2011-03-30 10:44:00 +11:00
kvm KVM: PPC: Fix SPRG get/set for Book3S and BookE 2011-03-17 13:08:25 -03:00
lib powerpc: Ensure the else case of feature sections will fit 2011-01-21 14:08:33 +11:00
math-emu powerpc/85xx: Fix SPE float to integer conversion failure 2011-03-15 13:48:15 -05:00
mm powerpc: Implement dma_mmap_coherent() 2011-03-30 10:44:00 +11:00
oprofile tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
platforms powerpc/xics: Fix numberspace mismatch from irq_desc conversion 2011-03-30 10:44:13 +11:00
sysdev powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
xmon lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00
Kconfig powerpc: Use generic show_interrupts() 2011-03-29 14:48:13 +02:00
Kconfig.debug powerpc: Unconditionally enabled irq stacks 2010-06-15 15:02:37 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl