Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 03:31:23 +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: r324786 - head/sys/powerpc/booke
Message-ID:  <201710200331.v9K3VN2q013551@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Fri Oct 20 03:31:23 2017
New Revision: 324786
URL: https://svnweb.freebsd.org/changeset/base/324786

Log:
  Expand the TLB nest level mask to 3 bits to match the 32-bit mask
  
  This really doesn't change anything right now, because BOOKE_TLB_MAXNEST is only
  3, which fits into the 2 bits currently used.

Modified:
  head/sys/powerpc/booke/trap_subr.S

Modified: head/sys/powerpc/booke/trap_subr.S
==============================================================================
--- head/sys/powerpc/booke/trap_subr.S	Fri Oct 20 03:30:02 2017	(r324785)
+++ head/sys/powerpc/booke/trap_subr.S	Fri Oct 20 03:31:23 2017	(r324786)
@@ -365,7 +365,7 @@
 	ld	%r30, (TLBSAVE_BOOKE_R30)(br);				\
 	ld	%r31, (TLBSAVE_BOOKE_R31)(br);				
 #define TLB_NEST(outr,inr)						\
-	rlwinm	outr, inr, 7, 23, 24;	/* 8 x TLBSAVE_LEN */
+	rlwinm	outr, inr, 7, 22, 24;	/* 8 x TLBSAVE_LEN */
 #else
 #define TLB_SAVE_REGS(br)						\
 	stmw	%r20, TLBSAVE_BOOKE_R20(br)



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