commit | 44bd887ce10eb8061f6a137f8a73f823957edd82 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Tue Jul 19 15:07:39 2016 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Tue Jul 19 17:00:29 2016 +0100 |
tree | 01c45387b5a4e9b7ec7a0328299d569fe8e05da5 | |
parent | af78cede8bfc772baf424fc03f7cd3c8f9437733 [diff] |
arm64: kprobes: WARN if attempting to step with PSTATE.D=1 Stepping with PSTATE.D=1 is bad news. The step won't generate a debug exception and we'll likely walk off into random data structures. This should never happen, but when it does, it's a PITA to debug. Add a WARN_ON to shout if we realise this is about to take place. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>