Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 02:22:00 +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: r354671 - head/sys/powerpc/aim
Message-ID:  <201911130222.xAD2M0f0081753@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Wed Nov 13 02:22:00 2019
New Revision: 354671
URL: https://svnweb.freebsd.org/changeset/base/354671

Log:
  powerpc64: Don't guard ISA 3.0 partition table setup with hw_direct_map
  
  PowerISA 3.0 eliminated the 64-bit bridge mode which allowed 32-bit kernels
  to run on 64-bit AIM/Book-S hardware.  Since therefore only a 64-bit kernel
  can run on this hardware, and 64-bit native always has the direct map, there
  is no need to guard it.

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

Modified: head/sys/powerpc/aim/moea64_native.c
==============================================================================
--- head/sys/powerpc/aim/moea64_native.c	Wed Nov 13 02:16:24 2019	(r354670)
+++ head/sys/powerpc/aim/moea64_native.c	Wed Nov 13 02:22:00 2019	(r354671)
@@ -545,9 +545,8 @@ moea64_bootstrap_native(mmu_t mmup, vm_offset_t kernel
 	if (cpu_features2 & PPC_FEATURE2_ARCH_3_00) {
 		moea64_part_table =
 		    (struct pate *)moea64_bootstrap_alloc(PART_SIZE, PART_SIZE);
-		if (hw_direct_map)
-			moea64_part_table =
-			    (struct pate *)PHYS_TO_DMAP((vm_offset_t)moea64_part_table);
+		moea64_part_table =
+		    (struct pate *)PHYS_TO_DMAP((vm_offset_t)moea64_part_table);
 	}
 	DISABLE_TRANS(msr);
 	bzero(__DEVOLATILE(void *, moea64_pteg_table), moea64_pteg_count *



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