freebsd-nq/sys/powerpc/aim
Leandro Lupori a076e2060c powerpc64: fix the calculation of Maxmem
The calculation of Maxmem was skipping the last phys_avail segment,
because of a wrong stop condition.

This was detected when using QEMU/PowerNV with Radix MMU and low
memory (2G). In this case opal_pci would allocate a DMA window that
was too small to cover all physical memory, resulting in reading all
zeroes from disk when using memory that was not inside the allocated
window.

Reviewed by:		jhibbits
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D33449
MFC after:		2 weeks
2021-12-15 08:49:47 -03:00
..
aim_machdep.c powerpc64: make radix with superpages default 2021-10-14 13:13:27 -03:00
locore32.S
locore64.S powerpc64le: fix boot when using QEMU PowerNV 2021-11-25 16:41:46 -03:00
locore.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
mmu_oea64.c powerpc64: fix the calculation of Maxmem 2021-12-15 08:49:47 -03:00
mmu_oea64.h powerpc64: Split out DMAP and non-DMAP implementations of some methods 2021-05-05 20:57:33 -05:00
mmu_oea.c Clean up a couple of MD warts in vm_fault_populate(): 2021-03-30 18:15:55 -07:00
mmu_radix.c powerpc64: fix the calculation of Maxmem 2021-12-15 08:49:47 -03:00
moea64_native.c powerpc64: Split out DMAP and non-DMAP implementations of some methods 2021-05-05 20:57:33 -05:00
mp_cpudep.c sched: separate out schedinit_ap() 2021-11-03 15:54:59 -05:00
slb.c Convert consumers to vm_page_alloc_noobj_contig() 2021-10-19 21:22:56 -04:00
trap_subr32.S [PowerPC] Fix AP bringup on 32-bit AIM SMP 2021-03-06 15:46:28 -06:00
trap_subr64.S powerpc64: Optimize radix trap handling a little more 2021-04-30 19:58:11 -05:00