Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2020 15:53:17 +0000 (UTC)
From:      Brandon Bergren <bdragon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361336 - head/sys/powerpc/aim
Message-ID:  <202005211553.04LFrH3m086488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005211553.04LFrH3m086488>