aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/linux-surface.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/linux-surface.patch')
-rw-r--r--SOURCES/linux-surface.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/SOURCES/linux-surface.patch b/SOURCES/linux-surface.patch
index 5b4309d..1073c42 100644
--- a/SOURCES/linux-surface.patch
+++ b/SOURCES/linux-surface.patch
@@ -12815,9 +12815,9 @@ index ceab14b6118f7..888cdb7624dcd 100644
#include <asm/proto.h>
#include "process.h"
-@@ -214,6 +215,8 @@
+@@ -214,6 +215,8 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
/* Load the Intel cache allocation PQR MSR. */
- resctrl_sched_in();
+ resctrl_sched_in(next_p);
+ reset_hardware_history();
+
@@ -12836,9 +12836,9 @@ index 7f94dbbc397b7..d0d3c33237475 100644
#include <asm/unistd.h>
#include <asm/fsgsbase.h>
#ifdef CONFIG_IA32_EMULATION
-@@ -658,6 +659,8 @@
+@@ -658,6 +659,8 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
/* Load the Intel cache allocation PQR MSR. */
- resctrl_sched_in();
+ resctrl_sched_in(next_p);
+ reset_hardware_history();
+