]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: support DMA to high memory
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 8 Oct 2015 23:44:23 +0000 (02:44 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 8 Nov 2015 22:25:37 +0000 (01:25 +0300)
commit6fddf0be168c1c496e0570b9acfaf2f883478f89
treeaf1d9766ac0e0c5749cae43412245cf0e918ae31
parent95a553771ffbd55af0ebe6b0765f40f5d324c137
xtensa: support DMA to high memory

- don't bugcheck if high memory page is passed to xtensa_map_page;
- turn empty dcache flush macros into functions so that they could be
  passed as function parameters;
- use kmap_atomic to map high memory pages for cache invalidation/
  flushing performed by xtensa_sync_single_for_{cpu,device}.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/cacheflush.h
arch/xtensa/kernel/pci-dma.c