[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200610110037.11853-1-bp@alien8.de>
Date: Wed, 10 Jun 2020 13:00:34 +0200
From: Borislav Petkov <bp@...en8.de>
To: X86 ML <x86@...nel.org>
Cc: Tom Lendacky <thomas.lendacky@....com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] x86/MSR: Add a MSR write callback
From: Borislav Petkov <bp@...e.de>
Hi all,
here's a small set which adds a callback to execute when a MSR is
written. Patch 3 explains the need for it.
Thx.
Borislav Petkov (3):
x86/msr: Pass a single MSR value to __rwmsr_on_cpus() too
x86/msr: Add wrmsrl_val_on_cpus()
x86/msr: Add an MSR write callback
arch/x86/include/asm/msr.h | 10 ++++++++++
arch/x86/kernel/cpu/bugs.c | 2 +-
arch/x86/kernel/cpu/common.c | 31 +++++++++++++++++++++++++++++++
arch/x86/kernel/msr.c | 3 +++
arch/x86/lib/msr-smp.c | 26 +++++++++++++++++++++++---
5 files changed, 68 insertions(+), 4 deletions(-)
--
2.21.0
Powered by blists - more mailing lists