kernel-fxtec-pro1x/arch/powerpc
Mark Nelson 49bd364713 powerpc/pseries: Track previous CPPR values to correctly EOI interrupts
At the moment when we EOI an interrupt we set the CPPR back to 0xFF
regardless of its previous value. This could lead to problems if we
take an interrupt with a priority of 5, but before EOIing it we get
an IPI which has a priority of 4. The problem is that at the moment
when we EOI the IPI we will set the CPPR to 0xFF, but it should
really be set back to 5 (the previous priority).

To keep track of the previous CPPR values we create the xics_cppr
structure that has an array for CPPR values and an index pointing
to the current priority. This can easily grow if new priorities get
added in the future.

This will also be useful because the partition adjunct option of
upcoming machines will update the H_XIRR hcall to accept the CPPR
as a parameter.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-12-09 17:10:38 +11:00
..
boot powerpc/44x: Fix PCI node in Yosemite DTS 2009-12-04 07:10:26 -05:00
configs powerpc/86xx: Support for NVRAM on GE Fanuc's PPC9A 2009-11-20 16:45:37 -06:00
include/asm powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
kernel powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
kvm powerpc/kvm: Sync guest visible MMU state 2009-12-08 16:02:50 +11:00
lib powerpc/8xx: Start using dcbX instructions in various copy routines 2009-12-09 17:10:37 +11:00
math-emu
mm powerpc/8xx: Invalidate non present TLBs 2009-12-09 17:10:35 +11:00
oprofile
platforms powerpc/pseries: Track previous CPPR values to correctly EOI interrupts 2009-12-09 17:10:38 +11:00
sysdev powerpc: Make "intspec" pointers in irq_host->xlate() const 2009-12-09 17:10:37 +11:00
xmon powerpc/pseries: Add extended_cede_processor() helper function. 2009-11-24 14:33:03 +11:00
Kconfig sysfs/cpu: Add probe/release files 2009-12-09 17:09:33 +11:00
Kconfig.debug
Makefile powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00