linux_dsm_epyc7002/arch/x86/include/asm
Ricardo Neri 32d0b95300 x86/insn-eval: Add utility functions to get segment selector
When computing a linear address and segmentation is used, we need to know
the base address of the segment involved in the computation. In most of
the cases, the segment base address will be zero as in USER_DS/USER32_DS.
However, it may be possible that a user space program defines its own
segments via a local descriptor table. In such a case, the segment base
address may not be zero. Thus, the segment base address is needed to
calculate correctly the linear address.

If running in protected mode, the segment selector to be used when
computing a linear address is determined by either any of segment override
prefixes in the instruction or inferred from the registers involved in the
computation of the effective address; in that order. Also, there are cases
when the segment override prefixes shall be ignored (i.e., code segments
are always selected by the CS segment register; string instructions always
use the ES segment register when using rDI register as operand). In long
mode, segment registers are ignored, except for FS and GS. In these two
cases, base addresses are obtained from the respective MSRs.

For clarity, this process can be split into four steps (and an equal
number of functions): determine if segment prefixes overrides can be used;
parse the segment override prefixes, and use them if found; if not found
or cannot be used, use the default segment registers associated with the
operand registers. Once the segment register to use has been identified,
read its value to obtain the segment selector.

The method to obtain the segment selector depends on several factors. In
32-bit builds, segment selectors are saved into a pt_regs structure
when switching to kernel mode. The same is also true for virtual-8086
mode. In 64-bit builds, segmentation is mostly ignored, except when
running a program in 32-bit legacy mode. In this case, CS and SS can be
obtained from pt_regs. DS, ES, FS and GS can be read directly from
the respective segment registers.

In order to identify the segment registers, a new set of #defines is
introduced. It also includes two special identifiers. One of them
indicates when the default segment register associated with instruction
operands shall be used. Another one indicates that the contents of the
segment register shall be ignored; this identifier is used when in long
mode.

