Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284315

Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses

From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
Date 2015-12-05 00:00 +0100
Message-ID <qC7uy-ox-7@gated-at.bofh.it> (permalink)
References (2 earlier) <qBXvc-2xR-17@gated-at.bofh.it> <qC3hf-6hF-5@gated-at.bofh.it> <qC3qV-6kU-5@gated-at.bofh.it> <qC7bc-hI-19@gated-at.bofh.it> <qC7kR-l8-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On December 4, 2015 2:48:37 PM PST, Borislav Petkov <bp@alien8.de> wrote:
>On Fri, Dec 04, 2015 at 02:35:38PM -0800, H. Peter Anvin wrote:
>> How about this: it is easy too easy to hard code MSR accesses, and
>the
>> last things we need is alien non-GPL drivers doing their own
>low-level
>> hacks bypassing these facilities.
>
>Yeah, that doesn't stop alien, non-GPL drivers from doing
>
>	asm("rdmsr ..)
>
>Hell, they can even do naked byte opcodes " ...0f 32... "
>
>But I see your point, thanks!

Yes, we can't keep them from being stupid, and they clearly are being so in the first place, but we can at least make it a bit easier to not be.  Since it is so easy to do that dumb thing let's not make it harder.
-- 
Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/4] x86: Add trace point for MSR accesses Andi Kleen <andi@firstfloor.org> - 2015-12-02 02:10 +0100
  Re: [PATCH 3/4] x86: Add trace point for MSR accesses Steven Rostedt <rostedt@goodmis.org> - 2015-12-02 03:10 +0100
  [tip:perf/core] x86, tracing, perf:   Add trace point for MSR accesses tip-bot for Andi Kleen <tipbot@zytor.com> - 2015-12-04 13:10 +0100
    Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR  accesses Borislav Petkov <bp@alien8.de> - 2015-12-04 13:20 +0100
      Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR  accesses Andi Kleen <ak@linux.intel.com> - 2015-12-04 19:30 +0100
        Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR  accesses Borislav Petkov <bp@alien8.de> - 2015-12-04 19:40 +0100
          Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR  accesses Andi Kleen <ak@linux.intel.com> - 2015-12-04 23:20 +0100
            Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR  accesses Borislav Petkov <bp@alien8.de> - 2015-12-04 23:30 +0100
          Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses "H. Peter Anvin" <hpa@zytor.com> - 2015-12-04 23:40 +0100
            Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR  accesses Borislav Petkov <bp@alien8.de> - 2015-12-04 23:50 +0100
              Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses "H. Peter Anvin" <hpa@zytor.com> - 2015-12-05 00:00 +0100
  [tip:perf/core] x86, tracing, perf:   Add trace point for MSR accesses tip-bot for Andi Kleen <tipbot@zytor.com> - 2015-12-06 14:30 +0100

csiph-web