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)
Sat, Sep 12, 10:12 AM
Unknown Object (File)
Fri, Sep 11, 10:55 PM
Unknown Object (File)
Wed, Sep 9, 12:49 PM
Unknown Object (File)
Tue, Sep 8, 5:24 PM
Unknown Object (File)
Tue, Sep 8, 9:12 AM
Unknown Object (File)
Sun, Sep 6, 5:48 AM
Unknown Object (File)
Wed, Aug 26, 2:54 PM
Unknown Object (File)
Wed, Aug 19, 7:31 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