linux-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 soc: amlogic: meson-clk-measure: Make use of the helper function devm_platform_ioremap_resource() 2021-09-13 09:43:00 +02:00
apple soc: apple: apple-pmgr-pwrstate: Do not build as a module 2021-12-15 20:36:05 +09:00
aspeed soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00
atmel drivers: soc: atmel: fix type for same7 2021-02-04 21:54:31 +01:00
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 soc: ixp4xx/qmgr: fix invalid __iomem access 2021-08-03 10:16:34 +02:00
lantiq
litex drivers/soc/litex: remove 8-bit subregister option 2021-06-11 04:35:40 +09:00
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 soc: rockchip: io-domain: Remove unneeded semicolon 2021-08-19 23:56:38 +02:00
samsung soc: samsung: Add USI driver 2021-12-18 11:55:56 +01:00
sifive RISC-V: sifive_l2_cache: Update L2 cache driver to support SiFive FU740 2021-01-07 17:28:27 -08:00
sunxi soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource() 2021-09-13 09:04:05 +02:00
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