• Linus Torvalds's avatar
    Merge tag 'ras_core_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 158405e8
    Linus Torvalds authored
    Pull RAS updates from Borislav Petkov:
    
     - Get rid of a bunch of function pointers used in MCA land in favor of
       normal functions. This is in preparation of making the MCA code
       noinstr-aware
    
     - When the kernel copies data from user addresses and it encounters a
       machine check, a SIGBUS is sent to that process. Change this action
       to either an -EFAULT which is returned to the user or a short write,
       making the recovery action a lot more user-friendly
    
    * tag 'ras_core_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mce: Sort mca_config members to get rid of unnecessary padding
      x86/mce: Get rid of the ->quirk_no_way_out() indirect call
      x86/mce: Get rid of msr_ops
      x86/mce: Get rid of machine_check_vector
      x86/mce: Get rid of the mce_severity function pointer
      x86/mce: Drop copyin special case for #MC
      x86/mce: Change to not send SIGBUS error during copy from user
    158405e8
severity.c 12.7 KB