xtensa: platform-specific handling of coherent memory
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 11 Jul 2018 21:33:41 +0000 (14:33 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 11 Jul 2018 22:59:41 +0000 (15:59 -0700)
commit2cc15e802b250a11ece57ea54f82993cf3430867
treed67e3892c92e077bebeac05db22765376e8de5c1
parentadbfa4e6f99689511f1079452508d9d22417544c
xtensa: platform-specific handling of coherent memory

Memory layout is not fixed for noMMU xtensa configurations. Platforms
that need to use coherent DMA should implement platform_vaddr_* helpers
that check address type (cached/uncached) and convert addresses between
these types.

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