svn commit: r361336 - head/sys/powerpc/aim

Brandon Bergren bdragon at FreeBSD.org
Thu May 21 15:53:17 UTC 2020


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;


More information about the svn-src-all mailing list