HomeFreeBSD

Initialize the ofw_bus_devinfo on the portals to prevent a crash.

Description

Initialize the ofw_bus_devinfo on the portals to prevent a crash.

If the device tree doesn't contain a cpu-handle field in any bman-portal or
qman-portal, it will exit without setting up the devinfo, leaving it
uninitialized. This will lead to attempts to free random memory, and ultimately
panic.

Details

Provenance
jhibbitsAuthored on
Parents
rS307762: MFC r305708, r305719
Branches
Unknown
Tags
Unknown