mirror-linux/arch/x86/include/asm
Linus Torvalds 218cc8b860 A single fix for static calls to make the trampoline patching more robust
by placing explicit signature bytes after the call trampoline to prevent
 patching random other jumps like the CFI jump table entries.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAxFiEEQp8+kY+LLUocC4bMphj1TA10mKEFAmGRDKsTHHRnbHhAbGlu
 dXRyb25peC5kZQAKCRCmGPVMDXSYoZeNEADEFTbUJKd8812O9vkY9we1GDAtH7bY
 z6sYkh0/rPvYjdPfHuwqW8tUAl+CO2ne2X8FRPKgEdRLg44BY4HaMHmujdbGh3fh
 zpqynUBPoOIgtWxAPGdF+JxjrKlzjFd+WwjG3qBXOF3pjKgCc5knyjTucsl6ced3
 wF293rSYrIJ6uRv2TTNbM5hWJdC0arWbdMFnwQTxeZR54WLpu7Wfm+CCK41w0fAU
 nrfSsv73WEwpmAZNh04wsZsf7h6yCO7dCrIJD/3mpJtrUVBZXuZAKDzUzJPvHJal
 T8LcKwxZQAgPv0ubmOCrolj98Qp6PAPSdDJbzNsCJUYEbBqaB2inJ0PeHcZPspy9
 YyW00EHXD2UKm/GNF/DIlhoiNxOSh8Wn4b6H5ZRML50bS7jsMp8YVbticWEjItL6
 N4/61c45/uPILBS+Lysj0aqyj4TvagiuffJFWjw3YAQ+Gp/pzlJwRNjrw7/4DxAx
 KdpM881IKCR8UowBz3gIiA9FrJv2dGMqq31Rs1fjuauxkIX0gV3c64tAIRWrVscT
 k6GKGvHSis5cT97K3yhmNH0BUND+Skeku8G/SnTkefvcB85aU/7HBkLLJpw0w84F
 F6PTCaCJOEHrl3ADkilsi3z0sKWrph6aAzDEgp6Q6cmo9ulFAGw0bjuJb59xsvVK
 flIvTLUY3n76FA==
 =dgiF
 -----END PGP SIGNATURE-----

Merge tag 'locking-urgent-2021-11-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 static call update from Thomas Gleixner:
 "A single fix for static calls to make the trampoline patching more
  robust by placing explicit signature bytes after the call trampoline
  to prevent patching random other jumps like the CFI jump table
  entries"

* tag 'locking-urgent-2021-11-14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  static_call,x86: Robustify trampoline patching
2021-11-14 10:30:17 -08:00
..
e820
fpu - Add the model number of a new, Raptor Lake CPU, to intel-family.h 2021-11-14 09:29:03 -08:00
numachip
trace x86/fpu: Convert tracing to fpstate 2021-10-20 22:35:04 +02:00
uv x86: Fix various typos in comments 2021-03-18 15:31:53 +01:00
vdso clocksource/drivers/hyper-v: Re-enable VDSO_CLOCKMODE_HVCLOCK on X86 2021-05-14 14:55:13 +02:00
xen xen: allow pv-only hypercalls only with CONFIG_XEN_PV 2021-11-02 08:11:01 -05:00
GEN-for-each-reg.h x86/asm: Fix register order 2021-10-28 23:25:26 +02:00
Kbuild x86/syscalls: Switch to generic syscalltbl.sh 2021-05-20 15:03:58 +02:00
acenv.h
acpi.h
acrn.h x86/acrn: Introduce hypercall interfaces 2021-02-09 10:58:18 +01:00
agp.h x86: Fix various typos in comments, take #2 2021-03-21 23:50:28 +01:00
alternative.h x86/alternative: Implement .retpoline_sites support 2021-10-28 23:25:27 +02:00
amd-ibs.h perf/x86/amd/ibs: Add bitfield definitions in new <asm/amd-ibs.h> header 2021-08-26 09:14:36 +02:00
amd_nb.h
apic.h x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing 2021-05-29 11:41:14 +02:00
apicdef.h
apm.h
arch_hweight.h
archrandom.h
asm-offsets.h
asm-prototypes.h x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h 2021-10-28 23:25:27 +02:00
asm.h - Start checking a CPUID bit on AMD Zen3 which states that the CPU 2021-11-01 15:33:54 -07:00
atomic.h locking/atomic: make ARCH_ATOMIC a Kconfig symbol 2021-05-26 13:20:49 +02:00
atomic64_32.h
atomic64_64.h
audit.h
barrier.h x86/asm: Simplify __smp_mb() definition 2021-05-12 12:22:57 +02:00
bios_ebda.h
bitops.h
boot.h
bootparam_utils.h
bug.h x86: Delete UD0, UD1 traces 2021-05-05 21:50:13 +02:00
bugs.h
cache.h
cacheflush.h
cacheinfo.h
ce4100.h
checksum.h
checksum_32.h
checksum_64.h
clocksource.h
cmdline.h
cmpxchg.h x86: Fix various typos in comments 2021-03-18 15:31:53 +01:00
cmpxchg_32.h
cmpxchg_64.h
compat.h arch: remove compat_alloc_user_space 2021-09-08 15:32:35 -07:00
cpu.h Perf events changes in this cycle were: 2021-04-28 13:03:44 -07:00
cpu_device_id.h
cpu_entry_area.h x86/sev: Make the #VC exception stacks part of the default stacks storage 2021-10-06 21:48:27 +02:00
cpufeature.h x86/asm: Avoid adding register pressure for the init case in static_cpu_has() 2021-09-13 19:48:21 +02:00
cpufeatures.h x86/fpu/amx: Define AMX state components and have it used for boot-time checks 2021-10-26 10:53:02 +02:00
cpuidle_haltpoll.h
cpumask.h
crash.h x86/crash: Remove crash_reserve_low_1M() 2021-06-07 12:14:45 +02:00
current.h
debugreg.h
delay.h
desc.h Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
desc_defs.h
device.h
disabled-features.h x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid() 2021-06-03 16:33:09 +02:00
div64.h
dma-mapping.h
dma.h
dmi.h
doublefault.h
dwarf2.h
edac.h
efi.h - Have 64-bit kernel code which uses 387 insns request a x87 init 2021-02-20 20:07:44 -08:00
elf.h x86/elf: Support a new ELF aux vector AT_MINSIGSTKSZ 2021-05-19 12:18:45 +02:00
elfcore-compat.h
emergency-restart.h
emulate_prefix.h
enclu.h
entry-common.h x86/entry: Correct reference to intended CONFIG_64_BIT 2021-10-06 18:46:02 +02:00
espfix.h
exec.h
extable.h x86/extable: Rework the exception table mechanics 2021-09-13 17:51:47 +02:00
extable_fixup_types.h x86/extable: Provide EX_TYPE_DEFAULT_MCE_SAFE and EX_TYPE_FAULT_MCE_SAFE 2021-09-13 17:56:56 +02:00
fb.h
fixmap.h x86/platform/intel-mid: Remove unused leftovers (vRTC) 2021-02-09 15:28:37 +01:00
floppy.h floppy: remove redundant assignment to variable st 2021-04-20 08:59:03 -06:00
frame.h
fsgsbase.h
ftrace.h x86/ftrace: Make function graph use ftrace directly 2021-10-20 23:44:43 -04:00
futex.h
gart.h
genapic.h
geode.h
hardirq.h
highmem.h
hpet.h
hugetlb.h
hw_breakpoint.h
hw_irq.h
hyperv-tlfs.h x86/hyperv: Add new hvcall guest address host visibility support 2021-10-28 11:21:33 +00:00
hypervisor.h
i8259.h x86: Avoid magic number with ELCR register accesses 2021-08-10 23:31:43 +02:00
ia32.h x86: Fix misspelled Kconfig symbols 2021-10-05 21:48:30 +02:00
ia32_unistd.h
idtentry.h X86 interrupt related changes: 2021-06-29 12:36:59 -07:00
imr.h
inat.h x86/insn: Add a __ignore_sync_check__ marker 2021-03-15 11:00:57 +01:00
inat_types.h
init.h
insn-eval.h x86/iopl: Fake iopl(3) CLI/STI usage 2021-09-21 13:52:18 +02:00
insn.h x86: Add insn_decode_kernel() 2021-03-31 16:20:22 +02:00
inst.h
intel-family.h x86/cpu: Add Raptor Lake to Intel family 2021-11-12 11:46:06 -08:00
intel-mid.h x86/platform/intel-mid: Update Copyright year and drop file names 2021-02-15 20:10:30 +01:00
intel_ds.h
intel_pconfig.h x86: Fix various typos in comments 2021-03-18 15:31:53 +01:00
intel_pt.h x86: Fix various typos in comments, take #2 2021-03-21 23:50:28 +01:00
intel_punit_ipc.h
intel_scu_ipc.h x86/platform/intel-mid: Get rid of intel_scu_ipc_legacy.h 2021-02-15 20:10:30 +01:00
intel_telemetry.h
invpcid.h
io.h x86/ioremap: Selectively build arch override encryption functions 2021-10-04 11:45:49 +02:00
io_apic.h
io_bitmap.h
iomap.h
iommu.h
iommu_table.h
iosf_mbi.h
irq.h Rework of the X86 irq stack handling: 2021-02-24 16:32:23 -08:00
irq_remapping.h
irq_stack.h - Do not #GP on userspace use of CLI/STI but pretend it was a NOP to 2021-11-02 07:56:47 -07:00
irq_vectors.h x86/irq: Add and use NR_EXTERNAL_VECTORS and NR_SYSTEM_VECTORS 2021-05-21 12:36:44 +02:00
irq_work.h
irqdomain.h
irqflags.h x86/paravirt: Switch functions with custom code to ALTERNATIVE 2021-03-11 20:07:01 +01:00
ist.h
jailhouse_para.h
jump_label.h jump_label, x86: Allow short NOPs 2021-05-12 14:54:56 +02:00
kasan.h
kaslr.h
kbdleds.h
kdebug.h
kexec-bzimage64.h
kexec.h x86/sme: Replace occurrences of sme_active() with cc_platform_has() 2021-10-04 11:46:46 +02:00
kfence.h kfence, x86: only define helpers if !MODULE 2021-07-30 17:09:01 +02:00
kgdb.h
kprobes.h kprobes: treewide: Remove trampoline_address from kretprobe_trampoline_handler() 2021-09-30 21:24:06 -04:00
kvm-x86-ops.h KVM: x86: don't disable APICv memslot when inhibited 2021-08-20 16:06:22 -04:00
kvm_host.h Merge branch 'kvm-5.16-fixes' into kvm-master 2021-11-11 11:03:05 -05:00
kvm_page_track.h KVM: cleanup allocation of rmaps and page tracking data 2021-10-22 05:19:25 -04:00
kvm_para.h x86/kvm: Add AMD SEV specific Hypercall3 2021-11-11 07:37:10 -05:00
kvm_types.h
kvm_vcpu_regs.h
kvmclock.h x86/kvmclock: Move this_cpu_pvti into kvmclock.h 2021-09-30 04:08:01 -04:00
linkage.h
livepatch.h
local.h
mach_timer.h
mach_traps.h
math_emu.h
mc146818rtc.h
mce.h drm for 5.16-rc1 2021-11-02 16:47:49 -07:00
mem_encrypt.h Merge branch 'kvm-guest-sev-migration' into kvm-master 2021-11-11 07:40:26 -05:00
memtype.h
microcode.h x86/microcode: Use the firmware_loader built-in API 2021-10-22 14:13:50 +02:00
microcode_amd.h
microcode_intel.h
misc.h
mmconfig.h
mmu.h
mmu_context.h
mmx.h
mmzone.h
mmzone_32.h
mmzone_64.h
module.h
mpspec.h
mpspec_def.h
mshyperv.h x86/hyperv: Add Write/Read MSR registers via ghcb page 2021-10-28 11:22:38 +00:00
msi.h
msr-index.h x86/msr-index: Add MSRs for XFD 2021-10-26 10:18:09 +02:00
msr-trace.h
msr.h x86/extable: Rework the exception table mechanics 2021-09-13 17:51:47 +02:00
mtrr.h
mwait.h
nmi.h arch: x86: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
nops.h x86/asm: Use _ASM_BYTES() in <asm/nops.h> 2021-05-10 12:33:28 +02:00
nospec-branch.h bpf,x86: Respect X86_FEATURE_RETPOLINE* 2021-10-28 23:25:29 +02:00
numa.h
numa_32.h
olpc.h
olpc_ofw.h
orc_lookup.h
orc_types.h objtool: Fix x86 orc generation on big endian cross-compiles 2021-01-13 18:13:13 -06:00
page.h mm: arch: remove indirection level in alloc_zeroed_user_highpage_movable() 2021-06-04 19:32:21 +01:00
page_32.h x86: Fix misspelled Kconfig symbols 2021-10-05 21:48:30 +02:00
page_32_types.h
page_64.h x86: Always inline task_size_max() 2021-06-22 13:56:43 +02:00
page_64_types.h x86: Increase exception stack sizes 2021-09-21 13:57:43 +02:00
page_types.h
paravirt.h Merge branch 'kvm-guest-sev-migration' into kvm-master 2021-11-11 07:40:26 -05:00
paravirt_types.h Merge branch 'kvm-guest-sev-migration' into kvm-master 2021-11-11 07:40:26 -05:00
parport.h
pc-conf-reg.h x86: Add support for 0x22/0x23 port I/O configuration space 2021-08-10 23:31:43 +02:00
pci-direct.h
pci-functions.h
pci.h
pci_x86.h
percpu.h
perf_event.h perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task 2021-06-17 14:11:47 +02:00
perf_event_p4.h
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable-2level.h
pgtable-2level_types.h
pgtable-3level.h
pgtable-3level_types.h
pgtable-invert.h
pgtable.h mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t * 2021-07-08 11:48:22 -07:00
pgtable_32.h
pgtable_32_areas.h
pgtable_32_types.h
pgtable_64.h
pgtable_64_types.h
pgtable_areas.h
pgtable_types.h mm: define default value for FIRST_USER_ADDRESS 2021-07-01 11:06:02 -07:00
pkeys.h x86/fault: Fix wrong signal when vsyscall fails with pkey 2021-09-20 22:28:47 +02:00
pkru.h x86/pkru: Remove useless include 2021-10-20 15:27:25 +02:00
platform_sst_audio.h sfi: Remove framework for deprecated firmware 2021-02-15 20:09:46 +01:00
pm-trace.h
posix_types.h
preempt.h sched/core: Initialize the idle task with preemption disabled 2021-05-12 13:01:45 +02:00
probe_roms.h
processor-cyrix.h x86: Add support for 0x22/0x23 port I/O configuration space 2021-08-10 23:31:43 +02:00
processor-flags.h
processor.h Merge branch 'kvm-5.16-fixes' into kvm-master 2021-11-11 11:03:05 -05:00
prom.h
proto.h x86/arch_prctl: Add controls for dynamic XSTATE components 2021-10-26 10:18:09 +02:00
pti.h
ptrace.h x86: Always inline ip_within_syscall_gap() 2021-09-15 15:51:47 +02:00
purgatory.h
pvclock-abi.h
pvclock.h
qrwlock.h
qspinlock.h
qspinlock_paravirt.h
realmode.h
reboot.h
reboot_fixups.h
required-features.h x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX] 2021-01-28 17:41:24 +01:00
resctrl.h
rmwcc.h
seccomp.h
sections.h
segment.h x86/extable: Rework the exception table mechanics 2021-09-13 17:51:47 +02:00
serial.h
set_memory.h mm: x86: Invoke hypercall when page encryption status is changed 2021-11-11 07:37:24 -05:00
setup.h x86/setup: Remove unused RESERVE_BRK_ARRAY() 2021-03-11 11:47:37 +01:00
setup_arch.h
sev-common.h x86/sev: Add defines for GHCB version 2 MSR protocol requests 2021-06-23 11:25:17 +02:00
sev.h x86/sev: Expose sev_es_ghcb_hv_call() for use by HyperV 2021-10-25 18:11:42 +02:00
sgx.h x86: Fix leftover comment typos 2021-05-12 20:00:51 +02:00
shmparam.h
sigcontext.h
sigframe.h x86/signal: Introduce helpers to get the maximum signal frame size 2021-05-19 11:46:27 +02:00
sighandling.h
signal.h compat: make linux/compat.h available everywhere 2021-07-23 14:20:24 +01:00
simd.h
smap.h First big cleanup to the paravirt infra to use alternatives and thus 2021-04-26 09:01:29 -07:00
smp.h x86/smp: Factor out parts of native_smp_prepare_cpus() 2021-11-11 13:09:32 +01:00
softirq_stack.h x86/softirq/64: Inline do_softirq_own_stack() 2021-02-10 23:34:17 +01:00
sparsemem.h
spec-ctrl.h
special_insns.h x86/asm: Fix SETZ size enqcmds() build failure 2021-09-22 19:45:48 +02:00
spinlock.h
spinlock_types.h
sta2x11.h
stackprotector.h x86: Fix leftover comment typos 2021-05-12 20:00:51 +02:00
stacktrace.h x86/mm/64: Improve stack overflow warnings 2021-09-21 13:57:43 +02:00
static_call.h static_call,x86: Robustify trampoline patching 2021-11-11 13:09:31 +01:00
string.h
string_32.h
string_64.h
suspend.h
suspend_32.h x86/stackprotector/32: Make the canary into a regular percpu variable 2021-03-08 13:19:05 +01:00
suspend_64.h
svm.h KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) 2021-08-16 09:48:27 -04:00
swiotlb.h
switch_to.h x86/process/64: Move cpu_current_top_of_stack out of TSS 2021-03-28 22:40:10 +02:00
sync_bitops.h
sync_core.h
syscall.h arch: remove unused function syscall_set_arguments() 2021-09-14 16:06:20 +02:00
syscall_wrapper.h x86/entry/x32: Rename __x32_compat_sys_* to __x64_compat_sys_* 2021-05-20 15:03:58 +02:00
syscalls.h
text-patching.h
thermal.h x86/thermal: Fix LVT thermal setup for SMI delivery mode 2021-05-31 22:32:26 +02:00
thread_info.h x86: add CPU field to struct thread_info 2021-09-30 14:40:30 +02:00
time.h
timer.h
timex.h
tlb.h tlb: arch: Remove empty __tlb_remove_tlb_entry() stubs 2021-01-29 20:02:29 +01:00
tlbbatch.h
tlbflush.h x86/mm: Refactor cond_ibpb() to support other use cases 2021-07-28 11:42:24 +02:00
topology.h sched: Add cluster scheduler level for x86 2021-10-15 11:25:16 +02:00
trace_clock.h
trap_pf.h
trapnr.h
traps.h x86/mm/64: Improve stack overflow warnings 2021-09-21 13:57:43 +02:00
tsc.h
uaccess.h The usual round of random minor fixes and cleanups all over the place. 2021-11-01 15:25:08 -07:00
uaccess_32.h
uaccess_64.h arch: remove compat_alloc_user_space 2021-09-08 15:32:35 -07:00
umip.h
unistd.h x86/syscalls: Use __NR_syscalls instead of __NR_syscall_max 2021-05-20 15:03:59 +02:00
unwind.h x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=y 2021-10-22 12:16:53 -04:00
unwind_hints.h x86/kprobes: Add UNWIND_HINT_FUNC on kretprobe_trampoline() 2021-09-30 21:24:07 -04:00
uprobes.h
user.h
user32.h
user_32.h
user_64.h
vdso.h
vermagic.h
vga.h
vgtod.h
virtext.h KVM: VMX: Use the kernel's version of VMXOFF 2021-02-04 05:27:33 -05:00
vm86.h x86/vm86/32: Remove VM86_SCREEN_BITMAP support 2021-01-21 20:08:53 +01:00
vmalloc.h mm/vmalloc: provide fallback arch huge vmap support functions 2021-04-30 11:20:40 -07:00
vmware.h
vmx.h KVM: VMX: Add basic handling of VM-Exit from SGX enclave 2021-04-20 04:18:54 -04:00
vmxfeatures.h KVM: VMX: Enable bus lock VM exit 2021-02-04 05:27:21 -05:00
vsyscall.h
vvar.h
word-at-a-time.h
x86_init.h
xor.h
xor_32.h
xor_64.h
xor_avx.h