diff options
author | Dave Hansen <[email protected]> | 2016-02-12 13:02:15 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-18 09:32:43 +0100 |
commit | a927cb83f3300bcb1ae18672e58029acddd18b33 (patch) | |
tree | 942413064ab6adbf26405c9ebac038f405db2fa5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 019132ff3daf36c97a4006655dfd00ee42f2b590 (diff) |
x86/mm/pkeys: Add functions to fetch PKRU
This adds the raw instruction to access PKRU as well as some
accessor functions that correctly handle when the CPU does not
support the instruction. We don't use it here, but we will use
read_pkru() in the next patch.
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions