Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2019 15:38:01 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350037 - head/sys/arm64/include
Message-ID:  <201907161538.x6GFc1Up001289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Jul 16 15:38:01 2019
New Revision: 350037
URL: https://svnweb.freebsd.org/changeset/base/350037

Log:
  Fix the arm64 page table entry attribute mask.
  
  It did not include the DBM or contiguous bits.
  
  Reported by:	andrew
  Reviewed by:	andrew
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/include/pte.h

Modified: head/sys/arm64/include/pte.h
==============================================================================
--- head/sys/arm64/include/pte.h	Tue Jul 16 15:37:38 2019	(r350036)
+++ head/sys/arm64/include/pte.h	Tue Jul 16 15:38:01 2019	(r350037)
@@ -39,7 +39,7 @@ typedef	uint64_t	pt_entry_t;		/* page table entry */
 #endif
 
 /* Block and Page attributes */
-#define	ATTR_MASK_H	UINT64_C(0xfff0000000000000)
+#define	ATTR_MASK_H	UINT64_C(0xfffc000000000000)
 #define	ATTR_MASK_L	UINT64_C(0x0000000000000fff)
 #define	ATTR_MASK	(ATTR_MASK_H | ATTR_MASK_L)
 /* Bits 58:55 are reserved for software */



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