x86_64/mwait: Request proper intr cputimer, if C3+ is used as hint
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 1 Feb 2014 14:11:53 +0000 (22:11 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 1 Feb 2014 14:23:05 +0000 (22:23 +0800)
commit271a328646fb01bf1f9092c0808f99d37369395b
tree2b16e8f456131ff89b487dc7d25bf10bbebc4f67
parente80ea40997deef845c8a8bec0a9dfb5640e567c1
x86_64/mwait: Request proper intr cputimer, if C3+ is used as hint

Though mwait's hint uses CPU specific C-state, we still believe that
C3+ hints are deep C-states, which may cause certain type of intr
cputimer hang (e.g. LAPIC intr cputimer on CPUs w/o ARAT).

While I'm here, make sure that mwait hint could not be changed on CPUs
that do not support monitor/mwait or mwait hint.
sys/platform/pc64/x86_64/machdep.c