WSL2-Linux-Kernel/arch/x86/include/asm
Huaitong Han be94f6b710 KVM, pkeys: add pkeys support for permission_fault
Protection keys define a new 4-bit protection key field (PKEY) in bits
62:59 of leaf entries of the page tables, the PKEY is an index to PKRU
register(16 domains), every domain has 2 bits(write disable bit, access
disable bit).

Static logic has been produced in update_pkru_bitmask, dynamic logic need
read pkey from page table entries, get pkru value, and deduce the correct
result.

[ Huaitong: Xiao helps to modify many sections. ]

Signed-off-by: Huaitong Han <huaitong.han@intel.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-03-22 16:23:37 +01:00
..
crypto
fpu Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
numachip
trace
uv
xen Merge branch 'x86/debug' into core/objtool, to pick up frame pointer fixes 2016-02-25 09:00:38 +01:00
Kbuild
a.out-core.h
acenv.h
acpi.h
agp.h
alternative-asm.h
alternative.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
amd_nb.h x86/mce/AMD: Document some functionality 2016-03-08 11:48:15 +01:00
apb_timer.h
apic.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
apic_flat_64.h
apicdef.h
apm.h
arch_hweight.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
archrandom.h
asm-offsets.h
asm.h x86/mm: Expand the exception table logic to allow new handling options 2016-02-18 09:21:46 +01:00
atomic.h
atomic64_32.h
atomic64_64.h
barrier.h locking/x86: Tweak the comment about use of wmb() for IO 2016-01-29 09:40:10 +01:00
bios_ebda.h
bitops.h x86/asm/bitops: Force inlining of test_and_set_bit and friends 2016-02-09 10:31:54 +01:00
boot.h
bootparam_utils.h
bug.h
bugs.h
cache.h
cacheflush.h x86/mm: Always enable CONFIG_DEBUG_RODATA and remove the Kconfig option 2016-02-22 08:51:38 +01:00
calgary.h
ce4100.h
checksum.h
checksum_32.h ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short 2016-03-13 23:55:13 -04:00
checksum_64.h ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short 2016-03-13 23:55:13 -04:00
clocksource.h x86/vdso: Disallow vvar access to vclock IO for never-used vclocks 2016-01-12 11:59:35 +01:00
cmdline.h
cmpxchg.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
cmpxchg_32.h
cmpxchg_64.h
compat.h
cpu.h
cpu_device_id.h
cpufeature.h x86/mm/pkeys: Fix mismerge of protection keys CPUID bits 2016-03-11 09:55:57 +01:00
cpufeatures.h Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
cpumask.h
crash.h
current.h
debugreg.h
delay.h
desc.h
desc_defs.h x86/signal/64: Fix SS if needed when delivering a 64-bit signal 2016-02-17 08:32:11 +01:00
device.h x86/PCI: Allow DMA ops specific to a PCI domain 2016-01-15 13:54:55 -06:00
disabled-features.h x86/cpufeature, x86/mm/pkeys: Add protection keys related CPUID definitions 2016-02-16 10:11:13 +01:00
div64.h
dma-mapping.h dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
dma.h
dmi.h x86/dmi: Switch dmi_remap() from ioremap() [uncached] to ioremap_cache() 2016-02-09 14:36:43 +01:00
dwarf2.h
e820.h
edac.h
efi.h Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 18:58:18 -07:00
elf.h x86/cpufeature: Use enum cpuid_leafs instead of magic numbers 2016-02-01 10:46:48 +01:00
emergency-restart.h
entry_arch.h
espfix.h
exec.h
fb.h
fixmap.h x86/mm: Make kmap_prot into a #define 2016-01-20 11:39:14 +01:00
floppy.h
frame.h x86/asm: Add C versions of frame pointer macros 2016-01-19 12:59:07 +01:00
ftrace.h
futex.h
gart.h
genapic.h
geode.h
hardirq.h
highmem.h
hpet.h
hugetlb.h
hw_breakpoint.h
hw_irq.h x86/PCI: Add driver for Intel Volume Management Device (VMD) 2016-01-15 13:54:55 -06:00
hypertransport.h
hypervisor.h
i8259.h
ia32.h
ia32_unistd.h
idle.h
imr.h x86/platform/intel/quark: Drop IMR lock bit support 2016-02-23 07:37:23 +01:00
inat.h
inat_types.h
init.h
insn.h
inst.h
intel-mid.h
intel_mid_vrtc.h
intel_pmc_ipc.h
intel_pt.h
intel_punit_ipc.h platform:x86: add Intel P-Unit mailbox IPC driver 2016-01-19 15:49:36 -08:00
intel_scu_ipc.h
intel_telemetry.h platform/x86: Add Intel Telemetry Core Driver 2016-01-19 17:35:50 -08:00
io.h
io_apic.h
iomap.h
iommu.h
iommu_table.h
iosf_mbi.h
ipi.h x86/apic: Deinline __default_send_IPI_*, save ~200 bytes 2016-03-08 12:26:41 +01:00
irq.h x86/irq: Call irq_force_move_complete with irq descriptor 2016-01-15 13:44:01 +01:00
irq_regs.h
irq_remapping.h
irq_vectors.h
irq_work.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
irqdomain.h
irqflags.h
ist.h
jump_label.h
kasan.h
kbdleds.h
kdebug.h
kexec-bzimage64.h
kexec.h
kgdb.h
kmap_types.h
kmemcheck.h
kprobes.h
kvm_emulate.h
kvm_guest.h
kvm_host.h KVM, pkeys: add pkeys support for permission_fault 2016-03-22 16:23:37 +01:00
kvm_page_track.h KVM: page track: add notifier support 2016-03-03 14:36:22 +01:00
kvm_para.h x86/mm: Always enable CONFIG_DEBUG_RODATA and remove the Kconfig option 2016-02-22 08:51:38 +01:00
lguest.h lguest: Map switcher text R/O 2016-01-12 12:17:28 +01:00
lguest_hcall.h
linkage.h
livepatch.h klp: remove CONFIG_LIVEPATCH dependency from klp headers 2016-03-06 22:22:10 +01:00
local.h
local64.h
mach_timer.h
mach_traps.h
math_emu.h
mc146818rtc.h
mce.h Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-15 09:32:27 -07:00
microcode.h x86/microcode: Untangle from BLK_DEV_INITRD 2016-02-09 11:41:15 +01:00
microcode_amd.h
microcode_intel.h x86/microcode/intel: Get rid of DWSIZE 2016-03-08 09:08:44 +01:00
misc.h
mmconfig.h
mmu.h x86/vdso: Track each mm's loaded vDSO image as well as its base 2016-01-12 11:59:34 +01:00
mmu_context.h x86/mm: Factor out LDT init from context init 2016-02-18 19:46:31 +01:00
mmx.h
mmzone.h
mmzone_32.h
mmzone_64.h
module.h
mpspec.h
mpspec_def.h
mpx.h
mshyperv.h
msi.h
msidef.h
msr-index.h Power management and ACPI material for v4.6-rc1, part 1 2016-03-16 14:10:53 -07:00
msr-trace.h
msr.h Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-01-11 17:45:32 -08:00
mtrr.h
mutex.h
mutex_32.h
mutex_64.h
mwait.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
nmi.h
nops.h
numa.h
numa_32.h
olpc.h
olpc_ofw.h
page.h
page_32.h
page_32_types.h
page_64.h
page_64_types.h
page_types.h
paravirt.h x86/paravirt: Create a stack frame in PV_CALLEE_SAVE_REGS_THUNK 2016-02-24 08:35:42 +01:00
paravirt_types.h x86/paravirt: Add stack frame dependency to PVOP inline asm calls 2016-02-24 08:35:42 +01:00
parport.h
pat.h
pci-direct.h
pci-functions.h
pci.h Merge branch 'pci/host-hv' into next 2016-03-15 08:56:16 -05:00
pci_64.h
pci_x86.h Revert "PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()" 2016-02-27 08:52:20 -06:00
percpu.h
perf_event.h perf/x86/intel: Add definition for PT PMI bit 2016-03-08 12:18:34 +01:00
perf_event_p4.h
pgalloc.h
pgtable-2level.h
pgtable-2level_types.h
pgtable-3level.h
pgtable-3level_types.h
pgtable.h x86: pkey: introduce write_pkru() for KVM 2016-03-22 16:21:05 +01:00
pgtable_32.h
pgtable_32_types.h
pgtable_64.h
pgtable_64_types.h
pgtable_types.h x86/mm/pkeys: Fill in pkey field in siginfo 2016-02-18 09:32:43 +01:00
pkeys.h mm/core, x86/mm/pkeys: Add execute-only protection keys support 2016-02-18 19:46:33 +01:00
platform_sst_audio.h
pm-trace.h
pmc_atom.h
pmem.h libnvdimm, pmem: clear poison on write 2016-03-09 15:15:32 -08:00
posix_types.h
preempt.h sched/x86: Add stack frame dependency to __preempt_schedule[_notrace]() 2016-02-24 08:35:45 +01:00
probe_roms.h
processor-cyrix.h
processor-flags.h
processor.h Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-15 09:32:27 -07:00
prom.h
proto.h x86/entry: Vastly simplify SYSENTER TF (single-step) handling 2016-03-10 09:48:13 +01:00
ptrace.h
pvclock-abi.h
pvclock.h
qrwlock.h
qspinlock.h
qspinlock_paravirt.h x86/locking: Create stack frame in PV unlock 2016-02-24 08:35:44 +01:00
realmode.h
reboot.h
reboot_fixups.h
required-features.h x86/cpufeature, x86/mm/pkeys: Add protection keys related CPUID definitions 2016-02-16 10:11:13 +01:00
rio.h
rmwcc.h
rtc.h
rwsem.h
seccomp.h
sections.h x86/mm: Always enable CONFIG_DEBUG_RODATA and remove the Kconfig option 2016-02-22 08:51:38 +01:00
segment.h
serial.h
setup.h
setup_arch.h
shmparam.h
sigcontext.h
sigframe.h
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
simd.h
smap.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
smp.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
sparsemem.h
special_insns.h x86: pkey: introduce write_pkru() for KVM 2016-03-22 16:21:05 +01:00
spinlock.h
spinlock_types.h
sta2x11.h
stackprotector.h
stacktrace.h perf: generalize perf_callchain 2016-02-20 00:21:44 -05:00
string.h
string_32.h
string_64.h x86/mm, x86/mce: Add memcpy_mcsafe() 2016-03-08 17:54:38 +01:00
suspend.h
suspend_32.h
suspend_64.h
svm.h
swiotlb.h
switch_to.h
sync_bitops.h
sys_ia32.h
syscall.h
syscalls.h
sysfb.h
tce.h
thread_info.h x86/entry: Call enter_from_user_mode() with IRQs off 2016-03-10 10:53:26 +01:00
time.h
timer.h
timex.h
tlb.h
tlbflush.h Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-15 10:45:39 -07:00
topology.h x86/topology: Create logical package id 2016-02-29 09:35:18 +01:00
trace_clock.h
traps.h
tsc.h x86/tsc: Always Running Timer (ART) correlated clocksource 2016-03-03 14:23:34 -08:00
uaccess.h Merge branch 'ras/core' into core/objtool, to pick up the new exception table format 2016-02-25 09:01:09 +01:00
uaccess_32.h x86: fix SMAP in 32-bit environments 2016-02-23 16:25:20 -08:00
uaccess_64.h x86/cpufeature: Carve out X86_FEATURE_* 2016-01-30 11:22:17 +01:00
unaligned.h
unistd.h
uprobes.h
user.h
user32.h
user_32.h
user_64.h
vdso.h x86/vdso: Use .fault for the vDSO text mapping 2016-01-12 11:59:34 +01:00
vga.h
vgtod.h x86/vdso: Disallow vvar access to vclock IO for never-used vclocks 2016-01-12 11:59:35 +01:00
virtext.h
vm86.h
vmx.h
vsyscall.h
vvar.h
word-at-a-time.h
x2apic.h
x86_init.h
xor.h
xor_32.h
xor_64.h
xor_avx.h