Skip to content

x86/MSR: Add a MSR write callback

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/msr: Pass a single MSR value to __rwmsr_on_cpus() tooarch/x86/lib/msr-smp.c+8 -30 replies
2/3x86/msr: Add wrmsrl_val_on_cpus()arch/x86/include/asm/msr.h arch/x86/lib/msr-smp.c+23 -00 replies
3/3x86/msr: Add an MSR write callbackarch/x86/include/asm/msr.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c +1 more+37 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86/MSR: Add a MSR write callback

From: Borislav Petkov <[email protected]>

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(-)
Signature · 1 line
2.21.0