diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-04 19:21:30 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-04 19:21:30 +0300 |
commit | 7db99f01d1879f30af95f14dfd5cbcf009d15166 (patch) | |
tree | d3d9895db7877ecac37158f0094800f7cdbb2e52 /tools/objtool | |
parent | ba94a7a90008fd55c7ff1c5b4ca1853e6277dc37 (diff) | |
parent | c926087eb38520b268515ae1a842db6db62554cc (diff) | |
download | linux-7db99f01d1879f30af95f14dfd5cbcf009d15166.tar.xz |
Merge tag 'x86_cpu_for_v6.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cpu updates from Borislav Petkov:
- Print the CPU number at segfault time.
The number printed is not always accurate (preemption is enabled at
that time) but the print string contains "likely" and after a lot of
back'n'forth on this, this was the consensus that was reached. See
thread at [1].
- After a *lot* of testing and polishing, finally the clear_user()
improvements to inline REP; STOSB by default
Link: https://lore.kernel.org/r/5d62c1d0-7425-d5bb-ecb5-1dc3b4d7d245@intel.com [1]
* tag 'x86_cpu_for_v6.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/mm: Print likely CPU at segfault time
x86/clear_user: Make it faster
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/check.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 48e18737a2d1..4a9ba6ab80d5 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -1073,6 +1073,9 @@ static const char *uaccess_safe_builtin[] = { "copy_mc_fragile_handle_tail", "copy_mc_enhanced_fast_string", "ftrace_likely_update", /* CONFIG_TRACE_BRANCH_PROFILING */ + "clear_user_erms", + "clear_user_rep_good", + "clear_user_original", NULL }; |