mirror-linux/arch/x86/include/asm
Thomas Gleixner 2066f00e5b x86/topology: Implement topology_is_core_online() to address SMT regression
Christian reported that commit a430c11f40 ("intel_idle: Rescan "dead" SMT
siblings during initialization") broke the use case in which both 'nosmt'
and 'maxcpus' are on the kernel command line because it onlines primary
threads, which were offline due to the maxcpus limit.

The initially proposed fix to skip primary threads in the loop is
inconsistent. While it prevents the primary thread to be onlined, it then
onlines the corresponding hyperthread(s), which does not really make sense.

The CPU iterator in cpuhp_smt_enable() contains a check which excludes all
threads of a core, when the primary thread is offline. The default
implementation is a NOOP and therefore not effective on x86.

Implement topology_is_core_online() on x86 to address this issue. This
makes the behaviour consistent between x86 and PowerPC.

Fixes: a430c11f40 ("intel_idle: Rescan "dead" SMT siblings during initialization")
Fixes: f694481b1d ("ACPI: processor: Rescan "dead" SMT siblings during initialization")
Closes: https://lore.kernel.org/linux-pm/724616a2-6374-4ba3-8ce3-ea9c45e2ae3b@arm.com/
Reported-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Tested-by: Christian Loehle <christian.loehle@arm.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/12740505.O9o76ZdvQC@rafael.j.wysocki
2025-09-22 21:25:36 +02:00
..
amd Move FCH header to a location accessible by all archs 2025-06-30 13:42:11 +03:00
cpuid x86/cpuid: Rename hypervisor_cpuid_base()/for_each_possible_hypervisor_cpuid_base() to cpuid_base_hypervisor()/for_each_possible_cpuid_base_hypervisor() 2025-05-16 10:54:47 +02:00
e820 x86/e820: Drop obsolete E820_TYPE_RESERVED_KERN and related code 2025-02-21 16:05:00 +01:00
fpu x86/fpu/xstate: Add CET supervisor xfeature support as a guest-only feature 2025-06-24 13:46:33 -07:00
numachip
shared KVM: TDX: Exit to userspace for SetupEventNotifyInterrupt 2025-06-20 14:09:50 -04:00
trace x86/fpu: Remove unused trace events 2025-05-31 09:40:40 +02:00
uv x86/platform/uv: Remove unused declaration uv_irq_2_mmr_info() 2024-08-14 12:49:35 +02:00
vdso x86/asm: Rename rep_nop() to native_pause() 2025-04-18 10:19:26 +02:00
xen compiler: remove __ADDRESSABLE_ASM{_STR,}() again 2025-08-18 14:48:16 +02:00
GEN-for-each-reg.h
Kbuild x86/cpufeatures: Generate the <asm/cpufeaturemasks.h> header based on build config 2025-03-19 11:15:11 +01:00
acenv.h
acpi.h x86: Handle KCOV __init vs inline mismatches 2025-07-24 16:55:11 -07:00
acrn.h x86/cpuid: Rename hypervisor_cpuid_base()/for_each_possible_hypervisor_cpuid_base() to cpuid_base_hypervisor()/for_each_possible_cpuid_base_hypervisor() 2025-05-16 10:54:47 +02:00
agp.h
alternative.h Merge commit 'its-for-linus-20250509-merge' into x86/core, to resolve conflicts 2025-05-13 10:47:10 +02:00
apic.h x86/apic: Rename 'reg_off' to 'reg' 2025-07-10 09:44:44 -07:00
apicdef.h
apm.h
arch_hweight.h objtool, x86/hweight: Remove ANNOTATE_IGNORE_ALTERNATIVE 2025-04-13 09:52:42 +02:00
archrandom.h
asm-offsets.h
asm-prototypes.h x86/asm: Make asm export of __ref_stack_chk_guard unconditional 2025-03-21 08:34:28 +01:00
asm.h Merge branch 'x86/msr' into x86/core, to resolve conflicts 2025-05-13 10:42:06 +02:00
atomic.h x86/locking/atomic: Improve performance by using asm_inline() for atomic locking instructions 2025-03-19 11:26:58 +01:00
atomic64_32.h x86/alternatives: Simplify alternative_call() interface 2025-03-04 11:21:40 +01:00
atomic64_64.h x86/locking/atomic: Improve performance by using asm_inline() for atomic locking instructions 2025-03-19 11:26:58 +01:00
audit.h
barrier.h x86/locking: Remove semicolon from "lock" prefix 2025-02-28 10:18:26 +01:00
bios_ebda.h
bitops.h x86/bitops: Simplify variable_ffz() as variable__ffs(~word) 2025-03-28 23:24:16 +01:00
boot.h x86/boot/compressed: Merge the local pgtable.h include into <asm/boot.h> 2025-04-06 20:15:14 +02:00
bootparam_utils.h
bug.h x86/bug: Add ARCH_WARN_ASM macro for BUG/WARN asm code sharing with Rust 2025-07-22 23:58:55 +02:00
bugs.h
cache.h
cacheflush.h
cacheinfo.h
ce4100.h serial: 8250: Move CE4100 quirks to a module under 8250 driver 2025-06-29 14:24:46 +02:00
cfi.h cfi: Move BPF CFI types and helpers to generic code 2025-07-31 18:23:53 -07:00
checksum.h
checksum_32.h
checksum_64.h
clocksource.h
cmdline.h x86/setup: Parse the builtin command line before merging 2024-07-31 21:46:35 +02:00
cmpxchg.h [ Merge note: this pull request depends on you having merged 2025-03-24 22:06:11 -07:00
cmpxchg_32.h [ Merge note: this pull request depends on you having merged 2025-03-24 22:06:11 -07:00
cmpxchg_64.h x86/locking/atomic: Improve performance by using asm_inline() for atomic locking instructions 2025-03-19 11:26:58 +01:00
coco.h x86/boot: Drop RIP_REL_REF() uses from SME startup code 2025-04-12 11:13:05 +02:00
compat.h
cpu.h Merge branch 'x86/asm' into x86/core, to pick up dependent commits 2025-03-04 20:29:35 +01:00
cpu_device_id.h x86/cpu: Add cpu_type to struct x86_cpu_id 2025-03-19 11:17:03 +01:00
cpu_entry_area.h
cpufeature.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
cpufeatures.h Mitigate VMSCAPE issue with indirect branch predictor flushes 2025-09-10 20:52:16 -07:00
cpuidle_haltpoll.h
cpumask.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
crash.h
crash_reserve.h crash: use macro to add crashk_res into iomem early for specific arch 2024-03-26 11:14:12 -07:00
current.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
debugreg.h x86/traps: Initialize DR7 by writing its architectural reset value 2025-06-24 13:15:52 -07:00
delay.h
desc.h x86/percpu/64: Remove INIT_PER_CPU macros 2025-02-18 10:15:50 +01:00
desc_defs.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
device.h
div64.h
dma-mapping.h
dma.h
dmi.h
doublefault.h
dwarf2.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
edac.h x86/locking: Remove semicolon from "lock" prefix 2025-02-28 10:18:26 +01:00
efi.h efi/libstub: Simplify GOP handling code 2025-01-14 08:35:08 +01:00
elf.h x86/vdso: Remove #ifdeffery around page setup variants 2025-04-22 14:24:07 +02:00
elfcore-compat.h
emergency-restart.h
emulate_prefix.h
enclu.h
entry-common.h x86/vmscape: Add conditional IBPB mitigation 2025-08-14 10:37:18 -07:00
espfix.h
exec.h
extable.h x86/extable: Remove unused declaration fixup_bug() 2024-08-25 16:07:51 +02:00
extable_fixup_types.h x86/extable: Remove unused fixup type EX_TYPE_COPY 2024-04-04 17:01:40 +02:00
fixmap.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
floppy.h
fpu.h x86: implement ARCH_HAS_KERNEL_FPU_SUPPORT 2024-05-19 14:36:19 -07:00
frame.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
fred.h x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
fsgsbase.h x86/msr: Rename 'wrmsrl()' to 'wrmsrq()' 2025-04-10 11:58:33 +02:00
ftrace.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
futex.h futex: improve user space accesses 2024-11-25 12:11:55 -08:00
gart.h
genapic.h
geode.h
gsseg.h
hardirq.h x86/softirq: Move softirq_pending to percpu hot section 2025-03-04 20:30:33 +01:00
highmem.h arch, mm: streamline HIGHMEM freeing 2025-03-17 22:06:53 -07:00
hpet.h rtc: Remove hpet_rtc_dropped_irq() 2025-01-13 23:07:18 +01:00
hugetlb.h
hw_breakpoint.h
hw_irq.h x86/irq: Plug vector setup race 2025-08-04 23:34:03 +02:00
hyperv_timer.h
hypervisor.h
i8259.h
ia32.h x86/32: Remove unused IA32_STACK_TOP and two externs 2024-04-02 15:01:40 +02:00
ibt.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
idtentry.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
imr.h
inat.h x86/insn: Stop decoding i64 instructions in x86-64 mode at opcode 2025-05-06 12:03:16 +02:00
inat_types.h
init.h compiler_types: Provide __no_kstack_erase to disable coverage only on Clang 2025-07-29 17:19:35 -07:00
insn-eval.h
insn.h x86/insn: Add support for APX EVEX to the instruction decoder logic 2024-05-02 13:13:45 +02:00
inst.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
intel-family.h x86/cpu: Add new Intel CPU model numbers for Wildcatlake and Novalake 2025-08-01 18:22:34 +02:00
intel-mid.h
intel_ds.h perf/x86/intel: Support the PEBS event mask 2024-07-04 16:00:36 +02:00
intel_pt.h
intel_punit_ipc.h platform/x86: intel: punit_ipc: Remove unused function 2025-01-15 16:26:30 +02:00
intel_telemetry.h platform/x86: intel_telemetry: Remove unused telemetry_raw_read_events() 2025-06-11 10:56:06 +03:00
invpcid.h
io.h x86/asm: Remove semicolon from "rep" prefixes 2025-04-18 09:33:33 +02:00
io_apic.h x86/platform/ce4100: Dont override x86_init.mpparse.setup_ioapic_ids 2024-02-15 22:07:39 +01:00
io_bitmap.h
iomap.h
iommu.h iommu/amd: Don't rely on external callers to enable IOMMU SNP support 2024-01-29 17:19:28 +01:00
iosf_mbi.h x86/platform/iosf_mbi: Remove unused iosf_mbi_unregister_pmic_bus_access_notifier() 2025-04-01 20:31:39 +02:00
irq.h x86: replace CONFIG_HAVE_KVM with IS_ENABLED(CONFIG_KVM) 2024-02-08 08:45:35 -05:00
irq_remapping.h iommu/amd: KVM: SVM: Allow KVM to control need for GA log interrupts 2025-06-23 09:50:51 -07:00
irq_stack.h x86/irq: Move irq stacks to percpu hot section 2025-03-04 20:30:33 +01:00
irq_vectors.h x86/irq: Fix comment on IRQ vector layout 2024-08-13 12:00:09 +02:00
irq_work.h
irqdomain.h
irqflags.h x86/bugs: Rename MDS machinery to something more generic 2025-06-16 18:45:18 +02:00
ist.h
jailhouse_para.h
jump_label.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
kasan.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
kaslr.h
kbdleds.h
kdebug.h
kexec-bzimage64.h
kexec.h x86/kexec: Add 8250 MMIO serial port output 2025-04-10 12:17:14 +02:00
kfence.h
kgdb.h
kmsan.h mm, kmsan: fix infinite recursion due to RCU critical section 2024-01-25 23:52:21 -08:00
kprobes.h
kvm-x86-ops.h Merge tag 'kvm-x86-misc-6.17' of https://github.com/kvm-x86/linux into HEAD 2025-07-29 08:36:43 -04:00
kvm-x86-pmu-ops.h KVM: x86: Replace static_call_cond() with static_call() 2024-07-16 12:14:11 -04:00
kvm_host.h Merge tag 'kvm-x86-mmu-6.17' of https://github.com/kvm-x86/linux into HEAD 2025-07-29 08:36:43 -04:00
kvm_page_track.h
kvm_para.h
kvm_types.h
kvm_vcpu_regs.h
kvmclock.h kvmclock: Unexport kvmclock clocksource 2024-02-07 17:05:21 +01:00
linkage.h x86/linkage: Add SYM_PIC_ALIAS() macro helper to emit symbol aliases 2025-05-04 15:59:43 +02:00
local.h locking/x86: Implement local_xchg() using CMPXCHG without the LOCK prefix 2024-03-01 12:54:25 +01:00
mach_timer.h
mach_traps.h
math_emu.h
mc146818rtc.h
mce.h x86/mce/inject: Remove call to mce_notify_irq() 2025-02-26 12:18:37 +01:00
mem_encrypt.h x86/boot: Drop RIP_REL_REF() uses from SME startup code 2025-04-12 11:13:05 +02:00
memtype.h
microcode.h Merge branch 'x86/msr' into x86/core, to resolve conflicts 2025-05-13 10:42:06 +02:00
misc.h
mman.h
mmconfig.h
mmu.h x86/mm: Fix false positive warning in switch_mm_irqs_off() 2025-05-06 11:28:57 +02:00
mmu_context.h x86/mm: Fix false positive warning in switch_mm_irqs_off() 2025-05-06 11:28:57 +02:00
module.h x86/its: move its_pages array to struct mod_arch_specific 2025-06-11 11:20:51 +02:00
mpspec.h printk: Change type of CONFIG_BASE_SMALL to bool 2024-05-06 17:39:09 +02:00
mpspec_def.h
mshyperv.h x86/hyperv: Expose hv_map_msi_interrupt() 2025-07-15 06:24:16 +00:00
msi.h
msr-index.h ARM: 2025-07-30 17:14:01 -07:00
msr-trace.h
msr.h Generic: 2025-06-02 12:24:58 -07:00
mtrr.h x86/mtrr: Rename mtrr_overwrite_state() to guest_force_mtrr_state() 2024-12-06 20:06:52 +01:00
mwait.h x86/process: Move the buffer clearing before MONITOR 2025-06-17 17:17:12 +02:00
nmi.h x86/nmi: Improve <asm/nmi.h> documentation 2025-04-01 22:26:21 +02:00
nops.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
nospec-branch.h x86/vmscape: Add conditional IBPB mitigation 2025-08-14 10:37:18 -07:00
numa.h arch, mm: streamline HIGHMEM freeing 2025-03-17 22:06:53 -07:00
olpc.h
olpc_ofw.h
orc_header.h
orc_lookup.h
orc_types.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
page.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
page_32.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
page_32_types.h x86/mm: Consolidate initmem_init() 2025-04-09 22:02:30 +02:00
page_64.h x86/mm/64: Make 5-level paging support unconditional 2025-05-17 10:38:16 +02:00
page_64_types.h x86/mm/64: Make 5-level paging support unconditional 2025-05-17 10:38:16 +02:00
page_types.h x86/boot: Use __ALIGN_KERNEL_MASK() instead of open coded analogue 2025-04-06 20:06:36 +02:00
paravirt.h x86/paravirt: Restrict PARAVIRT_XXL to 64-bit only 2025-05-17 10:38:29 +02:00
paravirt_api_clock.h
paravirt_types.h x86/paravirt: Restrict PARAVIRT_XXL to 64-bit only 2025-05-17 10:38:29 +02:00
parport.h
pc-conf-reg.h
pci-direct.h
pci-functions.h
pci.h x86/setup: Move internal setup_data structures into setup_data.h 2024-01-30 15:17:12 +01:00
pci_x86.h
percpu.h x86/percpu: Refer __percpu_prefix to __force_percpu_prefix 2025-04-13 09:48:24 +02:00
perf_event.h perf/x86/intel: Add CPUID enumeration for the auto counter reload 2025-04-08 20:55:49 +02:00
perf_event_p4.h x86/cpu/topology: Rename smp_num_siblings 2024-02-15 22:07:45 +01:00
pgalloc.h x86/mm: Fix _pgd_alloc() for Xen PV mode 2025-04-23 07:49:14 -07:00
pgtable-2level.h
pgtable-2level_types.h x86/mm: Remove now unused SHARED_KERNEL_PMD 2025-04-17 10:39:25 -07:00
pgtable-3level.h x86/bugs: Rename CONFIG_PAGE_TABLE_ISOLATION => CONFIG_MITIGATION_PAGE_TABLE_ISOLATION 2024-01-10 10:52:28 +01:00
pgtable-3level_types.h x86/mm: Remove now unused SHARED_KERNEL_PMD 2025-04-17 10:39:25 -07:00
pgtable-invert.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
pgtable.h mm: remove devmap related functions and page table bits 2025-07-09 22:42:18 -07:00
pgtable_32.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
pgtable_32_areas.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
pgtable_32_types.h
pgtable_64.h x86/mm/64: Make 5-level paging support unconditional 2025-05-17 10:38:16 +02:00
pgtable_64_types.h x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings() 2025-08-27 22:45:44 -07:00
pgtable_areas.h
pgtable_types.h Summary of significant series in this pull request: 2025-07-31 14:57:54 -07:00
pkeys.h
pkru.h
platform_sst_audio.h
pm-trace.h
posix_types.h
posted_intr.h x86/irq: KVM: Add helper for harvesting PIR to deduplicate KVM and posted MSIs 2025-04-24 11:19:41 -07:00
preempt.h x86/preempt: Move preempt count to percpu hot section 2025-03-04 20:30:33 +01:00
probe_roms.h
processor-cyrix.h
processor-flags.h x86/bugs: Rename CONFIG_PAGE_TABLE_ISOLATION => CONFIG_MITIGATION_PAGE_TABLE_ISOLATION 2024-01-10 10:52:28 +01:00
processor.h x86/cpuid: Set <asm/cpuid/api.h> as the main CPUID header 2025-05-15 18:23:55 +02:00
prom.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
proto.h x86/arch_prctl: Simplify sys_arch_prctl() 2025-02-21 22:32:25 +01:00
pti.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
ptrace.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
purgatory.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
pvclock-abi.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
pvclock.h random: vDSO: minimize and simplify header includes 2024-09-13 17:28:35 +02:00
qrwlock.h
qspinlock.h x86/paravirt: Fix incorrect virt spinlock setting on bare metal 2024-08-07 20:04:38 +02:00
qspinlock_paravirt.h locking/pvqspinlock/x86: Use _Q_LOCKED_VAL in PV_UNLOCK_ASM macro 2024-04-24 11:48:08 +02:00
realmode.h x86: Handle KCOV __init vs inline mismatches 2025-07-24 16:55:11 -07:00
reboot.h KVM/arm64 fixes for 6.12, take #1 2024-10-06 03:59:22 -04:00
reboot_fixups.h
resctrl.h Carve out the resctrl filesystem-related code into fs/resctrl/ so that 2025-05-27 09:53:02 -07:00
rmwcc.h x86/locking/atomic: Improve performance by using asm_inline() for atomic locking instructions 2025-03-19 11:26:58 +01:00
rqspinlock.h rqspinlock: Add basic support for CONFIG_PARAVIRT 2025-03-19 08:03:05 -07:00
runtime-const.h x86/runtime-const: Add the RUNTIME_CONST_PTR assembly macro 2025-03-19 11:26:24 +01:00
seccomp.h x86/syscall/compat: Remove ia32_unistd.h 2024-03-22 09:37:09 +01:00
sections.h x86/kexec: Move relocate_kernel to kernel .data section 2024-12-06 10:41:59 +01:00
segment.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
serial.h
set_memory.h Revert "x86/mm: Remove unused __set_memory_prot()" 2025-05-21 10:48:21 -07:00
setup.h - The 11 patch series "Add folio_mk_pte()" from Matthew Wilcox 2025-05-31 15:44:16 -07:00
setup_arch.h
setup_data.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
sev-common.h x86/sev: Fix operator precedence in GHCB_MSR_VMPL_REQ_LEVEL macro 2025-05-11 11:38:03 +02:00
sev-internal.h Merge branch 'x86/msr' into x86/core, to resolve conflicts 2025-05-13 10:42:06 +02:00
sev.h x86/sev: Guard sev_evict_cache() with CONFIG_AMD_MEM_ENCRYPT 2025-09-15 18:29:43 +02:00
sgx.h
shmparam.h
shstk.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
sigcontext.h
sigframe.h
sighandling.h x86/fred/signal: Prevent immediate repeat of single step trap on return from SIGTRAP handler 2025-06-09 08:50:58 -07:00
signal.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
simd.h x86: Make simd.h more resilient 2025-04-16 15:36:23 +08:00
smap.h objtool: Remove ANNOTATE_IGNORE_ALTERNATIVE from CLAC/STAC 2025-04-08 22:03:51 +02:00
smp.h x86/lib: Add WBINVD and WBNOINVD helpers to target multiple CPUs 2025-07-10 13:30:17 +02:00
softirq_stack.h
sparsemem.h mm: make range-to-target_node lookup facility a part of numa_memblks 2024-09-03 21:15:32 -07:00
spec-ctrl.h x86/msr: Rename 'native_wrmsrl()' to 'native_wrmsrq()' 2025-04-10 11:59:28 +02:00
special_insns.h x86/lib: Add WBNOINVD helper functions 2025-07-10 13:23:10 +02:00
spinlock.h
spinlock_types.h
stackprotector.h x86/stackprotector: Move __stack_chk_guard to percpu hot section 2025-03-04 20:30:33 +01:00
stacktrace.h
static_call.h x86/static-call: provide a way to do very early static-call updates 2024-12-13 09:28:32 +01:00
string.h
string_32.h x86/asm: Remove semicolon from "rep" prefixes 2025-04-18 09:33:33 +02:00
string_64.h x86/cfi: Clean up linkage 2025-02-14 10:32:05 +01:00
suspend.h
suspend_32.h x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
suspend_64.h x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
svm.h KVM: SVM: Generate GA log IRQs only if the associated vCPUs is blocking 2025-06-23 09:50:52 -07:00
switch_to.h x86/msr: Replace wrmsr(msr, low, 0) with wrmsrq(msr, low) 2025-05-02 10:36:36 +02:00
sync_bitops.h x86/locking: Remove semicolon from "lock" prefix 2025-02-28 10:18:26 +01:00
sync_core.h x86/static-call: provide a way to do very early static-call updates 2024-12-13 09:28:32 +01:00
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscall_wrapper.h x86/entry/ia32: Ensure s32 is sign extended to s64 2024-01-24 11:49:19 +01:00
syscalls.h
tdx.h x86/virt/tdx: Avoid indirect calls to TDX assembly functions 2025-06-10 12:32:52 -07:00
tdx_global_metadata.h KVM: VMX: Initialize TDX during KVM module load 2025-03-14 14:20:50 -04:00
text-patching.h x86/alternatives: Rename 'apply_relocation()' to 'text_poke_apply_relocation()' 2025-04-11 11:01:35 +02:00
thermal.h
thread_info.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
time.h
timer.h ntp: Remove unused tick_nsec 2024-10-02 16:53:38 +02:00
timex.h
tlb.h x86/mm: Always set the ASID valid bit for the INVLPGB instruction 2025-03-19 11:12:29 +01:00
tlbbatch.h x86/mm: Only do broadcast flush from reclaim if pages were unmapped 2025-03-19 21:56:42 +01:00
tlbflush.h mm: remove arch_flush_tlb_batched_pending() arch helper 2025-07-24 19:12:32 -07:00
topology.h x86/topology: Implement topology_is_core_online() to address SMT regression 2025-09-22 21:25:36 +02:00
trace_clock.h
trap_pf.h x86/traps: Define RMP violation #PF error code 2024-01-29 17:26:56 +01:00
trapnr.h x86/trapnr: Add event type macros to <asm/trapnr.h> 2024-01-25 19:10:29 +01:00
traps.h x86: Move sysctls into arch/x86 2025-02-18 11:08:36 +01:00
tsc.h x86/msr: Move rdtsc{,_ordered}() to <asm/tsc.h> 2025-05-02 10:24:39 +02:00
uaccess.h x86/uaccess: Fix missed zeroing of ia32 u64 get_user() range checking 2024-06-11 16:08:43 -07:00
uaccess_32.h
uaccess_64.h x86/uaccess: Use asm_inline() instead of asm() in __untagged_addr() 2025-04-13 21:12:04 +02:00
umip.h
unaccepted_memory.h
unistd.h clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
unwind.h
unwind_hints.h x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
uprobes.h
user.h
user32.h
user_32.h
user_64.h
vdso.h x86/vdso: Remove #ifdeffery around page setup variants 2025-04-22 14:24:07 +02:00
vermagic.h x86/cpu: Drop configuration options for early 64-bit CPUs 2025-02-27 11:19:06 +01:00
vga.h
vgtod.h x86/vgtod: Remove unused typedef gtod_long_t 2024-07-03 21:27:04 +02:00
video.h arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
vm86.h x86/vm86: Make sure the free_vm86(task) definition uses its parameter even in the !CONFIG_VM86 case 2024-03-29 14:24:50 +01:00
vmalloc.h
vmware.h x86/vmware: Add TDX hypercall support 2024-06-25 17:15:48 +02:00
vmx.h Merge branch 'kvm-tdx-initial' into HEAD 2025-04-07 07:36:33 -04:00
vmxfeatures.h - Flip the logic to add feature names to /proc/cpuinfo to having to 2024-07-15 20:25:16 -07:00
vsyscall.h x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h 2024-02-15 19:21:39 -08:00
word-at-a-time.h x86-64: word-at-a-time: improve byte count calculations 2024-06-19 12:35:18 -07:00
x86_init.h x86/nmi: Add missing description x86_platform_ops::get_nmi_reason to <asm/x86_init.h> 2025-04-01 22:26:27 +02:00
xor.h
xor_32.h
xor_64.h
xor_avx.h