mbox series

[net-next,v4,0/4] net: wwan: t7xx: Add fastboot interface

Message ID MEYP282MB2697028CB05CA6D1C9C7B9C9BB6F2@MEYP282MB2697.AUSP282.PROD.OUTLOOK.COM (mailing list archive)
Headers show
Series net: wwan: t7xx: Add fastboot interface | expand

Message

Jinjian Song Jan. 12, 2024, noon UTC
From: Jinjian Song <jinjian.song@fibocom.com>

Add support for t7xx WWAN device firmware flashing & coredump collection
using fastboot interface.

Using fastboot protocol command through /dev/wwan0fastboot0 WWAN port to
support firmware flashing and coredump collection, userspace get device
mode from /sys/bus/pci/devices/${bdf}/t7xx_mode.

Jinjian Song (4):
  wwan: core: Add WWAN fastboot port type
  net: wwan: t7xx: Add sysfs attribute for device state machine
  net: wwan: t7xx: Infrastructure for early port configuration
  net: wwan: t7xx: Add fastboot WWAN port

 .../networking/device_drivers/wwan/t7xx.rst   |  42 +++++
 drivers/net/wwan/t7xx/Makefile                |   1 +
 drivers/net/wwan/t7xx/t7xx_hif_cldma.c        |  47 ++++--
 drivers/net/wwan/t7xx/t7xx_hif_cldma.h        |  18 +-
 drivers/net/wwan/t7xx/t7xx_modem_ops.c        |   5 +-
 drivers/net/wwan/t7xx/t7xx_pci.c              |  96 ++++++++++-
 drivers/net/wwan/t7xx/t7xx_pci.h              |  14 +-
 drivers/net/wwan/t7xx/t7xx_port.h             |   4 +
 drivers/net/wwan/t7xx/t7xx_port_fastboot.c    | 155 ++++++++++++++++++
 drivers/net/wwan/t7xx/t7xx_port_proxy.c       | 108 ++++++++++--
 drivers/net/wwan/t7xx/t7xx_port_proxy.h       |  12 ++
 drivers/net/wwan/t7xx/t7xx_port_wwan.c        |   5 +-
 drivers/net/wwan/t7xx/t7xx_reg.h              |  24 ++-
 drivers/net/wwan/t7xx/t7xx_state_monitor.c    | 128 +++++++++++++--
 drivers/net/wwan/t7xx/t7xx_state_monitor.h    |   1 +
 drivers/net/wwan/wwan_core.c                  |   4 +
 include/linux/wwan.h                          |   2 +
 17 files changed, 605 insertions(+), 61 deletions(-)
 create mode 100644 drivers/net/wwan/t7xx/t7xx_port_fastboot.c

Comments

Jakub Kicinski Jan. 13, 2024, 1:36 a.m. UTC | #1
On Fri, 12 Jan 2024 20:00:10 +0800 Jinjian Song wrote:
> Add support for t7xx WWAN device firmware flashing & coredump collection
> using fastboot interface.
> 
> Using fastboot protocol command through /dev/wwan0fastboot0 WWAN port to
> support firmware flashing and coredump collection, userspace get device
> mode from /sys/bus/pci/devices/${bdf}/t7xx_mode.

## Form letter - net-next-closed

The merge window for v6.8 has begun and we have already posted our pull
request. Therefore net-next is closed for new drivers, features, code
refactoring and optimizations. We are currently accepting bug fixes only.

Please repost when net-next reopens after January 22nd.

RFC patches sent for review only are obviously welcome at any time.

See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle