Skip to content
Snippets Groups Projects
Commit 0a0161d1 authored by Laura Abbott's avatar Laura Abbott Committed by Stephen Boyd
Browse files

Revert "cma: use MEMBLOCK_ALLOC_ANYWHERE for placing CMA regions"


This reverts commit 6308fd5399ae93e35ac381825a279996264a5f78.

As an optimization for kmap/kunmap, the page table entries may
not be completely removed on kunmap. This causes a problem
when memory is XPU protected and the CPU speculates into the
virtual address map. There are functions to remove zero
count entries for kmap calls but kmap_atomic is handled separately.
Remove CMA from highmem until an effective strategy for removing
these entries is found.

Change-Id: Ic60a34401244182442fc6d11dd0cdf986be7a335
CRs-Fixed: 467508
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 16b29b39
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment