Searched refs:max_model (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/target/s390x/ |
| H A D | cpu_models.c | 575 const S390CPUModel *max_model, in check_compat_model_failed() argument 579 msg, max_model->def->name); in check_compat_model_failed() 583 static bool check_compatibility(const S390CPUModel *max_model, in check_compatibility() argument 589 if (model->def->gen > max_model->def->gen) { in check_compatibility() 590 check_compat_model_failed(errp, max_model, "Selected CPU generation is too new"); in check_compatibility() 592 } else if (model->def->gen == max_model->def->gen && in check_compatibility() 593 model->def->ec_ga > max_model->def->ec_ga) { in check_compatibility() 594 check_compat_model_failed(errp, max_model, "Selected CPU GA level is too new"); in check_compatibility() 608 bitmap_andnot(missing, model->features, max_model->features, S390_FEAT_MAX); in check_compatibility() 624 static S390CPUModel max_model; in get_max_cpu_model() local [all …]
|
| H A D | cpu_models_system.c | 26 static void check_unavailable_features(const S390CPUModel *max_model, in check_unavailable_features() argument 33 if (max_model->def->gen < model->def->gen || in check_unavailable_features() 34 (max_model->def->gen == model->def->gen && in check_unavailable_features() 35 max_model->def->ec_ga < model->def->ec_ga)) { in check_unavailable_features() 40 bitmap_andnot(missing, model->features, max_model->features, in check_unavailable_features()
|