forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARCv2: Disable SLC if IO coherency unit is absent
Without IO coherency unit for DMA to/from peripherals to work properly it is required to flush/invalidate SLC in kernel "manually". That will introduce performance overhead and so SLC existance won't be very beneficial. So we simply disable SLC if IOC is missing and then at least we have DMA exchange without data corruption. Signed-off-by: Alexey Brodkin <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters