arm64: debug: remove noisy, pointless warning
authorWill Deacon <will.deacon@arm.com>
Thu, 17 Apr 2014 11:37:14 +0000 (12:37 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 18:11:24 +0000 (19:11 +0100)
commit4b3a1128177031c2e5125b1bb4e5ac9af0a708c7
tree69d68a732cbebcdbc71132bc386134a4d7bc8a91
parentb057e1d80f916922081c7c5bd2c08ff53ed9e4fc
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>
(cherry picked from commit 43683afbcb32f7b7318ac1badd6469d91fe22711)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/debug-monitors.c