Detect and set Atom's Tj(max) to 90 if it's not the 45nm D400/D500/N400

series.

MFC after:	2 weeks
This commit is contained in:
delphij 2011-05-05 19:15:15 +00:00
parent b150dc5f67
commit 49903bb618

View File

@ -197,6 +197,15 @@ coretemp_attach(device_t dev)
default: /* Unknown stepping */
break;
}
} else if (cpu_model == 0x1c) {
switch (cpu_stepping) {
case 0xa: /* 45nm Atom D400, N400 and D500 series */
sc->sc_tjmax = 100;
break;
default:
sc->sc_tjmax = 90;
break;
}
} else {
/*
* Attempt to get Tj(max) from MSR IA32_TEMPERATURE_TARGET.