freebsd-dev/sys/powerpc
Leandro Lupori 76384bd10f 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)
MFC after:		2 weeks
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D31232
2021-10-14 10:39:52 -03:00
..
aim powerpc64: fix OFWFB with Radix MMU 2021-10-14 10:39:52 -03:00
amigaone
booke Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
conf Restore PPS_SYNC in NOTES 2021-10-12 23:10:35 +03:00
cpufreq
fpu Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
include powerpc64: fix OFWFB with Radix MMU 2021-10-14 10:39:52 -03:00
mambo Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
mikrotik
mpc85xx Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
ofw bus_child_pnpinfo: fix two stragglers 2021-06-22 22:10:31 -06:00
powermac newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
powernv newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
powerpc powerpc64: fix OFWFB with Radix MMU 2021-10-14 10:39:52 -03:00
ps3 cam: clear on-stack CCBs in last few drivers 2021-05-21 08:53:59 +01:00
pseries powerpc/pseries: Allow radix pmap in pseries for ISA 3.0 2021-08-11 19:07:04 -05:00
psim