lkml.org 
[lkml]   [2009]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] X86: cpu_debug support for VIA / Centaur CPU's
Michael S. Zick wrote:
>> yes, of course - i meant the /debug/x86/cpu/* behavior: it should
>> either result zeroes, or should return -EINVAL. (probably the
>> latter)
>>
>
> Return zeroes - same as hardware case for bits which can't be set.
> Returning -EINVAL might match a specific bit pattern caller is looking for.
>

It should be -EIO anyway, which is what /dev/cpu/*/msr does.
-hpa


\
 
 \ /
  Last update: 2009-06-11 00:35    [from the cache]
©2003-2011 Jasper Spaans