opnsense-src/sys/powerpc
Justin Hibbits ac1943f97c powerpc: Always use BE tag in nexus_map_resource
7b5a5e4e replaced nexus_activate_resource() with the bus generic
equivalent, which uses bus_map_resource().  However, though not intended
to have a functional change, nexus_map_resource() uses the bus tag of
the build (BE vs LE), while nexus_activate_resource() always explicitly
set a big-endian tag, leading to failures on powerpc64le now.  Using BE
unless otherwise explicitly specified with the RF_LITTLEENDIAN fixes LE
on bare metal, and doesn't hurt in a VM, which nexus_map_resource() was
added for.

Reported by:	pkubaj
Tested by:	pkubaj
Fixes:		7b5a5e4e("powerpc nexus: Use bus_generic_rman_*")
MFC after:	1 day
Approved by:	re(cperciva)

(cherry picked from commit c4921a0faaf1683f39347dd066000d929c39c8b9)
(cherry picked from commit 45d585ab7f222ca36988c406df528128a17f9884)
2025-05-15 09:06:51 -04:00
..
aim powerpc: mmu_radix_page_array_startup(): Don't force allocation from domain 0 2025-04-08 15:38:22 +02:00
amigaone sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
booke libkern: add ilog2 macro 2025-02-10 04:27:12 -06:00
conf sys: add conf/std.debug, generic debugging options 2024-10-09 10:44:35 +02:00
cpufreq sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fpu sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include powernv: Explicitly enable the facilities we support 2025-03-27 22:32:20 -04:00
mambo sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mikrotik sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mpc85xx Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
ofw powerpc: Bump maximum number of FDT reserved mem entries 2024-04-01 22:09:57 -04:00
powermac Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
powernv powernv: Explicitly enable the facilities we support 2025-03-27 22:32:20 -04:00
powerpc powerpc: Always use BE tag in nexus_map_resource 2025-05-15 09:06:51 -04:00
ps3 powerpc ps3bus: Use bus_generic_rman_* 2025-02-27 08:09:20 -05:00
pseries powerpc: better handling of shutdown flags 2023-12-08 18:02:44 -04:00
psim powerpc psim: Fix infinite recursion in multiple bus methods 2025-02-27 08:09:22 -05:00