lkml.org 
[lkml]   [2009]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86: UV hardware performance counter and topology access

* Russ Anderson <rja@sgi.com> wrote:

> Adds device named "/dev/uv_hwperf" that supports an ioctl interface
> to call down into BIOS to read/write memory mapped performance
> monitoring registers.

That's not acceptable - please integrate this with perf events properly.
See arch/x86/kernel/cpu/perf_event.c for details.

Precisely what kinds of events are being exposed by the UV BIOS
interface? Also, how does the BIOS get them? The BIOS should be left out
of that - the PMU driver should know about and access hardware registers
directly.

If any of this needs enhancements in kernel/perf_event.c we'll be glad
to help out.

Ingo


\
 
 \ /
  Last update: 2009-10-01 09:49    [W:0.088 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site