Commit 6fb1f18
target/arc: Add support of SMP
This commit introduces a support of SMP for ARCv2 and ARCv3 targets
in QEMU. A partial support of ICI, IDU and GFRC subsystems is presented
enough for running Linux.
Known issues:
* Some IDU commands like CMD_IDU_GEN_CIRQ, CMD_IDU_ACK_CIRQ
and CMD_IDU_CHECK_FIRST are not supported yet. They may be
implemented correctly only with a distinct interrupt controller for
IDU. All devices are connected to the first core because of the same
reason. It means that Linux cannot really control distributing of
interrupts.
* Only reading operations for GFRC are supported.
* Only a small subset of ICI commands is supported.
* SMP for HS4x is slower than for HS5x and HS6x.
SMP mode may be turned on by -smp N option where N
stands for a number of cores.
Co-authored-by: Cupertino Miranda <cmiranda@synopsys.com>
Co-authored-by: Jose Abreu <jose.abreu@synopsys.com>
Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>1 parent bc65949 commit 6fb1f18
File tree
11 files changed
+936
-238
lines changed- hw/arc
- target/arc
11 files changed
+936
-238
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
102 | | - | |
103 | 102 | | |
104 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
127 | 140 | | |
128 | 141 | | |
129 | 142 | | |
| |||
133 | 146 | | |
134 | 147 | | |
135 | 148 | | |
136 | | - | |
137 | | - | |
| 149 | + | |
| 150 | + | |
138 | 151 | | |
139 | 152 | | |
| 153 | + | |
| 154 | + | |
140 | 155 | | |
141 | 156 | | |
142 | 157 | | |
| |||
157 | 172 | | |
158 | 173 | | |
159 | 174 | | |
160 | | - | |
161 | | - | |
| 175 | + | |
162 | 176 | | |
163 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
164 | 185 | | |
165 | 186 | | |
166 | | - | |
167 | | - | |
| 187 | + | |
| 188 | + | |
168 | 189 | | |
169 | 190 | | |
170 | 191 | | |
171 | 192 | | |
172 | 193 | | |
173 | | - | |
| 194 | + | |
174 | 195 | | |
175 | 196 | | |
176 | | - | |
| 197 | + | |
177 | 198 | | |
178 | | - | |
| 199 | + | |
179 | 200 | | |
180 | 201 | | |
181 | 202 | | |
182 | 203 | | |
183 | 204 | | |
184 | 205 | | |
185 | | - | |
| 206 | + | |
186 | 207 | | |
187 | 208 | | |
188 | 209 | | |
| |||
0 commit comments