linux-stable/arch/arc/mm
Vladimir Kondratiev b4dff28740 ARC: dma: fix address translation in arc_dma_free
page should be calculated using physical address.
If platform uses non-trivial dma-to-phys memory translation,
dma_handle should be converted to physicval address before
calculation of page.

Failing to do so results in struct page * pointing to
wrong or non-existent memory.

Fixes: f2e3d55397 ("ARC: dma: reintroduce platform specific dma<->phys")
Cc: stable@vger.kernel.org #4.6+
Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@intel.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2016-07-20 09:54:22 -07:00
..
cache.c Fix typos 2016-05-30 10:07:32 +05:30
dma.c ARC: dma: fix address translation in arc_dma_free 2016-07-20 09:54:22 -07:00
extable.c ARC: Fix coding style issues 2013-04-09 12:21:14 +05:30
fault.c ARC: mm: preps ahead of HIGHMEM support 2015-10-28 19:31:05 +05:30
highmem.c ARC: Fix misspellings in comments. 2016-03-11 14:59:53 +05:30
init.c ARC: support HIGHMEM even without PAE40 2016-05-05 16:35:46 +05:30
ioremap.c ARC: typo fix in mm/ioremap.c 2016-07-19 13:57:34 -07:00
Makefile ARC: mm: HIGHMEM: kmap API implementation 2015-10-28 19:49:04 +05:30
mmap.c ARC: [mm] Aliasing VIPT dcache support 4/4 2013-05-09 22:00:57 +05:30
tlb.c ARC: [plat-eznps] Use dedicated user stack top 2016-05-09 09:32:32 +05:30
tlbex.S ARC: use ASL assembler mnemonic 2015-11-14 13:12:21 +05:30