This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository linux.
from 327ecdbc0fda Merge tag 'perf-core-2025-03-22' of git://git.kernel.org/p [...] new 33ea120582a6 x86/mm/pat: cpa-test: fix length for CPA_ARRAY test new 4ee788eb0781 x86/mm/pat: drop duplicate variable in cpa_flush() new 41d88484c71c x86/mm/pat: restore large ROX pages after fragmentation new 925f42645118 execmem: don't remove ROX cache from the direct map new 05e555b81726 execmem: add API for temporal remapping as RW and restorin [...] new c287c0723329 module: switch to execmem API for remapping as RW and rest [...] new 1d7e707af446 Revert "x86/module: prepare module loading for ROX allocat [...] new 602df3712979 module: drop unused module_writable_address() new 64f6a4e10c05 x86: re-enable EXECMEM_ROX support new 3ef938c35035 x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs new 63887c9f0203 x86: Compare physical instead of virtual PGD addresses new 675204778c69 module: don't annotate ROX memory as kmemleak_not_leak() new 92d2da37fdef Merge branch 'x86/mm' new 72e213a7ccf9 x86/ibt: Clean up is_endbr() new 2981557cb040 x86,kcfi: Fix EXPORT_SYMBOL vs kCFI new 582077c94052 x86/cfi: Clean up linkage new 93f16a1ab78c x86/boot: Mark start_secondary() with __noendbr new ab9fea59487d x86/alternative: Simplify callthunk patching new c20ad96c9a8f x86/traps: Cleanup and robustify decode_bug() new c4239a72a29d x86/ibt: Clean up poison_endbr() new 306859de59e5 x86/early_printk: Harden early_serial new 882b86fd4e0d x86/ibt: Handle FineIBT in handle_cfi_failure() new e8f925c32047 Merge tag 'v6.14-rc3' into x86/core, to pick up fixes new c305a4e98378 x86: Move sysctls into arch/x86 new 06dd759b68ee x86/module: Remove unnecessary check in module_finalize() new 2df1ad0d2580 x86/arch_prctl: Simplify sys_arch_prctl() new 684b12916a10 x86/arch_prctl/64: Clean up ARCH_MAP_VDSO_32 new fe37c699ae3e x86/nmi: Add an emergency handler in nmi_desc & use it in [...] new 9a54fb313433 x86/cfi: Add 'cfi=warn' boot option new 500a41acb05a x86/ibt: Add exact_endbr() helper new 5d703825fde3 x86/alternatives: Clean up preprocessor conditional block [...] new 2e044911be75 x86/traps: Decode 0xEA instructions as #UD new e33d805a1005 x86/traps: Allow custom fixups in handle_bug() new 06926c6cdb95 x86/ibt: Optimize the FineIBT instruction sequence new 029f718fedd7 x86/traps: Decode LOCK Jcc.d8 as #UD new 97e59672a9d2 x86/ibt: Add paranoid FineIBT mode new b815f6877d80 x86/bhi: Add BHI stubs new 0c92385dc05e x86/ibt: Implement FineIBT-BHI mitigation new dfebe7362f6f x86/ibt: Optimize the fineibt-bhi arity 1 case new 73e8079be9e7 x86/ibt: Make cfi_bhi a constant for FINEIBT_BHI=n new 3101900218d7 x86/paravirt: Remove unused paravirt_disable_iospace() new 399fd7a26441 x86/asm: Merge KSTK_ESP() implementations new 604ea3e90b17 x86/smp/32: Remove safe_smp_processor_id() new 1fff9f8730b0 Merge tag 'v6.14-rc5' into x86/core, to pick up fixes new a3e8fe814ad1 x86/build: Raise the minimum GCC version to 8.1 new 0ee2689b9374 x86/stackprotector: Remove stack protector test scripts new a9a76b38aaf5 x86/boot: Disable stack protector for early boot code new f58b63857ae3 x86/pvh: Use fixed_percpu_data for early boot GSBASE new cb7927fda002 x86/relocs: Handle R_X86_64_REX_GOTPCRELX relocations new 78c4374ef8b8 x86/module: Deal with GOT based stack cookie load on Clang < 17 new 80d47defddc0 x86/stackprotector/64: Convert to normal per-CPU variable new 9d7de2aa8b41 x86/percpu/64: Use relative percpu offsets new b5c4f95351a0 x86/percpu/64: Remove fixed_percpu_data new a8327be7b2aa x86/boot/64: Remove inverse relocations new 38a4968b3190 x86/percpu/64: Remove INIT_PER_CPU macros new 95b091611810 percpu: Remove PER_CPU_FIRST_SECTION new e23cff686178 percpu: Remove PERCPU_VADDR() new 4b00c1160a13 percpu: Remove __per_cpu_load new 01157ddc58dc kallsyms: Remove KALLSYMS_ABSOLUTE_PERCPU new 7861640aac52 x86/build: Raise the minimum LLVM version to 15.0.0 new dc8bd769e70e x86/ioperm: Use atomic64_inc_return() in ksys_ioperm() new d40459cc157f x86/percpu: Unify __pcpu_op{1,2}_N() macros to __pcpu_op_N() new c4f23a9d6e73 selftests/x86/lam: Fix minor memory in do_uring() new 79165720f318 x86/percpu: Construct __percpu_seg_override from __percpu_seg new b6762467a09b x86/percpu: Disable named address spaces for UBSAN_BOOL wi [...] new 18cdd90aba79 x86/bpf: Fix BPF percpu accesses new ad546940b599 x86/ia32: Leave NULL selector values 0~3 unchanged new 1e66d6cf888f x86/cpu: Fix #define name for Intel CPU model 0x5A new a7dd183f0b38 x86/smp: Allow calling mwait_play_dead with an arbitrary hint new 541ddf31e300 ACPI/processor_idle: Add FFH state handling new fc4ca9537bc4 intel_idle: Provide the default enter_dead() handler new 96040f7273e2 x86/smp: Eliminate mwait_play_dead_cpuid_hint() new 64aad4749d79 ACPI/processor_idle: Export acpi_processor_ffh_play_dead() new 43bb700cff6b x86/cpu: Update Intel Family comments new affe678f3557 Merge tag 'v6.14-rc3' into x86/mm, to pick up fixes before [...] new a9ebcb88136c mm/memremap: Pass down MEMREMAP_* flags to arch_memremap_wb() new 81256a50aa0f x86/mm: Make memremap(MEMREMAP_WB) map memory as encrypted [...] new 282f395244df x86/mm: Replace open-coded gap bounding with clamp() new a37259732a7d x86/mm: Make MMU_GATHER_RCU_TABLE_FREE unconditional new f2c5c2105827 x86/mm: Remove pv_ops.mmu.tlb_remove_table call new 3fcae7771fb7 x86/pat: Fix W=1 build warning when the within_inclusive() [...] new 7ffb791423c7 x86/kaslr: Reduce KASLR entropy on most x86 systems new ec8f5b4659b4 selftests/lam: Move cpu_has_la57() to use cpuinfo flag new 51f909dcd178 selftests/lam: Skip test if LAM is disabled new 782b819827ee selftests/lam: Test get_user() LAM pointer handling new 8e8f0306497d x86/mtrr: Remove unnecessary strlen() in mtrr_write() new c1fcf41cf37f x86/mm: Clear _PAGE_DIRTY for kernel mappings when we clea [...] new 30667e55471e Merge branch 'x86/mm' into x86/cpu, to avoid conflicts new 6ac43f2be982 x86/Kconfig: Add cmpxchg8b support back to Geode CPUs new 0abf508675c0 x86/smp: Drop 32-bit "bigsmp" machine support new fc2d5cbe5410 x86/build: Rework CONFIG_GENERIC_CPU compiler flags new f388f60ca904 x86/cpu: Drop configuration options for early 64-bit CPUs new bbeb69ce3013 x86/mm: Remove CONFIG_HIGHMEM64G support new a8331594036f x86/mm: Drop CONFIG_SWIOTLB for PAE new 0081fdeccbf6 x86/mm: Drop support for CONFIG_HIGHPTE new ca5955dd5f08 x86/cpu: Document CONFIG_X86_INTEL_MID as 64-bit-only new dcbb01fbb7ae x86/pci: Remove old STA2x11 support new 976ba8da2f3c x86/platform: Only allow CONFIG_EISA for 32-bit new 4a412c70af67 x86/cpu: Prefix hexadecimal values with 0x in cpu_debug_show() new b52aaeeadfac cpufreq: intel_pstate: Avoid SMP calls to get cpu-type new c4a8b7116b99 perf/x86/intel: Use cache cpu-type for hybrid PMU selection new db5157df1497 x86/cpu: Remove get_this_hybrid_cpu_*() new a4248ee16f41 x86/cpu: Don't clear X86_FEATURE_LAHF_LM flag in init_amd_ [...] new f034937f5af3 x86/cpu: Create helper function to parse the 'clearcpuid=' [...] new 814165e9fd1f x86/cpu: Add the 'setcpuid=' boot parameter new ab68d2e36532 x86/cpu: Enable modifying CPU bug flags with '{clear,set}puid=' new 909639aa58fe x86/cpufeatures: Rename X86_CMPXCHG64 to X86_CX8 new 091b768604a8 xen: Kconfig: Drop reference to obsolete configs MCORE2 and MK8 new 4e32645cd8f9 x86/smp: Fix mwait_play_dead() and acpi_processor_ffh_play [...] new cfceff8526a4 x86/speculation: Simplify and make CALL_NOSPEC consistent new 052040e34c08 x86/speculation: Add a conditional CS prefix to CALL_NOSPEC new 27c3b452c1a5 x86/cpu: Remove unnecessary macro indirection related to C [...] new 681955761bf6 x86/cpu: Warn louder about the {set,clear}cpuid boot parameters new d0ba9bcf001c x86/cpu: Log CPU flag cmdline hacks more verbosely new 1b4c36f9b11e Merge branch 'x86/urgent' into x86/cpu, to pick up depende [...] new 97c7d5723537 x86/cpuid: Include <linux/build_bug.h> in <asm/cpuid.h> new dec7fdc0b79c x86/cpu: Remove unnecessary headers and reorder the rest new cb5f4c76b2a9 x86/cpu: Use max() for CPUID leaf 0x2 TLB descriptors parsing new 8b7e54b54210 x86/cpu: Simplify TLB entry count storage new 535d9a82702e x86/cpu: Get rid of the smp_store_cpu_info() indirection new 1f61dfdf16cd x86/cpu: Remove unused TLB strings new b3a756bd72ec x86/cacheinfo: Remove the P4 trace leftovers for real new 6309ff98f00b x86/cacheinfo: Remove unnecessary headers and reorder the rest new 4f2a0b765c97 <linux/sizes.h>: Cover all possible x86 CPU cache sizes new cfdaa618defc Merge branch 'x86/cpu' into x86/asm, to pick up dependent commits new 0c53ba09849d Merge branch 'x86/locking' into x86/asm, to simplify dependencies new e1c49eaee523 KVM: VMX: Use named operands in inline asm new 9064a8e556fa x86/hyperv: Use named operands in inline asm new 224788b63a2e x86/alternatives: Simplify alternative_call() interface new 0ec914707c3e x86/irq/32: Use named operands in inline asm new 76f71137811a x86/irq/32: Add missing clobber to inline asm new d4432fb5b879 x86/irq/32: Use current_stack_pointer to avoid asm() in ch [...] new c8b584fe82d0 x86/irq/32: Change some static functions to bool new 71c2ff150f34 Merge branch 'x86/asm' into x86/core, to pick up dependent [...] new 693bbf2a5044 x86/mm: Remove unused __set_memory_prot() new 95c4cc5a5854 x86/mm: Reduce header dependencies in <asm/set_memory.h> new f3a3c29b8de8 Merge branch 'x86/headers' into x86/core, to pick up depen [...] new ab2bb9c084f7 percpu: Introduce percpu hot section new 972f9cdff924 x86/percpu: Move pcpu_hot to percpu hot section new 46e8fff6d45f x86/preempt: Move preempt count to percpu hot section new 01c7bc5198e9 x86/smp: Move cpu number to percpu hot section new 839be1619fb8 x86/retbleed: Move call depth to percpu hot section new c8f1ac2bd777 x86/softirq: Move softirq_pending to percpu hot section new c6a0918072ea x86/irq: Move irq stacks to percpu hot section new 385f72c83eb6 x86/percpu: Move top_of_stack to percpu hot section new a1e4cc0155ad x86/percpu: Move current_task to percpu hot section new f3856cd343b6 x86/stackprotector: Move __stack_chk_guard to percpu hot section new 06aa03056f90 x86/smp: Move this_cpu_off to percpu hot section new 6d536cad0d55 x86/percpu: Fix __per_cpu_hot_end marker new 89771319e0f1 Merge tag 'v6.14-rc7' into x86/core, to pick up fixes new 631ca8909fd5 x86/mm: Check return value from memblock_phys_alloc_range() new 4a02ed8e1cc3 x86/mm: Consolidate full flush threshold decision new 767ae437a32d x86/mm: Add INVLPGB feature and Kconfig entry new b7aa05cbdc52 x86/mm: Add INVLPGB support code new 82378c6c2f43 x86/mm: Use INVLPGB for kernel TLB flushes new 72a920eacd8a x86/mm: Use broadcast TLB flushing in page reclaim new d504d1247e36 x86/mm: Add global ASID allocation helper functions new be88a1dd6112 x86/mm: Handle global ASID context switch and TLB flush new c9826613a9cb x86/mm: Add global ASID process exit helpers new 4afeb0ed1753 x86/mm: Enable broadcast TLB invalidation for multi-thread [...] new 440a65b7d25f x86/mm: Enable AMD translation cache extensions new 634ab76159a8 x86/mm: Always set the ASID valid bit for the INVLPGB instruction new 775d37d8f01e x86/acpi: Replace manual page table initialization with ke [...] new f666c92090a4 x86/mm/ident_map: Fix theoretical virtual address overflow [...] new 3d37d9396eb3 x86/cpufeatures: Add {REQUIRED,DISABLED} feature configs new 841326332bcb x86/cpufeatures: Generate the <asm/cpufeaturemasks.h> head [...] new 8f97566c8a81 x86/cpufeatures: Remove {disabled,required}-features.h new da414d34b555 x86/cpufeatures: Use AWK to generate {REQUIRED|DISABLED}_M [...] new 7b9b54e23a67 x86/cpu: Fix the description of X86_MATCH_VFM_STEPS() new c3390406adc6 x86/cpu: Shorten CPU matching macro new 00d7fc04b703 x86/cpu: Add cpu_type to struct x86_cpu_id new adf2de5e8d85 x86/cpu: Update x86_match_cpu() to also use cpu-type new 722fa0dba74f x86/rfds: Exclude P-only parts from the RFDS affected list new 07e4a6eec269 x86/cpufeatures: Warn about unmet CPU feature dependencies new d55f31e29047 x86/entry: Add __init to ia32_emulation_override_cmdline() new ad5a3a8f41aa x86/mtrr: Use str_enabled_disabled() helper in print_mtrr_state() new 8a3dc0f7c4cc x86/amd_node, platform/x86/amd/hsmp: Have HSMP use SMN thr [...] new 83518453074d x86/amd_node: Add SMN offsets to exclusive region access new 9c19cc1f5f57 x86/amd_node: Add support for debugfs access to SMN registers new 4476e7f81467 x86/amd_node: Add a smn_read_register() helper new 1ab7b5ed44ba x86/xen: Move Xen upcall handler new b634b02e2bf9 x86/syscall/32: Move 32-bit syscall dispatch code new 01dfb4805420 x86/syscall/64: Move 64-bit syscall dispatch code new 21832247f2df x86/syscall/x32: Move x32 syscall table new 9a93e29f16bb x86/syscall: Move sys_ni_syscall() new 604939552231 x86/syscall: Remove stray semicolons new 82070bc0425d x86/syscall/32: Add comment to conditional new adc574269bca x86/cpuid: Refactor <asm/cpuid.h> new 04a1007004da x86/cpuid: Clean up <asm/cpuid/types.h> new fb99ed1e00c7 x86/cpuid: Clean up <asm/cpuid/api.h> new cfb4fc5f089a x86/cpuid: Standardize on u32 in <asm/cpuid/api.h> new a46f32266185 x86/cpuid: Use u32 in instead of uint32_t in <asm/cpuid/api.h> new 680d9b2a5668 x86/apic: Fix 32-bit APIC initialization for extended Inte [...] new 7e67f3617228 x86/cpu/intel: Fix the MOVSL alignment preference for exte [...] new 7e6b0a2e4152 x86/microcode: Update the Intel processor flag scan check new a8cb45145805 x86/mtrr: Modify a x86_model check to an Intel VFM check new eaa472f76d1c x86/cpu/intel: Replace early Family 6 checks with VFM ones new fc866f247277 x86/cpu/intel: Replace Family 15 checks with VFM ones new eb1ac3330573 x86/cpu/intel: Replace Family 5 model checks with VFM ones new 337959860dbb x86/acpi/cstate: Improve Intel Family model checks new 58d1c1fd0319 x86/smpboot: Remove confusing quirk usage in INIT delay new 7a2ad752746b x86/smpboot: Fix INIT delay assignment for extended Intel [...] new 15b7ddcf66fb x86/cpu/intel: Fix fast string initialization for extended [...] new 05d234d3c79e x86/mm/pat: Replace Intel x86_model checks with VFM ones new fadb6f569b10 x86/cpu/intel: Limit the non-architectural constant_tsc mo [...] new bd72baff2299 x86/runtime-const: Add the RUNTIME_CONST_PTR assembly macro new a9deda695972 x86/kexec: Merge x86_32 and x86_64 code using macros from [...] new 3f5dbafc2d46 x86/head/64: Avoid Clang < 17 stack protector in startup code new 91d5451d97ce x86/stackprotector/64: Only export __ref_stack_chk_guard o [...] new 72899899e4f9 x86/hweight: Use named operands in inline asm() new 194a613088a8 x86/hweight: Use ASM_CALL_CONSTRAINT in inline asm() new 21fe2514849b x86/hweight: Use asm_inline() instead of asm() new 532866324508 x86/asm: Use CLFLUSHOPT and CLWB mnemonics in <asm/special [...] new f685a96bfd79 x86/asm: Use asm_inline() instead of asm() in clwb() new faa6f77b0dfa x86/locking/atomic: Improve performance by using asm_inlin [...] new 8a141be3233a x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in UA [...] new 24a295e4ef1c x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in no [...] new 8b70c7436f51 perf/x86/intel, x86/cpu: Simplify Intel PMU initialization new de844ef582e3 perf/x86/intel, x86/cpu: Replace Pentium 4 model checks wi [...] new 0b7eb55cb706 x86/mm: Only do broadcast flush from reclaim if pages were [...] new 3e5761256113 x86/asm: Make asm export of __ref_stack_chk_guard unconditional new 1400c87e6cac zstd: Increase DYNAMIC_BMI2 GCC version cutoff from 4.8 to [...] new e34c38057a13 Merge tag 'x86-core-2025-03-22' of git://git.kernel.org/pu [...] new e451630226bd x86/build: Fix broken copy command in genimage.sh when mak [...] new 9c54baab4401 x86/boot: Drop CRC-32 checksum and the build tool that gen [...] new e471a86a8c52 x86/boot: Add back some padding for the CRC-32 checksum new ebfb94d87b35 Merge tag 'x86-build-2025-03-22' of git://git.kernel.org/p [...] new 2d6bff31399b x86/boot: Move setting of memblock parameters to e820__mem [...] new 297fb82ebaad x86/boot: Split kernel resources setup into the setup_kern [...] new d45dd0a9b27e x86/boot: Split parsing of boot_params into the parse_boot [...] new efe659ac0146 x86/e820: Drop obsolete E820_TYPE_RESERVED_KERN and related code new 5bebe2e4fe27 x86/boot: Change some static bootflag functions to bool new a2498e5c453b x86/kexec: Export e820_table_kexec[] to sysfs new 7d8f03f7dd9f x86/boot: Add missing has_cpuflag() prototype new adf6819278ba x86/bootflag: Micro-optimize sbf_write() new 9c94c14ca395 x86/bootflag: Replace open-coded parity calculation with p [...] new 558fc8e1869c x86/boot: Do not test if AC and ID eflags are changeable o [...] new e27dffba1b1d x86/boot: Move the LA57 trampoline to separate source file new b25eb5f5e419 x86/kexec: Add relocate_kernel() debugging support: Load a GDT new b58386a9bd79 Merge tag 'x86-boot-2025-03-22' of git://git.kernel.org/pu [...] new ccb7735a1ea2 x86/fpu: Fully optimize out WARN_ON_FPU() new 1937e18cc3cf x86/fpu: Fix guest FPU state buffer allocation size new ac3144f91bb4 Merge tag 'v6.14-rc4' into x86/fpu, to pick up fixes and r [...] new dbd6b649e7d5 selftests/x86: Consolidate redundant signal helper functions new 0f6d91a327db selftests/x86/xstate: Refactor XSAVE helpers for general use new 3fcb4d614656 selftests/x86/xstate: Enumerate and name xstate components new 40f6852ef2bf selftests/x86/xstate: Refactor context switching test new 7cb2fbe41949 selftests/x86/xstate: Refactor ptrace ABI test new e075d9fa16b3 selftests/x86/xstate: Introduce signal ABI test new 10d8a204c500 selftests/x86/xstate: Consolidate test invocations into a [...] new fa826c1f2cc9 selftests/x86/xstate: Clarify supported xstates new bfc98dbcb3c7 selftests/x86/avx: Add AVX tests new 2ec01bd7152f vmlinux.lds.h: Remove entry to place init_task onto init_stack new 5d3b81d4d852 x86/fpu: Avoid copying dynamic FP state from init_task in [...] new bd64e9d6aafd selftests/x86/xstate: Fix spelling mistake "hader" -> "header" new dc8aa31a7ac2 x86/fpu: Refine and simplify the magic number check during [...] new 69a2fdf44604 x86/fpu/xstate: Simplify print_xstate_features() new d02198550423 x86/fpu: Improve crypto performance by making kernel-mode [...] new 2883b4c2169a x86/fpu: Use XSAVE{,OPT,C,S} and XRSTOR{,S} mnemonics in xstate.h new 4348e9177813 x86/fpu: Clarify the "xa" symbolic name used in the XSTATE [...] new dda366083e5f x86/fpu/xstate: Fix inconsistencies in guest FPU xfeatures new 71b639af06ef Merge tag 'x86-fpu-2025-03-22' of git://git.kernel.org/pub [...] new 0156338a18eb x86/apic: Use str_disabled_enabled() helper in print_ipi_mode() new 51184c3c96a1 x86/usercopy: Fix kernel-doc func param name in clean_cach [...] new b8ffd979356e x86/irq: Fix missing declaration of 'io_apic_irqs' new e008eeec7868 x86/platform: Fix missing declaration of 'x86_apple_machine' new 40fc75610139 selftests/x86/syscall: Fix coccinelle WARNING recommending [...] new f739365158a3 x86/delay: Fix inconsistent whitespace new ec73859d76db x86/coco: Replace 'static const cc_mask' with the newly in [...] new a49a879f0ac1 Merge tag 'x86-cleanups-2025-03-22' of git://git.kernel.or [...] new 72dafb567760 x86/sev: Add missing RIP_REL_REF() invocations during sme_ [...] new f0373cc0907c x86/sev: Simplify the code by removing unnecessary 'else' [...] new 8ac6067bd808 Merge tag 'x86-sev-2025-03-22' of git://git.kernel.org/pub [...] new 000894d8fc0d x86/platform/olpc-xo1-sci: Don't include <linux/pm_wakeup. [...] new ef69de53c46a x86/platform/olpc: Remove unused variable 'len' in olpc_dt [...] new 001a3a0c6a3f Merge tag 'x86-platform-2025-03-22' of git://git.kernel.or [...]
The 276 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../admin-guide/hw-vuln/reg-file-data-sampling.rst | 8 - Documentation/admin-guide/kdump/kdump.rst | 4 - Documentation/admin-guide/kernel-parameters.txt | 11 - Documentation/arch/x86/boot.rst | 10 - Documentation/arch/x86/usb-legacy-support.rst | 11 +- Makefile | 3 + arch/arm/include/asm/io.h | 2 +- arch/arm/mm/ioremap.c | 2 +- arch/arm/mm/nommu.c | 2 +- arch/riscv/include/asm/io.h | 2 +- arch/um/kernel/um_arch.c | 11 +- arch/x86/Kconfig | 202 +++---- arch/x86/Kconfig.cpu | 105 +--- arch/x86/Kconfig.cpufeatures | 201 +++++++ arch/x86/Makefile | 51 +- arch/x86/Makefile_32.cpu | 5 +- arch/x86/boot/Makefile | 7 +- arch/x86/boot/boot.h | 4 +- arch/x86/boot/compressed/Makefile | 1 + arch/x86/boot/compressed/head_64.S | 103 ---- arch/x86/boot/compressed/la57toggle.S | 112 ++++ arch/x86/boot/compressed/misc.c | 14 +- arch/x86/boot/compressed/vmlinux.lds.S | 2 +- arch/x86/boot/cpucheck.c | 3 +- arch/x86/boot/cpuflags.c | 27 +- arch/x86/boot/cpuflags.h | 7 +- arch/x86/boot/genimage.sh | 5 +- arch/x86/boot/mkcpustr.c | 3 +- arch/x86/boot/setup.ld | 2 + arch/x86/boot/tools/.gitignore | 2 - arch/x86/boot/tools/build.c | 247 -------- arch/x86/coco/sev/core.c | 3 +- arch/x86/configs/xen.config | 2 - arch/x86/crypto/aesni-intel_asm.S | 2 + arch/x86/crypto/camellia-aesni-avx-asm_64.S | 7 +- arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 1 + arch/x86/crypto/camellia-x86_64-asm_64.S | 9 +- arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 7 +- arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 5 +- arch/x86/crypto/twofish-x86_64-asm_64.S | 5 +- arch/x86/entry/Makefile | 8 +- arch/x86/entry/calling.h | 1 + arch/x86/entry/common.c | 524 ----------------- arch/x86/entry/entry.S | 6 +- arch/x86/entry/entry_32.S | 4 +- arch/x86/entry/entry_64.S | 11 +- arch/x86/entry/entry_64_compat.S | 4 +- arch/x86/entry/entry_64_fred.S | 1 + arch/x86/entry/syscall_32.c | 332 ++++++++++- arch/x86/entry/syscall_64.c | 111 +++- arch/x86/entry/syscall_x32.c | 25 - arch/x86/entry/syscalls/syscall_32.tbl | 2 +- arch/x86/entry/vdso/Makefile | 1 + arch/x86/entry/vdso/extable.h | 2 +- arch/x86/entry/vdso/vma.c | 3 +- arch/x86/events/core.c | 2 +- arch/x86/events/intel/core.c | 35 +- arch/x86/events/intel/p4.c | 7 +- arch/x86/events/intel/p6.c | 26 +- arch/x86/events/perf_event.h | 19 +- arch/x86/hyperv/mmu.c | 1 - arch/x86/include/asm/Kbuild | 1 + arch/x86/include/asm/alternative.h | 45 +- arch/x86/include/asm/amd_nb.h | 1 - arch/x86/include/asm/amd_node.h | 24 + arch/x86/include/asm/apic.h | 4 +- arch/x86/include/asm/arch_hweight.h | 14 +- arch/x86/include/asm/asm-prototypes.h | 4 +- arch/x86/include/asm/asm.h | 21 +- arch/x86/include/asm/atomic.h | 14 +- arch/x86/include/asm/atomic64_32.h | 98 ++-- arch/x86/include/asm/atomic64_64.h | 14 +- arch/x86/include/asm/bitops.h | 14 +- arch/x86/include/asm/boot.h | 2 +- arch/x86/include/asm/bug.h | 8 +- arch/x86/include/asm/cfi.h | 26 + arch/x86/include/asm/cmpxchg.h | 24 +- arch/x86/include/asm/cmpxchg_32.h | 6 +- arch/x86/include/asm/cmpxchg_64.h | 4 +- arch/x86/include/asm/coco.h | 10 +- arch/x86/include/asm/cpu.h | 15 - arch/x86/include/asm/cpu_device_id.h | 130 ++--- arch/x86/include/asm/cpufeature.h | 81 +-- arch/x86/include/asm/cpufeatures.h | 9 +- arch/x86/include/asm/cpuid.h | 216 +------ arch/x86/include/asm/{cpuid.h => cpuid/api.h} | 100 ++-- arch/x86/include/asm/cpuid/types.h | 32 + arch/x86/include/asm/cpumask.h | 4 +- arch/x86/include/asm/current.h | 40 +- arch/x86/include/asm/desc.h | 1 - arch/x86/include/asm/desc_defs.h | 4 +- arch/x86/include/asm/disabled-features.h | 161 ----- arch/x86/include/asm/dwarf2.h | 2 +- arch/x86/include/asm/e820/api.h | 1 - arch/x86/include/asm/e820/types.h | 9 - arch/x86/include/asm/elf.h | 5 +- arch/x86/include/asm/fixmap.h | 4 +- arch/x86/include/asm/fpu/api.h | 17 +- arch/x86/include/asm/frame.h | 10 +- arch/x86/include/asm/fred.h | 4 +- arch/x86/include/asm/fsgsbase.h | 4 +- arch/x86/include/asm/ftrace.h | 24 +- arch/x86/include/asm/hardirq.h | 4 +- arch/x86/include/asm/hw_irq.h | 4 +- arch/x86/include/asm/ibt.h | 25 +- arch/x86/include/asm/idtentry.h | 6 +- arch/x86/include/asm/init.h | 4 + arch/x86/include/asm/inst.h | 2 +- arch/x86/include/asm/intel-family.h | 50 +- arch/x86/include/asm/io.h | 3 + arch/x86/include/asm/irq_stack.h | 12 +- arch/x86/include/asm/irqflags.h | 10 +- arch/x86/include/asm/jump_label.h | 4 +- arch/x86/include/asm/kasan.h | 2 +- arch/x86/include/asm/kexec.h | 62 +- arch/x86/include/asm/linkage.h | 24 +- arch/x86/include/asm/mem_encrypt.h | 4 +- arch/x86/include/asm/mmu.h | 12 + arch/x86/include/asm/mmu_context.h | 10 +- arch/x86/include/asm/mshyperv.h | 18 +- arch/x86/include/asm/msr-index.h | 2 + arch/x86/include/asm/msr.h | 4 +- arch/x86/include/asm/nmi.h | 2 + arch/x86/include/asm/nops.h | 2 +- arch/x86/include/asm/nospec-branch.h | 17 +- arch/x86/include/asm/orc_types.h | 4 +- arch/x86/include/asm/page.h | 4 +- arch/x86/include/asm/page_32.h | 4 +- arch/x86/include/asm/page_32_types.h | 8 +- arch/x86/include/asm/page_64.h | 9 +- arch/x86/include/asm/page_64_types.h | 2 +- arch/x86/include/asm/page_types.h | 4 +- arch/x86/include/asm/paravirt.h | 19 +- arch/x86/include/asm/paravirt_types.h | 20 +- arch/x86/include/asm/percpu.h | 76 +-- arch/x86/include/asm/pgalloc.h | 5 - arch/x86/include/asm/pgtable-2level_types.h | 4 +- arch/x86/include/asm/pgtable-3level_types.h | 4 +- arch/x86/include/asm/pgtable-invert.h | 4 +- arch/x86/include/asm/pgtable.h | 12 +- arch/x86/include/asm/pgtable_32.h | 4 +- arch/x86/include/asm/pgtable_32_areas.h | 2 +- arch/x86/include/asm/pgtable_64.h | 6 +- arch/x86/include/asm/pgtable_64_types.h | 4 +- arch/x86/include/asm/pgtable_types.h | 14 +- arch/x86/include/asm/preempt.h | 25 +- arch/x86/include/asm/processor.h | 66 +-- arch/x86/include/asm/prom.h | 4 +- arch/x86/include/asm/proto.h | 3 +- arch/x86/include/asm/pti.h | 4 +- arch/x86/include/asm/ptrace.h | 4 +- arch/x86/include/asm/purgatory.h | 4 +- arch/x86/include/asm/pvclock-abi.h | 4 +- arch/x86/include/asm/realmode.h | 4 +- arch/x86/include/asm/required-features.h | 105 ---- arch/x86/include/asm/rmwcc.h | 2 +- arch/x86/include/asm/runtime-const.h | 13 + arch/x86/include/asm/segment.h | 8 +- arch/x86/include/asm/set_memory.h | 2 - arch/x86/include/asm/setup.h | 7 +- arch/x86/include/asm/setup_data.h | 4 +- arch/x86/include/asm/shared/tdx.h | 4 +- arch/x86/include/asm/shstk.h | 4 +- arch/x86/include/asm/signal.h | 8 +- arch/x86/include/asm/smap.h | 6 +- arch/x86/include/asm/smp.h | 24 +- arch/x86/include/asm/special_insns.h | 22 +- arch/x86/include/asm/sta2x11.h | 13 - arch/x86/include/asm/stackprotector.h | 36 +- arch/x86/include/asm/string_64.h | 2 + arch/x86/include/asm/tdx.h | 4 +- arch/x86/include/asm/thread_info.h | 12 +- arch/x86/include/asm/tlb.h | 138 +++++ arch/x86/include/asm/tlbbatch.h | 5 + arch/x86/include/asm/tlbflush.h | 72 ++- arch/x86/include/asm/traps.h | 2 - arch/x86/include/asm/unwind_hints.h | 4 +- arch/x86/include/asm/vdso/getrandom.h | 4 +- arch/x86/include/asm/vdso/gettimeofday.h | 4 +- arch/x86/include/asm/vdso/processor.h | 4 +- arch/x86/include/asm/vdso/vsyscall.h | 4 +- arch/x86/include/asm/vermagic.h | 4 - arch/x86/include/asm/xen/interface.h | 10 +- arch/x86/include/asm/xen/interface_32.h | 4 +- arch/x86/include/asm/xen/interface_64.h | 4 +- arch/x86/include/uapi/asm/bootparam.h | 4 +- arch/x86/include/uapi/asm/e820.h | 4 +- arch/x86/include/uapi/asm/ldt.h | 4 +- arch/x86/include/uapi/asm/msr.h | 4 +- arch/x86/include/uapi/asm/ptrace-abi.h | 6 +- arch/x86/include/uapi/asm/ptrace.h | 4 +- arch/x86/include/uapi/asm/setup_data.h | 4 +- arch/x86/include/uapi/asm/signal.h | 8 +- arch/x86/kernel/Makefile | 2 + arch/x86/kernel/acpi/cstate.c | 19 +- arch/x86/kernel/acpi/madt_playdead.S | 1 + arch/x86/kernel/acpi/madt_wakeup.c | 73 +-- arch/x86/kernel/acpi/wakeup_64.S | 1 + arch/x86/kernel/alternative.c | 645 ++++++++++++++++----- arch/x86/kernel/amd_nb.c | 1 - arch/x86/kernel/amd_node.c | 149 +++++ arch/x86/kernel/apic/Makefile | 3 - arch/x86/kernel/apic/apic.c | 7 +- arch/x86/kernel/apic/bigsmp_32.c | 105 ---- arch/x86/kernel/apic/ipi.c | 33 +- arch/x86/kernel/apic/local.h | 13 - arch/x86/kernel/apic/probe_32.c | 29 - arch/x86/kernel/asm-offsets.c | 5 - arch/x86/kernel/asm-offsets_64.c | 6 - arch/x86/kernel/bootflag.c | 29 +- arch/x86/kernel/callthunks.c | 13 - arch/x86/kernel/cfi.c | 26 +- arch/x86/kernel/cpu/amd.c | 30 +- arch/x86/kernel/cpu/cacheinfo.c | 31 +- arch/x86/kernel/cpu/common.c | 237 +++++--- arch/x86/kernel/cpu/cpu.h | 8 - arch/x86/kernel/cpu/cpuid-deps.c | 35 ++ arch/x86/kernel/cpu/debugfs.c | 4 +- arch/x86/kernel/cpu/hygon.c | 16 +- arch/x86/kernel/cpu/intel.c | 297 ++++------ arch/x86/kernel/cpu/match.c | 30 + arch/x86/kernel/cpu/microcode/intel.c | 2 +- arch/x86/kernel/cpu/mtrr/generic.c | 17 +- arch/x86/kernel/cpu/mtrr/if.c | 6 +- arch/x86/kernel/crash.c | 2 +- arch/x86/kernel/dumpstack_32.c | 4 +- arch/x86/kernel/dumpstack_64.c | 2 +- arch/x86/kernel/e820.c | 115 ++-- arch/x86/kernel/early_printk.c | 49 +- arch/x86/kernel/fpu/core.c | 23 +- arch/x86/kernel/fpu/internal.h | 2 +- arch/x86/kernel/fpu/signal.c | 11 +- arch/x86/kernel/fpu/xstate.c | 30 +- arch/x86/kernel/fpu/xstate.h | 31 +- arch/x86/kernel/ftrace.c | 30 +- arch/x86/kernel/ftrace_64.S | 5 + arch/x86/kernel/head64.c | 2 +- arch/x86/kernel/head_64.S | 24 +- arch/x86/kernel/i8259.c | 1 + arch/x86/kernel/ioport.c | 2 +- arch/x86/kernel/irq.c | 5 + arch/x86/kernel/irq_32.c | 51 +- arch/x86/kernel/irq_64.c | 8 +- arch/x86/kernel/irqflags.S | 1 + arch/x86/kernel/kprobes/core.c | 11 +- arch/x86/kernel/kvm.c | 1 - arch/x86/kernel/module.c | 81 ++- arch/x86/kernel/nmi.c | 42 ++ arch/x86/kernel/paravirt.c | 48 +- arch/x86/kernel/process.c | 17 +- arch/x86/kernel/process_32.c | 11 +- arch/x86/kernel/process_64.c | 31 +- arch/x86/kernel/quirks.c | 2 + arch/x86/kernel/reboot.c | 12 +- arch/x86/kernel/relocate_kernel_64.S | 23 + arch/x86/kernel/setup.c | 200 ++++--- arch/x86/kernel/setup_percpu.c | 15 +- arch/x86/kernel/signal_32.c | 62 +- arch/x86/kernel/smpboot.c | 92 +-- arch/x86/kernel/tboot.c | 3 +- arch/x86/kernel/traps.c | 132 ++++- arch/x86/kernel/tsc_msr.c | 2 +- arch/x86/kernel/verify_cpu.S | 4 + arch/x86/kernel/vmlinux.lds.S | 43 +- arch/x86/kvm/vmx/vmx_ops.h | 18 +- arch/x86/lib/Makefile | 5 +- arch/x86/lib/bhi.S | 147 +++++ arch/x86/lib/clear_page_64.S | 9 +- arch/x86/lib/cmpxchg8b_emu.S | 2 +- arch/x86/lib/copy_page_64.S | 3 +- arch/x86/lib/copy_user_64.S | 3 + arch/x86/lib/copy_user_uncached_64.S | 2 + arch/x86/lib/delay.c | 2 +- arch/x86/lib/getuser.S | 16 +- arch/x86/lib/hweight.S | 3 + arch/x86/lib/memmove_64.S | 3 +- arch/x86/lib/memset_64.S | 3 +- arch/x86/lib/msr-reg.S | 3 +- arch/x86/lib/putuser.S | 9 + arch/x86/lib/retpoline.S | 3 +- arch/x86/lib/usercopy_64.c | 2 +- arch/x86/math-emu/control_w.h | 2 +- arch/x86/math-emu/exception.h | 6 +- arch/x86/math-emu/fpu_emu.h | 6 +- arch/x86/math-emu/status_w.h | 6 +- arch/x86/mm/ident_map.c | 14 +- arch/x86/mm/init.c | 9 +- arch/x86/mm/init_32.c | 9 +- arch/x86/mm/init_64.c | 8 - arch/x86/mm/ioremap.c | 8 + arch/x86/mm/kaslr.c | 10 +- arch/x86/mm/mem_encrypt_boot.S | 1 + arch/x86/mm/mem_encrypt_identity.c | 4 +- arch/x86/mm/mmap.c | 9 +- arch/x86/mm/pat/cpa-test.c | 2 +- arch/x86/mm/pat/memtype.c | 6 +- arch/x86/mm/pat/set_memory.c | 243 +++++++- arch/x86/mm/pgtable.c | 54 +- arch/x86/mm/tlb.c | 429 ++++++++++++-- arch/x86/net/bpf_jit_comp.c | 34 +- arch/x86/pci/Makefile | 2 - arch/x86/pci/sta2x11-fixup.c | 233 -------- arch/x86/platform/olpc/olpc-xo1-sci.c | 1 - arch/x86/platform/olpc/olpc_dt.c | 3 +- arch/x86/platform/pvh/head.S | 14 +- arch/x86/power/hibernate_asm_64.S | 2 + arch/x86/realmode/rm/realmode.h | 4 +- arch/x86/realmode/rm/wakeup.h | 2 +- arch/x86/tools/cpufeaturemasks.awk | 88 +++ arch/x86/tools/relocs.c | 147 +---- arch/x86/virt/svm/sev.c | 1 - arch/x86/xen/Kconfig | 2 +- arch/x86/xen/enlighten_pv.c | 69 +++ arch/x86/xen/mmu_pv.c | 1 - arch/x86/xen/smp_pv.c | 2 +- arch/x86/xen/xen-asm.S | 5 + arch/x86/xen/xen-head.S | 12 +- drivers/acpi/processor_idle.c | 2 + drivers/cpufreq/intel_pstate.c | 16 +- drivers/idle/intel_idle.c | 14 + drivers/misc/mei/Kconfig | 2 +- drivers/pci/Kconfig | 6 + drivers/platform/x86/amd/hsmp/Kconfig | 2 +- drivers/platform/x86/amd/hsmp/acpi.c | 7 +- drivers/platform/x86/amd/hsmp/hsmp.c | 1 - drivers/platform/x86/amd/hsmp/hsmp.h | 3 - drivers/platform/x86/amd/hsmp/plat.c | 36 +- drivers/powercap/intel_rapl_common.c | 2 +- .../media/atomisp/include/linux/atomisp_platform.h | 4 +- drivers/thermal/intel/intel_tcc.c | 2 +- drivers/virt/coco/sev-guest/sev-guest.c | 1 + include/acpi/processor.h | 5 + include/asm-generic/sections.h | 2 +- include/asm-generic/vmlinux.lds.h | 49 +- include/linux/acpi.h | 1 - include/linux/cfi.h | 2 + include/linux/compiler.h | 10 + include/linux/execmem.h | 31 + include/linux/mod_devicetable.h | 2 + include/linux/module.h | 16 - include/linux/moduleloader.h | 4 - include/linux/objtool.h | 4 +- include/linux/percpu-defs.h | 17 +- include/linux/preempt.h | 1 + include/linux/sizes.h | 8 + include/linux/vm_event_item.h | 2 + init/Kconfig | 5 - kernel/bpf/verifier.c | 4 +- kernel/cfi.c | 4 +- kernel/iomem.c | 5 +- kernel/kallsyms.c | 12 +- kernel/module/main.c | 81 +-- kernel/module/strict_rwx.c | 9 +- kernel/sysctl.c | 56 -- kernel/trace/bpf_trace.c | 21 +- lib/atomic64_test.c | 2 +- lib/zstd/common/portability_macros.h | 2 +- mm/execmem.c | 39 +- mm/percpu.c | 4 +- mm/vmstat.c | 2 + scripts/gcc-x86_32-has-stack-protector.sh | 8 - scripts/gcc-x86_64-has-stack-protector.sh | 4 - scripts/gdb/linux/cpus.py | 2 +- scripts/kallsyms.c | 72 +-- scripts/link-vmlinux.sh | 4 - scripts/min-tool-version.sh | 4 +- tools/arch/x86/include/asm/asm.h | 8 +- tools/arch/x86/include/asm/cpufeatures.h | 8 - tools/arch/x86/include/asm/disabled-features.h | 161 ----- tools/arch/x86/include/asm/msr-index.h | 2 + tools/arch/x86/include/asm/nops.h | 2 +- tools/arch/x86/include/asm/orc_types.h | 4 +- tools/arch/x86/include/asm/pvclock-abi.h | 4 +- tools/arch/x86/include/asm/required-features.h | 105 ---- tools/objtool/arch/x86/decode.c | 1 + tools/objtool/check.c | 12 +- tools/objtool/noreturns.h | 2 + tools/perf/check-headers.sh | 2 - tools/power/x86/turbostat/turbostat.c | 2 +- tools/testing/selftests/x86/Makefile | 6 +- tools/testing/selftests/x86/amx.c | 442 +------------- tools/testing/selftests/x86/avx.c | 12 + .../testing/selftests/x86/corrupt_xstate_header.c | 14 +- tools/testing/selftests/x86/entry_from_vm86.c | 24 +- tools/testing/selftests/x86/fsgsbase.c | 24 +- tools/testing/selftests/x86/helpers.h | 28 + tools/testing/selftests/x86/ioperm.c | 25 +- tools/testing/selftests/x86/iopl.c | 25 +- tools/testing/selftests/x86/lam.c | 151 ++++- tools/testing/selftests/x86/ldt_gdt.c | 18 +- tools/testing/selftests/x86/mov_ss_trap.c | 14 +- tools/testing/selftests/x86/ptrace_syscall.c | 24 +- tools/testing/selftests/x86/sigaltstack.c | 26 +- tools/testing/selftests/x86/sigreturn.c | 24 +- tools/testing/selftests/x86/single_step_syscall.c | 22 - tools/testing/selftests/x86/syscall_arg_fault.c | 12 - tools/testing/selftests/x86/syscall_nt.c | 12 - tools/testing/selftests/x86/syscall_numbering.c | 3 +- tools/testing/selftests/x86/sysret_rip.c | 24 +- tools/testing/selftests/x86/test_vsyscall.c | 13 - tools/testing/selftests/x86/unwind_vdso.c | 12 - tools/testing/selftests/x86/xstate.c | 477 +++++++++++++++ tools/testing/selftests/x86/xstate.h | 195 +++++++ 403 files changed, 5946 insertions(+), 6095 deletions(-) create mode 100644 arch/x86/Kconfig.cpufeatures create mode 100644 arch/x86/boot/compressed/la57toggle.S delete mode 100644 arch/x86/boot/tools/.gitignore delete mode 100644 arch/x86/boot/tools/build.c delete mode 100644 arch/x86/entry/common.c delete mode 100644 arch/x86/entry/syscall_x32.c copy arch/x86/include/asm/{cpuid.h => cpuid/api.h} (58%) create mode 100644 arch/x86/include/asm/cpuid/types.h delete mode 100644 arch/x86/include/asm/disabled-features.h delete mode 100644 arch/x86/include/asm/required-features.h delete mode 100644 arch/x86/include/asm/sta2x11.h delete mode 100644 arch/x86/kernel/apic/bigsmp_32.c create mode 100644 arch/x86/lib/bhi.S delete mode 100644 arch/x86/pci/sta2x11-fixup.c create mode 100755 arch/x86/tools/cpufeaturemasks.awk delete mode 100755 scripts/gcc-x86_32-has-stack-protector.sh delete mode 100755 scripts/gcc-x86_64-has-stack-protector.sh delete mode 100644 tools/arch/x86/include/asm/disabled-features.h delete mode 100644 tools/arch/x86/include/asm/required-features.h create mode 100644 tools/testing/selftests/x86/avx.c create mode 100644 tools/testing/selftests/x86/xstate.c create mode 100644 tools/testing/selftests/x86/xstate.h