]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit742c3595f336166549339a80fc4956de4ce49683
tree174cf902c521dde8022ed23646cb35d44c29d9bc
parent9c0f26ebc2f27e65a85797aa77f4e8408c25899c
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