Merge tag 'mvebu-fixes-3.19-3' of git://git.infradead.org/linux-mvebu into fixes
Merge " mvebu fixes for 3.19-rc (part #3)" from Andrew Lunn: mvebu: completely disable hardware I/O coherency * tag 'mvebu-fixes-3.19-3' of git://git.infradead.org/linux-mvebu: ARM: mvebu: completely disable hardware I/O coherency Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
		
					parent
					
						
							
								966903a98f
							
						
					
				
			
			
				commit
				
					
						f2c3c67f00
					
				
			
		
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -246,9 +246,14 @@ static int coherency_type(void)
 | 
			
		|||
	return type;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * As a precaution, we currently completely disable hardware I/O
 | 
			
		||||
 * coherency, until enough testing is done with automatic I/O
 | 
			
		||||
 * synchronization barriers to validate that it is a proper solution.
 | 
			
		||||
 */
 | 
			
		||||
int coherency_available(void)
 | 
			
		||||
{
 | 
			
		||||
	return coherency_type() != COHERENCY_FABRIC_TYPE_NONE;
 | 
			
		||||
	return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int __init coherency_init(void)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue