Skip to content

Commit 53d01e2

Browse files
kirylrafaeljw
authored andcommitted
ACPI: PM: Avoid CPU cache flush when entering S4
According to ACPI 6.4, Section 16.2, the CPU cache flushing is required on entering to S1, S2, and S3. No need to flush the caches during hibernation (S4). Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0fcfb00 commit 53d01e2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/acpi/sleep.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,8 +903,6 @@ static int acpi_hibernation_enter(void)
903903
{
904904
acpi_status status = AE_OK;
905905

906-
ACPI_FLUSH_CPU_CACHE();
907-
908906
/* This shouldn't return. If it returns, we have a problem */
909907
status = acpi_enter_sleep_state(ACPI_STATE_S4);
910908
/* Reprogram control registers */

0 commit comments

Comments
 (0)