1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/sys/amd64
Jason A. Harmening fa4e4d55b3 Clean up a couple of MD warts in vm_fault_populate():
--Eliminate a big ifdef that encompassed all currently-supported
architectures except mips and powerpc32.  This applied to the case
in which we've allocated a superpage but the pager-populated range
is insufficient for a superpage mapping.  For platforms that don't
support superpages the check should be inexpensive as we shouldn't
get a superpage in the first place.  Make the normal-page fallback
logic identical for all platforms and provide a simple implementation
of pmap_ps_enabled() for MIPS and Book-E/AIM32 powerpc.

--Apply the logic for handling pmap_enter() failure if a superpage
mapping can't be supported due to additional protection policy.
Use KERN_PROTECTION_FAILURE instead of KERN_FAILURE for this case,
and note Intel PKU on amd64 as the first example of such protection
policy.

Reviewed by:	kib, markj, bdragon

(cherry picked from commit 8dc8feb53d)
2021-12-27 19:35:55 -05:00
..
acpica amd64 wakeup: rework trampoline page allocation 2021-09-20 03:47:21 +03:00
amd64 Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
cloudabi64 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf Correct syscons description in i386 and amd64 configs 2021-12-20 11:16:21 -05:00
ia32 amd64/ia32/ia32_signal.c: Use ANSI C functions definitions 2021-11-16 02:45:30 +02:00
include x86: Deduplicate clock.h 2021-12-27 10:48:00 -05:00
linux amd64: consistently use uprintf() to report weird situations in sigreturn 2021-10-10 12:21:17 +03:00
linux32 amd64: centralize definitions of CS_SECURE and EFL_SECURE 2021-10-10 12:21:17 +03:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm vlapic: Schedule callouts on the local CPU 2021-11-03 09:15:18 -04:00
Makefile Bring the tags and links entries for amd64 up to date. 2021-10-07 16:01:46 -07:00