1. 27 4月, 2021 9 次提交
    • L
      Merge tag 'x86_build_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ca53fb2c
      Linus Torvalds 提交于
      Pull x86 build updates from Borislav Petkov:
       "A bunch of clang build fixes and a Kconfig highmem selection fix for
        486SX"
      
      * tag 'x86_build_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/build: Disable HIGHMEM64G selection for M486SX
        efi/libstub: Add $(CLANG_FLAGS) to x86 flags
        x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
        x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
      ca53fb2c
    • L
      Merge tag 'x86_cleanups_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ea5bc7b9
      Linus Torvalds 提交于
      Pull misc x86 cleanups from Borislav Petkov:
       "Trivial cleanups and fixes all over the place"
      
      * tag 'x86_cleanups_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        MAINTAINERS: Remove me from IDE/ATAPI section
        x86/pat: Do not compile stubbed functions when X86_PAT is off
        x86/asm: Ensure asm/proto.h can be included stand-alone
        x86/platform/intel/quark: Fix incorrect kernel-doc comment syntax in files
        x86/msr: Make locally used functions static
        x86/cacheinfo: Remove unneeded dead-store initialization
        x86/process/64: Move cpu_current_top_of_stack out of TSS
        tools/turbostat: Unmark non-kernel-doc comment
        x86/syscalls: Fix -Wmissing-prototypes warnings from COND_SYSCALL()
        x86/fpu/math-emu: Fix function cast warning
        x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
        x86: Fix various typos in comments, take #2
        x86: Remove unusual Unicode characters from comments
        x86/kaslr: Return boolean values from a function returning bool
        x86: Fix various typos in comments
        x86/setup: Remove unused RESERVE_BRK_ARRAY()
        stacktrace: Move documentation for arch_stack_walk_reliable() to header
        x86: Remove duplicate TSC DEADLINE MSR definitions
      ea5bc7b9
    • L
      Merge tag 'x86_boot_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 90e66ce9
      Linus Torvalds 提交于
      Pull x86 boot updates from Borislav Petkov:
       "Consolidation and cleanup of the early memory reservations, along with
        a couple of gcc11 warning fixes"
      
      * tag 'x86_boot_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/setup: Move trim_snb_memory() later in setup_arch() to fix boot hangs
        x86/setup: Merge several reservations of start of memory
        x86/setup: Consolidate early memory reservations
        x86/boot/compressed: Avoid gcc-11 -Wstringop-overread warning
        x86/boot/tboot: Avoid Wstringop-overread-warning
      90e66ce9
    • L
      Merge tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 81a48979
      Linus Torvalds 提交于
      Pull x86 SGX updates from Borislav Petkov:
       "Add the guest side of SGX support in KVM guests. Work by Sean
        Christopherson, Kai Huang and Jarkko Sakkinen.
      
        Along with the usual fixes, cleanups and improvements"
      
      * tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
        x86/sgx: Mark sgx_vepc_vm_ops static
        x86/sgx: Do not update sgx_nr_free_pages in sgx_setup_epc_section()
        x86/sgx: Move provisioning device creation out of SGX driver
        x86/sgx: Add helpers to expose ECREATE and EINIT to KVM
        x86/sgx: Add helper to update SGX_LEPUBKEYHASHn MSRs
        x86/sgx: Add encls_faulted() helper
        x86/sgx: Add SGX2 ENCLS leaf definitions (EAUG, EMODPR and EMODT)
        x86/sgx: Move ENCLS leaf definitions to sgx.h
        x86/sgx: Expose SGX architectural definitions to the kernel
        x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled
        x86/cpu/intel: Allow SGX virtualization without Launch Control support
        x86/sgx: Introduce virtual EPC for use by KVM guests
        x86/sgx: Add SGX_CHILD_PRESENT hardware error code
        x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()
        x86/cpufeatures: Add SGX1 and SGX2 sub-features
        x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit
        x86/sgx: Remove unnecessary kmap() from sgx_ioc_enclave_init()
        selftests/sgx: Use getauxval() to simplify test code
        selftests/sgx: Improve error detection and messages
        x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()
        ...
      81a48979
    • L
      Merge tag 'x86_vmware_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 47e12f14
      Linus Torvalds 提交于
      Pull x86 vmware guest update from Borislav Petkov:
       "Have vmware guests skip the refined TSC calibration when the TSC
        frequency has been retrieved from the hypervisor"
      
      * tag 'x86_vmware_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/vmware: Avoid TSC recalibration when frequency is known
      47e12f14
    • L
      Merge tag 'x86_seves_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 26a4ef7e
      Linus Torvalds 提交于
      Pull x86 AMD secure virtualization (SEV-ES) updates from Borislav Petkov:
       "Add support for SEV-ES guests booting through the 32-bit boot path,
        along with cleanups, fixes and improvements"
      
      * tag 'x86_seves_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/sev-es: Optimize __sev_es_ist_enter() for better readability
        x86/sev-es: Replace open-coded hlt-loops with sev_es_terminate()
        x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path
        x86/boot/compressed/64: Add CPUID sanity check to 32-bit boot-path
        x86/boot/compressed/64: Add 32-bit boot #VC handler
        x86/boot/compressed/64: Setup IDT in startup_32 boot path
        x86/boot/compressed/64: Reload CS in startup_32
        x86/sev: Do not require Hypervisor CPUID bit for SEV guests
        x86/boot/compressed/64: Cleanup exception handling before booting kernel
        x86/virtio: Have SEV guests enforce restricted virtio memory access
        x86/sev-es: Remove subtraction of res variable
      26a4ef7e
    • L
      Merge tag 'x86_misc_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 98ee795b
      Linus Torvalds 提交于
      Pull x86 tool update from Borislav Petkov:
       "A new kcpuid tool to dump the raw CPUID leafs of a CPU.
      
        It has the CPUID bit definitions in a separate csv file which allows
        for adding support for new CPUID leafs and bits without having to
        update the tool.
      
        The main use case for the tool is hw enablement on preproduction x86
        hardware"
      
      * tag 'x86_misc_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        tools/x86/kcpuid: Add AMD leaf 0x8000001E
        tools/x86/kcpuid: Check last token too
        selftests/x86: Add a missing .note.GNU-stack section to thunks_32.S
        tools/x86/kcpuid: Add AMD Secure Encryption leaf
        tools/x86: Add a kcpuid tool to show raw CPU features
      98ee795b
    • L
      Merge tag 'x86_alternatives_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2c5ce2db
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'ras_core_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2c532791
      Linus Torvalds 提交于
      Pull x86 RAS update from Borislav Petkov:
       "Provide the ability to specify the IPID (IP block associated with the
        MCE, AMD-specific) when injecting an MCE"
      
      * tag 'ras_core_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mce/inject: Add IPID for injection too
      2c532791
  2. 26 4月, 2021 12 次提交
  3. 25 4月, 2021 2 次提交
  4. 24 4月, 2021 15 次提交
  5. 23 4月, 2021 2 次提交