[PATCH] ARM: hw_breakpoint: don't fault when debug is not powered

Will Deacon will.deacon at arm.com
Wed Nov 9 08:42:21 EST 2011


Hi Linus,

On Wed, Nov 09, 2011 at 01:00:02PM +0000, Linus Walleij wrote:
> From: Rabin Vincent <rabin.vincent at stericsson.com>
> 
> If the debug logic is not powered, the processor can unfortunately
> raise an undefined instruction exception on the instruction that
> we use to check if the debug logic is powered up or not.
> 
> Handle this with an undef hook, so that the kernel doesn't crash
> on boot on such setups.

Actually, I've done exactly this already! It got merged in the recent merge
window, so please take it for a spin.

Will



More information about the linux-arm-kernel mailing list