lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A2F353A.9040007@kernel.org>
Date:	Tue, 09 Jun 2009 21:23:22 -0700
From:	"H. Peter Anvin" <hpa@...nel.org>
To:	Ingo Molnar <mingo@...e.hu>
CC:	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

Ingo Molnar wrote:
> 
> MSRs should really be enumerated along CPU features. They will be 
> accessed if a CPU offers that CPU feature.
> 

Nice in theory, but so many MSRs have to be enumerated with obscure test
combinations, that it really isn't practical in the general case.  That
is why we have the safe MSR variants.

> 
> Yeah, the safe read should never fault - there should be all zeroes 
> or an error return.
> 

Error return, MSRs #GP if not present.  All zero means a present MSR
(which is zero.)

	-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

Powered by Openwall GNU/*/Linux Powered by OpenVZ