mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									0fcfb00b28
								
							
						
					
					
						commit
						53d01e2016
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -903,8 +903,6 @@ static int acpi_hibernation_enter(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	acpi_status status = AE_OK;
 | 
						acpi_status status = AE_OK;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ACPI_FLUSH_CPU_CACHE();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	/* This shouldn't return.  If it returns, we have a problem */
 | 
						/* This shouldn't return.  If it returns, we have a problem */
 | 
				
			||||||
	status = acpi_enter_sleep_state(ACPI_STATE_S4);
 | 
						status = acpi_enter_sleep_state(ACPI_STATE_S4);
 | 
				
			||||||
	/* Reprogram control registers */
 | 
						/* Reprogram control registers */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue