ACPI: PM: Avoid CPU cache flush when entering S4
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Mon, 6 Dec 2021 12:29:52 +0000 (15:29 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Dec 2021 15:09:25 +0000 (16:09 +0100)
commit53d01e2016d77ff647fb2056c39c67df18ee86bf
tree4da4e9219a32e4d34582d7c52c30b122c0a6a98b
parent0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1
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>
drivers/acpi/sleep.c