On Mon, 30 Nov 2009, Matthias Scheler wrote:
On Mon, Nov 30, 2009 at 05:01:32PM +0100, Christoph Egger wrote:I would write three generic CPU probing functions. One for Intel CPUs, one for AMD CPUs and one for unknown vendors.Which makes perfect sense. But it still doesn't solve the problem that we are apparently using CPU model specific probes which can result in kernel panics on newer CPU models.
Linux and FreeBSD seem to be capable of testing for MSR availability without generating a GP.
For instance, from my reading of the analogous coretemp code in Linux, you'll just get a warning as the MSR is unavailable.
-- Stephen