Page MenuHomeFreeBSD

fdt: bump FDT_MEM_REGIONS to 64
ClosedPublic

Authored by adrian on Apr 6 2025, 8:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 28, 2:24 AM
Unknown Object (File)
Mon, Jul 27, 4:34 PM
Unknown Object (File)
Sat, Jul 25, 1:09 AM
Unknown Object (File)
Tue, Jul 21, 5:14 PM
Unknown Object (File)
Sun, Jul 19, 3:14 AM
Unknown Object (File)
Sat, Jul 18, 11:26 AM
Unknown Object (File)
Fri, Jul 17, 6:46 PM
Unknown Object (File)
Sun, Jul 12, 12:22 AM
Subscribers

Details

Summary

The Snapdragon X1E / Lenovo T14s device tree has 47 reserved memory
regions. The reserved region parsing doesn't boundary check and will
just end up array bounds smashing, which leads to a reboot before
any console IO is written.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63356
Build 60240: arc lint + arc unit