All of lore.kernel.org
 help / color / mirror / Atom feed
* pull-request: can-next 2019-09-04 j1939
@ 2019-09-04 12:29 Marc Kleine-Budde
  2019-09-05 10:18 ` pull-request: can-next 2019-09-04 j1939,pull-request: " David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Kleine-Budde @ 2019-09-04 12:29 UTC (permalink / raw)
  To: netdev
  Cc: davem, kernel, linux-can, Oliver Hartkopp, Bastian Stender,
	Elenita Hinds, Kurt Van Dijck, Maxime Jayat,
	Robin van der Gracht, Oleksij Rempel, David Jander


[-- Attachment #1.1: Type: text/plain, Size: 6099 bytes --]

Hello David,

this is a pull request for net-next/master consisting of 21 patches.

the first 12 patches are by me and target the CAN core infrastructure.
They clean up the names of variables , structs and struct members,
convert can_rx_register() to use max() instead of open coding it and
remove unneeded code from the can_pernet_exit() callback.

The next three patches are also by me and they introduce and make use of
the CAN midlayer private structure. It is used to hold protocol specific
per device data structures.

The next patch is by Oleksij Rempel, switches the
&net->can.rcvlists_lock from a spin_lock() to a spin_lock_bh(), so that
it can be used from NAPI (soft IRQ) context.

The next 4 patches are by Kurt Van Dijck, he first updates his email
address via mailmap and then extends sockaddr_can to include j1939
members.

The final patch is the collective effort of many entities (The j1939
authors: Oliver Hartkopp, Bastian Stender, Elenita Hinds, kbuild test
robot, Kurt Van Dijck, Maxime Jayat, Robin van der Gracht, Oleksij
Rempel, Marc Kleine-Budde). It adds support of SAE J1939 protocol to the
CAN networking stack.

SAE J1939 is the vehicle bus recommended practice used for communication
and diagnostics among vehicle components. Originating in the car and
heavy-duty truck industry in the United States, it is now widely used in
other parts of the world.

regards,
Marc

P.S.: This pull request doesn't invalidate my last pull request:
      "pull-request: can-next 2019-09-03".

---

The following changes since commit 2c1f9e26344483e2c74e80ef708d9c7fd2e543f4:

  Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (2019-09-03 21:51:25 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git tags/linux-can-next-for-5.4-20190904

for you to fetch changes up to 9d71dd0c70099914fcd063135da3c580865e924c:

  can: add support of SAE J1939 protocol (2019-09-04 14:22:33 +0200)

----------------------------------------------------------------
linux-can-next-for-5.4-20190904

----------------------------------------------------------------
Kurt Van Dijck (4):
      mailmap: update email address
      can: introduce CAN_REQUIRED_SIZE macro
      can: add socket type for CAN_J1939
      can: extend sockaddr_can to include j1939 members

Marc Kleine-Budde (15):
      can: netns: give structs holding the CAN statistics a sensible name
      can: netns: give members of struct netns_can holding the statistics a sensible name
      can: af_can: give variables holding CAN statistics a sensible name
      can: proc: give variables holding CAN statistics a sensible name
      can: netns: remove "can_" prefix from members struct netns_can
      can: af_can: give variable holding the CAN per device receive lists a sensible name
      can: proc: give variable holding the CAN per device receive lists a sensible name
      can: af_can: rename find_rcv_list() to can_rcv_list_find()
      can: af_can: rename find_dev_rcv_lists() to can_dev_rcv_lists_find()
      can: af_can: give variable holding the CAN receiver and the receiver list a sensible name
      can: af_can: can_rx_register(): use max() instead of open coding it
      can: af_can: can_pernet_exit(): no need to iterate over and cleanup registered CAN devices
      can: introduce CAN midlayer private and allocate it automatically
      can: make use of preallocated can_ml_priv for per device struct can_dev_rcv_lists
      can: af_can: remove NULL-ptr checks from users of can_dev_rcv_lists_find()

Oleksij Rempel (1):
      can: af_can: use spin_lock_bh() for &net->can.rcvlists_lock

The j1939 authors (1):
      can: add support of SAE J1939 protocol

 .mailmap                           |    1 +
 Documentation/networking/index.rst |    1 +
 Documentation/networking/j1939.rst |  422 ++++++++
 MAINTAINERS                        |   10 +
 drivers/net/can/dev.c              |   24 +-
 drivers/net/can/slcan.c            |    6 +-
 drivers/net/can/vcan.c             |    7 +-
 drivers/net/can/vxcan.c            |    4 +-
 include/linux/can/can-ml.h         |   68 ++
 include/linux/can/core.h           |    8 +
 include/net/netns/can.h            |   14 +-
 include/uapi/linux/can.h           |   20 +-
 include/uapi/linux/can/j1939.h     |   99 ++
 net/can/Kconfig                    |    2 +
 net/can/Makefile                   |    2 +
 net/can/af_can.c                   |  302 +++---
 net/can/af_can.h                   |   19 +-
 net/can/bcm.c                      |    4 +-
 net/can/j1939/Kconfig              |   15 +
 net/can/j1939/Makefile             |   10 +
 net/can/j1939/address-claim.c      |  230 ++++
 net/can/j1939/bus.c                |  333 ++++++
 net/can/j1939/j1939-priv.h         |  338 ++++++
 net/can/j1939/main.c               |  403 +++++++
 net/can/j1939/socket.c             | 1160 +++++++++++++++++++++
 net/can/j1939/transport.c          | 2027 ++++++++++++++++++++++++++++++++++++
 net/can/proc.c                     |  163 +--
 net/can/raw.c                      |    4 +-
 28 files changed, 5398 insertions(+), 298 deletions(-)
 create mode 100644 Documentation/networking/j1939.rst
 create mode 100644 include/linux/can/can-ml.h
 create mode 100644 include/uapi/linux/can/j1939.h
 create mode 100644 net/can/j1939/Kconfig
 create mode 100644 net/can/j1939/Makefile
 create mode 100644 net/can/j1939/address-claim.c
 create mode 100644 net/can/j1939/bus.c
 create mode 100644 net/can/j1939/j1939-priv.h
 create mode 100644 net/can/j1939/main.c
 create mode 100644 net/can/j1939/socket.c
 create mode 100644 net/can/j1939/transport.c

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |-
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |














[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: pull-request: can-next 2019-09-04 j1939,pull-request: can-next 2019-09-04 j1939
  2019-09-04 12:29 pull-request: can-next 2019-09-04 j1939 Marc Kleine-Budde
@ 2019-09-05 10:18 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-09-05 10:18 UTC (permalink / raw)
  To: mkl
  Cc: netdev, kernel, linux-can, socketcan, bst, ecathinds, dev.kurt,
	maxime.jayat, robin, ore, david

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 4 Sep 2019 14:29:56 +0200

> this is a pull request for net-next/master consisting of 21 patches.

Pulled, thanks Marc.

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

end of thread, other threads:[~2019-09-05 10:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 12:29 pull-request: can-next 2019-09-04 j1939 Marc Kleine-Budde
2019-09-05 10:18 ` pull-request: can-next 2019-09-04 j1939,pull-request: " David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.