freebsd-skq/sys/powerpc
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 Final fix for alignment issues with the page table first patched with 2018-05-14 04:00:52 +00:00
booke Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
conf PowerNV: Initial support for OPAL I2C transfers 2018-03-01 14:11:07 +00:00
cpufreq [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
fpu sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
include Fix PPC symbol resolution 2018-05-10 03:59:48 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
ofw Increase the fdtmemreserv array limit to boot on POWER9 2018-04-25 02:42:11 +00:00
powermac Fix null pointer dereference on nodes without a "compatible" property. 2018-04-30 19:37:32 +00:00
powernv Reverting r330925 for now 2018-03-15 06:19:45 +00:00
powerpc Move MI-ish bcopy routine to libkern 2018-05-10 02:31:38 +00:00
ps3 Move the powerpc64 direct map base address from zero to high memory. This 2018-03-07 17:08:07 +00:00
pseries No need to bzero splpar_vpa entries 2018-05-11 02:04:01 +00:00
psim Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00