Loading
platform/x86/intel-uncore-freq: Don't present root domain on error
mainline inclusion from mainline-v6.10 commit db643cb7ebe524d17b4b13583dda03485d4a1bc0 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QCV CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=db643cb7ebe524d17b4b13583dda03485d4a1bc0 ------------------------------------------------- Intel-SIG: commit db643cb7ebe5 platform/x86/intel-uncore-freq: Don't present root domain on error. Backport intel uncore-freq driver update for 5.10 from 6.10 If none of the clusters are added because of some error, fail to load driver without presenting root domain. In this case root domain will present invalid data. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Fixes: 01c10f88 ("platform/x86/intel-uncore-freq: tpmi: Provide cluster level control") Cc: <stable@vger.kernel.org> # 6.5+ Link: https://lore.kernel.org/r/20240415215210.2824868-1-srinivas.pandruvada@linux.intel.com Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>