linux_dsm_epyc7002/drivers/soc/fsl/dpio
Ioana Ciornei 7596ac9d19 soc: fsl: dpio: properly compute the consumer index
Mask the consumer index before using it. Without this, we would be
writing frame descriptors beyond the ring size supported by the QBMAN
block.

Fixes: 3b2abda7d2 ("soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-07 17:35:24 -07:00
..
dpio-cmd.h soc: fsl: dpio: configure cache stashing destination 2019-02-26 14:53:30 -06:00
dpio-driver.c soc: fsl: dpio: register dpio irq handlers after dpio create 2020-03-10 15:28:47 -05:00
dpio-service.c soc: fsl: dpio: avoid stack usage warning 2020-04-17 17:20:44 +02:00
dpio.c soc: fsl: dpio: configure cache stashing destination 2019-02-26 14:53:30 -06:00
dpio.h soc: fsl: dpio: configure cache stashing destination 2019-02-26 14:53:30 -06:00
Makefile staging: fsl-mc: Move DPIO from staging to drivers/soc/fsl 2018-07-24 16:18:55 -05:00
qbman-portal.c soc: fsl: dpio: properly compute the consumer index 2020-05-07 17:35:24 -07:00
qbman-portal.h soc: fsl: dpio: Replace QMAN array mode with ring mode enqueue 2020-02-19 18:06:34 -06:00