File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ static void aarch64_max_initfn(Object *obj)
230230 kvm_arm_set_cpu_features_from_host (cpu );
231231 } else {
232232 aarch64_a57_initfn (obj );
233- #ifdef CONFIG_USER_ONLY
233+ // #ifdef CONFIG_USER_ONLY
234234 /* We don't set these in system emulation mode for the moment,
235235 * since we don't correctly set the ID registers to advertise them,
236236 * and in some cases they're only available in AArch64 and not AArch32,
@@ -247,6 +247,7 @@ static void aarch64_max_initfn(Object *obj)
247247 set_feature (& cpu -> env , ARM_FEATURE_V8_FP16 );
248248 set_feature (& cpu -> env , ARM_FEATURE_V8_FCMA );
249249 set_feature (& cpu -> env , ARM_FEATURE_SVE );
250+ #ifdef CONFIG_USER_ONLY
250251 /* For usermode -cpu max we can use a larger and more efficient DCZ
251252 * blocksize since we don't have to follow what the hardware does.
252253 */
You can’t perform that action at this time.
0 commit comments