Feature probe has nothing to do with CPUID, thus it should not be in
process_cpuids().
Introduce probe_pm_features() and move all feature probing functions
into it.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
BIC_PRESENT(BIC_IRQ);
BIC_PRESENT(BIC_TSC_MHz);
+}
+void probe_pm_features(void)
+{
probe_pstates();
probe_cstates();
if (!quiet)
decode_misc_feature_control();
-
- return;
}
/*
check_dev_msr();
check_permissions();
process_cpuid();
+ probe_pm_features();
linux_perf_init();
for_all_cpus(get_cpu_type, ODD_COUNTERS);