lkml.org 
[lkml]   [2009]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [git-pull -tip V2] x86: msr architecture debug code
From
Date
On Thu, 2009-03-05 at 15:11 +0100, Ingo Molnar wrote:
> * Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
>
> > On Thu, 2009-03-05 at 14:32 +0100, Ingo Molnar wrote:
> > > * Andreas Herrmann <andreas.herrmann3@amd.com> wrote:
> > >
> > > > - I've just one directory in debugfs
> > > > x86/cpu/msr/cpu0
> > > > The system has a quad-core CPU. So I guess there should be 4
> > > > directories -- one for each core.
> > >
> > > Correct, most MSRs are per core - that needs to be fixed.
> >
> > Ok I will support all cores in next Version.
>
> the VFS structure should be something like:
>
> /debug/x86/cpu/cpu0/msr/...
>
> I.e. first we have the CPU, then a specific CPU, and MSRs are
> attributes of that CPU (core).
>

I am also planning to add other CPU registers beside MSRs so msr will
differentiate that it is MSRs or normal register.
And we can move architecture independent code in kernel/* so that
another architectures will also take benefit from it.
--
JSR



\
 
 \ /
  Last update: 2009-03-05 15:35    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site