Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167358927
D23244.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
876 B
Referenced Files
None
Subscribers
None
D23244.id.diff
View Options
Index: head/sys/powerpc/booke/pmap.c
===================================================================
--- head/sys/powerpc/booke/pmap.c
+++ head/sys/powerpc/booke/pmap.c
@@ -4028,7 +4028,22 @@
sz >>= 2;
} while (va % sz != 0);
}
- /* Now align from there to VA */
+#ifdef __powerpc64__
+ /*
+ * Clamp TLB1 entries to 4G.
+ *
+ * While the e6500 supports up to 1TB mappings, the e5500
+ * only supports up to 4G mappings. (0b1011)
+ *
+ * If any e6500 machines capable of supporting a very
+ * large amount of memory appear in the future, we can
+ * revisit this.
+ *
+ * For now, though, since we have plenty of space in TLB1,
+ * always avoid creating entries larger than 4GB.
+ */
+ sz = MIN(sz, 1UL << 32);
+#endif
if (bootverbose)
printf("Wiring VA=%p to PA=%jx (size=%lx)\n",
(void *)va, (uintmax_t)pa, (long)sz);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 22, 7:08 AM (15 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37067920
Default Alt Text
D23244.id.diff (876 B)
Attached To
Mode
D23244: [PowerPC] Fix Book-E direct map for >=16G ram on e5500
Attached
Detach File
Event Timeline
Log In to Comment