Loading
platform/x86/intel-uncore-freq: Get rid of magic values
mainline inclusion from mainline-v6.11 commit 4babdbdce6a05ae6f228c1ae1e61a4bc91a91d33 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=4babdbdce6a05ae6f228c1ae1e61a4bc91a91d33 ------------------------------------------------- Intel-SIG: commit 4babdbdce6a0 platform/x86/intel-uncore-freq: Get rid of magic values. Backport Intel-uncore-freq driver support for 6.6 from 6.11. Get rid of any magic bitmasks from the code. Define proper macros for these, and use the bitfield operations to access them. 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-3-tero.kristo@linux.intel.com 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>