Date: Wed, 25 Apr 2018 02:42:11 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r332984 - head/sys/powerpc/ofw Message-ID: <201804250242.w3P2gBCk018777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Wed Apr 25 02:42:11 2018 New Revision: 332984 URL: https://svnweb.freebsd.org/changeset/base/332984 Log: Increase the fdtmemreserv array limit to boot on POWER9 Discussing with others, this needs to be at least 20 to boot on some POWER9 nodes. Linux made a similar change for the same reason, so increase to 32 to give us some extra breathing room as well. The input and output arrays are sized at 256, so much greater than the increase in the property array size. Modified: head/sys/powerpc/ofw/ofw_machdep.c Modified: head/sys/powerpc/ofw/ofw_machdep.c ============================================================================== --- head/sys/powerpc/ofw/ofw_machdep.c Wed Apr 25 01:59:15 2018 (r332983) +++ head/sys/powerpc/ofw/ofw_machdep.c Wed Apr 25 02:42:11 2018 (r332984) @@ -230,7 +230,7 @@ excise_fdt_reserved(struct mem_region *avail, int asz) struct { uint64_t address; uint64_t size; - } fdtmap[16]; + } fdtmap[32]; ssize_t fdtmapsize; phandle_t chosen; int i, j, k;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804250242.w3P2gBCk018777>