freebsd-skq/sys/powerpc/powernv
Leandro Lupori e2d6c417e3 Implement superpages for PowerPC64 (HPT)
This change adds support for transparent superpages for PowerPC64
systems using Hashed Page Tables (HPT). All pmap operations are
supported.

The changes were inspired by RISC-V implementation of superpages,
by @markj (r344106), but heavily adapted to fit PPC64 HPT architecture
and existing MMU OEA64 code.

While these changes are not better tested, superpages support is disabled by
default. To enable it, use vm.pmap.superpages_enabled=1.

In this initial implementation, when superpages are disabled, system
performance stays at the same level as without these changes. When
superpages are enabled, buildworld time increases a bit (~2%). However,
for workloads that put a heavy pressure on the TLB the performance boost
is much bigger (see HPC Challenge and pgbench on D25237).

Reviewed by:	jhibbits
Sponsored by:	Eldorado Research Institute (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D25237
2020-11-06 14:12:45 +00:00
..
opal_async.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
opal_console.c [PowerPC64LE] Fix endianness issues in phyp and opal consoles. 2020-09-23 00:06:48 +00:00
opal_dbg.c [PPC64] Enable opal console use as a GDB DBGPORT 2019-12-09 13:09:32 +00:00
opal_dev.c [PowerPC64LE] Endian fix for opal_dev.c. 2020-09-23 01:41:51 +00:00
opal_flash.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
opal_hmi.c [PowerPC64LE] Endian fix for opal_hmi.c 2020-09-23 01:51:01 +00:00
opal_i2c.c powerpc/powernv: Add asynchronous token management for powernv 2019-03-01 02:49:47 +00:00
opal_i2cm.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
opal_nvram.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
opal_pci.c [PowerPC64LE] Get XIVE up and running. 2020-09-23 01:49:37 +00:00
opal_sensor.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
opal.c [PowerPC64LE] LE opal_call() implementation 2020-09-23 00:28:47 +00:00
opal.h [PowerPC64] Fix invalid OPAL call in xive_bind(). 2020-08-21 03:23:10 +00:00
opalcall.S [PowerPC64LE] LE opal_call() implementation 2020-09-23 00:28:47 +00:00
platform_powernv.c Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
powernv_centaur.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
powernv_xscom.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
xive.c [PowerPC64LE] Get XIVE up and running. 2020-09-23 01:49:37 +00:00