diff options
author | Bharat Bhushan <Bharat.Bhushan@nxp.com> | 2017-05-01 09:39:54 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:34 (GMT) |
commit | 800d8ed45c6a516bd9e5b8be840ecf7ce6c3e473 (patch) | |
tree | f9022d561e9f82aa7b8ab33864d2c37e462a88c0 /drivers/vfio | |
parent | 154b28d003f81a33ce28e26528978052e853c06a (diff) | |
download | linux-800d8ed45c6a516bd9e5b8be840ecf7ce6c3e473.tar.xz |
vfio fsl-mc: Map QBman cacheable region as cacheable non-shareable
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r-- | drivers/vfio/fsl-mc/vfio_fsl_mc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b/drivers/vfio/fsl-mc/vfio_fsl_mc.c index a39b2a5..9dc32d2 100644 --- a/drivers/vfio/fsl-mc/vfio_fsl_mc.c +++ b/drivers/vfio/fsl-mc/vfio_fsl_mc.c @@ -443,7 +443,7 @@ static int vfio_fsl_mc_mmap_mmio(struct vfio_fsl_mc_region region, * if a user migrates to another core. */ if (region.type & VFIO_FSL_MC_REGION_TYPE_CACHEABLE) - vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); + vma->vm_page_prot = pgprot_cached_ns(vma->vm_page_prot); else vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); |