All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: wwan: t7xx: fw flashing & coredump support
@ 2022-08-16  4:23 m.chetan.kumar
  2022-08-17 11:00 ` patchwork-bot+netdevbpf
  2022-08-30  1:51 ` Sergey Ryazanov
  0 siblings, 2 replies; 3+ messages in thread
From: m.chetan.kumar @ 2022-08-16  4:23 UTC (permalink / raw)
  To: netdev
  Cc: kuba, davem, johannes, ryazanov.s.a, loic.poulain,
	krishna.c.sudi, m.chetan.kumar, linuxwwan

From: M Chetan Kumar <m.chetan.kumar@linux.intel.com>

This patch series brings-in the support for FM350 wwan device firmware
flashing & coredump collection using devlink interface.

Below is the high level description of individual patches.
Refer to individual patch commit message for details.

PATCH1:  Enables AP CLDMA communication for firmware flashing &
coredump collection.

PATCH2: Enables the infrastructure & queue configuration required
for early ports enumeration.

PATCH3: Implements device reset and rescan logic required to enter
or exit fastboot mode.

PATCH4: Implements devlink interface & uses the fastboot protocol for
fw flashing and coredump collection.

PATCH5: t7xx devlink commands documentation.

Haijun Liu (3):
  net: wwan: t7xx: Add AP CLDMA
  net: wwan: t7xx: Infrastructure for early port configuration
  net: wwan: t7xx: PCIe reset rescan

M Chetan Kumar (2):
  net: wwan: t7xx: Enable devlink based fw flashing and coredump
    collection
  net: wwan: t7xx: Devlink documentation

 Documentation/networking/devlink/index.rst |   1 +
 Documentation/networking/devlink/t7xx.rst  | 145 +++++
 drivers/net/wwan/Kconfig                   |   1 +
 drivers/net/wwan/t7xx/Makefile             |   5 +-
 drivers/net/wwan/t7xx/t7xx_hif_cldma.c     |  55 +-
 drivers/net/wwan/t7xx/t7xx_hif_cldma.h     |  26 +-
 drivers/net/wwan/t7xx/t7xx_mhccif.h        |   1 +
 drivers/net/wwan/t7xx/t7xx_modem_ops.c     |  92 ++-
 drivers/net/wwan/t7xx/t7xx_modem_ops.h     |   3 +
 drivers/net/wwan/t7xx/t7xx_pci.c           |  65 +-
 drivers/net/wwan/t7xx/t7xx_pci.h           |   3 +
 drivers/net/wwan/t7xx/t7xx_pci_rescan.c    | 117 ++++
 drivers/net/wwan/t7xx/t7xx_pci_rescan.h    |  29 +
 drivers/net/wwan/t7xx/t7xx_port.h          |  12 +-
 drivers/net/wwan/t7xx/t7xx_port_ctrl_msg.c |   8 +-
 drivers/net/wwan/t7xx/t7xx_port_devlink.c  | 705 +++++++++++++++++++++
 drivers/net/wwan/t7xx/t7xx_port_devlink.h  |  85 +++
 drivers/net/wwan/t7xx/t7xx_port_proxy.c    | 132 +++-
 drivers/net/wwan/t7xx/t7xx_port_proxy.h    |  12 +-
 drivers/net/wwan/t7xx/t7xx_port_wwan.c     |   9 +-
 drivers/net/wwan/t7xx/t7xx_reg.h           |  31 +-
 drivers/net/wwan/t7xx/t7xx_state_monitor.c | 158 ++++-
 drivers/net/wwan/t7xx/t7xx_state_monitor.h |   4 +
 drivers/net/wwan/t7xx/t7xx_uevent.c        |  41 ++
 drivers/net/wwan/t7xx/t7xx_uevent.h        |  39 ++
 25 files changed, 1706 insertions(+), 73 deletions(-)
 create mode 100644 Documentation/networking/devlink/t7xx.rst
 create mode 100644 drivers/net/wwan/t7xx/t7xx_pci_rescan.c
 create mode 100644 drivers/net/wwan/t7xx/t7xx_pci_rescan.h
 create mode 100644 drivers/net/wwan/t7xx/t7xx_port_devlink.c
 create mode 100644 drivers/net/wwan/t7xx/t7xx_port_devlink.h
 create mode 100644 drivers/net/wwan/t7xx/t7xx_uevent.c
 create mode 100644 drivers/net/wwan/t7xx/t7xx_uevent.h

