Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 13:52:36 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5a619ca07a2d - main - Fix the arm64 L2_BLOCK_MASK definition
Message-ID:  <202109211352.18LDqalq048374@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=5a619ca07a2d6614b7b4ecbb7078d0949702dcd2

commit 5a619ca07a2d6614b7b4ecbb7078d0949702dcd2
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-09-21 13:46:10 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2021-09-21 13:47:34 +0000

    Fix the arm64 L2_BLOCK_MASK definition
    
    It was missing the top 16 bits.
    
    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 5d4412d2c141..b3bec720e9f9 100644
--- a/sys/arm64/include/pte.h
+++ b/sys/arm64/include/pte.h
@@ -125,7 +125,7 @@ typedef	uint64_t	pt_entry_t;		/* page table entry */
 #define	L2_BLOCK	L1_BLOCK
 #define	L2_TABLE	L1_TABLE
 
-#define	L2_BLOCK_MASK	UINT64_C(0xffffffe00000)
+#define	L2_BLOCK_MASK	UINT64_C(0xffffffffffe00000)
 
 /* Level 3 table, 4KiB per entry */
 #define	L3_SHIFT	12



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