public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Spurious PMU Interrupt
@ 2002-12-18  0:53 Ray Bryant
  2002-12-18  1:01 ` Stephane Eranian
  0 siblings, 1 reply; 2+ messages in thread
From: Ray Bryant @ 2002-12-18  0:53 UTC (permalink / raw)
  To: linux-ia64

Stephane,

I am getting one log message of the following type per CPU every time I
run a system-wide sampling session:

kernel: perfmon: Spurious PMU overflow interrupt on CPUxx: pmc0=0x1
owner\000000000000000 

Any idea what might be causing this?  This is a nuisance error, so if we
can just ignore it I will.

Thanks,
-- 
Best Regards,
Ray
-----------------------------------------------
Ray Bryant               SGI
512-453-9679 (work)      512-507-7807 (cell)
raybry@sgi.com           raybry@austin.rr.com
-----------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-ia64] Spurious PMU Interrupt
  2002-12-18  0:53 [Linux-ia64] Spurious PMU Interrupt Ray Bryant
@ 2002-12-18  1:01 ` Stephane Eranian
  0 siblings, 0 replies; 2+ messages in thread
From: Stephane Eranian @ 2002-12-18  1:01 UTC (permalink / raw)
  To: linux-ia64

Ray,

On Tue, Dec 17, 2002 at 06:53:31PM -0600, Ray Bryant wrote:
> Stephane,
> 
> I am getting one log message of the following type per CPU every time I
> run a system-wide sampling session:
> 
> kernel: perfmon: Spurious PMU overflow interrupt on CPUxx: pmc0=0x1
> owner\000000000000000 
> 

This happens on McKinley only, this is not an error and can be ignored.
In fact in the latest version of the kernel (2.4.20), I removed the printk() 
to avoid confusion. This is due do an erratum in the McKinley PMU. The problem
is in fact a desired feature which got cast as an error due to a bug in  
the Itanium PMU. Basically, if you set the freeze bit when it is not set
you'll get a PMU interrupt. This is what happens at the end of a monitoring
session in the current perfmon codebase for both 2.4 and 2.5. I think
you can see how this "bug" is in fact a feature which could be use during
the context switch, for instance.

So you can ignore the problem. The new perfmon codebase that I am working
on will never set the freeze bit explicitely anymore, so the "problem" will
go away.

-- 
-Stephane


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-18  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18  0:53 [Linux-ia64] Spurious PMU Interrupt Ray Bryant
2002-12-18  1:01 ` Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox