linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: linux-can@vger.kernel.org
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Subject: [canxl v2 00/15] CAN XL support for review (full series)
Date: Sat, 15 Nov 2025 17:37:25 +0100	[thread overview]
Message-ID: <20251115163740.7875-1-socketcan@hartkopp.net> (raw)

This series is based on Vincents CAN XL patches 2025-10-13 11:01

https://lore.kernel.org/linux-can/20251017-enchanted-quiet-civet-84dd47-mkl@pengutronix.de/T/#mdecc959e0ef7c16c64f35e9dd3d687954e15c8ac

For a better review here is the complete series of available patches with
some changes, especially the error-signalling handling.

The changes to Vincents original patches are documented below:

Oliver Hartkopp (2):
  can: dev: can_dev_dropped_skb: drop CC/FD frames in CANXL-only mode
  (replaces can: netlink: add CAN_CTRLMODE_XL_ERR_SIGNAL flag patch)
  can: raw: instantly reject unsupported CAN frames
  (the adapted version using can_dev_in_xl_only_mode() helper)

Vincent Mailhol (13):
  can: bittiming: apply NL_SET_ERR_MSG() to can_calc_bittiming()
  (no change)
  can: dev: can_dev_dropped_skb: drop CAN FD skbs if FD is off
  (no change)
  can: netlink: add CAN_CTRLMODE_RESTRICTED
  (no change)
  can: netlink: add initial CAN XL support
  (remove the "bad device" warning for CAN_CTRLMODE_RESTRICTED)
  can: netlink: add CAN_CTRLMODE_XL_TMS flag
  (remove the requirement that TMS MUST be set. Use defaults: off)
  can: bittiming: add PWM parameters
  (no change)
  can: bittiming: add PWM validation
  (no change)
  can: calc_bittiming: add PWM calculation
  (no change)
  can: netlink: add PWM netlink interface
  (no change)
  can: calc_bittiming: get rid of the incorrect "nominal" word
  (no change)
  can: calc_bittiming: add can_calc_sample_point_nrz()
  (no change)
  can: calc_bittiming: add can_calc_sample_point_pwm()
  (no change)
  can: add dummy_can driver
  (remove CAN_CTRLMODE_XL_ERR_SIGNAL but print error-signalling state)

 drivers/net/can/Kconfig              |  17 ++
 drivers/net/can/Makefile             |   1 +
 drivers/net/can/dev/bittiming.c      |  63 ++++++
 drivers/net/can/dev/calc_bittiming.c | 104 +++++++--
 drivers/net/can/dev/dev.c            |  18 +-
 drivers/net/can/dev/netlink.c        | 319 +++++++++++++++++++++++++--
 drivers/net/can/dummy_can.c          | 284 ++++++++++++++++++++++++
 include/linux/can/bittiming.h        |  81 ++++++-
 include/linux/can/dev.h              |  68 ++++--
 include/uapi/linux/can/netlink.h     |  34 +++
 net/can/raw.c                        |  54 ++++-
 11 files changed, 970 insertions(+), 73 deletions(-)
 create mode 100644 drivers/net/can/dummy_can.c

-- 
2.47.3


             reply	other threads:[~2025-11-15 16:37 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-15 16:37 Oliver Hartkopp [this message]
2025-11-15 16:37 ` [canxl v2 01/15] can: bittiming: apply NL_SET_ERR_MSG() to can_calc_bittiming() Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 02/15] can: dev: can_dev_dropped_skb: drop CAN FD skbs if FD is off Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 03/15] can: netlink: add CAN_CTRLMODE_RESTRICTED Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 04/15] can: netlink: add initial CAN XL support Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 05/15] can: netlink: add CAN_CTRLMODE_XL_TMS flag Oliver Hartkopp
2025-11-16 19:31   ` Oliver Hartkopp
2025-11-16 21:54     ` Vincent Mailhol
2025-11-16 22:53       ` Vincent Mailhol
2025-11-17  9:06         ` Oliver Hartkopp
2025-11-17  8:40       ` Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 06/15] can: dev: can_dev_dropped_skb: drop CC/FD frames in CANXL-only mode Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 07/15] can: bittiming: add PWM parameters Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 08/15] can: bittiming: add PWM validation Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 09/15] can: calc_bittiming: add PWM calculation Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 10/15] can: netlink: add PWM netlink interface Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 11/15] can: calc_bittiming: get rid of the incorrect "nominal" word Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 12/15] can: calc_bittiming: add can_calc_sample_point_nrz() Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 13/15] can: calc_bittiming: add can_calc_sample_point_pwm() Oliver Hartkopp
2025-11-16 20:05   ` Oliver Hartkopp
2025-11-16 22:18     ` Vincent Mailhol
2025-11-17  8:59       ` Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 14/15] can: add dummy_can driver Oliver Hartkopp
2025-11-15 16:37 ` [canxl v2 15/15] can: raw: instantly reject unsupported CAN frames Oliver Hartkopp
2025-11-19 18:17 ` Mainlining of [canxl v2 00/15] CAN XL support for review (full series) Oliver Hartkopp
2025-11-19 21:08   ` Marc Kleine-Budde
2025-11-20 11:27     ` Oliver Hartkopp
2025-11-20 10:34   ` Stéphane Grosjean
2025-11-20 11:21     ` Oliver Hartkopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251115163740.7875-1-socketcan@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=linux-can@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).