Add references for cell register definitions
[bitfield] / conf / cell.conf
1 ; Definitions for the Cell Broadband Engine Architecture
2 ;
3 ; Contributors:
4 ;  Jeremy Kerr <jk@ozlabs.org>
5 ;
6 ; Most definitions are from the documents:
7 ; [regs]:
8 ;       Cell Broadband Engine Registers
9 ;       version 1.3
10 ;       http://www-306.ibm.com/chips/techlib/techlib.nsf/techdocs/6ED822DD7E97D889872570B200607EEC
11 ;
12 ; [cbea]:
13 ;       Cell Broadband Engine Architecture
14 ;       version 1.0
15 ;       http://www-306.ibm.com/chips/techlib/techlib.nsf/techdocs/1AEEE1270EA2776387257060006E61BA
16
17
18
19 ; [regs] Section 5.6
20 [IOC_IOST_Origin]
21 name:   Cell IOMMU Segmentation Table Origin
22 width:  64
23 field:  0       Enable
24 field:  22:51   IOST origin
25 field:  52      HW
26 field:  53      HL
27
28 ; [regs] Section 5.7
29 [IOC_IO_ExcpStat]
30 name:   Cell I/O Exception Status Register
31 width:  64
32 field:  0       Valid
33 field:  1:2     Segment/Page Fault
34 value:          0 none
35 value:          1 page fault
36 value:          2 undefined
37 value:          3 segment fault
38 field:  29:51   Address
39 field:  52      RW
40 value:          0 write
41 value:          1 read
42 field:  53:63   IOID
43
44 ; [regs] Section 4.1
45 [IOC_IOCmd_Cfg]
46 name:   Cell IOCmd Configuration
47 field:  0:15    IOC Timeout
48 field:  16      TE
49 field:  17      Enable tokens
50 field:  18      Read-modify-write
51 field:  19      SXT
52 field:  20      Node ID 0
53 field:  21:31   IOID0
54 field:  32:34   CVCID0
55 filed:  35      IR0
56 field:  36      E0
57 field:  37      Node ID 1
58 field:  38:48   IOID1
59 field:  49:51   CVCID1
60 filed:  52      IR1
61 field:  53      E1
62 field:  54:57   Starvation count 1
63 field:  58      AAR
64 field:  59      AAA
65 field:  60      Disable ageing
66 field:  61      Read intervention
67
68 [IOC_STE]
69 name: Cell IOMMU Segmentation Table Entry
70 field:  0       Valid
71 field:  1       Hint
72 field:  2:51    IOPT Base RPN
73 field:  52:58   NPPT
74 field:  60:63   Page size
75
76 [IOC_PTE]
77 name: Cell IOMMU Page Table Entry
78 field:  0:1     Page protection
79 value:          0 no access
80 value:          1 read
81 value:          2 write
82 value:          3 read & write
83 field:  2       Coherence required
84 field:  3:4     Storage ordering
85 value:          0 none
86 value:          1 reserved
87 value:          2 writes
88 value:          3 reads & writes
89 field:  5:51    RPN
90 field:  52:63   IOID
91
92 ; [regs] Section 5.4
93 [IOC_IOPT_CacheInvd]
94 name: Cell IOC IOPT Cache Invalidate
95 field:  0:10    Number of entries
96 field:  22:60   IOPTE real address
97 field:  63      Busy
98
99 ; [cbea] Section 8.5.2
100 [SPU_Status]
101 name: Cell SPU Status
102 width: 32
103 field:  0:15    Stop-and-signal status
104 field:  21      Isolate exit
105 field:  22      Isolate load
106 field:  24      Isolated mode
107 field:  26      Stopped: invalid instruction
108 field:  27      Stopped: single-step mode
109 field:  28      Waiting on blocked channel
110 field:  29      Stopped: halt instruction
111 field:  30      Stopped: stop-and-signal
112 field:  31      Running
113
114 ; [cbea] Section 15.1
115 [MFC_SR1]
116 name:   Cell MFC State Register 1
117 width:  64
118 field:  57      Software/hardware page tables
119 field:  58      Master run control
120 value:          0 Stopped
121 value:          1 Running
122 field:  59      MFC Translation
123 field:  60      Problem state
124 field:  62      Bus tlbie
125 field:  63      Local store real address
126