Re: rdmsr_safe_on_cpu hangs?

From: H. Peter Anvin
Date: Wed Feb 27 2008 - 01:51:28 EST


Dan Upton wrote:

I guess the question is, am I just misunderstanding the use of
rdmsr_safe_on_cpu, or is it an issue with that particular MSR (some of
the stuff I've read indicates that rdmsr_safe was really only
implemented as a prequel to the coretemp driver), or is it something
wrong with rdmsr_safe_on_cpu?


*msr_safe_*() can only trap #GP's, which would be manifest as oopses if you used the unsafe versions. If the CPU *hangs* when touching an MSR, nothing we can do in software will help.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/