linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 00/14] CAN: Add rx-fifo support and port flexcan to it
@ 2014-11-06  8:33 David Jander
  2014-11-06  8:34 ` [PATCH 01/14] can: dev: add preliminary rx-fifo David Jander
                   ` (13 more replies)
  0 siblings, 14 replies; 22+ messages in thread
From: David Jander @ 2014-11-06  8:33 UTC (permalink / raw)
  To: Marc Kleine-Budde
  Cc: linux-can, Wolfgang Grandegger, Alexander Stein, David Jander

This is the whole patch series again, adding the original rx-fifo framework
from Marc Kleine-Budde as well as the morphing into IRQ-offload mode and a
sample implementation using the flexcan driver.

The new flexcan driver supports full fifo abstraction mode for V10 and newer
peripherals, and simple irq-offloading for older parts.

Changes from V3:
 - Moved rx-fifo patches to beginning of series
 - Fixed accessing cf->can_dlc after buffer had been freed in
   can_rx_fifo_read_napi_frame()
 - Call can_led_event() only once per NAPI invocation.
 - Fixed missing { } on else branch in can_rx_fifo_add().
 - Documented ring buffer and overflow mailbox mechanism.
 - Remove NULL check before calling kfree() in can_rx_fifo_del().
 - Renamed second_first to scan_high_first.
 - Documented struct can_rx_fifo.
 - Replaced the BUG() in can_rx_fifo_irq_offload() with WARN().
 - Documented the difference between poll_can_state() and poll_bus_error().
 - Enabled support for leaving poll_*() handlers NULL if not needed.
 - Squashed two flexcan patches to avoid having a half-broken driver in
   between.
 - Consolidated can_rx_fifo_add_simple() and can_rx_fifo_irq_offload_simple()
   with a flag in struct can_rx_fifo, removing the need for those two
   functions.

David Jander (10):
  can: rx-fifo: Increase MB size limit from 32 to 64
  can: rx-fifo: Change to do controller off-load in interrupt and NAPI
    poll
  can: rx-fifo: fix long lines
  can: rx-fifo: Add can_rx_fifo_reset() function
  can: rx-fifo: remove obsolete comment
  can: rx-fifo: Add support for can state tracking and error polling
  can: rx-fifo: Add support for simple irq offloading
  can: rx-fifo: Add documentation to struct can_rx_fifo.
  can: flexcan: Add support for RX-FIFO
  can: flexcan: Add MB/Fifo specific column to comment table of IP
    versions

Marc Kleine-Budde (4):
  can: dev: add preliminary rx-fifo
  can: flexcan: add documentation about mailbox organizaiton
  can: flexcan: rename crl2 -> ctrl2
  can: flexcan: replace open coded mailbox code by proper defines

 drivers/net/can/dev.c     | 329 +++++++++++++++++++++++++++++++++
 drivers/net/can/flexcan.c | 452 ++++++++++++++++++++++++++++++++--------------
 include/linux/can/dev.h   |  90 +++++++++
 3 files changed, 736 insertions(+), 135 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-11-10 11:00 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06  8:33 [PATCH V4 00/14] CAN: Add rx-fifo support and port flexcan to it David Jander
2014-11-06  8:34 ` [PATCH 01/14] can: dev: add preliminary rx-fifo David Jander
2014-11-06  8:34 ` [PATCH 02/14] can: rx-fifo: Increase MB size limit from 32 to 64 David Jander
2014-11-06  8:41   ` Marc Kleine-Budde
2014-11-06 16:03     ` David Jander
2014-11-06 16:05       ` Marc Kleine-Budde
2014-11-06 16:20         ` David Jander
2014-11-07  8:40           ` Marc Kleine-Budde
2014-11-07 10:28             ` David Jander
2014-11-06  8:34 ` [PATCH 03/14] can: rx-fifo: Change to do controller off-load in interrupt and NAPI poll David Jander
2014-11-10 11:00   ` David Jander
2014-11-06  8:34 ` [PATCH 04/14] can: rx-fifo: fix long lines David Jander
2014-11-06  8:34 ` [PATCH 05/14] can: rx-fifo: Add can_rx_fifo_reset() function David Jander
2014-11-06  8:34 ` [PATCH 06/14] can: rx-fifo: remove obsolete comment David Jander
2014-11-06  8:34 ` [PATCH 07/14] can: rx-fifo: Add support for can state tracking and error polling David Jander
2014-11-06  8:34 ` [PATCH 08/14] can: rx-fifo: Add support for simple irq offloading David Jander
2014-11-06  8:34 ` [PATCH 09/14] can: rx-fifo: Add documentation to struct can_rx_fifo David Jander
2014-11-06  8:34 ` [PATCH 10/14] can: flexcan: add documentation about mailbox organizaiton David Jander
2014-11-06  8:34 ` [PATCH 11/14] can: flexcan: rename crl2 -> ctrl2 David Jander
2014-11-06  8:34 ` [PATCH 12/14] can: flexcan: replace open coded mailbox code by proper defines David Jander
2014-11-06  8:34 ` [PATCH 13/14] can: flexcan: Add support for RX-FIFO David Jander
2014-11-06  8:34 ` [PATCH 14/14] can: flexcan: Add MB/Fifo specific column to comment table of IP versions David Jander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).