]> git.itanic.dy.fi Git - linux-stable/commit
arm64: debug: remove noisy, pointless warning
authorWill Deacon <will.deacon@arm.com>
Thu, 17 Apr 2014 11:37:14 +0000 (12:37 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Apr 2014 15:46:50 +0000 (16:46 +0100)
commit43683afbcb32f7b7318ac1badd6469d91fe22711
tree7278aa89b4da8148393092d5944b45284a0a2590
parent2eb835e058c737205d35d9a8791ad27b0f9e89a4
arm64: debug: remove noisy, pointless warning

Sending a SIGTRAP to a user task after execution of a BRK instruction at
EL0 is fundamental to the way in which software breakpoints work and
doesn't deserve a warning to be logged in dmesg. Whilst the warning can
be justified from EL1, do_debug_exception will already do the right thing,
so simply remove the code altogether.

Cc: Sandeepa Prabhu <sandeepa.prabhu@linaro.org>
Reported-by: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/debug-monitors.c