soc: qcom: flush persistent kmaps and fixmap mappings for MBA

on 32 bit architecture xpu violations are happening because of mappings
in PK map regions. Flush the PKMAP and fixmap mappings to make sure that
there are no duplicate mappings for MBA regions. On 64 bit architecture
these functions turn out to be do while 0;

Change-Id: I9f5dc20c292688bf09d137ae7722820ae51a7d60
Signed-off-by: Arun KS <arunks@codeaurora.org>
This commit is contained in:
Arun KS 2016-01-11 15:24:30 +05:30 committed by David Keitel
parent 223bce035c
commit d738f0ed15

View file

@ -538,7 +538,7 @@ int pil_mss_reset_load_mba(struct pil_desc *pil)
/* Make sure there are no mappings in PKMAP and fixmap */
kmap_flush_unused();
//kmap_atomic_flush_unused();
kmap_atomic_flush_unused();
drv->mba_dp_phys = mba_dp_phys;
drv->mba_dp_virt = mba_dp_virt;