linux-stable/drivers/net/can/c_can
Marc Kleine-Budde 81d192c2ce can: c_can: don't cache TX messages for C_CAN cores
As Jacob noticed, the optimization introduced in 387da6bc7a ("can:
c_can: cache frames to operate as a true FIFO") doesn't properly work
on C_CAN, but on D_CAN IP cores. The exact reasons are still unknown.

For now disable caching if CAN frames in the TX path for C_CAN cores.

Fixes: 387da6bc7a ("can: c_can: cache frames to operate as a true FIFO")
Link: https://lore.kernel.org/all/20220928083354.1062321-1-mkl@pengutronix.de
Link: https://lore.kernel.org/all/15a8084b-9617-2da1-6704-d7e39d60643b@gmail.com
Reported-by: Jacob Kroon <jacob.kroon@gmail.com>
Tested-by: Jacob Kroon <jacob.kroon@gmail.com>
Cc: stable@vger.kernel.org # v5.15
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2022-09-28 10:34:04 +02:00
..
c_can.h can: c_can: don't cache TX messages for C_CAN cores 2022-09-28 10:34:04 +02:00
c_can_ethtool.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
c_can_main.c can: c_can: don't cache TX messages for C_CAN cores 2022-09-28 10:34:04 +02:00
c_can_pci.c can: c_can: add support to 64 message objects 2021-03-30 11:14:53 +02:00
c_can_platform.c can: c_can: remove struct c_can_priv::priv field 2021-08-19 15:07:05 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile can: c_can: add ethtool support 2021-05-27 09:42:23 +02:00