platform/x86/intel-uncore-freq: Split common and enumeration part
mainline inclusion from mainline-v5.18-rc1 commit dbce412a category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I8WOEG Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dbce412a7733bb7a763d99db413da22da72e3736 ------------------------------------- Split the current driver in two parts: - Common part: All the commom function other than enumeration function. - Enumeration/HW specific part: The current enumeration using CPU model is left in the old module. This uses service of common driver to register sysfs objects. Also provide callbacks for MSR access related to uncore. - Add MODULE_DEVICE_TABLE to uncore-frequency.c No functional changes are expected. Intel-SIG: commit dbce412a platform/x86/intel-uncore-freq: Split common and enumeration part. Backport Intel-uncore-freq driver support on TPMI. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@intel.com> Acked-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/20220204000306.2517447-5-srinivas.pandruvada@linux.intel.com Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>
Loading
Please sign in to comment