]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add kernel support for Intel userspace protection keys feature on
authorkib <kib@FreeBSD.org>
Wed, 20 Feb 2019 09:51:13 +0000 (09:51 +0000)
committerkib <kib@FreeBSD.org>
Wed, 20 Feb 2019 09:51:13 +0000 (09:51 +0000)
commit4adce57d6f1aea90a8de719a50a814ae9e9e0d49
tree3cea055299bac916929099bc832951c801d7ff73
parenta32144e6e2cd1a8416ea60fc759ffbc3c8eb7621
Add kernel support for Intel userspace protection keys feature on
Skylake Xeons.

See SDM rev. 68 Vol 3 4.6.2 Protection Keys and the description of the
RDPKRU and WRPKRU instructions.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D18893
15 files changed:
sys/amd64/amd64/initcpu.c
sys/amd64/amd64/pmap.c
sys/amd64/amd64/sys_machdep.c
sys/amd64/amd64/trap.c
sys/amd64/include/pmap.h
sys/arm/include/pmap.h
sys/arm64/include/pmap.h
sys/i386/include/pmap.h
sys/mips/include/pmap.h
sys/powerpc/include/pmap.h
sys/riscv/include/pmap.h
sys/sparc64/include/pmap.h
sys/vm/vm_fault.c
sys/vm/vm_map.c
sys/x86/include/sysarch.h