linux-kernelorg-stable/drivers/soc
Ioana Ciornei 86ec882f59 soc: fsl: dpio: read the consumer index from the cache inhibited area
Once we added support in the dpaa2-eth for driver level software TSO we
observed the following situation: if the EQCR CI (consumer index) is
read from the cache-enabled area we sometimes end up with a computed
value of available enqueue entries bigger than the size of the ring.

This eventually will lead to the multiple enqueue of the same FD which
will determine the same FD to end up on the Tx confirmation path and the
same skb being freed twice.

Just read the consumer index from the cache inhibited area so that we
avoid this situation.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-09 13:15:35 +00:00
..
actions
amlogic
apple soc: apple: apple-pmgr-pwrstate: Do not build as a module 2021-12-15 20:36:05 +09:00
aspeed
atmel
bcm soc: bcm: brcmstb: Add of_node_put() in pm-mips 2021-11-15 09:57:14 -08:00
canaan riscv: canaan: remove useless select of non-existing config SYSCON 2022-01-20 09:35:11 -08:00
dove
fsl soc: fsl: dpio: read the consumer index from the cache inhibited area 2022-02-09 13:15:35 +00:00
gemini
imx ARM: SoC driver updates for v5.17 2022-01-10 08:13:52 -08:00
ixp4xx
lantiq
litex
mediatek ASoC: mediatek: Check for error clk pointer 2021-12-24 14:06:57 +00:00
qcom soc: qcom: rpmh-rsc: Fix typo in a comment 2021-12-20 19:10:11 -06:00
renesas soc: renesas: rcar-rst: Add support for R-Car S4-8 2021-12-07 16:50:57 +01:00
rockchip
samsung soc: samsung: Add USI driver 2021-12-18 11:55:56 +01:00
sifive
sunxi
tegra ARM: SoC driver updates for v5.17 2022-01-10 08:13:52 -08:00
ti bitmap patches for 5.17-rc1 2022-01-23 06:20:44 +02:00
ux500
versatile
xilinx Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
Kconfig soc: apple: Add driver for Apple PMGR power state controls 2021-12-07 13:13:13 +09:00
Makefile soc: apple: Add driver for Apple PMGR power state controls 2021-12-07 13:13:13 +09:00