linux/arch/powerpc
Anton Blanchard e48395f175 [POWERPC] Fix xics set_affinity code
On a POWER6 machine running 2.6.23-rc8 I sometimes see the following error:

xics_set_affinity: No online cpus in the mask 00000000,00000000,00000000,00000001 for irq 20

In a desperate attempt to get a changelog entry in 2.6.23, I took a look
into it.

It turns out we are passing a real and not a virtual irq into
get_irq_server.  This works for the case where hwirq < NR_IRQS and we
set virq = hwirq.  In my case however hwirq = 590082 and we try and
access irq_desc[590082], slightly past the end at 512 entries.

Lucky we ship lots of memory with our machines.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-02 11:48:14 +10:00
..
boot [POWERPC] mpc8349emitx.dts: Setup USB-DR for peripheral mode. 2007-09-28 10:26:48 -05:00
configs [POWERPC] Update defconfigs 2007-08-30 16:51:51 +10:00
kernel [POWERPC] Ensure FULL_REGS on exec 2007-09-25 20:40:41 +10:00
lib Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Fix SLB initialization at boot time 2007-08-25 16:58:43 +10:00
oprofile Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
platforms [POWERPC] Fix xics set_affinity code 2007-10-02 11:48:14 +10:00
sysdev [POWERPC] Fix copy'n'paste typo in commproc.c 2007-09-28 10:25:16 -05:00
xmon [POWERPC] fix showing xmon help 2007-07-22 21:30:58 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
Kconfig.debug Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATION 2007-07-29 16:45:38 -07:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00