Lines Matching refs:priv_ver
84 static const char *cpu_priv_ver_to_str(int priv_ver) in cpu_priv_ver_to_str() argument
86 const char *priv_spec_str = priv_spec_to_str(priv_ver); in cpu_priv_ver_to_str()
218 if (env->priv_ver == PRIV_VERSION_LATEST) { in cpu_bump_multi_ext_priv_ver()
224 if (env->priv_ver < ext_priv_ver) { in cpu_bump_multi_ext_priv_ver()
229 env->priv_ver = ext_priv_ver; in cpu_bump_multi_ext_priv_ver()
248 if (value && env->priv_ver != PRIV_VERSION_LATEST) { in cpu_cfg_ext_auto_update()
251 if (env->priv_ver < min_version) { in cpu_cfg_ext_auto_update()
261 if (riscv_has_ext(env, RVH) && env->priv_ver < PRIV_VERSION_1_12_0) { in riscv_cpu_validate_misa_priv()
295 (env->priv_ver < edata->min_version)) { in riscv_cpu_disable_priv_spec_isa_exts()
321 if (cpu->env.priv_ver >= PRIV_VERSION_1_11_0) { in riscv_cpu_update_named_features()
325 if (cpu->env.priv_ver >= PRIV_VERSION_1_12_0) { in riscv_cpu_update_named_features()
329 if (cpu->env.priv_ver >= PRIV_VERSION_1_13_0) { in riscv_cpu_update_named_features()
675 profile->priv_spec != env->priv_ver) { in riscv_cpu_validate_profile()
682 cpu_priv_ver_to_str(env->priv_ver)); in riscv_cpu_validate_profile()
834 if (riscv_has_ext(env, RVC) && env->priv_ver >= PRIV_VERSION_1_12_0) { in cpu_enable_zc_implied_rules()
1013 if (misa_bit == RVH && env->priv_ver < PRIV_VERSION_1_12_0) { in cpu_set_misa_ext_cfg()
1018 env->priv_ver = PRIV_VERSION_1_12_0; in cpu_set_misa_ext_cfg()
1126 cpu->env.priv_ver = profile->priv_spec; in cpu_set_profile()