Skip to content

Commit cf42b83

Browse files
committed
platform/x86/intel-uncore-freq: Return error on write frequency
jira LE-1907 Rebuild_History Non-Buildable kernel-4.18.0-477.27.1.el8_8 commit-author Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> commit 75e406b Empty-Commit: Cherry-Pick Conflicts during history rebuild. Will be included in final tarball splat. Ref for failed cherry-pick at: ciq/ciq_backports/kernel-4.18.0-477.27.1.el8_8/75e406b5.failed Currently when the uncore_write() returns error, it is silently ignored. Return error to user space when uncore_write() fails. Fixes: 49a474c ("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> (cherry picked from commit 75e406b) Signed-off-by: Jonathan Maple <jmaple@ciq.com> # Conflicts: # drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
1 parent a07e6b2 commit cf42b83

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
platform/x86/intel-uncore-freq: Return error on write frequency
2+
3+
jira LE-1907
4+
Rebuild_History Non-Buildable kernel-4.18.0-477.27.1.el8_8
5+
commit-author Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
6+
commit 75e406b540c3eca67625d97bbefd4e3787eafbfe
7+
Empty-Commit: Cherry-Pick Conflicts during history rebuild.
8+
Will be included in final tarball splat. Ref for failed cherry-pick at:
9+
ciq/ciq_backports/kernel-4.18.0-477.27.1.el8_8/75e406b5.failed
10+
11+
Currently when the uncore_write() returns error, it is silently
12+
ignored. Return error to user space when uncore_write() fails.
13+
14+
Fixes: 49a474c7ba51 ("platform/x86: Add support for Uncore frequency control")
15+
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
16+
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
17+
Tested-by: Wendy Wang <wendy.wang@intel.com>
18+
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
19+
Link: https://lore.kernel.org/r/20230418153230.679094-1-srinivas.pandruvada@linux.intel.com
20+
Cc: stable@vger.kernel.org
21+
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
22+
(cherry picked from commit 75e406b540c3eca67625d97bbefd4e3787eafbfe)
23+
Signed-off-by: Jonathan Maple <jmaple@ciq.com>
24+
25+
# Conflicts:
26+
# drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
27+
* Unmerged path drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
28+
* Unmerged path drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c

0 commit comments

Comments
 (0)