Leandro Lupori a58abcde2c powerpc64: change CAS to support Radix MMU
Use radix_mmu environment variable to select between Hash or Radix
MMU, when performing the CAS method call. This matches kernel's
behavior, by selecting Hash MMU by default and Radix if radix_mmu
is not zero, to make sure that both loader and kernel always select
the same MMU.

The device tree is queried to detect Radix/GTSE support and to
find out if CAS is supported, making the old CPU version and HV
bit checks unnecessary now.

Reviewed by:		jhibbits
MFC after:		2 weeks
Sponsored by:		Instituto de Pesquisas Eldorado (eldorado.org.br)
Differential Revision:	https://reviews.freebsd.org/D31951
2021-09-15 15:24:40 -03:00
..
2021-07-05 15:53:08 +02:00
2019-02-26 06:22:10 +00:00
2021-04-12 16:13:33 +02:00
2019-02-26 06:22:10 +00:00
2020-01-23 10:40:34 +00:00
2021-08-11 11:03:19 -06:00
2021-04-30 12:53:45 -05:00