lkml.org 
[lkml]   [2020]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: msr: Write to unrecognized MSR 0x38d by i7z
On Tue, Sep 15, 2020 at 01:10:12PM +0200, peterz@infradead.org wrote:
> On Tue, Sep 15, 2020 at 12:59:53PM +0200, Roman Stingler wrote:
> > Hi, when I open i7z I get following message in dmesg
> >
> > [17548.541965] msr: Write to unrecognized MSR 0x38f by i7z
> >                Please report to x86@kernel.org
> > [17548.542030] msr: Write to unrecognized MSR 0x38d by i7z
> >                Please report to x86@kernel.org
>
> That's PERF_GLOBAL_CTRL and PERF_FIXED_CTR_CTRL, userspace doesn't get
> to prod at those. Use the perf syscall.

Adding the authors/contributors of/to i7z.

Guys please consider converting your tool off of straight poking at MSRs
and to using proper kernel interfaces. If there are none for your use
case, feel free to define some and we'll help review them and get them
upstream. Poking at MSRs behind the kernel's back is a very very bad
idea.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2020-09-15 14:16    [W:0.028 / U:2.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site