1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00
freebsd/sys/powerpc/booke
Jason A. Harmening 8dc8feb53d 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
Differential Revision:	https://reviews.freebsd.org/D29439
2021-03-30 18:15:55 -07:00
..
booke_machdep.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
locore.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
machdep_e500.c [PowerPC] Fix booke64 qemu infinite loop in L2 cache enable 2020-06-19 18:40:39 +00:00
mp_cpudep.c
platform_bare.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
pmap_32.c [PowerPC] Fix 32-bit Book-E panic due to pve leak 2021-03-29 18:22:16 -05:00
pmap_64.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
pmap.c Clean up a couple of MD warts in vm_fault_populate(): 2021-03-30 18:15:55 -07:00
spe.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
trap_subr.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00