Skip to contentSkip to conversation

msr: Write to unrecognized MSR 0x38d by i7z

DISCUSSION Borislav Petkov 1 participant 1 message Sep 15, 2020 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 10 lines · On Tue, Sep 15, 2020 at 01:10:12PM +0200, [email protected] wrote:
Quoted 6 lines · Roman Stingler

Hi, when I open i7z I get following message in dmesg

[17548.541965] msr: Write to unrecognized MSR 0x38f by i7z
               Please report to [email protected]
[17548.542030] msr: Write to unrecognized MSR 0x38d by i7z

               Please report to [email protected]

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.

Signature · 4 lines
Regards/Gruss,
    Boris.

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