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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to