]> git.baikalelectronics.ru Git - kernel.git/commit
intel_idle: mention assumption that WBINVD is not needed
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 12 Oct 2020 12:50:33 +0000 (15:50 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Oct 2020 15:09:14 +0000 (17:09 +0200)
commite605fe68bf9e50269cb56f18a589367bf50b99d0
treecdf363f05670b51006c1e5971702fe2f1d1178df
parentb520a6a72d4705eaa357c11a50e67875f5476af6
intel_idle: mention assumption that WBINVD is not needed

Intel SDM does not explicitly say that entering a C-state via MWAIT will
implicitly flush CPU caches as appropriate for that C-state. However,
documentation for individual Intel CPU generations does mention this
behavior.

Since intel_idle binds to any Intel CPU with MWAIT, list this assumption
of MWAIT behavior.

In passing, reword opening comment to make it clear that the driver can
load on any old and future Intel CPU with MWAIT.

Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c