freebsd-dev/sys/powerpc/aim
Justin Hibbits 3f24b50567 powerpc: Add a (CPU/runtime features) flags set to pcpu struct
Summary:
The point of this addition is to cache CPU behavior 'features', to avoid
having to recompute based on CPU, etc.

The first such use case is to avoid the unnecessary manipulation of the
SLBs (Segment Lookaside Buffers) when using the Radix pmap on POWER9.
Since we already get the PCPU pointer wherever we swap the SLB entries,
we can use a cached flag to check if it's necessary to perform the
operation anyway, and skip it when not.

Reviewed by:	bdragon
Differential Revision:	https://reviews.freebsd.org/D24908
2020-06-06 02:40:52 +00:00
..
aim_machdep.c powerpc: Handle machine checks caused by D-ERAT multihit 2020-05-21 03:33:20 +00:00
locore32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore64.S [PowerPC] kernel ifunc support for powerpc*, fix ppc64 relocation oddities. 2020-05-07 19:32:49 +00:00
locore.S Add a kdb show command to print arbitrary SPRs on PowerPC 2016-08-13 18:46:49 +00:00
mmu_oea64.c powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
mmu_oea64.h powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
mmu_oea.c powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
mmu_radix.c powerpc: Add a (CPU/runtime features) flags set to pcpu struct 2020-06-06 02:40:52 +00:00
moea64_native.c powerpc/mmu: Convert PowerPC pmap drivers to ifunc from kobj 2020-05-27 01:24:12 +00:00
mp_cpudep.c powerpc: Initialize the Hardware Interrupt Offset Register (HIOR) earlier for ppc970 2019-05-10 19:36:14 +00:00
slb.c powerpc: unconditionally mark SLB zones UMA_ZONE_CONTIG 2020-02-19 04:46:41 +00:00
trap_subr32.S [PowerPC] Fix invalid asm in trap code 2020-05-27 00:17:05 +00:00
trap_subr64.S powerpc: Add a (CPU/runtime features) flags set to pcpu struct 2020-06-06 02:40:52 +00:00