Messages in this thread | | | Date | Tue, 09 Jun 2009 21:23:22 -0700 | From | "H. Peter Anvin" <> | 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
| |