--
2.34.1


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

* Re: [PATCH net-next 0/5] net: wwan: t7xx: fw flashing & coredump support
  2022-08-16  4:23 [PATCH net-next 0/5] net: wwan: t7xx: fw flashing & coredump support m.chetan.kumar
@ 2022-08-17 11:00 ` patchwork-bot+netdevbpf
  2022-08-30  1:51 ` Sergey Ryazanov
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-08-17 11:00 UTC (permalink / raw)
  To: Kumar, M Chetan
  Cc: netdev, kuba, davem, johannes, ryazanov.s.a, loic.poulain,
	krishna.c.sudi, m.chetan.kumar, linuxwwan

Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 16 Aug 2022 09:53:01 +0530 you wrote:
> From: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
> 
> This patch series brings-in the support for FM350 wwan device firmware
> flashing & coredump collection using devlink interface.
> 
> Below is the high level description of individual patches.
> Refer to individual patch commit message for details.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] net: wwan: t7xx: Add AP CLDMA
    https://git.kernel.org/netdev/net-next/c/d20ef656f994
  - [net-next,2/5] net: wwan: t7xx: Infrastructure for early port configuration
    https://git.kernel.org/netdev/net-next/c/007f26f0d68e
  - [net-next,3/5] net: wwan: t7xx: PCIe reset rescan
    https://git.kernel.org/netdev/net-next/c/140424d90165
  - [net-next,4/5] net: wwan: t7xx: Enable devlink based fw flashing and coredump collection
    https://git.kernel.org/netdev/net-next/c/87dae9e70bf7
  - [net-next,5/5] net: wwan: t7xx: Devlink documentation
    https://git.kernel.org/netdev/net-next/c/b0bc1709b768

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

* Re: [PATCH net-next 0/5] net: wwan: t7xx: fw flashing & coredump support
  2022-08-16  4:23 [PATCH net-next 0/5] net: wwan: t7xx: fw flashing & coredump support m.chetan.kumar
  2022-08-17 11:00 ` patchwork-bot+netdevbpf
@ 2022-08-30  1:51 ` Sergey Ryazanov
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Ryazanov @ 2022-08-30  1:51 UTC (permalink / raw)
  To: M Chetan Kumar
  Cc: netdev, Jakub Kicinski, David Miller, Johannes Berg,
	Loic Poulain, Sudi, Krishna C, M Chetan Kumar, Intel Corporation

Hello,

On Tue, Aug 16, 2022 at 7:11 AM <m.chetan.kumar@intel.com> wrote:
> This patch series brings-in the support for FM350 wwan device firmware
> flashing & coredump collection using devlink interface.
>
> Below is the high level description of individual patches.
> Refer to individual patch commit message for details.
>
> PATCH1:  Enables AP CLDMA communication for firmware flashing &
> coredump collection.
>
> PATCH2: Enables the infrastructure & queue configuration required
> for early ports enumeration.
>
> PATCH3: Implements device reset and rescan logic required to enter
> or exit fastboot mode.
>
> PATCH4: Implements devlink interface & uses the fastboot protocol for
> fw flashing and coredump collection.
>
> PATCH5: t7xx devlink commands documentation.

Generally the code looks good to me, but needs some cleanup. It also
has a couple of questionable parts:
* implicit fastboot mode entering;
* PCI device reset handling approach.

Please find comments in the corresponding patches.

-- 
Sergey

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

end of thread, other threads:[~2022-08-30  1:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16  4:23 [PATCH net-next 0/5] net: wwan: t7xx: fw flashing & coredump support m.chetan.kumar
2022-08-17 11:00 ` patchwork-bot+netdevbpf
2022-08-30  1:51 ` Sergey Ryazanov

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.