• Linus Torvalds's avatar
    Merge tag 'x86_alternatives_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2c5ce2db
    Linus Torvalds authored
    Pull x86 alternatives/paravirt updates from Borislav Petkov:
     "First big cleanup to the paravirt infra to use alternatives and thus
      eliminate custom code patching.
    
      For that, the alternatives infrastructure is extended to accomodate
      paravirt's needs and, as a result, a lot of paravirt patching code
      goes away, leading to a sizeable cleanup and simplification.
    
      Work by Juergen Gross"
    
    * tag 'x86_alternatives_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/paravirt: Have only one paravirt patch function
      x86/paravirt: Switch functions with custom code to ALTERNATIVE
      x86/paravirt: Add new PVOP_ALT* macros to support pvops in ALTERNATIVEs
      x86/paravirt: Switch iret pvops to ALTERNATIVE
      x86/paravirt: Simplify paravirt macros
      x86/paravirt: Remove no longer needed 32-bit pvops cruft
      x86/paravirt: Add new features for paravirt patching
      x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()
      x86/alternative: Support ALTERNATIVE_TERNARY
      x86/alternative: Support not-feature
      x86/paravirt: Switch time pvops functions to use static_call()
      static_call: Add function to query current function
      static_call: Move struct static_call_key definition to static_call_types.h
      x86/alternative: Merge include files
      x86/alternative: Drop unused feature parameter from ALTINSTR_REPLACEMENT()
    2c5ce2db
kvm.c 23 KB