Re: [perf] unchecked MSR access error: WRMSR to 0x689 in intel_pmu_lbr_restore

From: Pawan Gupta
Date: Tue Jul 12 2022 - 16:48:42 EST


On Tue, Jul 12, 2022 at 03:39:56PM -0400, Vince Weaver wrote:
On Mon, 11 Jul 2022, Pawan Gupta wrote:

Output of below would be helpful:

# grep "rtm\|hle" /proc/cpuinfo

no results

ARCH_CAP
# rdmsr 0x10a

rdmsr: CPU 0 cannot read MSR 0x0000010a

TSX_CTRL
# rdmsr 0x122

rdmsr: CPU 0 cannot read MSR 0x00000122

MCU_OPT_CTRL
# rdmsr 0x123

0

TSX_FORCE_ABORT
# rdmsr 0x10f

rdmsr: CPU 0 cannot read MSR 0x0000010f

It appears this CPU does not support TSX feature (or disabling TSX). If
the bug is easy to reproduce, bisecting can help.

Thanks,
Pawan