aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2018-09-17 16:29:11 +0200
committerThomas Gleixner <[email protected]>2018-09-27 20:39:38 +0200
commit4046460b867f8b041c81c26c09d3bcad6d6e814e (patch)
tree057fe915206b0f01b9db253b7871561d28be5824 /tools/lib/api/debug.c
parent91ee8f5c1f50a1f4096c178a93a8da46ce3f6cc8 (diff)
x86/mm/cpa: Add debug mechanism
The whole static protection magic is silently fixing up anything which is handed in. That's just wrong. The offending call sites need to be fixed. Add a debug mechanism which emits a warning if a requested mapping needs to be fixed up. The DETECT debug mechanism is really not meant to be enabled except for developers, so limit the output hard to the protection fixups. Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Dave Hansen <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Bin Yang <[email protected]> Cc: Mark Gross <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions