linux/arch/powerpc
Michael Ellerman b91e136cdf powerpc: Use MSR_64BIT in sstep.c, fix kprobes on BOOK3E
We check MSR_SF a lot in sstep.c, to decide if we need to emulate the
truncation of values when running in 32-bit mode. Factor out that code
into a helper, and convert it and the other uses to use MSR_64BIT.

This fixes a bug on BOOK3E where kprobes would end up returning to a
32-bit address, because regs->nip was truncated, because (msr & MSR_SF)
was false.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-04-27 14:18:46 +10:00
..
boot powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10:00
configs powerpc: Fix build warning of the defconfigs 2011-04-27 14:18:41 +10:00
include/asm powerpc: Add MSR_64BIT 2011-04-27 14:18:43 +10:00
kernel powerpc: Use MSR_64BIT in places 2011-04-27 14:18:44 +10:00
kvm powerpc: Always use SPRN_SPRG_HSCRATCH0 when running in HV mode 2011-04-20 11:03:23 +10:00
lib powerpc: Use MSR_64BIT in sstep.c, fix kprobes on BOOK3E 2011-04-27 14:18:46 +10:00
math-emu powerpc/85xx: Fix SPE float to integer conversion failure 2011-03-15 13:48:15 -05:00
mm powerpc/numa: Look for ibm, associativity-reference-points at the root 2011-04-27 14:18:35 +10:00
oprofile Fix common misspellings 2011-03-31 11:26:23 -03:00
platforms powerpc/ps3: Update debug message for irq_set_chip_data() 2011-04-27 14:18:39 +10:00
sysdev powerpc/nvram: Search for nvram using compatible 2011-04-20 17:01:20 +10:00
xmon powerpc: Use MSR_64BIT in places 2011-04-27 14:18:44 +10:00
Kconfig powerpc/boot: Add an ePAPR compliant boot wrapper 2011-04-20 16:59:21 +10: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 powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00