mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: srinivas pandruvada <srinivas.pandruvada@linux.intel.com>
To: Borislav Petkov <bp@alien8.de>, Rui Salvaterra <rsalvaterra@gmail.com>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>,
	linux-pm@vger.kernel.org
Subject: Re: [BUG?] unchecked MSR access error: WRMSR to 0x19c
Date: Thu, 06 Apr 2023 15:31:09 -0700	[thread overview]
Message-ID: <cdf43fb423368ee3994124a9e8c9b4f8d00712c6.camel@linux.intel.com> (raw)
In-Reply-To: <20230406213640.GBZC87aMhjL8LN6NUI@fat_crate.local>

Hi Rui,

On Thu, 2023-04-06 at 23:36 +0200, Borislav Petkov wrote:
> CCing more appropiate people and quoting the whole mail...
> 
> On Wed, Apr 05, 2023 at 11:14:45PM +0100, Rui Salvaterra wrote:
> > Hi, everyone,
> > 
> > I have a Haswell (Core i7-4770R) machine running Linux 6.3-rc5 on
> > which, after a while under load (say, compiling the kernel), I get
> > this trace…
> > 
> > [  832.549630] unchecked MSR access error: WRMSR to 0x19c (tried to
> > write 0x000000000000aaa8) at rIP: 0xffffffff816f66a6

Please send output of : cpuid -1

Also please try this:

#wrmsr 0x19c 0xaaa8
This should give "wrmsr: CPU 0 cannot set MSR 0x0000019c to
0x000000000000aaa8

#wrmsr 0x19c 0x0aa8

I think this will not return error.

Thanks,
Srinivas

> > (throttle_active_work+0xa6/0x1d0)
> > [  832.549652] Call Trace:
> > [  832.549654]  <TASK>
> > [  832.549655]  process_one_work+0x1ab/0x300
> > [  832.549661]  worker_thread+0x4b/0x340
> > [  832.549664]  ? process_one_work+0x300/0x300
> > [  832.549676]  kthread+0xac/0xc0
> > [  832.549679]  ? kthread_exit+0x20/0x20
> > [  832.549682]  ret_from_fork+0x1f/0x30
> > [  832.549693]  </TASK>
> > 
> > … after which I get these from time to time in dmesg.
> > 
> > [  836.709562] CPU7: Core temperature is above threshold, cpu clock
> > is
> > throttled (total events = 219)
> > [  836.709569] CPU3: Core temperature is above threshold, cpu clock
> > is
> > throttled (total events = 219)
> > [ 1272.792138] CPU2: Core temperature is above threshold, cpu clock
> > is
> > throttled (total events = 1)
> > [ 1272.792156] CPU6: Core temperature is above threshold, cpu clock
> > is
> > throttled (total events = 1)
> > 
> > This is the microcode revision on the CPU.
> > 
> > [    0.000000] microcode: updated early: 0xe -> 0x1c, date = 2019-
> > 11-12
> > 
> > Note that I have the exact same issue on an Ivy Bridge (Core
> > i7-3720QM) machine, but not on an Ivy Bridge laptop (Celeron
> > 1007U).
> > Maybe this is a legitimate warning, but please note that I've
> > thorughly cleaned the machines before retesting to see if, by
> > coincidence, I had any airway/cooling issues. The fact that it
> > started
> > happening recently (since Linux 6.1, I believe), and the fact that
> > running stress-ng --cpu 16 before the unchecked WRMSR error happens
> > doesn't cause any thermal throttling events, lead me to believe
> > this
> > is possibly some unintended oversight.
> > 
> > Please let me know if you need any additional information (.config,
> > or
> > anything else).
> > 
> > Thanks in advance,
> > Rui
> 


  reply	other threads:[~2023-04-06 22:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05 22:14 Rui Salvaterra
2023-04-06 21:36 ` Borislav Petkov
2023-04-06 22:31   ` srinivas pandruvada [this message]
2023-04-07 18:57     ` Rui Salvaterra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cdf43fb423368ee3994124a9e8c9b4f8d00712c6.camel@linux.intel.com \
    --to=srinivas.pandruvada@linux.intel.com \
    --cc=amitk@kernel.org \
    --cc=bp@alien8.de \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=rsalvaterra@gmail.com \
    --cc=rui.zhang@intel.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®