]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r343764 (jchandra): arm, acpi: increase size of memory region arrays
authorEd Maste <emaste@FreeBSD.org>
Wed, 3 Apr 2019 13:19:47 +0000 (13:19 +0000)
committerEd Maste <emaste@FreeBSD.org>
Wed, 3 Apr 2019 13:19:47 +0000 (13:19 +0000)
commitd241327a19b76219c94a270435b6399433058185
tree1e701efb0a971d18d3cb8cb58c83d9ae7ddd7346
parentf8a83e652c603c906df3e05af3479cad88360a10
MFC r343764 (jchandra): arm, acpi: increase size of memory region arrays

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 platform. This platform needs 21 physical memory
regions and 18 excluded regions to boot correctly with the current
firmware release.
sys/arm/arm/physmem.c