Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144434007
D34664.id104198.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
489 B
Referenced Files
None
Subscribers
None
D34664.id104198.diff
View Options
diff --git a/sys/arm64/arm64/pmap.c b/sys/arm64/arm64/pmap.c
--- a/sys/arm64/arm64/pmap.c
+++ b/sys/arm64/arm64/pmap.c
@@ -361,7 +361,8 @@
#define COOKIE_TO_EPOCH(cookie) ((int)((u_long)(cookie) >> 32))
#define TLBI_VA_SHIFT 12
-#define TLBI_VA(addr) ((addr) >> TLBI_VA_SHIFT)
+#define TLBI_VA_MASK ((1ul << 44) - 1)
+#define TLBI_VA(addr) (((addr) >> TLBI_VA_SHIFT) & TLBI_VA_MASK)
#define TLBI_VA_L3_INCR (L3_SIZE >> TLBI_VA_SHIFT)
static int superpages_enabled = 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 10:24 AM (4 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28489319
Default Alt Text
D34664.id104198.diff (489 B)
Attached To
Mode
D34664: arm64: pmap: Mask VA operand in TLBI instructions
Attached
Detach File
Event Timeline
Log In to Comment