summaryrefslogtreecommitdiff
path: root/SOURCES/linux-surface.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-03-13 19:20:09 +0100
committerJan200101 <sentrycraft123@gmail.com>2023-03-13 19:20:09 +0100
commit4241164144fbb3257cb93c3e6cf2a96294789a8a (patch)
tree89469625a9ef1e4d6337a7786ad70793f196f197 /SOURCES/linux-surface.patch
parentdfa9e804b976e592e66625167772e6ae3ed81d8a (diff)
downloadkernel-fsync-4241164144fbb3257cb93c3e6cf2a96294789a8a.tar.gz
kernel-fsync-4241164144fbb3257cb93c3e6cf2a96294789a8a.zip
kernel 6.1.186.1
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();
+