[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220204083015.17317-1-bp@alien8.de>
Date: Fri, 4 Feb 2022 09:30:12 +0100
From: Borislav Petkov <bp@...en8.de>
To: Tony Luck <tony.luck@...el.com>
Cc: Jakub Kicinski <kuba@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Marco Elver <elver@...gle.com>, X86 ML <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] x86/mce: Fix more noinstr fun
From: Borislav Petkov <bp@...e.de>
Hi all,
here's a second small set of fixes for objtool noinstr validation issues
in the MCE code.
It goes ontop of tip:locking/core where there are some more commits
changing generic helpers to be always inlined.
As always, comments and suggestions are appreciated.
Thx.
Borislav Petkov (3):
cpumask: Add a x86-specific cpumask_clear_cpu() helper
x86/ptrace: Always inline v8086_mode() for instrumentation
x86/mce: Use arch atomic and bit helpers
arch/x86/include/asm/cpumask.h | 10 ++++++
arch/x86/include/asm/ptrace.h | 2 +-
arch/x86/kernel/cpu/mce/core.c | 58 ++++++++++--------------------
arch/x86/kernel/cpu/mce/internal.h | 23 ++++++++++--
arch/x86/kernel/cpu/mce/severity.c | 2 +-
include/linux/cpumask.h | 4 +--
6 files changed, 54 insertions(+), 45 deletions(-)
--
2.29.2
Powered by blists - more mailing lists