Loading
platform/x86/intel-uncore-freq: Use uncore_index with read_control_freq
mainline inclusion from mainline-v6.11 commit 69207a0f17d4e5a9bdd9feeece26a84add305157 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QCW CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=69207a0f17d4e5a9bdd9feeece26a84add305157 ------------------------------------------------- Intel-SIG: commit 69207a0f17d4 platform/x86/intel-uncore-freq: Use uncore_index with read_control_freq. Backport Intel-uncore-freq driver support for 6.6 from 6.11. Use the enumerated index for selecting the uncore driver parameter to read, instead of reading everything. This is done in preparation to expand the API to access more parameters later. No functional change intended. Signed-off-by:Tero Kristo <tero.kristo@linux.intel.com> Acked-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Link: https://lore.kernel.org/r/20240617060708.892981-5-tero.kristo@linux.intel.com [ij: Removed underscores from variable names] Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>