Skip to content

Commit

Permalink
Revert "net: wwan: iosm: firmware flashing and coredump collection"
Browse files Browse the repository at this point in the history
The devlink parameters are not the right mechanism to pass
extra parameters to device flashing. The params added are
also undocumented.

This reverts commit 13bb842 ("net: wwan: iosm: firmware
flashing and coredump collection").

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Sep 16, 2021
1 parent 63f85c4 commit d1ab264
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 2,054 deletions.
1 change: 0 additions & 1 deletion drivers/net/wwan/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ config RPMSG_WWAN_CTRL
config IOSM
tristate "IOSM Driver for Intel M.2 WWAN Device"
depends on INTEL_IOMMU
select NET_DEVLINK
help
This driver enables Intel M.2 WWAN Device communication.

Expand Down
5 changes: 1 addition & 4 deletions drivers/net/wwan/iosm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ iosm-y = \
iosm_ipc_protocol.o \
iosm_ipc_protocol_ops.o \
iosm_ipc_mux.o \
iosm_ipc_mux_codec.o \
iosm_ipc_devlink.o \
iosm_ipc_flash.o \
iosm_ipc_coredump.o
iosm_ipc_mux_codec.o

obj-$(CONFIG_IOSM) := iosm.o
6 changes: 1 addition & 5 deletions drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "iosm_ipc_chnl_cfg.h"

/* Max. sizes of a downlink buffers */
#define IPC_MEM_MAX_DL_FLASH_BUF_SIZE (64 * 1024)
#define IPC_MEM_MAX_DL_FLASH_BUF_SIZE (16 * 1024)
#define IPC_MEM_MAX_DL_LOOPBACK_SIZE (1 * 1024 * 1024)
#define IPC_MEM_MAX_DL_AT_BUF_SIZE 2048
#define IPC_MEM_MAX_DL_RPC_BUF_SIZE (32 * 1024)
Expand Down Expand Up @@ -60,10 +60,6 @@ static struct ipc_chnl_cfg modem_cfg[] = {
{ IPC_MEM_CTRL_CHL_ID_6, IPC_MEM_PIPE_12, IPC_MEM_PIPE_13,
IPC_MEM_MAX_TDS_MBIM, IPC_MEM_MAX_TDS_MBIM,
IPC_MEM_MAX_DL_MBIM_BUF_SIZE, WWAN_PORT_MBIM },
/* Flash Channel/Coredump Channel */
{ IPC_MEM_CTRL_CHL_ID_7, IPC_MEM_PIPE_0, IPC_MEM_PIPE_1,
IPC_MEM_MAX_TDS_FLASH_UL, IPC_MEM_MAX_TDS_FLASH_DL,
IPC_MEM_MAX_DL_FLASH_BUF_SIZE, WWAN_PORT_UNKNOWN },
};

int ipc_chnl_cfg_get(struct ipc_chnl_cfg *chnl_cfg, int index)
Expand Down
1 change: 0 additions & 1 deletion drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ enum ipc_channel_id {
IPC_MEM_CTRL_CHL_ID_4,
IPC_MEM_CTRL_CHL_ID_5,
IPC_MEM_CTRL_CHL_ID_6,
IPC_MEM_CTRL_CHL_ID_7,
};

/**
Expand Down
110 changes: 0 additions & 110 deletions drivers/net/wwan/iosm/iosm_ipc_coredump.c

This file was deleted.

75 changes: 0 additions & 75 deletions drivers/net/wwan/iosm/iosm_ipc_coredump.h

This file was deleted.

Loading

0 comments on commit d1ab264

Please sign in to comment.