Messages in this thread | | | Subject | Re: [tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses | From | "H. Peter Anvin" <> | Date | Fri, 04 Dec 2015 14:35:38 -0800 |
| |
On December 4, 2015 10:30:17 AM PST, Borislav Petkov <bp@alien8.de> 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.
| |