Page MenuHomeFreeBSD

arm, acpi: increase size of memory region arrays
ClosedPublic

Authored by jchandra on Feb 4 2019, 4:14 AM.
Tags
Referenced Files
Unknown Object (File)
Tue, Apr 9, 3:23 PM
Unknown Object (File)
Jan 17 2024, 10:07 AM
Unknown Object (File)
Jan 14 2024, 5:19 PM
Unknown Object (File)
Dec 20 2023, 1:16 AM
Unknown Object (File)
Dec 18 2023, 10:00 PM
Unknown Object (File)
Nov 22 2023, 5:10 PM
Unknown Object (File)
Nov 15 2023, 9:03 AM
Unknown Object (File)
Nov 12 2023, 4:28 PM
Subscribers

Details

Summary

Bump up MAX_HWCNT and MAX_EXCNT to 32 when ACPI is enabled. These are
the sizes of the hwregions and exregions arrays respectively. ACPI
firmware typically has more memory regions and the current value of
16 is not sufficient for some platforms.

This commit fixes a failure seen with AMI firmware on Cavium's Sabre
ThunderX2 reference platforms. The platform needs 21 physical memory
regions and 18 excluded regions to boot correctly with the current
firmware release.

Test Plan

Boot on Cavium ThunderX2 with AMI firmware (latest label 25)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable