ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0352-soc-fsl-dpio-Enable-ACP-port-in-Linux-QMAN-driver.patch
1 From 462a65a13cff2e04122df6a770d91ef1e301b359 Mon Sep 17 00:00:00 2001
2 From: Youri Querry <youri.querry_1@nxp.com>
3 Date: Thu, 19 Dec 2019 09:44:33 -0500
4 Subject: [PATCH] soc: fsl: dpio: Enable ACP port in Linux QMAN driver
5
6 Setting the software portal configuration DE(dequeue stashing
7 enable) bit. This should enable the ACP (Accelerator Coherency
8 Port).
9
10 During test this improved performance on the LS2088a slightly. No
11 effect on the LX2160a.
12
13 Signed-off-by: Youri Querry <youri.querry_1@nxp.com>
14 ---
15  drivers/soc/fsl/dpio/qbman-portal.c | 4 ++--
16  1 file changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/drivers/soc/fsl/dpio/qbman-portal.c
19 +++ b/drivers/soc/fsl/dpio/qbman-portal.c
20 @@ -299,7 +299,7 @@ struct qbman_swp *qbman_swp_init(const s
21                         1, /* mem stashing priority enable */
22                         1, /* mem stashing enable */
23                         1, /* dequeue stashing priority enable */
24 -                       0, /* dequeue stashing enable enable */
25 +                       1, /* dequeue stashing enable enable */
26                         0); /* EQCR_CI stashing priority enable */
27         } else {
28                 memset(p->addr_cena, 0, 64 * 1024);
29 @@ -313,7 +313,7 @@ struct qbman_swp *qbman_swp_init(const s
30                         1, /* mem stashing priority enable */
31                         1, /* mem stashing enable */
32                         1, /* dequeue stashing priority enable */
33 -                       0, /* dequeue stashing enable */
34 +                       1, /* dequeue stashing enable */
35                         0); /* EQCR_CI stashing priority enable */
36                 reg |= 1 << SWP_CFG_CPBS_SHIFT | /* memory-backed mode */
37                        1 << SWP_CFG_VPM_SHIFT |  /* VDQCR read triggered mode */