Commit a1728f8d authored by Tony Luck's avatar Tony Luck Committed by Youquan Song
Browse files

x86/mce: Drop copyin special case for #MC

mainline inclusion
from mainline-v5.16-rc1
commit 69065847
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5HAC1


CVE: NA

Intel-SIG: commit 69065847 x86/mce: Drop copyin special case for #MC.
Backport for MCA recovery enhancing & bug fix.

--------------------------------

Fixes to the iterator code to handle faults that are not on page
boundaries mean that the special case for machine check during copy from
user is no longer needed.

For a full list of those fixes, see the output of:

  git log --oneline v5.14 ^v5.13 -- lib/iov_iter.c

Intel-SIG: commit 69065847 x86/mce: Drop copyin special case for #MC.
backport for MCA recovery enhance and bug fix.

Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210818002942.1607544-4-tony.luck@intel.com


Signed-off-by: default avatarYouquan Song <youquan.song@intel.com>
parent 4bc1efa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment