File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,34 @@ if { $default_config == "P10" } {
175
175
}
176
176
}
177
177
178
+ if { $default_config == " P11" } {
179
+ # PVR configured for POWER11 DD2.0, LPAR-per-thread
180
+ myconf config processor/initial/SIM_CTRL 0x0c1dd60000000000
181
+ if { $mconf(threads) == 8 } {
182
+ # Big-core mode.
183
+ myconf config processor/initial/PVR 0x00820200
184
+ myconf config processor/initial/SIM_CTRL1 0xc0400c0400040a40
185
+ puts " Set P11 big-core mode"
186
+ } else {
187
+ # Small-core mode.
188
+ myconf config processor/initial/PVR 0x00821200
189
+ myconf config processor/initial/SIM_CTRL1 0xc0400c0401040a40
190
+ if { $mconf(threads) != 1 && $mconf(threads) != 2 && $mconf(threads) != 4 } {
191
+ puts " ERROR: Bad threads configuration"
192
+ exit
193
+ }
194
+ if { $mconf(threads) != 4 && $mconf(cpus) != 1 } {
195
+ puts " ERROR: Bad threads, cpus configuration"
196
+ exit
197
+ }
198
+
199
+ puts " Set P11 small-core mode"
200
+ }
201
+
202
+ if { $mconf(numa) } {
203
+ myconf config memory_region_id_shift 44
204
+ }
205
+ }
178
206
179
207
if { $mconf(numa) } {
180
208
myconf config memory_regions $mconf(cpus)
You can’t perform that action at this time.
0 commit comments