Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
- From: "H. Peter Anvin" <hpa@xxxxxxxxx>
- Date: Fri, 04 Dec 2015 14:57:57 -0800
- Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, linux-tip-commits@xxxxxxxxxxxxxxx, vincent.weaver@xxxxxxxxx, eranian@xxxxxxxxxx, efault@xxxxxx, peterz@xxxxxxxxxxxxx, jolsa@xxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, rostedt@xxxxxxxxxxx, acme@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
- In-reply-to: <20151204224837.GU21177@pd.tnic>
- User-agent: K-9 Mail for Android
On December 4, 2015 2:48:37 PM PST, Borislav Petkov <bp@xxxxxxxxx> 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-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
- From: tip-bot for Andi Kleen
- Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
- Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
- Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
- Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
- Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]