opnsense-src/sys/dev/fdt
Adrian Chadd 0c5a770cc4 fdt: fix panic in fdt_slicer/geom due to recent geom changes
A recent change in GEOM ordering (c11b701915 -
"geom: Push GEOM sysinit ordering to after devctl" changed the GEOM init
ordering to SI_ORDER_THIRD.  However, the FDT slicer / GEOM flash
slice code needs the GEOM subsystem to be initialised before it
starts loading in flash slices from FDT, and will panic because
the mutex isn't initialised.

So bump this now to SI_ORDER_FOURTH, so it occurs after the GEOM
initialisation.

Differential Revision:	https://reviews.freebsd.org/D49692
Reviewed by:	jhibbits
2025-04-07 20:47:09 -07:00
..
fdt_arm_platform.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fdt_clock.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fdt_clock.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fdt_clock_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
fdt_common.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fdt_common.h fdt: bump FDT_MEM_REGIONS to 64 2025-04-07 20:46:21 -07:00
fdt_intr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fdt_pinctrl.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fdt_pinctrl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fdt_pinctrl_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
fdt_slicer.c fdt: fix panic in fdt_slicer/geom due to recent geom changes 2025-04-07 20:47:09 -07:00
fdt_static_dtb.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
simple_mfd.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
simple_mfd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
simplebus.c simplebus: Stop accepting SYS_RES_IOPORT resources 2025-01-29 10:03:37 -05:00
simplebus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00