aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cpuctl
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-10-20 23:17:24 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-10-20 23:17:24 +0000
commit2dec2b4a34b4063968a3a988ed066c1101d2d8d8 (patch)
tree407dac38b64404a9d560d04c846acf3a8c5e7b4f /sys/dev/cpuctl
parent074244628b8cd7893d6926d3cde9a77e05450db7 (diff)
Notes
Diffstat (limited to 'sys/dev/cpuctl')
-rw-r--r--sys/dev/cpuctl/cpuctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/cpuctl/cpuctl.c b/sys/dev/cpuctl/cpuctl.c
index 4f91b4fbbf287..5890864b059b5 100644
--- a/sys/dev/cpuctl/cpuctl.c
+++ b/sys/dev/cpuctl/cpuctl.c
@@ -521,6 +521,9 @@ cpuctl_do_eval_cpu_features(int cpu, struct thread *td)
hw_ibrs_recalculate();
restore_cpu(oldcpu, is_bound, td);
hw_ssb_recalculate(true);
+#ifdef __amd64__
+ amd64_syscall_ret_flush_l1d_recalc();
+#endif
printcpuinfo();
return (0);
}