From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756781AbbLDWsq (ORCPT ); Fri, 4 Dec 2015 17:48:46 -0500 Received: from mail.skyhub.de ([78.46.96.112]:42116 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755363AbbLDWsp (ORCPT ); Fri, 4 Dec 2015 17:48:45 -0500 Date: Fri, 4 Dec 2015 23:48:37 +0100 From: Borislav Petkov To: "H. Peter Anvin" Cc: Andi Kleen , Ingo Molnar , linux-tip-commits@vger.kernel.org, vincent.weaver@maine.edu, eranian@google.com, efault@gmx.de, peterz@infradead.org, jolsa@redhat.com, torvalds@linux-foundation.org, tglx@linutronix.de, rostedt@goodmis.org, acme@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses Message-ID: <20151204224837.GU21177@pd.tnic> References: <1449018060-1742-3-git-send-email-andi@firstfloor.org> <20151204121115.GA21524@pd.tnic> <20151204182802.GF18534@tassilo.jf.intel.com> <20151204183017.GO21177@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.