powerpc: Fix interrupt range check on debug exception
authorBharat Bhushan <r65777@freescale.com>
Mon, 29 Apr 2013 22:18:11 +0000 (22:18 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 May 2013 00:31:01 +0000 (10:31 +1000)
commitfc2a6cfe05a33891180a27d55983febe170bc0f8
tree174cf902c521dde8022ed23646cb35d44c29d9bc
parent1f6aaaccb1b3af8613fe45781c1aefee2ae8c6b3
powerpc: Fix interrupt range check on debug exception

We do not want to take single step and branch-taken debug exception
in kernel exception code. But the address range check was not covering
all kernel exception handlers address range.

With this patch we defined the interrupt_end label which defines the
end on kernel exception code. So now we check interrupt_base to
interrupt_end range for not handling debug exception in kernel
exception entry.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_44x.S
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/head_fsl_booke.S