wimax: move out to staging
Subsystems (5)
RFC 1/1 wimax: move out to staging
From: Arnd Bergmann <[email protected]>
There are no known users of this driver as of October 2020, and it will be removed unless someone turns out to still need it in future releases.
According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there have been many public wimax networks, but it appears that these entries are all stale, after everyone has migrated to LTE or discontinued their service altogether.
NetworkManager appears to have dropped userspace support in 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747846, the www.linuxwimax.org
site had already shut down earlier.
WiMax is apparently still being deployed on airport campus networks ("AeroMACS"), but in a frequency band that was not supported by the old Intel 2400m (used in Sandy Bridge laptops and earlier), which is the only driver using the kernel's wimax stack.
Move all files into drivers/staging/wimax, including the uapi header files and documentation, to make it easier to remove it when it gets to that. Only minimal changes are made to the source files, in order to make it possible to port patches across the move.
Also remove the MAINTAINERS entry that refers to a broken mailing list and website.
---
Documentation/admin-guide/index.rst | 1 -
Documentation/networking/kapi.rst | 21 ------------------
.../translations/zh_CN/admin-guide/index.rst | 1 -
MAINTAINERS | 22 -------------------
drivers/net/Kconfig | 2 --
drivers/net/wimax/Kconfig | 18 ---------------
drivers/net/wimax/Makefile | 2 --
drivers/staging/Kconfig | 2 ++
drivers/staging/Makefile | 1 +
.../staging/wimax/Documentation}/i2400m.rst | 0
.../staging/wimax/Documentation}/index.rst | 0
.../staging/wimax/Documentation}/wimax.rst | 0
{net => drivers/staging}/wimax/Kconfig | 6 +++++
{net => drivers/staging}/wimax/Makefile | 2 ++
drivers/staging/wimax/TODO | 16 ++++++++++++++
{net => drivers/staging}/wimax/debug-levels.h | 2 +-
{net => drivers/staging}/wimax/debugfs.c | 2 +-
drivers/{net => staging}/wimax/i2400m/Kconfig | 0
.../{net => staging}/wimax/i2400m/Makefile | 0
.../{net => staging}/wimax/i2400m/control.c | 2 +-
.../wimax/i2400m/debug-levels.h | 2 +-
.../{net => staging}/wimax/i2400m/debugfs.c | 0
.../{net => staging}/wimax/i2400m/driver.c | 2 +-
drivers/{net => staging}/wimax/i2400m/fw.c | 0
.../wimax/i2400m/i2400m-usb.h | 0
.../{net => staging}/wimax/i2400m/i2400m.h | 4 ++--
.../staging/wimax/i2400m/linux-wimax-i2400m.h | 0
.../{net => staging}/wimax/i2400m/netdev.c | 0
.../{net => staging}/wimax/i2400m/op-rfkill.c | 2 +-
drivers/{net => staging}/wimax/i2400m/rx.c | 0
drivers/{net => staging}/wimax/i2400m/sysfs.c | 0
drivers/{net => staging}/wimax/i2400m/tx.c | 0
.../wimax/i2400m/usb-debug-levels.h | 2 +-
.../{net => staging}/wimax/i2400m/usb-fw.c | 0
.../{net => staging}/wimax/i2400m/usb-notif.c | 0
.../{net => staging}/wimax/i2400m/usb-rx.c | 0
.../{net => staging}/wimax/i2400m/usb-tx.c | 0
drivers/{net => staging}/wimax/i2400m/usb.c | 2 +-
{net => drivers/staging}/wimax/id-table.c | 2 +-
.../staging/wimax/linux-wimax-debug.h | 2 +-
.../staging/wimax/linux-wimax.h | 0
.../staging/wimax/net-wimax.h | 2 +-
{net => drivers/staging}/wimax/op-msg.c | 2 +-
{net => drivers/staging}/wimax/op-reset.c | 4 ++--
{net => drivers/staging}/wimax/op-rfkill.c | 4 ++--
{net => drivers/staging}/wimax/op-state-get.c | 4 ++--
{net => drivers/staging}/wimax/stack.c | 2 +-
.../staging}/wimax/wimax-internal.h | 2 +-
net/Kconfig | 2 --
net/Makefile | 1 -
50 files changed, 49 insertions(+), 92 deletions(-)
delete mode 100644 drivers/net/wimax/Kconfig
delete mode 100644 drivers/net/wimax/Makefile
rename {Documentation/admin-guide/wimax => drivers/staging/wimax/Documentation}/i2400m.rst (100%)
rename {Documentation/admin-guide/wimax => drivers/staging/wimax/Documentation}/index.rst (100%)
rename {Documentation/admin-guide/wimax => drivers/staging/wimax/Documentation}/wimax.rst (100%)
rename {net => drivers/staging}/wimax/Kconfig (94%)
rename {net => drivers/staging}/wimax/Makefile (83%)
create mode 100644 drivers/staging/wimax/TODO
rename {net => drivers/staging}/wimax/debug-levels.h (96%)
rename {net => drivers/staging}/wimax/debugfs.c (97%)
rename drivers/{net => staging}/wimax/i2400m/Kconfig (100%)
rename drivers/{net => staging}/wimax/i2400m/Makefile (100%)
rename drivers/{net => staging}/wimax/i2400m/control.c (99%)
rename drivers/{net => staging}/wimax/i2400m/debug-levels.h (96%)
rename drivers/{net => staging}/wimax/i2400m/debugfs.c (100%)
rename drivers/{net => staging}/wimax/i2400m/driver.c (99%)
rename drivers/{net => staging}/wimax/i2400m/fw.c (100%)
rename drivers/{net => staging}/wimax/i2400m/i2400m-usb.h (100%)
rename drivers/{net => staging}/wimax/i2400m/i2400m.h (99%)
rename include/uapi/linux/wimax/i2400m.h => drivers/staging/wimax/i2400m/linux-wimax-i2400m.h (100%)
rename drivers/{net => staging}/wimax/i2400m/netdev.c (100%)
rename drivers/{net => staging}/wimax/i2400m/op-rfkill.c (99%)
rename drivers/{net => staging}/wimax/i2400m/rx.c (100%)
rename drivers/{net => staging}/wimax/i2400m/sysfs.c (100%)
rename drivers/{net => staging}/wimax/i2400m/tx.c (100%)
rename drivers/{net => staging}/wimax/i2400m/usb-debug-levels.h (95%)
rename drivers/{net => staging}/wimax/i2400m/usb-fw.c (100%)
rename drivers/{net => staging}/wimax/i2400m/usb-notif.c (100%)
rename drivers/{net => staging}/wimax/i2400m/usb-rx.c (100%)
rename drivers/{net => staging}/wimax/i2400m/usb-tx.c (100%)
rename drivers/{net => staging}/wimax/i2400m/usb.c (99%)
rename {net => drivers/staging}/wimax/id-table.c (99%)
rename include/linux/wimax/debug.h => drivers/staging/wimax/linux-wimax-debug.h (99%)
rename include/uapi/linux/wimax.h => drivers/staging/wimax/linux-wimax.h (100%)
rename include/net/wimax.h => drivers/staging/wimax/net-wimax.h (99%)
rename {net => drivers/staging}/wimax/op-msg.c (99%)
rename {net => drivers/staging}/wimax/op-reset.c (98%)
rename {net => drivers/staging}/wimax/op-rfkill.c (99%)
rename {net => drivers/staging}/wimax/op-state-get.c (96%)
rename {net => drivers/staging}/wimax/stack.c (99%)
rename {net => drivers/staging}/wimax/wimax-internal.h (99%)Documentation/admin-guide/index.rst +0 -1
@@ -115,7 +115,6 @@ configure specific aspects of kernel behavior to your liking. unicode vga-softcursor video-output - wimax/index xfs .. only:: subproject and html
Documentation/networking/kapi.rst +0 -21
@@ -83,27 +83,6 @@ SUN RPC subsystem .. kernel-doc:: net/sunrpc/clnt.c :export: -WiMAX ------ - -.. kernel-doc:: net/wimax/op-msg.c - :export: - -.. kernel-doc:: net/wimax/op-reset.c - :export: - -.. kernel-doc:: net/wimax/op-rfkill.c - :export: - -.. kernel-doc:: net/wimax/stack.c - :export: - -.. kernel-doc:: include/net/wimax.h - :internal: - -.. kernel-doc:: include/uapi/linux/wimax.h - :internal: - Network device support ======================
Documentation/translations/zh_CN/admin-guide/index.rst +0 -1
@@ -114,7 +114,6 @@ Todolist: unicode vga-softcursor video-output - wimax/index xfs .. only:: subproject and html
MAINTAINERS +0 -22
@@ -9114,16 +9114,6 @@ W: https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi T: git git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi.git F: drivers/net/wireless/intel/iwlwifi/ -INTEL WIRELESS WIMAX CONNECTION 2400 -M: Inaky Perez-Gonzalez <[email protected]> -M: [email protected] -L: [email protected] (subscribers-only) -S: Supported -W: http://linuxwimax.org -F: Documentation/admin-guide/wimax/i2400m.rst -F: drivers/net/wimax/i2400m/ -F: include/uapi/linux/wimax/i2400m.h - INTEL WMI SLIM BOOTLOADER (SBL) FIRMWARE UPDATE DRIVER M: Jithu Joseph <[email protected]> R: Maurice Ma <[email protected]>
@@ -18941,18 +18931,6 @@ S: Supported W: https://wireless.wiki.kernel.org/en/users/Drivers/wil6210 F: drivers/net/wireless/ath/wil6210/ -WIMAX STACK -M: Inaky Perez-Gonzalez <[email protected]> -M: [email protected] -L: [email protected] (subscribers-only) -S: Supported -W: http://linuxwimax.org -F: Documentation/admin-guide/wimax/wimax.rst -F: include/linux/wimax/debug.h -F: include/net/wimax.h -F: include/uapi/linux/wimax.h -F: net/wimax/ - WINBOND CIR DRIVER M: David Härdeman <[email protected]> S: Maintained
drivers/net/Kconfig +0 -2
@@ -489,8 +489,6 @@ source "drivers/net/usb/Kconfig" source "drivers/net/wireless/Kconfig" -source "drivers/net/wimax/Kconfig" - source "drivers/net/wan/Kconfig" source "drivers/net/ieee802154/Kconfig"
drivers/net/wimax/Kconfig deleted +0 -18
@@ -1,18 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# WiMAX LAN device drivers configuration -# - - -comment "Enable WiMAX (Networking options) to see the WiMAX drivers" - depends on WIMAX = n - -if WIMAX - -menu "WiMAX Wireless Broadband devices" - -source "drivers/net/wimax/i2400m/Kconfig" - -endmenu - -endif
drivers/net/wimax/Makefile deleted +0 -2
@@ -1,2 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_WIMAX_I2400M) += i2400m/
drivers/staging/Kconfig +2 -0
@@ -114,6 +114,8 @@ source "drivers/staging/kpc2000/Kconfig" source "drivers/staging/qlge/Kconfig" +source "drivers/staging/wimax/Kconfig" + source "drivers/staging/wfx/Kconfig" source "drivers/staging/hikey9xx/Kconfig"
drivers/staging/Makefile +1 -0
@@ -47,5 +47,6 @@ obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/ obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/ obj-$(CONFIG_KPC2000) += kpc2000/ obj-$(CONFIG_QLGE) += qlge/ +obj-$(CONFIG_WIMAX) += wimax/ obj-$(CONFIG_WFX) += wfx/ obj-y += hikey9xx/
drivers/staging/wimax/Documentation/i2400m.rst renamed from Documentation/admin-guide/wimax/i2400m.rst +0 -0
drivers/staging/wimax/Documentation/index.rst renamed from Documentation/admin-guide/wimax/index.rst +0 -0
drivers/staging/wimax/Documentation/wimax.rst renamed from Documentation/admin-guide/wimax/wimax.rst +0 -0
drivers/staging/wimax/Kconfig renamed from net/wimax/Kconfig +6 -0
@@ -22,6 +22,8 @@ menuconfig WIMAX If unsure, it is safe to select M (module). +if WIMAX + config WIMAX_DEBUG_LEVEL int "WiMAX debug level" depends on WIMAX
@@ -38,3 +40,7 @@ config WIMAX_DEBUG_LEVEL If set at zero, this will compile out all the debug code. It is recommended that it is left at 8. + +source "drivers/staging/wimax/i2400m/Kconfig" + +endif
drivers/staging/wimax/Makefile renamed from net/wimax/Makefile +2 -0
@@ -11,3 +11,5 @@ wimax-y := \ stack.o wimax-$(CONFIG_DEBUG_FS) += debugfs.o + +obj-$(CONFIG_WIMAX_I2400M) += i2400m/
drivers/staging/wimax/TODO new file +16 -0
@@ -0,0 +1,16 @@ +There are no known users of this driver as of October 2020, and it will +be removed unless someone turns out to still need it in future releases. + +According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there +have been many public wimax networks, but it appears that these entries +are all stale, after everyone has migrated to LTE or discontinued their +service altogether. + +NetworkManager appears to have dropped userspace support in 2015 +https://bugzilla.gnome.org/show_bug.cgi?id=747846, the www.linuxwimax.org +site had already shut down earlier. + +WiMax is apparently still being deployed on airport campus networks +("AeroMACS"), but in a frequency band that was not supported by the old +Intel 2400m (used in Sandy Bridge laptops and earlier), which is the +only driver using the kernel's wimax stack.
drivers/staging/wimax/debug-levels.h renamed from net/wimax/debug-levels.h +1 -1
@@ -13,7 +13,7 @@#define D_MODULENAME wimax#define D_MASTER CONFIG_WIMAX_DEBUG_LEVEL -#include <linux/wimax/debug.h> +#include "linux-wimax-debug.h" /* List of all the enabled modules */ enum d_module {
drivers/staging/wimax/debugfs.c renamed from net/wimax/debugfs.c +1 -1
@@ -7,7 +7,7 @@* Inaky Perez-Gonzalez <[email protected]> */ #include <linux/debugfs.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include "wimax-internal.h" #define D_SUBMODULE debugfs
drivers/staging/wimax/i2400m/Kconfig renamed from drivers/net/wimax/i2400m/Kconfig +0 -0
drivers/staging/wimax/i2400m/Makefile renamed from drivers/net/wimax/i2400m/Makefile +0 -0
drivers/staging/wimax/i2400m/control.c renamed from drivers/net/wimax/i2400m/control.c +1 -1
@@ -77,7 +77,7 @@#include "i2400m.h" #include <linux/kernel.h> #include <linux/slab.h> -#include <linux/wimax/i2400m.h> +#include "linux-wimax-i2400m.h" #include <linux/export.h> #include <linux/moduleparam.h>
drivers/staging/wimax/i2400m/debug-levels.h renamed from drivers/net/wimax/i2400m/debug-levels.h +1 -1
@@ -13,7 +13,7 @@#define D_MODULENAME i2400m#define D_MASTER CONFIG_WIMAX_I2400M_DEBUG_LEVEL -#include <linux/wimax/debug.h> +#include "../linux-wimax-debug.h" /* List of all the enabled modules */ enum d_module {
drivers/staging/wimax/i2400m/debugfs.c renamed from drivers/net/wimax/i2400m/debugfs.c +0 -0
drivers/staging/wimax/i2400m/driver.c renamed from drivers/net/wimax/i2400m/driver.c +1 -1
@@ -50,7 +50,7 @@*/ #include "i2400m.h" #include <linux/etherdevice.h> -#include <linux/wimax/i2400m.h> +#include "linux-wimax-i2400m.h" #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/suspend.h>
drivers/staging/wimax/i2400m/fw.c renamed from drivers/net/wimax/i2400m/fw.c +0 -0
drivers/staging/wimax/i2400m/i2400m-usb.h renamed from drivers/net/wimax/i2400m/i2400m-usb.h +0 -0
drivers/staging/wimax/i2400m/i2400m.h renamed from drivers/net/wimax/i2400m/i2400m.h +2 -2
@@ -156,8 +156,8 @@#include <linux/completion.h> #include <linux/rwsem.h> #include <linux/atomic.h> -#include <net/wimax.h> -#include <linux/wimax/i2400m.h> +#include "../net-wimax.h" +#include "linux-wimax-i2400m.h" #include <asm/byteorder.h> enum {
drivers/staging/wimax/i2400m/linux-wimax-i2400m.h renamed from include/uapi/linux/wimax/i2400m.h +0 -0
drivers/staging/wimax/i2400m/netdev.c renamed from drivers/net/wimax/i2400m/netdev.c +0 -0
drivers/staging/wimax/i2400m/op-rfkill.c renamed from drivers/net/wimax/i2400m/op-rfkill.c +1 -1
@@ -18,7 +18,7 @@* switch (coming from sysfs, the wimax stack or user space). */ #include "i2400m.h" -#include <linux/wimax/i2400m.h> +#include "linux-wimax-i2400m.h" #include <linux/slab.h>
drivers/staging/wimax/i2400m/rx.c renamed from drivers/net/wimax/i2400m/rx.c +0 -0
drivers/staging/wimax/i2400m/sysfs.c renamed from drivers/net/wimax/i2400m/sysfs.c +0 -0
drivers/staging/wimax/i2400m/tx.c renamed from drivers/net/wimax/i2400m/tx.c +0 -0
drivers/staging/wimax/i2400m/usb-debug-levels.h renamed from drivers/net/wimax/i2400m/usb-debug-levels.h +1 -1
@@ -13,7 +13,7 @@#define D_MODULENAME i2400m_usb#define D_MASTER CONFIG_WIMAX_I2400M_DEBUG_LEVEL -#include <linux/wimax/debug.h> +#include "../linux-wimax-debug.h" /* List of all the enabled modules */ enum d_module {
drivers/staging/wimax/i2400m/usb-fw.c renamed from drivers/net/wimax/i2400m/usb-fw.c +0 -0
drivers/staging/wimax/i2400m/usb-notif.c renamed from drivers/net/wimax/i2400m/usb-notif.c +0 -0
drivers/staging/wimax/i2400m/usb-rx.c renamed from drivers/net/wimax/i2400m/usb-rx.c +0 -0
drivers/staging/wimax/i2400m/usb-tx.c renamed from drivers/net/wimax/i2400m/usb-tx.c +0 -0
drivers/staging/wimax/i2400m/usb.c renamed from drivers/net/wimax/i2400m/usb.c +1 -1
@@ -49,7 +49,7 @@* usb_reset_device() */ #include "i2400m-usb.h" -#include <linux/wimax/i2400m.h> +#include "linux-wimax-i2400m.h" #include <linux/debugfs.h> #include <linux/slab.h> #include <linux/module.h>
drivers/staging/wimax/id-table.c renamed from net/wimax/id-table.c +1 -1
@@ -28,7 +28,7 @@#include <net/genetlink.h> #include <linux/netdevice.h> #include <linux/list.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include "wimax-internal.h"
drivers/staging/wimax/linux-wimax-debug.h renamed from include/linux/wimax/debug.h +1 -1
@@ -60,7 +60,7 @@* #define D_MODULENAME modulename * #define D_MASTER 10 * -* #include <linux/wimax/debug.h> +* #include "linux-wimax-debug.h" * * enum d_module { * D_SUBMODULE_DECLARE(submodule_1),
drivers/staging/wimax/linux-wimax.h renamed from include/uapi/linux/wimax.h +0 -0
drivers/staging/wimax/net-wimax.h renamed from include/net/wimax.h +1 -1
@@ -236,7 +236,7 @@#ifndef __NET__WIMAX_H__#define __NET__WIMAX_H__ -#include <linux/wimax.h> +#include "linux-wimax.h" #include <net/genetlink.h> #include <linux/netdevice.h>
drivers/staging/wimax/op-msg.c renamed from net/wimax/op-msg.c +1 -1
@@ -60,7 +60,7 @@#include <linux/slab.h> #include <net/genetlink.h> #include <linux/netdevice.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include <linux/security.h> #include <linux/export.h> #include "wimax-internal.h"
drivers/staging/wimax/op-reset.c renamed from net/wimax/op-reset.c +2 -2
@@ -13,9 +13,9 @@* disconnect and reconnect the device). */ -#include <net/wimax.h> +#include "net-wimax.h" #include <net/genetlink.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include <linux/security.h> #include <linux/export.h> #include "wimax-internal.h"
drivers/staging/wimax/op-rfkill.c renamed from net/wimax/op-rfkill.c +2 -2
@@ -45,9 +45,9 @@* wimax_rfkill_rm() [called by wimax_dev_add/rm()] */ -#include <net/wimax.h> +#include "net-wimax.h" #include <net/genetlink.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include <linux/security.h> #include <linux/rfkill.h> #include <linux/export.h>
drivers/staging/wimax/op-state-get.c renamed from net/wimax/op-state-get.c +2 -2
@@ -10,9 +10,9 @@* Inaky Perez-Gonzalez <[email protected]> */ -#include <net/wimax.h> +#include "net-wimax.h" #include <net/genetlink.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include <linux/security.h> #include "wimax-internal.h"
drivers/staging/wimax/stack.c renamed from net/wimax/stack.c +1 -1
@@ -39,7 +39,7 @@#include <linux/gfp.h> #include <net/genetlink.h> #include <linux/netdevice.h> -#include <linux/wimax.h> +#include "linux-wimax.h" #include <linux/module.h> #include "wimax-internal.h"
drivers/staging/wimax/wimax-internal.h renamed from net/wimax/wimax-internal.h +1 -1
@@ -22,7 +22,7 @@#define pr_fmt (fmt) KBUILD_MODNAME ": " fmt#include <linux/device.h> -#include <net/wimax.h> +#include "net-wimax.h" /*
net/Kconfig +0 -2
@@ -386,8 +386,6 @@ source "net/mac80211/Kconfig" endif # WIRELESS -source "net/wimax/Kconfig" - source "net/rfkill/Kconfig" source "net/9p/Kconfig" source "net/caif/Kconfig"
net/Makefile +0 -1
@@ -66,7 +66,6 @@ obj-$(CONFIG_MAC802154) += mac802154/ ifeq ($(CONFIG_NET),y) obj-$(CONFIG_SYSCTL) += sysctl_net.o endif -obj-$(CONFIG_WIMAX) += wimax/ obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ obj-$(CONFIG_CEPH_LIB) += ceph/ obj-$(CONFIG_BATMAN_ADV) += batman-adv/
Signature · 1 line
2.27.0
kernel test robot
build bot[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch]
Hi Arnd,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on net-next/master net/master linus/master v5.10-rc1 next-20201027] [cannot apply to sparc-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/wimax-move-out-to-staging/20201028-052547 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git af702094a63e8d56f125f473461fe3b620fba1fd config: nios2-allyesconfig (attached as .config) compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/335bf35c4d6555536b2ad54173acddf06e7dca13
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Arnd-Bergmann/wimax-move-out-to-staging/20201028-052547 git checkout 335bf35c4d6555536b2ad54173acddf06e7dca13
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
All warnings (new ones prefixed by >>):
>> drivers/staging/wimax/stack.c:393:29: warning: initialized field overwritten [-Woverride-init]
393 | [WIMAX_GNL_RFKILL_IFIDX] = { .type = NLA_U32, },
| ^
drivers/staging/wimax/stack.c:393:29: note: (near initialization for 'wimax_gnl_policy[1]')
drivers/staging/wimax/stack.c:397:28: warning: initialized field overwritten [-Woverride-init]
397 | [WIMAX_GNL_STGET_IFIDX] = { .type = NLA_U32, },
| ^
drivers/staging/wimax/stack.c:397:28: note: (near initialization for 'wimax_gnl_policy[1]')
drivers/staging/wimax/stack.c:398:26: warning: initialized field overwritten [-Woverride-init]
398 | [WIMAX_GNL_MSG_IFIDX] = { .type = NLA_U32, },
| ^ drivers/staging/wimax/stack.c:398:26: note: (near initialization for 'wimax_gnl_policy[1]')
vim +393 drivers/staging/wimax/stack.c
15530dfd330bd19 net/wimax/stack.c Inaky Perez-Gonzalez 2008-12-20 390
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 391 static const struct nla_policy wimax_gnl_policy[WIMAX_GNL_ATTR_MAX + 1] = {
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 392 [WIMAX_GNL_RESET_IFIDX] = { .type = NLA_U32, },
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 @393 [WIMAX_GNL_RFKILL_IFIDX] = { .type = NLA_U32, },
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 394 [WIMAX_GNL_RFKILL_STATE] = {
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 395 .type = NLA_U32 /* enum wimax_rf_state */
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 396 },
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 397 [WIMAX_GNL_STGET_IFIDX] = { .type = NLA_U32, },
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 398 [WIMAX_GNL_MSG_IFIDX] = { .type = NLA_U32, },
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 399 [WIMAX_GNL_MSG_DATA] = {
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 400 .type = NLA_UNSPEC, /* libnl doesn't grok BINARY yet */
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 401 },
b61a5eea5904198 net/wimax/stack.c Johannes Berg 2013-11-14 402 };15530dfd330bd19 net/wimax/stack.c Inaky Perez-Gonzalez 2008-12-20 403
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
Quoted 9 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
There are no known users of this driver as of October 2020, and it will be removed unless someone turns out to still need it in future releases.
According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there have been many public wimax networks, but it appears that these entries are all stale, after everyone has migrated to LTE or discontinued their service altogether.
Wimax is still pretty common in Africa. But you have to buy an outdoor antenae with all the software on it and an ethernet cable into your house. I don't know what software the antennaes are using. Probably Linux but with an out of tree kernel module is my guess.
regards,
dan carpenter
Quoted 6 lines · Dan Carpenter
Quoted 5 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
There are no known users of this driver as of October 2020, and it will be removed unless someone turns out to still need it in future releases.
Quoted 8 lines
Quoted 4 lines
According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there have been many public wimax networks, but it appears that these entries are all stale, after everyone has migrated to LTE or discontinued their service altogether.
Wimax is still pretty common in Africa. But you have to buy an outdoor antenae with all the software on it and an ethernet cable into your house.
Ah, good to know, thanks for the information. I'll include that when I resend the patch, which I have to do anyway to avoid a small regression. I did a look at a couple of African ISPs that seemed to all have discontinued service, but I suppose I should have looked more carefully.
Quoted 2 lines
I don't know what software the antennaes are using. Probably
Linux but with an out of tree kernel module is my guess.
Right, it seems very unlikely that they would be using the old Intel drivers, and it's also unlikely that they are updating those boxes to new kernels. I found a firmware image for Huawei BM623m, which runs a proprietary kernel module for the wimax stack on an MT7108 (arm926) phone chip running a linux-2.6.26.8-rt16 kernel.
Arnd
Quoted 25 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
There are no known users of this driver as of October 2020, and it will be removed unless someone turns out to still need it in future releases.
According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there have been many public wimax networks, but it appears that these entries are all stale, after everyone has migrated to LTE or discontinued their service altogether.
NetworkManager appears to have dropped userspace support in 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747846, the www.linuxwimax.org
site had already shut down earlier.WiMax is apparently still being deployed on airport campus networks ("AeroMACS"), but in a frequency band that was not supported by the old Intel 2400m (used in Sandy Bridge laptops and earlier), which is the only driver using the kernel's wimax stack.
Move all files into
drivers/staging/wimax, including the uapi header files and documentation, to make it easier to remove it when it gets to that. Only minimal changes are made to the source files, in order to make it possible to port patches across the move.
Quoted 5 lines
Also remove the
MAINTAINERSentry that refers to a broken mailing list and website.Suggested-by Inaky Perez-Gonzalez <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Is this ok for me to take through the staging tree? If so, I need an ack from the networking maintainers.
If not, feel free to send it through the networking tree and add:
Jakub Kicinski
maintainerQuoted 32 lines · On Wed, 28 Oct 2020 06:56:28 +0100 Greg Kroah-Hartman wrote:
Quoted 25 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
There are no known users of this driver as of October 2020, and it will be removed unless someone turns out to still need it in future releases.
According to https://en.wikipedia.org/wiki/List_of_WiMAX_networks, there have been many public wimax networks, but it appears that these entries are all stale, after everyone has migrated to LTE or discontinued their service altogether.
NetworkManager appears to have dropped userspace support in 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747846, the www.linuxwimax.org
site had already shut down earlier.WiMax is apparently still being deployed on airport campus networks ("AeroMACS"), but in a frequency band that was not supported by the old Intel 2400m (used in Sandy Bridge laptops and earlier), which is the only driver using the kernel's wimax stack.
Move all files into
drivers/staging/wimax, including the uapi header files and documentation, to make it easier to remove it when it gets to that. Only minimal changes are made to the source files, in order to make it possible to port patches across the move.Quoted 5 lines
Also remove the
MAINTAINERSentry that refers to a broken mailing list and website.Suggested-by Inaky Perez-Gonzalez <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Quoted 6 lines
Is this ok for me to take through the staging tree? If so, I need an ack from the networking maintainers.
If not, feel free to send it through the networking tree and add:
Thinking about it now - we want this applied to -next, correct? In that case it may be better if we take it. The code is pretty dead but syzbot and the trivial fix crowd don't know it, so I may slip, apply something and we'll have a conflict.
Quoted 6 lines · Jakub Kicinski
Quoted 5 lines · On Wed, 28 Oct 2020 06:56:28 +0100 Greg Kroah-Hartman wrote:
On Tue, Oct 27, 2020 at 10:20:13PM +0100, Arnd Bergmann wrote:
Is this ok for me to take through the staging tree? If so, I need an ack from the networking maintainers.
Quoted 8 lines
Quoted 3 lines
If not, feel free to send it through the networking tree and add:
Thinking about it now - we want this applied to -next, correct? In that case it may be better if we take it. The code is pretty dead but syzbot and the trivial fix crowd don't know it, so I may slip, apply something and we'll have a conflict.
I think git will deal with a merge between branches containing the move vs fix, so it should work either way.
A downside of having the move in net-next would be that you'd get trivial fixes send to Greg, but him being unable to apply them to his tree because the code is elsewhere.
If you think it helps, I could prepare a pull request with this one patch (and probably the bugfix I sent first that triggered it), and then you can both merge the branch into net-next as well as staging-next.
Arnd
Quoted 19 lines · On Thu, 29 Oct 2020 17:26:09 +0100 Arnd Bergmann wrote:
Quoted 6 lines · Jakub Kicinski
Quoted 5 lines · On Wed, 28 Oct 2020 06:56:28 +0100 Greg Kroah-Hartman wrote:
On Tue, Oct 27, 2020 at 10:20:13PM +0100, Arnd Bergmann wrote:
Is this ok for me to take through the staging tree? If so, I need an ack from the networking maintainers.
Quoted 8 lines
Quoted 3 lines
If not, feel free to send it through the networking tree and add:
Thinking about it now - we want this applied to -next, correct? In that case it may be better if we take it. The code is pretty dead but syzbot and the trivial fix crowd don't know it, so I may slip, apply something and we'll have a conflict.
I think git will deal with a merge between branches containing the move vs fix, so it should work either way.
Quoted 8 lines
A downside of having the move in net-next would be that you'd get trivial fixes send to Greg, but him being unable to apply them to his tree because the code is elsewhere.
If you think it helps, I could prepare a pull request with this one patch (and probably the bugfix I sent first that triggered it), and then you can both merge the branch into net-next as well as staging-next.
If you wouldn't mind branch sounds like the best solution.