Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151486194
D10709.id28784.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10709.id28784.diff
View Options
Index: head/sys/arm/mv/armada38x/armada38x.c
===================================================================
--- head/sys/arm/mv/armada38x/armada38x.c
+++ head/sys/arm/mv/armada38x/armada38x.c
@@ -173,9 +173,13 @@
/* Enable SCU */
val = bus_space_read_4(fdtbus_bs_tag, vaddr_scu, MV_SCU_REG_CTRL);
- if (!(val & MV_SCU_ENABLE))
+ if (!(val & MV_SCU_ENABLE)) {
+ /* Enable SCU Speculative linefills to L2 */
+ val |= MV_SCU_SL_L2_ENABLE;
+
bus_space_write_4(fdtbus_bs_tag, vaddr_scu, 0,
val | MV_SCU_ENABLE);
+ }
bus_space_unmap(fdtbus_bs_tag, vaddr_scu, MV_SCU_REGS_LEN);
return (0);
Index: head/sys/arm/mv/mvreg.h
===================================================================
--- head/sys/arm/mv/mvreg.h
+++ head/sys/arm/mv/mvreg.h
@@ -424,7 +424,8 @@
#define MV_SCU_REGS_LEN 0x100
#define MV_SCU_REG_CTRL 0x00
#define MV_SCU_REG_CONFIG 0x04
-#define MV_SCU_ENABLE 1
+#define MV_SCU_ENABLE (1 << 0)
+#define MV_SCU_SL_L2_ENABLE (1 << 3)
#define SCU_CFG_REG_NCPU_MASK 0x3
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 6:13 PM (10 m, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31164737
Default Alt Text
D10709.id28784.diff (1 KB)
Attached To
Mode
D10709: Enable SCU Speculative linefills to L2 on Armada 38x
Attached
Detach File
Event Timeline
Log In to Comment