]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00174323 vpu: Fix system hang issue of multi-instances processing
authorSammy He <r62914@freescale.com>
Tue, 14 Feb 2012 02:09:05 +0000 (10:09 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:00 +0000 (08:34 +0200)
commitd92252d87c6f1f7f7a781e31094476baec1d36ed
tree33ecaef19b64ca73aaf11fa34b92f5aa384e65d4
parent8dba9ba5c090374f8c7f30caaf610ba3717eb433
ENGR00174323 vpu: Fix system hang issue of multi-instances processing

VPU registers have been mapped with ioremap() at probe which
L_PTE_XN is 1, and the same physical address must be mapped multiple
times with same type when doing mmap() to user space, so also need
to set it to 1. Otherwise, there may be unexpected result in video
codec.
Here, Use new defined pgprot_noncachedxn for vm_page_prot in mmap().

Signed-off-by: Sammy He <r62914@freescale.com>
drivers/mxc/vpu/mxc_vpu.c