[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A30340C.9030402@zytor.com>
Date: Wed, 10 Jun 2009 15:30:36 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: lkml@...ethan.org
CC: Ingo Molnar <mingo@...e.hu>, "H. Peter Anvin" <hpa@...nel.org>,
Harald Welte <HaraldWelte@...tech.com>,
Jaswinder Singh Rajput <jaswinder@...nel.org>,
linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists