mbox series

[v2,0/3] net: thunderbolt: Add tracepoints

Message ID 20230111062633.1385-1-mika.westerberg@linux.intel.com (mailing list archive)
Headers show
Series net: thunderbolt: Add tracepoints | expand

Message

Mika Westerberg Jan. 11, 2023, 6:26 a.m. UTC
Hi all,

This series adds tracepoints and additional logging to the
Thunderbolt/USB4 networking driver. These are useful when debugging
possible issues.

Before that we move the driver into its own directory under drivers/net
so that we can add additional files without trashing the network drivers
main directory, and update the MAINTAINERS accordingly.

Changes from v1:

  * Fix sparse warnings added by this series (there are still some existing
    ones as well that should be dealt with at some point too).
  * Added ack from Yehezkel.
  * Update copyright to reflect 2023.

The previous version can be found:

  v1: https://lore.kernel.org/netdev/20230104081731.45928-1-mika.westerberg@linux.intel.com/

Mika Westerberg (3):
  net: thunderbolt: Move into own directory
  net: thunderbolt: Add debugging when sending/receiving control packets
  net: thunderbolt: Add tracepoints

 MAINTAINERS                                   |   2 +-
 drivers/net/Kconfig                           |  13 +-
 drivers/net/Makefile                          |   4 +-
 drivers/net/thunderbolt/Kconfig               |  12 ++
 drivers/net/thunderbolt/Makefile              |   6 +
 .../net/{thunderbolt.c => thunderbolt/main.c} |  48 +++++-
 drivers/net/thunderbolt/trace.c               |  10 ++
 drivers/net/thunderbolt/trace.h               | 141 ++++++++++++++++++
 8 files changed, 219 insertions(+), 17 deletions(-)
 create mode 100644 drivers/net/thunderbolt/Kconfig
 create mode 100644 drivers/net/thunderbolt/Makefile
 rename drivers/net/{thunderbolt.c => thunderbolt/main.c} (96%)
 create mode 100644 drivers/net/thunderbolt/trace.c
 create mode 100644 drivers/net/thunderbolt/trace.h

Comments

Jakub Kicinski Jan. 13, 2023, 7:34 p.m. UTC | #1
On Wed, 11 Jan 2023 08:26:30 +0200 Mika Westerberg wrote:
> This series adds tracepoints and additional logging to the
> Thunderbolt/USB4 networking driver. These are useful when debugging
> possible issues.
> 
> Before that we move the driver into its own directory under drivers/net
> so that we can add additional files without trashing the network drivers
> main directory, and update the MAINTAINERS accordingly.

Applied, thanks!