• Nicolas Pitre's avatar
    [ARM] introduce dma_cache_maint_page() · 43377453
    Nicolas Pitre authored
    This is a helper to be used by the DMA mapping API to handle cache
    maintenance for memory identified by a page structure instead of a
    virtual address.  Those pages may or may not be highmem pages, and
    when they're highmem pages, they may or may not be virtually mapped.
    When they're not mapped then there is no L1 cache to worry about. But
    even in that case the L2 cache must be processed since unmapped highmem
    pages can still be L2 cached.
    Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
    43377453
dma-mapping.c 16.6 KB