Skip to content

can: m_can: Optimizations for tcan and peripheral chips

Markus Schneider-Pargmann linux-can lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 5 repliesIn review
  2. v115 patches 39 repliesSuperseded

Changes in v2 from the cover letter

- Fixed register ranges
- Added fixes: tag for two patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11can: m_can: Eliminate double read of TXFQS in tx_handlerdrivers/net/can/m_can/m_can.c+11 -40 replies
2/11can: m_can: Avoid reading irqstatus twicedrivers/net/can/m_can/m_can.c+9 -70 replies
3/11can: m_can: Read register PSR only on errordrivers/net/can/m_can/m_can.c+4 -50 replies
4/11can: m_can: Count TXE FIFO getidx in the driverdrivers/net/can/m_can/m_can.c+2 -30 replies
5/11can: m_can: Count read getindex in the driverdrivers/net/can/m_can/m_can.c+10 -70 replies
6/11can: m_can: Batch acknowledge transmit eventsdrivers/net/can/m_can/m_can.c+9 -60 replies
7/11can: m_can: Batch acknowledge rx fifodrivers/net/can/m_can/m_can.c+10 -50 replies
8/11can: tcan4x5x: Remove invalid write in clear_interruptsdrivers/net/can/m_can/tcan4x5x-core.c+0 -50 replies
9/11can: tcan4x5x: Fix use of register error status maskdrivers/net/can/m_can/tcan4x5x-core.c+7 -70 replies
10/11can: tcan4x5x: Fix register range of first two blocksdrivers/net/can/m_can/tcan4x5x-regmap.c+2 -20 replies
11/11can: tcan4x5x: Specify separate read/write rangesdrivers/net/can/m_can/tcan4x5x-regmap.c+37 -65 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/11] can: m_can: Optimizations for tcan and peripheral chips

Hi Marc and everyone,

as requested I split the series into two parts. This is the first parts with simple improvements to reduce the number of SPI transfers. The second part will be the rest with coalescing support and more complex optimizations.

Changes in v2:
- Fixed register ranges
- Added fixes: tag for two patches

Sorry that I am one day later than promised.

Best,
Markus

Markus Schneider-Pargmann (11):
can: m_can: Eliminate double read of TXFQS in tx_handler
can: m_can: Avoid reading irqstatus twice
can: m_can: Read register PSR only on error
can: m_can: Count TXE FIFO getidx in the driver
can: m_can: Count read getindex in the driver
can: m_can: Batch acknowledge transmit events
can: m_can: Batch acknowledge rx fifo
can: tcan4x5x: Remove invalid write in clear_interrupts
can: tcan4x5x: Fix use of register error status mask
can: tcan4x5x: Fix register range of first two blocks
can: tcan4x5x: Specify separate read/write ranges

 drivers/net/can/m_can/m_can.c           | 90 +++++++++++++++----------
 drivers/net/can/m_can/tcan4x5x-core.c   | 19 ++----
 drivers/net/can/m_can/tcan4x5x-regmap.c | 47 ++++++++++---
 3 files changed, 100 insertions(+), 56 deletions(-)

base-commit: 76dcd734eca23168cb008912c0f69ff408905235

Signature · 1 line
2.38.1