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)
commit87ebbb8c612b1214f227ebb8f25442c6d163e802
tree84b7cf87e59fd53f83aa350eaf938353f8ef8200
parent0e6078c3c6737df7d0bd0c890fbadf24a27fffbb
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