opnsense-src/sys/powerpc/aim
Leandro Lupori 84800daacf powerpc64: fix OFWFB with Radix MMU
Current implementation of Radix MMU doesn't support mapping
arbitrary virtual addresses, such as the ones generated by
"direct mapping" I/O addresses. This caused the system to hang, when
early I/O addresses, such as those used by OpenFirmware Frame Buffer,
were remapped after the MMU was up.

To avoid having to modify mmu_radix_kenter_attr just to support this
use case, this change makes early I/O map use virtual addresses from
KVA area instead (similar to what mmu_radix_mapdev_attr does), as
these can be safely remapped later.

Reviewed by:		alfredo (earlier version), jhibbits (in irc)
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D31232

(cherry picked from commit 76384bd10f)
2021-11-05 11:08:27 -03:00
..
aim_machdep.c powerpc64: fix OFWFB with Radix MMU 2021-11-05 11:08:27 -03:00
locore.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
locore32.S powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
locore64.S powerpc64: Fix boot on virtual-mode OF (PowerMac G5) 2021-02-09 21:19:45 -06:00
mmu_oea.c [PowerPC] Implement pmap_mincore() for moea 2020-09-13 16:46:03 +00:00
mmu_oea64.c Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
mmu_oea64.h Implement superpages for PowerPC64 (HPT) 2020-11-06 14:12:45 +00:00
mmu_radix.c powerpc64: fix OFWFB with Radix MMU 2021-11-05 11:08:27 -03:00
moea64_native.c [PowerPC] Fix powerpc64le boot after HPT superpages addition 2020-11-08 23:34:06 +00:00
mp_cpudep.c powerpc/aim: Update timebase directly on resume instead of through platform 2021-04-19 23:13:56 -05:00
slb.c Convert consumers to vm_page_alloc_noobj_contig() 2021-11-03 13:41:40 -04:00
trap_subr32.S [PowerPC] Fix invalid asm in trap code 2020-05-27 00:17:05 +00:00
trap_subr64.S Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00