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

From: H. Peter Anvin
Date: Fri Dec 04 2015 - 17:36:59 EST


On December 4, 2015 10:30:17 AM PST, Borislav Petkov <bp@xxxxxxxxx> wrote:
>On Fri, Dec 04, 2015 at 10:28:02AM -0800, Andi Kleen wrote:
>> Because making them GPL would prevent any non GPL driver from
>> using MSRs with tracing compiled in, which doesn't make any sense.
>
>I know what EXPORT_SYMBOL_GPL means - I'm questioning the need of
>making
>them available to non-GPL drivers.

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.
--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/