diff options
| author | Olof Johansson <olof@lixom.net> | 2015-01-18 19:45:21 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2015-01-18 19:46:31 -0500 |
| commit | f2c3c67f008f18f22a5fc68c0c279a6a59705042 (patch) | |
| tree | 36f6255bccc425e78d5ce937481c144c30be15ff | |
| parent | 966903a98fd80ae5f5c4a7ca121d36ea0ba23143 (diff) | |
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>
| -rw-r--r-- | arch/arm/mach-mvebu/coherency.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/coherency.c b/arch/arm/mach-mvebu/coherency.c index 3585cb394e9b..caa21e9b8cd9 100644 --- a/arch/arm/mach-mvebu/coherency.c +++ b/arch/arm/mach-mvebu/coherency.c | |||
| @@ -246,9 +246,14 @@ static int coherency_type(void) | |||
| 246 | return type; | 246 | return type; |
| 247 | } | 247 | } |
| 248 | 248 | ||
| 249 | /* | ||
| 250 | * As a precaution, we currently completely disable hardware I/O | ||
| 251 | * coherency, until enough testing is done with automatic I/O | ||
| 252 | * synchronization barriers to validate that it is a proper solution. | ||
| 253 | */ | ||
| 249 | int coherency_available(void) | 254 | int coherency_available(void) |
| 250 | { | 255 | { |
| 251 | return coherency_type() != COHERENCY_FABRIC_TYPE_NONE; | 256 | return false; |
| 252 | } | 257 | } |
| 253 | 258 | ||
| 254 | int __init coherency_init(void) | 259 | int __init coherency_init(void) |