Improvements-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: ricardo.neri@intel.com
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Huang Rui <ray.huang@amd.com>
Cc: Qiaowei Ren <qiaowei.ren@intel.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: "Ravi V. Shankar" <ravi.v.shankar@intel.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: Chen Yucong <slaoub@gmail.com>
Cc: Adam Buchbinder <adam.buchbinder@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Garnier <thgarnie@google.com>
Link: https://lkml.kernel.org/r/1509135945-13762-14-git-send-email-ricardo.neri-calderon@linux.intel.com
2017-11-01 21:50:11 +01:00
..
crypto crypto: glue_helper - remove the le128_gf128mul_x_ble function 2017-04-05 21:58:37 +08:00
e820 x86/boot/e820: Add support to determine the E820 type of an address 2017-07-18 11:38:01 +02:00
fpu x86/fpu: Introduce validate_xstate_header() 2017-09-26 09:43:45 +02:00
numachip x86/numachip: Introduce Numachip2 timer mechanisms 2015-09-22 22:25:33 +02:00
trace x86/fpu: Rename fpu::fpstate_active to fpu::initialized 2017-09-26 09:43:36 +02:00
uv x86/mm: Pass flush_tlb_info to flush_tlb_others() etc 2017-06-05 09:59:35 +02:00
xen xen: fixes for 4.14-rc3 2017-09-29 12:24:28 -07:00
a.out-core.h sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
acenv.h ACPICA: Linux: Add support to exclude <asm/acenv.h> inclusion. 2014-07-23 01:10:44 +02:00
acpi.h acpi, x86/mm: Remove encryption mask from ACPI page protection type 2017-07-30 12:09:12 +02:00
agp.h
alternative-asm.h x86/alternatives: Fix alt_max_short macro to really be a max() 2017-10-09 13:35:17 +02:00
alternative.h x86/alternatives: Fix alt_max_short macro to really be a max() 2017-10-09 13:35:17 +02:00
amd_nb.h x86/mce: Convert threshold_bank.cpus from atomic_t to refcount_t 2017-05-21 21:55:13 +02:00
apb_timer.h
apic_flat_64.h
apic.h x86/apic: Add irq_data argument to apic->cpu_mask_to_apicid() 2017-06-22 18:21:22 +02:00
apicdef.h
apm.h x86, asm: use bool for bitops and other assembly outputs 2016-06-08 12:41:20 -07:00
arch_hweight.h x86/hweight: Get rid of the special calling convention 2016-06-08 15:01:02 +02:00
archrandom.h x86, asm: Use CC_SET()/CC_OUT() and static_cpu_has() in archrandom.h 2016-06-08 12:41:20 -07:00
asm-offsets.h
asm-prototypes.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
asm.h x86/asm: Use register variable to get stack pointer value 2017-09-29 19:39:44 +02:00
atomic64_32.h locking/atomic/x86: Un-macro-ify atomic ops implementation 2017-06-28 18:55:55 +02:00
atomic64_64.h locking/atomic/x86: Use 's64 *' for 'old' argument of atomic64_try_cmpxchg() 2017-06-28 18:55:55 +02:00
atomic.h locking/atomic/x86: Un-macro-ify atomic ops implementation 2017-06-28 18:55:55 +02:00
barrier.h locking/x86: Tweak the comment about use of wmb() for IO 2016-01-29 09:40:10 +01:00
bios_ebda.h x86/boot: Reorganize and clean up the BIOS area reservation code 2016-07-21 10:11:57 +02:00
bitops.h mm: optimize PageWaiters bit use for unlock_page() 2016-12-29 11:03:15 -08:00
boot.h x86/KASLR: Build identity mappings on demand 2016-05-07 07:38:39 +02:00
bootparam_utils.h x86: Don't clear olpc_ofw_header when sentinel is detected 2013-08-09 15:29:48 -07:00
bug.h debug: Fix WARN_ON_ONCE() for modules 2017-07-20 12:31:04 +02:00
bugs.h x86/mm/mpx: Work around MPX erratum SKD046 2016-05-20 09:07:40 +02:00
cache.h
cacheflush.h libnvdimm, nd_blk: remove mmio_flush_range() 2017-08-31 15:05:10 -07:00
calgary.h x86/platform/calgary: Constify cal_chipset_ops structures 2015-11-29 08:50:58 +01:00
ce4100.h
checksum_32.h x86/uaccess: Move thread_info::addr_limit to thread_struct 2016-07-15 10:26:30 +02:00
checksum_64.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
checksum.h
clocksource.h x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method 2017-03-11 14:47:28 +01:00
cmdline.h x86/boot: Add early cmdline parsing for options with arguments 2017-07-18 11:38:06 +02:00
cmpxchg_32.h x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros 2015-12-19 11:49:55 +01:00
cmpxchg_64.h x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros 2015-12-19 11:49:55 +01:00
cmpxchg.h locking/atomic/x86: Use 's64 *' for 'old' argument of atomic64_try_cmpxchg() 2017-06-28 18:55:55 +02:00
compat.h take compat_sys_old_getrlimit() to native syscall 2017-05-27 15:38:06 -04:00
cpu_device_id.h
cpu.h xen: features and fixes for 4.8-rc0 2016-07-27 11:35:37 -07:00
cpufeature.h x86/cpufeature: Provide helper to set bugs bits 2016-12-09 21:23:20 +01:00
cpufeatures.h First batch of KVM changes for 4.14 2017-09-08 15:18:36 -07:00
cpumask.h
crash.h kexec: support for kexec on panic using new system call 2014-08-08 15:57:33 -07:00
current.h
debugreg.h perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8 2014-12-03 15:14:26 +01:00
delay.h x86/asm/delay: Introduce an MWAITX-based delay with a configurable timer 2015-08-22 14:52:16 +02:00
desc_defs.h x86/ldttss: Clean up 32-bit descriptors 2017-08-29 12:07:25 +02:00
desc.h x86/paravirt: Remove no longer used paravirt functions 2017-09-13 10:55:15 +02:00
device.h treewide: Move dma_ops from struct dev_archdata into struct device 2017-01-24 12:23:35 -05:00
disabled-features.h x86/mm: Disable PCID on 32-bit kernels 2017-07-05 10:52:57 +02:00
div64.h math64, timers: Fix 32bit mul_u64_u32_shr() and friends 2017-01-14 11:31:50 +01:00
dma-mapping.h x86, swiotlb: Add memory encryption support 2017-07-18 11:38:03 +02:00
dma.h x86/mm: Fix zone ranges boot printout 2014-12-11 11:35:02 +01:00
dmi.h x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap() for RAM mappings 2017-07-18 11:37:58 +02:00
dwarf2.h x86/asm: Remove the xyz_cfi macros from dwarf2.h 2015-10-14 16:56:28 +02:00
edac.h EDAC: Cleanup atomic_scrub mess 2015-05-28 15:31:53 +02:00
efi.h x86/efi: move asmlinkage before return type 2017-07-12 16:26:04 -07:00
elf.h Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-09-04 12:21:28 -07:00
emergency-restart.h reboot: move arch/x86 reboot= handling to generic kernel 2013-07-09 10:33:29 -07:00
entry_arch.h x86/ipi: Make platform IPI depend on APIC 2017-08-29 11:42:29 +02:00
espfix.h x86/espfix: Add 'cpu' parameter to init_espfix_ap() 2015-07-06 15:00:33 +02:00
exec.h
export.h x86: move exports to actual definitions 2016-08-07 23:47:15 -04:00
extable.h x86/debug: Handle early WARN_ONs proper 2017-06-12 21:17:48 +02:00
fb.h x86: Use new cache mode type in include/asm/fb.h 2014-11-16 11:04:24 +01:00
fixmap.h x86/mm: Extend early_memremap() support with additional attrs 2017-07-18 11:38:00 +02:00
floppy.h x86/floppy: Use designated initializers 2016-12-18 09:25:38 +01:00
frame.h x86/asm: Add C versions of frame pointer macros 2016-01-19 12:59:07 +01:00
ftrace.h ftrace/x86: Implement HAVE_FUNCTION_GRAPH_RET_ADDR_PTR 2016-08-24 12:15:15 +02:00
futex.h futex: Remove duplicated code and fix undefined behaviour 2017-08-25 22:49:59 +02:00
gart.h x86/boot/e820: Prefix the E820_* type names with "E820_TYPE_" 2017-01-28 22:55:22 +01:00
genapic.h
geode.h
hardirq.h x86: irq: Define a global vector for nested posted interrupts 2017-07-26 18:57:45 +02:00
highmem.h kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
hpet.h timers/x86/hpet: Type adjustments 2015-10-21 11:17:32 +02:00
hugetlb.h mm/hugetlb: clean up ARCH_HAS_GIGANTIC_PAGE 2017-07-06 16:24:33 -07:00
hw_breakpoint.h perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8 2014-12-03 15:14:26 +01:00
hw_irq.h x86/idt: Remove the tracing IDT completely 2017-08-29 11:42:28 +02:00
hypertransport.h
hypervisor.h x86: provide an init_mem_mapping hypervisor hook 2017-08-11 15:50:21 +02:00
i8259.h x86/irq: Probe for PIC presence before allocating descs for legacy IRQs 2015-11-07 10:37:37 +01:00
ia32_unistd.h
ia32.h x86/headers: Remove <asm/sigcontext.h> references on the kernel side 2015-09-08 10:06:05 +02:00
imr.h x86/platform/intel/quark: Drop IMR lock bit support 2016-02-23 07:37:23 +01:00
inat_types.h
inat.h x86/insn-eval: Add utility functions to get segment selector 2017-11-01 21:50:11 +01:00
init.h x86/mm, kexec: Allow kexec to be used with SME 2017-07-18 11:38:04 +02:00
insn-eval.h x86/insn-eval: Add a utility function to get register offsets 2017-11-01 21:50:11 +01:00
insn.h x86/insn: Add AVX-512 support to the instruction decoder 2016-07-21 09:37:11 -03:00
inst.h
intel_mid_vrtc.h intel_mid: Renamed *mrst* to *intel_mid* 2013-10-17 16:40:36 -07:00
intel_pmc_ipc.h platform/x86: intel_pmc_ipc: use gcr mem base for S0ix counter read 2017-04-28 21:51:28 +03:00
intel_pt.h perf/x86/intel/pt: Add interface to stop Intel PT logging 2015-11-23 09:58:26 +01:00
intel_punit_ipc.h platform:x86: add Intel P-Unit mailbox IPC driver 2016-01-19 15:49:36 -08:00
intel_rdt_sched.h x86/intel_rdt: Modify the intel_pqr_state for better performance 2017-08-14 11:47:47 +02:00
intel_scu_ipc.h platform/x86: intel_scu_ipc: Introduce intel_scu_ipc_raw_command() 2017-04-13 10:16:04 -07:00
intel_telemetry.h intel_telemetry: Constify telemetry_core_ops structures 2016-05-05 13:58:55 -07:00
intel-family.h x86/cpu: Keep model defines sorted by model number 2017-04-14 21:22:38 +02:00
intel-mid.h x86/platform/intel-mid: Make intel_scu_device_register() static 2017-01-09 23:13:36 +01:00
io_apic.h x86: Cleanup irq_domain ops 2015-04-24 15:36:55 +02:00
io.h Revert "x86/mm: Limit mmap() of /dev/mem to valid physical addresses" 2017-10-27 10:06:49 +02:00
iomap.h
iommu_table.h x86/iommu: Fix header comments regarding standard and _FINISH macros 2015-04-09 10:56:31 +02:00
iommu.h x86: remove arch specific dma_supported implementation 2017-06-28 06:54:46 -07:00
iosf_mbi.h x86/platform/intel/iosf_mbi: Add a PMIC bus access notifier 2017-03-02 15:46:25 +01:00
ipi.h x86/apic: Deinline __default_send_IPI_*, save ~200 bytes 2016-03-08 12:26:41 +01:00
irq_regs.h
irq_remapping.h x86/msi: Remove unused remap irq domain interface 2017-06-22 18:21:11 +02:00
irq_vectors.h x86: irq: Define a global vector for nested posted interrupts 2017-07-26 18:57:45 +02:00
irq_work.h x86/irq_work: Make it depend on APIC 2017-08-29 11:42:30 +02:00
irq.h x86/irq: Remove duplicated used_vectors definition 2017-08-29 11:42:21 +02:00
irqdomain.h x86/irq: Move irqdomain specific code into asm/irqdomain.h 2015-04-24 15:36:55 +02:00
irqflags.h nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00
ist.h
jump_label.h x86/asm: Add asm macros for static keys/jump labels 2015-11-24 09:56:44 +01:00
kasan.h x86/mm: Define virtual memory map for 5-level paging 2017-04-04 08:22:33 +02:00
kaslr.h x86/mm/64: Enable KASLR for vmemmap memory region 2016-08-10 16:10:06 +02:00
kbdleds.h
Kbuild sched/cputime: Remove generic asm headers 2017-02-01 09:14:07 +01:00
kdebug.h x86/dumpstack: Remove kernel text addresses from stack dump 2016-10-25 18:40:37 +02:00
kexec-bzimage64.h kexec-bzImage64: support for loading bzImage using 64bit entry 2014-08-08 15:57:33 -07:00
kexec.h x86/mm, kexec: Fix memory corruption with SME on successive kexecs 2017-07-30 12:09:12 +02:00
kgdb.h x86/asm: Stop depending on ptrace.h in alternative.h 2016-04-29 11:56:40 +02:00
kmap_types.h
kmemcheck.h
kprobes.h x86: mark kprobe templates as character arrays, not single characters 2017-07-20 11:34:47 -07:00
kvm_emulate.h KVM: x86: Add return value to kvm_cpuid(). 2017-08-24 18:09:15 +02:00
kvm_guest.h
kvm_host.h KVM: Add struct kvm_vcpu pointer parameter to get_enable_apicv() 2017-09-13 18:29:06 +02:00
kvm_page_track.h KVM: x86: cleanup the page tracking SRCU instance 2017-03-28 14:08:02 +02:00
kvm_para.h kvm/x86: Avoid async PF preempting the kernel incorrectly 2017-10-04 18:28:53 +02:00
kvmclock.h kvmclock: export kvmclock clocksource and data pointers 2017-02-08 17:16:19 +01:00
linkage.h x86/entry/32: Remove asmlinkage_protect() 2016-05-05 08:37:31 +02:00
livepatch.h x86: Audit and remove any remaining unnecessary uses of module.h 2016-07-14 15:07:00 +02:00
local64.h
local.h x86, asm: change the GEN_*_RMWcc() macros to not quote the condition 2016-06-08 12:41:20 -07:00
mach_timer.h
mach_traps.h
math_emu.h x86/vm86: Clean up vm86.h includes 2015-07-31 13:31:10 +02:00
mc146818rtc.h rtc: cmos: move mc146818rtc code out of asm-generic/rtc.h 2016-06-04 00:20:00 +02:00
mce.h x86/mce: Hide mca_cfg 2017-10-05 14:23:06 +02:00
mem_encrypt.h x86/mm: Make the SME mask a u64 2017-09-07 11:53:11 +02:00
microcode_amd.h x86/microcode/AMD: Check patch level only on the BSP 2017-01-23 10:02:50 +01:00
microcode_intel.h x86/microcode/intel: Add a helper which gives the microcode revision 2017-01-09 23:11:14 +01:00
microcode.h Merge branch 'x86/urgent' into x86/microcode, to resolve conflicts 2017-01-31 08:38:17 +01:00
misc.h x86: Improve the printout of the SMP bootup CPU table 2013-09-28 10:10:26 +02:00
mmconfig.h x86: delete __cpuinit usage from all x86 files 2013-07-14 19:36:56 -04:00
mmu_context.h x86/mm: Flush more aggressively in lazy TLB mode 2017-10-14 09:21:24 +02:00
mmu.h x86/mm: Give each mm TLB flush generation a unique ID 2017-07-05 10:52:56 +02:00
mmx.h
mmzone_32.h x86, platforms: Remove NUMAQ 2014-02-27 08:07:39 -08:00
mmzone_64.h
mmzone.h
module.h x86/unwind: Add the ORC unwinder 2017-07-26 13:18:20 +02:00
mpspec_def.h
mpspec.h x86/cpu: Remove unused and undefined __generic_processor_info() declaration 2017-09-11 08:16:37 +02:00
mpx.h x86/mpx: Do not allow MPX if we have mappings above 47-bit 2017-07-21 10:05:18 +02:00
mshyperv.h x86/hyperv: Clear vCPU banks between calls to avoid flushing unneeded vCPUs 2017-10-10 12:53:00 +02:00
msi.h x86/irq: Export functions to allow MSI domains in modules 2015-12-20 12:40:49 +01:00
msidef.h
msr-index.h x86/cpu/AMD: Add the Secure Memory Encryption CPU feature 2017-07-18 11:37:59 +02:00
msr-trace.h x86, tracing, perf: Add trace point for MSR accesses 2015-12-06 12:56:10 +01:00
msr.h x86/MSR: Carve out bare minimum accessors 2017-01-23 10:02:45 +01:00
mtrr.h x86/mtrr: Fix Xorg crashes in Qemu sessions 2016-03-29 12:23:26 +02:00
mwait.h sched/headers: Prepare for new header dependencies before moving code to <linux/sched/idle.h> 2017-03-02 08:42:26 +01:00
nmi.h x86/nmi: Push duration printk() to irq context 2014-02-09 13:17:22 +01:00
nops.h
numa_32.h
numa.h x86/mm/numa: Drop dead code and rename setup_node_data() to setup_alloc_data() 2014-09-16 08:55:10 +02:00
olpc_ofw.h
olpc.h
orc_lookup.h x86/unwind: Add the ORC unwinder 2017-07-26 13:18:20 +02:00
orc_types.h x86/unwind: Add the ORC unwinder 2017-07-26 13:18:20 +02:00
page_32_types.h x86/asm, x86/microcode: Add __PAGE_OFFSET_BASE define on 32-bit 2016-07-27 14:59:59 +02:00
page_32.h x86/mm: Implement ASLR for hugetlb mappings 2013-11-19 14:24:50 +01:00
page_64_types.h x86/mm: Define virtual memory map for 5-level paging 2017-04-04 08:22:33 +02:00
page_64.h x86/mm, mm/hwpoison: Clear PRESENT bit for kernel 1:1 mappings of poison pages 2017-08-17 10:30:49 +02:00
page_types.h x86/mm: Provide general kernel support for memory encryption 2017-07-18 11:38:00 +02:00
page.h x86/boot: Split out kernel_ident_mapping_init() 2016-05-07 07:38:39 +02:00
paravirt_types.h x86/asm: Fix inline asm call constraints for Clang 2017-09-23 15:06:20 +02:00
paravirt.h x86/paravirt: Remove no longer used paravirt functions 2017-09-13 10:55:15 +02:00
parport.h
pat.h x86/mm/pat: Don't report PAT on CPUs that don't support it 2017-07-05 09:01:24 +02:00
pci_64.h
pci_x86.h x86/boot/e820: Remove spurious asm/e820/api.h inclusions 2017-01-28 09:31:14 +01:00
pci-direct.h
pci-functions.h
pci.h x86/PCI: Remove duplicate defines 2017-06-28 22:32:55 +02:00
percpu.h x86: Remove x86_test_and_clear_bit_percpu() 2016-11-18 12:07:57 +01:00
perf_event_p4.h percpu: Resolve ambiguities in __get_cpu_var/cpumask_var_t 2014-08-28 08:58:57 -04:00
perf_event.h perf/x86/intel/pt: Don't die on VMXON 2016-04-28 10:32:42 +02:00
pgalloc.h x86/paravirt: Add 5-level support to the paravirt code 2017-04-04 08:22:34 +02:00
pgtable_32_types.h x86: mm: Re-use the early_ioremap fixed area 2014-11-03 13:40:44 +01:00
pgtable_32.h x86/headers: Simplify asm/fixmap.h inclusion into asm/pgtable*.h 2017-03-21 08:21:17 +01:00
pgtable_64_types.h x86/espfix: Add support for 5-level paging 2017-04-04 08:22:34 +02:00
pgtable_64.h mm: thp: enable thp migration in generic path 2017-09-08 18:26:45 -07:00
pgtable_types.h mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1 2017-09-08 18:26:45 -07:00
pgtable-2level_types.h x86/mm: Extend headers with basic definitions to support 5-level paging 2017-03-14 08:45:07 +01:00
pgtable-2level.h mm, x86: add support for PUD-sized transparent hugepages 2017-02-24 17:46:54 -08:00
pgtable-3level_types.h x86/mm: Extend headers with basic definitions to support 5-level paging 2017-03-14 08:45:07 +01:00
pgtable-3level.h x86/mm/gup: Switch GUP to the generic get_user_page_fast() implementation 2017-06-13 08:56:50 +02:00
pgtable.h x86/paravirt: Remove no longer used paravirt functions 2017-09-13 10:55:15 +02:00
pkeys.h x86/pkeys: Check against max pkey to avoid overflows 2017-03-01 10:51:50 +01:00
platform_sst_audio.h ASoc: Intel: Atom: add deep buffer definitions for atom platforms 2015-12-19 11:49:56 +00:00
pm-trace.h PM / sleep: add pm-trace support for suspending phase 2015-03-18 15:54:27 +01:00
pmc_core.h platform/x86: Add PMC Driver for Intel Core SoC 2016-05-27 11:47:56 -07:00
posix_types.h
preempt.h x86/asm: Fix inline asm call constraints for Clang 2017-09-23 15:06:20 +02:00
probe_roms.h
processor-cyrix.h
processor-flags.h x86/CPU: Align CR3 defines 2017-08-21 11:35:50 +02:00
processor.h x86/asm: Fix inline asm call constraints for Clang 2017-09-23 15:06:20 +02:00
prom.h x86, devicetree, irq: Use common mechanism to support irqdomain 2014-06-21 23:05:43 +02:00
proto.h x86/xen: Get rid of paravirt op adjust_exception_frame 2017-08-31 21:35:10 +02:00
ptrace.h ptrace,x86: Make user_64bit_mode() available to 32-bit builds 2017-11-01 21:50:08 +01:00
purgatory.h kexec, x86/purgatory: Unbreak it and clean it up 2017-03-10 20:55:09 +01:00
pvclock-abi.h Revert "KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR" 2015-09-28 13:06:37 +02:00
pvclock.h clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
qrwlock.h locking/qrwlock: Implement queue_write_unlock() using smp_store_release() 2015-08-12 11:59:05 +02:00
qspinlock_paravirt.h x86/locking: Create stack frame in PV unlock 2016-02-24 08:35:44 +01:00
qspinlock.h x86/paravirt: Change vcp_is_preempted() arg type to long 2017-02-21 12:48:06 +01:00
realmode.h x86/boot/realmode: Check for memory encryption on the APs 2017-07-18 11:38:04 +02:00
reboot_fixups.h
reboot.h x86/mce: Handle broadcasted MCE gracefully with kexec 2017-03-13 20:18:07 +01:00
refcount.h locking/refcounts, x86/asm: Implement fast refcount overflow protection 2017-08-17 10:40:26 +02:00
required-features.h x86/boot: Detect 5-level paging support 2017-04-04 08:22:33 +02:00
rio.h
rmwcc.h x86/asm: Add suffix macro for GEN_*_RMWcc() 2017-07-25 11:18:09 +02:00
rwsem.h x86/asm: Fix inline asm call constraints for Clang 2017-09-23 15:06:20 +02:00
seccomp.h x86: switch to using asm-generic for seccomp.h 2015-04-17 09:04:10 -04:00
sections.h x86: separate extable.h, switch sections.h to it 2016-09-27 21:15:23 -04:00
segment.h x86/idt: Move early IDT setup out of 32-bit asm 2017-08-29 12:07:26 +02:00
serial.h serial: 8250: remove Kconfig indirection 2015-05-06 22:27:00 +02:00
set_memory.h x86/mm: Add support for changing the memory encryption attribute 2017-07-18 11:38:02 +02:00
setup_arch.h
setup.h treewide: Consolidate Apple DMI checks 2017-08-03 23:26:22 +02:00
shmparam.h
sigcontext.h x86/headers: Remove <asm/sigcontext.h> references on the kernel side 2015-09-08 10:06:05 +02:00
sigframe.h x86/headers: Remove <asm/sigcontext.h> references on the kernel side 2015-09-08 10:06:05 +02:00
sighandling.h x86/signal/64: Re-add support for SS in the 64-bit signal context 2016-02-17 08:32:11 +01:00
signal.h x86/signal: Add SA_{X32,IA32}_ABI sa_flags 2016-09-14 21:28:11 +02:00
simd.h x86/fpu: Rename i387.h to fpu/api.h 2015-05-19 15:47:30 +02:00
smap.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
smp.h x86/smp: Remove the redundant #ifdef CONFIG_SMP directive 2017-04-14 22:43:00 +02:00
sparsemem.h x86/mm: Define virtual memory map for 5-level paging 2017-04-04 08:22:33 +02:00
special_insns.h x86/paravirt: Remove no longer used paravirt functions 2017-09-13 10:55:15 +02:00
spinlock_types.h x86, locking/spinlocks: Remove ticket (spin)lock implementation 2016-09-30 10:56:00 +02:00
spinlock.h locking/spinlocks/x86, paravirt: Remove paravirt_ticketlocks_enabled 2017-01-14 09:33:46 +01:00
sta2x11.h
stackprotector.h x86: ascii armor the x86_64 boot init stack canary 2017-07-12 16:26:03 -07:00
stacktrace.h x86/unwind: Include __schedule() in stack traces 2017-01-12 09:28:28 +01:00
string_32.h x86: implement memset16, memset32 & memset64 2017-09-08 18:26:48 -07:00
string_64.h x86: implement memset16, memset32 & memset64 2017-09-08 18:26:48 -07:00
string.h
suspend_32.h x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume 2015-11-26 10:04:53 +01:00
suspend_64.h x86/power/64: Use char arrays for asm function names 2017-06-22 03:10:12 +02:00
suspend.h
svm.h KVM: SVM: Enable Virtual GIF feature 2017-08-23 18:37:37 +02:00
swiotlb.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
switch_to.h x86/unwind: Include __schedule() in stack traces 2017-01-12 09:28:28 +01:00
sync_bitops.h x86, bitops: remove use of "sbb" to return CF 2016-06-08 12:41:20 -07:00
sys_ia32.h
syscall.h x86/asm: Move the thread_info::status field to thread_struct 2016-09-15 08:25:12 +02:00
syscalls.h x86/vm86: Clean up vm86.h includes 2015-07-31 13:31:10 +02:00
sysfb.h x86: sysfb: move EFI quirks from efifb to sysfb 2013-08-02 16:17:47 -07:00
tce.h
text-patching.h x86/asm: Stop depending on ptrace.h in alternative.h 2016-04-29 11:56:40 +02:00
thread_info.h x86/asm: Use register variable to get stack pointer value 2017-09-29 19:39:44 +02:00
time.h
timer.h x86/tsc: Remodel cyc2ns to use seqcount_latch() 2017-05-15 10:15:15 +02:00
timex.h
tlb.h x86/mm: Enable RCU based page table freeing (CONFIG_HAVE_RCU_TABLE_FREE=y) 2017-08-31 11:07:07 +02:00
tlbbatch.h x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code 2017-06-05 09:59:44 +02:00
tlbflush.h x86/mm: Remove debug/x86/tlb_defer_switch_to_init_mm 2017-10-18 15:25:02 +02:00
topology.h x86/topology: Remove the unused parent_node() macro 2017-07-27 10:53:00 +02:00
trace_clock.h
traps.h x86/mm: Relocate page fault error codes to traps.h 2017-11-01 21:50:07 +01:00
tsc.h clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
uaccess_32.h x86: switch to RAW_COPY_USER 2017-03-29 12:06:28 -04:00
uaccess_64.h x86, uaccess: introduce copy_from_iter_flushcache for pmem / cache-bypass operations 2017-06-09 09:09:56 -07:00
uaccess.h x86: Don't cast away the __user in __get_user_asm_u64() 2017-09-25 09:36:16 +02:00
unaligned.h
unistd.h Remove compat_sys_getdents64() 2017-04-17 12:52:22 -04:00
unwind_hints.h x86/asm: Fix UNWIND_HINT_REGS macro for older binutils 2017-08-10 14:16:19 +02:00
unwind.h x86/kconfig: Consolidate unwinders into multiple choice selection 2017-07-26 14:05:36 +02:00
uprobes.h uprobes/x86: Rename arch_uprobe->def to ->defparam, minor comment updates 2014-06-05 16:21:57 +02:00
user32.h
user_32.h
user_64.h
user.h x86/fpu: Rename xsave.header::xstate_bv to 'xfeatures' 2015-05-19 15:47:35 +02:00
vdso.h x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method 2017-03-11 14:47:28 +01:00
vga.h x86, drm, fbdev: Do not specify encrypted memory for video mappings 2017-07-18 11:38:04 +02:00
vgtod.h clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
virtext.h x86/kvm/svm: Simplify cpu_has_svm() 2016-06-16 00:04:31 +02:00
vm86.h x86/vm86: Rename vm86->v86flags and v86mask 2015-07-31 13:31:11 +02:00
vmx.h KVM: MMU: Add 5 level EPT & Shadow page table support. 2017-08-24 18:09:17 +02:00
vsyscall.h x86_64,vsyscall: Make vsyscall emulation configurable 2014-11-03 21:44:57 +01:00
vvar.h x86,vdso: Use LSL unconditionally for vgetcpu 2014-11-03 13:41:53 +01:00
word-at-a-time.h
x2apic.h
x86_init.h x86/init: Fix a couple of comment typos 2016-12-19 11:34:16 +01:00
xor_32.h x86/cpufeature: Replace cpu_has_xmm with boot_cpu_has() usage 2016-04-13 11:37:40 +02:00
xor_64.h
xor_avx.h x86/cpufeature: Replace cpu_has_avx with boot_cpu_has() usage 2016-04-13 11:37:40 +02:00
xor.h x86/fpu: Rename i387.h to fpu/api.h 2015-05-19 15:47:30 +02:00