freebsd-dev/sys/powerpc/aim
Justin Hibbits 266b2aa146 powerpc: Use MAX() macro instead of max() inline function to calculate Maxmem
Maxmem is the highest address for physical memory in the system.  It's
measured in pages which, since max() returns a u_int, should allow for up to
2^44 bytes of memory addressable by the system.  However, on POWER9 systems
at least, memory addressed by additional socketed CPUs begins at addresses
far above the 2^44 mark, causing issues with memory accesses and DMA, when
memory is addressed on the auxiliary CPUs.  Use the MAX() macro instead,
which doesn't convert arguments, so retains Maxmem and all calculations as
its defined long type (64-bit on powerpc64), keeping the maximum address
correct.

Submitted by:	mmacy
2018-11-10 02:37:56 +00:00
..
aim_machdep.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
isa3_hashtb.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
locore32.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +00:00
locore64.S Rename assym.s to assym.inc 2018-03-20 17:58:51 +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: Use MAX() macro instead of max() inline function to calculate Maxmem 2018-11-10 02:37:56 +00:00
mmu_oea64.h Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +00:00
mmu_oea.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
moea64_if.m
moea64_native.c Split the PowerISA 3.0 HPT implementation from historic 2018-06-14 17:23:51 +00:00
mp_cpudep.c Add support for the XIVE XICS emulation mode for POWER9 systems 2018-05-20 03:23:17 +00:00
slb.c Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
trap_subr32.S Use the explicit expanded form of cmp. 2017-01-18 03:42:21 +00:00
trap_subr64.S powerpc64: Fix stack setup in dbtrap 2018-06-23 01:42:34 +00:00