Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Alexey Brodkin's avatar
    bd91508b
    arc/cache: really do invalidate_dcache_all() even if IOC exists · bd91508b
    Alexey Brodkin authored
    
    invalidate_dcache_all() could be used in different use-cases
    and what is especially important most of those cases won't be
    related to DMAed data to or from peripherals, i.e. we'll be doing
    invalidation of data used purely by CPU cores.
    
    Given that IOC engine only snoops data that goes through DMA
    we need to care ourselves about data used only by CPU cores
    and so remove dependency on IOC from invalidate_dcache_all()
    and always do real invalidation.
    
    Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
    bd91508b
    History
    arc/cache: really do invalidate_dcache_all() even if IOC exists
    Alexey Brodkin authored
    
    invalidate_dcache_all() could be used in different use-cases
    and what is especially important most of those cases won't be
    related to DMAed data to or from peripherals, i.e. we'll be doing
    invalidation of data used purely by CPU cores.
    
    Given that IOC engine only snoops data that goes through DMA
    we need to care ourselves about data used only by CPU cores
    and so remove dependency on IOC from invalidate_dcache_all()
    and always do real invalidation.
    
    Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>