Page MenuHomeFreeBSD

D9864.1775478151.diff
No OneTemporary

Size
508 B
Referenced Files
None
Subscribers
None

D9864.1775478151.diff

Index: sys/arm/mv/mv_machdep.c
===================================================================
--- sys/arm/mv/mv_machdep.c
+++ sys/arm/mv/mv_machdep.c
@@ -254,6 +254,13 @@
* as strongly ordered instead of device memory.
*/
pmap_remap_vm_attr(PTE2_ATTR_DEVICE, PTE2_ATTR_SO);
+
+ /*
+ * Enable HW L1 prefetch.
+ * This feature gives significant performance gain although
+ * is not always enabled by the low-level firmware on Armada38X.
+ */
+ plat_cpuinfo.plat_actlr = (1 << 2);
#endif
}

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 12:22 PM (15 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28274932
Default Alt Text
D9864.1775478151.diff (508 B)

Event Timeline