All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] a couple of userspace MSR filtering improvements
@ 2020-08-21 12:10 Chris Down
  2020-08-21 12:10 ` [PATCH v2 1/2] x86: Prevent userspace MSR access from dominating the console Chris Down
  2020-08-21 12:10 ` [PATCH v2 2/2] x86: Make source of unrecognised MSR writes unambiguous Chris Down
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Down @ 2020-08-21 12:10 UTC (permalink / raw)
  To: linux-kernel
  Cc: Borislav Petkov, Jakub Kicinski, Andrew Morton, kernel-team,
	sean.j.christopherson, tony.luck, torvalds, x86

As discussed in Message-ID <20200714165621.GA3622@nazgul.tnic>.

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(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-21 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-21 12:10 [PATCH v2 0/2] a couple of userspace MSR filtering improvements Chris Down
2020-08-21 12:10 ` [PATCH v2 1/2] x86: Prevent userspace MSR access from dominating the console Chris Down
2020-08-21 12:10 ` [PATCH v2 2/2] x86: Make source of unrecognised MSR writes unambiguous Chris Down

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.