platform/x86/intel-uncore-freq: Return error on write frequency
mainline inclusion from mainline-v6.4-rc2 commit 75e406b5 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=75e406b540c3eca67625d97bbefd4e3787eafbfe ------------------------------------- Currently when the uncore_write() returns error, it is silently ignored. Return error to user space when uncore_write() fails. Intel-SIG: commit 75e406b5 platform/x86/intel-uncore-freq: Return error on write frequency. Backport Intel-uncore-freq driver support on TPMI. Fixes: 49a474c7 ("platform/x86: Add support for Uncore frequency control") Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Reviewed-by:
Zhang Rui <rui.zhang@intel.com> Tested-by:
Wendy Wang <wendy.wang@intel.com> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230418153230.679094-1-srinivas.pandruvada@linux.intel.com Cc: stable@vger.kernel.org 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