]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/cpu: Move adjustment of CPUID_EXT_PDCM before feature_dependencies[] check
authorXiaoyao Li <xiaoyao.li@intel.com>
Tue, 4 Mar 2025 05:24:49 +0000 (00:24 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Jun 2025 11:25:59 +0000 (13:25 +0200)
commite68ec2980901c8e7f948f3305770962806c53f0b
tree530840697056c0631f9a822355e2e6ad1f05e220
parent6b3fad084fc4e13901e252fe6c2a2c46ecea999b
i386/cpu: Move adjustment of CPUID_EXT_PDCM before feature_dependencies[] check

There is one entry relates to CPUID_EXT_PDCM in feature_dependencies[].
So it needs to get correct value of CPUID_EXT_PDCM before using
feature_dependencies[] to apply dependencies.

Besides, it also ensures CPUID_EXT_PDCM value is tracked in
env->features[FEAT_1_ECX].

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250304052450.465445-2-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c