Date: Sat, 25 May 2019 04:56:06 +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: r348267 - head/sys/powerpc/aim Message-ID: <201905250456.x4P4u6Ef072468@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sat May 25 04:56:06 2019 New Revision: 348267 URL: https://svnweb.freebsd.org/changeset/base/348267 Log: powerpc64/pmap: Reapply r334235 to OEA64 pmap, clearing HID0_RADIX This was lost in the re-merger of ISA3 MMU into moea64_native. Modified: head/sys/powerpc/aim/moea64_native.c Modified: head/sys/powerpc/aim/moea64_native.c ============================================================================== --- head/sys/powerpc/aim/moea64_native.c Sat May 25 04:31:04 2019 (r348266) +++ head/sys/powerpc/aim/moea64_native.c Sat May 25 04:56:06 2019 (r348267) @@ -401,6 +401,12 @@ moea64_cpu_bootstrap_native(mmu_t mmup, int ap) mtmsr(mfmsr() & ~PSL_DR & ~PSL_IR); + switch(mfpvr() >> 16) { + case IBMPOWER9: + mtspr(SPR_HID0, mfspr(SPR_HID0) & ~HID0_RADIX); + break; + } + /* * Install kernel SLB entries */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905250456.x4P4u6Ef072468>