]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: processor: idle: Only flush cache on entering C3
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Mon, 6 Dec 2021 12:29:51 +0000 (15:29 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Dec 2021 17:54:56 +0000 (18:54 +0100)
commit55daea3c52f5fa8eb0a55edd73b049a535b63aad
tree84b7cf87e59fd53f83aa350eaf938353f8ef8200
parentf58c140436042982b522a0316cb2c15d45161018
ACPI: processor: idle: Only flush cache on entering C3

According to ACPI 6.4, Section 8.2, CPU cache flushing required on
entering the C3 power state.

Avoid flushing the cache on entering other C-states.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c