lkml.org 
[lkml]   [2004]   [Feb]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 16 Feb 2004 11:23:52 +0100
FromMikael Pettersson <>
SubjectRe: [PATCH] oprofile add Pentium Mobile support
Philippe Elie writes:
 > From: Will Cohen <wcohen@redhat.com>
 > 
 > Add oprofile support for Pentium Mobile (P6 core). Pentium Mobile needs
 > to unmask LVPTC vector, since it doesn't hurt other P6 core based cpus
 > we do it unconditionally for all these.

[Patch talking about the Pentium-M.]

I can find no support in Intel's documentation (IA32 Volume 3,
25366813.pdf) that Pentium-M:s need to unmask LVTPC.

How certain are you of this? Is this an undocumented hardware
quirk? If it is documented, please indicate where.

It's my theory that P4 added the auto-masking to help PEBS
buffer overflow situations, but since P-M doesn't have PEBS,
they shouldn't have had to change this on P-M as well.
OTOH, it's certainly possible they changed it by accident.

One way of testing this would be to run a P-M with
nmi_watchdog=2. If the NMI counter keeps ticking, then
LVTPC does not need unmasking.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [from the cache]
©2003-2008