Author: bdragon
Date: Thu May 21 15:53:16 2020
New Revision: 361336
URL: https://svnweb.freebsd.org/changeset/base/361336

Log:
  [PowerPC] Fix kernel boot on powerpc
  
  Recent changes have caused the vmspace objects to start coming from KVA
  instead of direct-mapped memory on powerpc. As far as I can tell, this is
  not actually a problem, so we should stop arbitrarily asserting that it is.
  
  I do not know why this was not being triggered before.
  
  Approved by:  jhibbits
  Sponsored by: Tag1 Consulting, Inc.

Modified:
  head/sys/powerpc/aim/mmu_oea.c

Modified: head/sys/powerpc/aim/mmu_oea.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea.c      Thu May 21 15:29:03 2020        
(r361335)
+++ head/sys/powerpc/aim/mmu_oea.c      Thu May 21 15:53:16 2020        
(r361336)
@@ -1703,7 +1703,6 @@ moea_pinit(mmu_t mmu, pmap_t pmap)
        int     i, mask;
        u_int   entropy;
 
-       KASSERT((int)pmap < VM_MIN_KERNEL_ADDRESS, ("moea_pinit: virt pmap"));
        RB_INIT(&pmap->pmap_pvo);
 
        entropy = 0;
_______________________________________________
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