[GIT PULL] x86/misc changes for v5.9

From: Ingo Molnar
Date: Mon Aug 03 2020 - 14:47:25 EST


Linus,

Please pull the latest x86/misc git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-misc-2020-08-03

# HEAD: a7e1f67ed29f0c339e2aa7483d13b085127566ab x86/msr: Filter MSR writes

Filter MSR writes from user-space by default, and print a syslog entry if
they happen outside the allowed set of MSRs, which is a single one for now,
MSR_IA32_ENERGY_PERF_BIAS.

The plan is to eventually disable MSR writes by default (they can still be
enabled via allow_writes=on).

Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Thanks,

Ingo

------------------>
Borislav Petkov (1):
x86/msr: Filter MSR writes


arch/x86/kernel/msr.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)