HomeFreeBSD

powerpc: Bump maximum number of FDT reserved mem entries

Description

powerpc: Bump maximum number of FDT reserved mem entries

Newer firmware on POWER systems, including v2.10 of the Talos II and
Blackbird firmware can end up reserving more than 32 memory regions in
the device tree, which exceeded an assumption made by ofw_machdep.c's
excise_fdt_reserved(). Bump the maximum number of FDT reservations to
the next power of 2 in order to fix booting on newer firmware.

PR: 277097
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D44015

Details

Provenance
sanastasio_raptorengineering.comAuthored on Feb 27 2024, 7:40 PM
jhibbitsCommitted on Feb 29 2024, 3:01 AM
Reviewer
jhibbits
Differential Revision
D44015: powerpc: Bump maximum number of FDT reserved mem entries
Parents
rG5db5c6c87a75: rtld: use generated map file to check for some leaks from libc into rtld
Branches
Unknown
Tags
Unknown