From 1cc3948d8b710664f791b8560415411b4f9cea62 Mon Sep 17 00:00:00 2001 From: Dhoat Harpal Date: Wed, 19 Apr 2017 11:46:59 +0530 Subject: soc: qcom: glink_smem_native_xport: Allocate smem item in non cache region rx fifo is allocated in cached region of smem, this leads to inconsistency when reading at remote side. rx fifo is allocated in non cached region of smem. CRs-Fixed: 2056955 Change-Id: I0c7d5bf55222920cffdcd2c7f48968a4f49ee790 Signed-off-by: Dhoat Harpal --- drivers/soc/qcom/glink_smem_native_xprt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/glink_smem_native_xprt.c b/drivers/soc/qcom/glink_smem_native_xprt.c index 99caa1c84dce..37193bbb23b7 100644 --- a/drivers/soc/qcom/glink_smem_native_xprt.c +++ b/drivers/soc/qcom/glink_smem_native_xprt.c @@ -2402,7 +2402,7 @@ static int glink_smem_native_probe(struct platform_device *pdev) einfo->tx_fifo = smem_alloc(SMEM_GLINK_NATIVE_XPRT_FIFO_0, einfo->tx_fifo_size, einfo->remote_proc_id, - SMEM_ITEM_CACHED_FLAG); + 0); if (!einfo->tx_fifo) { pr_err("%s: smem alloc of tx fifo failed\n", __func__); rc = -ENOMEM; -- cgit v1.2.3