Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360045
b: refs/heads/master
c: a69ba62
h: refs/heads/master
i:
  360043: 1e45681
v: v3
  • Loading branch information
Jayachandran C authored and John Crispin committed Feb 16, 2013
1 parent 7e9dc59 commit cbb6cab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a264b5e8dc3cae1b07cea010d6283be6e67b0209
refs/heads/master: a69ba6293d11b7dfd395a742f3449d6ddda8ecad
2 changes: 2 additions & 0 deletions trunk/arch/mips/include/asm/netlogic/xlp-hal/cpucontrol.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
#define CPU_BLOCKID_FPU 9
#define CPU_BLOCKID_MAP 10

#define ICU_DEFEATURE 0x100

#define LSU_DEFEATURE 0x304
#define LSU_DEBUG_ADDR 0x305
#define LSU_DEBUG_DATA0 0x306
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/mips/netlogic/common/smpboot.S
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
#endif
mtcr t1, t0

li t0, ICU_DEFEATURE
mfcr t1, t0
ori t1, 0x1000 /* Enable Icache partitioning */
mtcr t1, t0


#ifdef XLP_AX_WORKAROUND
li t0, SCHED_DEFEATURE
lui t1, 0x0100 /* Disable BRU accepting ALU ops */
Expand Down

0 comments on commit cbb6cab

Please sign in to comment.