From 079d038a05bc2081beddbc5b73cff8baec1d0e31 Mon Sep 17 00:00:00 2001 From: markj Date: Tue, 16 Jul 2019 15:38:01 +0000 Subject: [PATCH] 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 --- sys/arm64/include/pte.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/include/pte.h b/sys/arm64/include/pte.h index 378e1a561e1..b739b0b1405 100644 --- a/sys/arm64/include/pte.h +++ b/sys/arm64/include/pte.h @@ -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 */ -- 2.45.0