Better memcpy_mcsafe()
Borislav Petkov
Acked-byQuoted 13 lines · Tony Luck
v3: Adding missing comment about mce=recovery cmdline option
v2: move quirks fromdrivers/pci/quirks.ctoarch/x86/kernel/quirks.cIngo: Is this ready to queue up for v4.9 merge?
Tony Luck (4):
locking/static_keys: provide DECLARE and well as DEFINE macros x86/mce, PCI: Provide quirks to identify Xeon models with machine
check recovery
x86/mce: Bettermemcpy_mcsafe()
x86/mce: DropX86_FEATURE_MCE_RECOVERYand the model string test that
set it.
Quoted 9 lines
arch/x86/include/asm/cpufeatures.h | 1 - arch/x86/include/asm/pmem.h | 5 +---- arch/x86/include/asm/string_64.h | 19 ++++++++++++++++++- arch/x86/kernel/cpu/mcheck/mce.c | 19 ++++++++----------- arch/x86/kernel/quirks.c | 31 +++++++++++++++++++++++++++++++ arch/x86/kernel/x8664_ksyms_64.c | 2 +- arch/x86/lib/memcpy_64.S | 6 +++--- include/linux/jump_label.h | 6 ++++++ 8 files changed, 68 insertions(+), 21 deletions(-)
Acked-by Borislav Petkov <[email protected]>
Signature · 7 lines
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--