Thread (154 messages) 154 messages, 12 authors, 2023-03-20

Re: [PATCH v7 34/41] x86/shstk: Support WRSS for userspace

From: "Edgecombe, Rick P" <rick.p.edgecombe@intel.com>
Date: 2023-03-10 17:16:58
Also in: linux-arch, linux-doc, linux-mm, lkml

On Fri, 2023-03-10 at 17:44 +0100, Borislav Petkov wrote:

Thanks on text edits.
quoted
  
+/* Helper that can never get accidentally un-inlined. */
+#define set_clr_bits_msrl(msr, set, clear)   do {    \
Uff, pls kill this thing.

Our MSR interfaces universe is already insane and arch/x86/lib/msr.c
already has similar attempts to what you're doing here in addition to
all the other gunk in msr.h.

I highly doubt this can't be done the usual way, lemme see...
Seems reasonable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help