freebsd-nq/sys/powerpc/aim
Nathan Whitehorn b00df92b1f Final fix for alignment issues with the page table first patched with
r333273 and partially reverted with r333594.

Older CPUs implement addition of offsets into the page table by a
bitwise OR rather than actual addition, which only works if the table is
aligned at a multiple of its own size (they also require it to be aligned
at a multiple of 256KB). Newer ones do not have that requirement, but it
hardly matters to enforce it anyway.

The original code was failing on newer systems with huge amounts of RAM
(> 512 GB), in which the page table was 4 GB in size. Because the
bootstrap memory allocator took its alignment parameter as an int, this
turned into a 0, removing any alignment constraint at all and making
the MMU fail. The first round of this patch (r333273) fixed this case by
aligning it at 256 KB, which broke older CPUs. Fix this instead by widening
the alignment parameter.
2018-05-14 04:00:52 +00:00
..
aim_machdep.c powerpc64: Set n_slbs = 32 for POWER9 2018-04-20 03:23:19 +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 Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +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 Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +00:00
mp_cpudep.c Add POWER9 to the POWER8 bootstrap case blocks 2018-05-05 15:42:58 +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 Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00