Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc,kgdb: Introduce low level trap catching
The only way the debugger can handle a trap in inside rcu_lock, notify_die, or atomic_notifier_call_chain without a recursive fault is to allow the kernel debugger to handle the exception first in program_check_exception(). The other change here is to make sure that kgdb_handle_exception() is called with correct parameters when catching an oops, because kdb needs to know if the entry was an oops, single step, or breakpoint exception. [[email protected]: move debugger_bpt instead of #ifdef] CC: Paul Mackerras <[email protected]> Signed-off-by: Jason Wessel <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]>
- Loading branch information