Skip to content

a couple of userspace MSR filtering improvements

Chris Down lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Fixed mostly aesthetic suggestions from Boris. Thanks! :-)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: Prevent userspace MSR access from dominating the consolearch/x86/kernel/msr.c+15 -30 replies
2/2x86: Make source of unrecognised MSR writes unambiguousarch/x86/kernel/msr.c+3 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] a couple of userspace MSR filtering improvements

As discussed in Message-ID <[email protected]>.

We all agree that userspace MSR twiddling is non-ideal, but we should be a bit cautious of taking up too much kmsg buffer if applications do repeated writes. allow_writes=1 is possible, but is non-ideal (see patch 1 changelog).

Also added pid information to the message, since it makes identification of the source (more or less) unambiguous.

Changes in v2:

- Fixed mostly aesthetic suggestions from Boris. Thanks! :-)

Chris Down (2):
x86: Prevent userspace MSR access from dominating the console
x86: Make source of unrecognised MSR writes unambiguous

 arch/x86/kernel/msr.c | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)
Signature · 1 line
2.28.0