wfx: get out from the staging area
Subsystems (6)
Jerome Pouiller
maintainerv10 cover wfx: get out from the staging area
From: Jérôme Pouiller <[email protected]>
Hello,
The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository.
All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18.
v10:
- Rebase on last staging tree.
v9:
- Rebase on mmc tree (ulfh/next, 356f3f2c5756). Indeed, I rely on the series named "mmc: core: extend mmc_fixup_device and transplant ti,wl1251 quirks from to be retired omap_hsmmc" by "H. Nikolaus Schaller". This work is only included in the mmc tree. Anyway, I think the merge of mmc tree into Linus's tree is going to happen soon.
- Locate the SDIO quirks into mmc/core/quirks.h. (Ulf, Pali)
- Change the PDS format. It is now based on TLV. The tool to generate these files is ready, but I have not yet published it. (Kalle)
- Fix the firmware location. It didn't match with linux-firmware. I take this opportunity to relocate these file into wfx/ instead of silabs/. I am going to send a PR to linux-firmware to reflect this changes when this PR will be accepted. (Kalle)
- In the v8, some parts were formatted in 80 columns and somes in 100 columns. Unify the coding style by applying 100 columns rule everywhere. Also change structs alignement in some places.
- Improve output of "make DT_CHECKER_FLAGS=-m dt_binding_check" (but not yet perfect, see above) (Rob)
v8:
- Change the way the DT is handled. The user can now specify the name of the board (= chip + antenna) he use. It easier for board designers to add new entries. I plan to send a PR to linux-firmware to include PDS files of the developpement boards belong the firmware (I also plan to relocate these file into wfx/ instead of silabs/). (Kalle, Pali)
- Prefix visible functions and structs with "wfx_". I mostly kept the code under 80 columns. (Kalle, Pali, Greg)
- Remove support for force_ps_timeout for now. (Kalle)
- Fix licenses of Makefile, Kconfig and hif_api*.h. (Kalle)
- Do not mix and match endianess in struct hif_ind_startup. (Kalle)
- Remove magic values. (Kalle)
- Use IS_ALIGNED(). (BTW, PTR_IS_ALIGNED() does not exist?) (Kalle)
- I have also noticed that some headers files did not declare all the struct they used.
v7:
- Update location of mmc-pwrseq-simple.txt (Rob)
v6:
- Rebase on last staging-next (roughtly somewhere after the 5.15 merge window). So, this series include the patches from:
https://lore.kernel.org/netdev/[email protected]/
v5:
- Add reference to the PR to linux-firmware in the cover letter
- Rebase on last staging tree (that mainly include commit 6efed0a69794 "staging: wfx: fix possible panic with re-queued frames" and a few cosmetics changes)
- Remove useless trailing spaces in DT binding (Rob)
- Add a commit message in the patch 2 since I am not sure it will be squashed with the other (Rob)
v4:
- Rebase on last staging tree
- Add 'additionalProperties: false' to the DT specification (I made that change blindly because I am able to reproduce Rob's error) (Rob)
- Replace C++ comments with Ansi C comments (Kalle)
- Check that existing Ansi C comments comply with net/ "compact" style
- Drop one obsolete comment
- Remove comments after '#endif' in header files
- Remove macro redefinitions in hif_api_general.h (Kalle)
- Replace compiletime_assert() with BUILD_BUG_ON_MSG() (Kalle)
- Rename ieee80211_is_action_back() (Kalle)
- Add a comment explaining how the PDS is sent to the device (Kalle)
- Add a comment about case where CONFIG_MMC==m in the Makefile (Kalle)
- Fix irrevelant comment about CONFIG_VMAP_STACK (Kalle)
- Talk about the unreliable SDIO Vendor ID in the Kconfig help (Kalle)
- Mention the firmware status in the cover letter (Kalle)
- Fix misaligned function arguments in key.c
v3:
- dt-bindings: Rename config-file property (Rob)
- dt-bindings: No additional properties are allowed (spi-max-frequency is already listed) (Rob)
- dt-bindings: Remove references for mac-address properties (Rob)
- Rebase on staging/staging-next
v2:
- dt-bindings: Improve device description and add link to the datasheet
(Rob)
- dt-bindings: Add blank lines between each DT property (Rob)
- dt-bindings: Explicitly mention mac-address and local-mac-address and
add references to ethernet-controller.yaml (Rob)
- dt-bindings: "config-file" is not for development/debug (Rob)
- dt-bindings: Remove description of "spi-max-frequency" (Rob)
- dt-bindings: Use "folded scalar" syntax instead of escaping the colons
- bus_sdio.c: A compatible node in the DT is now mandatory to probe the
device. Also change documentation of dt-bindings accordingly (Pali,
Ulf)
- bus_sdio.c: Move SDIO IDs to sdio_ids.h (Pali)
- bh.c: Import patch "staging: wfx: fix test on return value of
gpiod_get_value()" (Nathan) - data_tx.c: Import patch "staging: wfx: fix use of uninitialized pointer"
- sta.c: Import patch "staging: wfx: make a const array static, makes object smaller" (Colin)
v1:
- Drop the function name in the warning message (Kalle)
- Replace goto by return in wfx_send_pdata_pds() (Kalle, Dan)
- Improve error label in wfx_send_pdata_pds() (Kalle)
Jérôme Pouiller (1):
wfx: get out from the staging area
.../{staging => }/net/wireless/silabs,wfx.yaml | 2 +-
MAINTAINERS | 4 ++--
drivers/net/wireless/Kconfig | 1 +
drivers/net/wireless/Makefile | 1 +
drivers/net/wireless/silabs/Kconfig | 18 ++++++++++++++++++
drivers/net/wireless/silabs/Makefile | 3 +++
.../wireless/silabs}/wfx/Kconfig | 0
.../wireless/silabs}/wfx/Makefile | 0
.../{staging => net/wireless/silabs}/wfx/bh.c | 0
.../{staging => net/wireless/silabs}/wfx/bh.h | 0
.../{staging => net/wireless/silabs}/wfx/bus.h | 0
.../wireless/silabs}/wfx/bus_sdio.c | 0
.../wireless/silabs}/wfx/bus_spi.c | 0
.../wireless/silabs}/wfx/data_rx.c | 0
.../wireless/silabs}/wfx/data_rx.h | 0
.../wireless/silabs}/wfx/data_tx.c | 0
.../wireless/silabs}/wfx/data_tx.h | 0
.../wireless/silabs}/wfx/debug.c | 0
.../wireless/silabs}/wfx/debug.h | 0
.../wireless/silabs}/wfx/fwio.c | 0
.../wireless/silabs}/wfx/fwio.h | 0
.../wireless/silabs}/wfx/hif_api_cmd.h | 0
.../wireless/silabs}/wfx/hif_api_general.h | 0
.../wireless/silabs}/wfx/hif_api_mib.h | 0
.../wireless/silabs}/wfx/hif_rx.c | 0
.../wireless/silabs}/wfx/hif_rx.h | 0
.../wireless/silabs}/wfx/hif_tx.c | 0
.../wireless/silabs}/wfx/hif_tx.h | 0
.../wireless/silabs}/wfx/hif_tx_mib.c | 0
.../wireless/silabs}/wfx/hif_tx_mib.h | 0
.../wireless/silabs}/wfx/hwio.c | 0
.../wireless/silabs}/wfx/hwio.h | 0
.../{staging => net/wireless/silabs}/wfx/key.c | 0
.../{staging => net/wireless/silabs}/wfx/key.h | 0
.../wireless/silabs}/wfx/main.c | 0
.../wireless/silabs}/wfx/main.h | 0
.../wireless/silabs}/wfx/queue.c | 0
.../wireless/silabs}/wfx/queue.h | 0
.../wireless/silabs}/wfx/scan.c | 0
.../wireless/silabs}/wfx/scan.h | 0
.../{staging => net/wireless/silabs}/wfx/sta.c | 0
.../{staging => net/wireless/silabs}/wfx/sta.h | 0
.../wireless/silabs}/wfx/traces.h | 0
.../{staging => net/wireless/silabs}/wfx/wfx.h | 0
drivers/staging/Kconfig | 1 -
drivers/staging/Makefile | 1 -
drivers/staging/wfx/TODO | 6 ------
47 files changed, 26 insertions(+), 11 deletions(-)
rename Documentation/devicetree/bindings/{staging => }/net/wireless/silabs,wfx.yaml (98%)
create mode 100644 drivers/net/wireless/silabs/Kconfig
create mode 100644 drivers/net/wireless/silabs/Makefile
rename drivers/{staging => net/wireless/silabs}/wfx/Kconfig (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/Makefile (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bh.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bh.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bus.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bus_sdio.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bus_spi.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_rx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_rx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_tx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_tx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/debug.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/debug.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/fwio.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/fwio.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_cmd.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_general.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_mib.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_rx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_rx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx_mib.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx_mib.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hwio.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hwio.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/key.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/key.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/main.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/main.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/queue.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/queue.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/scan.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/scan.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/sta.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/sta.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/traces.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/wfx.h (100%)
delete mode 100644 drivers/staging/wfx/TODOSignature · 1 line
2.34.1
Jerome Pouiller
maintainerPATCH v10 1/1 wfx: get out from the staging area
From: Jérôme Pouiller <[email protected]>
The wfx driver is now mature enough to leave the staging area.
---
.../{staging => }/net/wireless/silabs,wfx.yaml | 2 +-
MAINTAINERS | 4 ++--
drivers/net/wireless/Kconfig | 1 +
drivers/net/wireless/Makefile | 1 +
drivers/net/wireless/silabs/Kconfig | 18 ++++++++++++++++++
drivers/net/wireless/silabs/Makefile | 3 +++
.../wireless/silabs}/wfx/Kconfig | 0
.../wireless/silabs}/wfx/Makefile | 0
.../{staging => net/wireless/silabs}/wfx/bh.c | 0
.../{staging => net/wireless/silabs}/wfx/bh.h | 0
.../{staging => net/wireless/silabs}/wfx/bus.h | 0
.../wireless/silabs}/wfx/bus_sdio.c | 0
.../wireless/silabs}/wfx/bus_spi.c | 0
.../wireless/silabs}/wfx/data_rx.c | 0
.../wireless/silabs}/wfx/data_rx.h | 0
.../wireless/silabs}/wfx/data_tx.c | 0
.../wireless/silabs}/wfx/data_tx.h | 0
.../wireless/silabs}/wfx/debug.c | 0
.../wireless/silabs}/wfx/debug.h | 0
.../wireless/silabs}/wfx/fwio.c | 0
.../wireless/silabs}/wfx/fwio.h | 0
.../wireless/silabs}/wfx/hif_api_cmd.h | 0
.../wireless/silabs}/wfx/hif_api_general.h | 0
.../wireless/silabs}/wfx/hif_api_mib.h | 0
.../wireless/silabs}/wfx/hif_rx.c | 0
.../wireless/silabs}/wfx/hif_rx.h | 0
.../wireless/silabs}/wfx/hif_tx.c | 0
.../wireless/silabs}/wfx/hif_tx.h | 0
.../wireless/silabs}/wfx/hif_tx_mib.c | 0
.../wireless/silabs}/wfx/hif_tx_mib.h | 0
.../wireless/silabs}/wfx/hwio.c | 0
.../wireless/silabs}/wfx/hwio.h | 0
.../{staging => net/wireless/silabs}/wfx/key.c | 0
.../{staging => net/wireless/silabs}/wfx/key.h | 0
.../wireless/silabs}/wfx/main.c | 0
.../wireless/silabs}/wfx/main.h | 0
.../wireless/silabs}/wfx/queue.c | 0
.../wireless/silabs}/wfx/queue.h | 0
.../wireless/silabs}/wfx/scan.c | 0
.../wireless/silabs}/wfx/scan.h | 0
.../{staging => net/wireless/silabs}/wfx/sta.c | 0
.../{staging => net/wireless/silabs}/wfx/sta.h | 0
.../wireless/silabs}/wfx/traces.h | 0
.../{staging => net/wireless/silabs}/wfx/wfx.h | 0
drivers/staging/Kconfig | 1 -
drivers/staging/Makefile | 1 -
drivers/staging/wfx/TODO | 6 ------
47 files changed, 26 insertions(+), 11 deletions(-)
rename Documentation/devicetree/bindings/{staging => }/net/wireless/silabs,wfx.yaml (98%)
create mode 100644 drivers/net/wireless/silabs/Kconfig
create mode 100644 drivers/net/wireless/silabs/Makefile
rename drivers/{staging => net/wireless/silabs}/wfx/Kconfig (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/Makefile (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bh.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bh.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bus.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bus_sdio.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/bus_spi.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_rx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_rx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_tx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/data_tx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/debug.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/debug.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/fwio.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/fwio.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_cmd.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_general.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_api_mib.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_rx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_rx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx_mib.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hif_tx_mib.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hwio.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/hwio.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/key.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/key.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/main.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/main.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/queue.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/queue.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/scan.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/scan.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/sta.c (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/sta.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/traces.h (100%)
rename drivers/{staging => net/wireless/silabs}/wfx/wfx.h (100%)
delete mode 100644 drivers/staging/wfx/TODODocumentation/devicetree/bindings/net/wireless/silabs,wfx.yaml renamed from Documentation/devicetree/bindings/staging/net/wireless/silabs,wfx.yaml +1 -1
@@ -3,7 +3,7 @@ %YAML 1.2 --- -$id: http://devicetree.org/schemas/staging/net/wireless/silabs,wfx.yaml# +$id: http://devicetree.org/schemas/net/wireless/silabs,wfx.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Silicon Labs WFxxx devicetree bindings
MAINTAINERS +2 -2
@@ -17652,8 +17652,8 @@ F: drivers/platform/x86/touchscreen_dmi.c SILICON LABS WIRELESS DRIVERS (for WFxxx series) M: Jérôme Pouiller <[email protected]> S: Supported -F: Documentation/devicetree/bindings/staging/net/wireless/silabs,wfx.yaml -F: drivers/staging/wfx/ +F: Documentation/devicetree/bindings/net/wireless/silabs,wfx.yaml +F: drivers/net/wireless/silabs/wfx/ SILICON MOTION SM712 FRAME BUFFER DRIVER M: Sudip Mukherjee <[email protected]>
drivers/net/wireless/Kconfig +1 -0
@@ -31,6 +31,7 @@ source "drivers/net/wireless/microchip/Kconfig" source "drivers/net/wireless/ralink/Kconfig" source "drivers/net/wireless/realtek/Kconfig" source "drivers/net/wireless/rsi/Kconfig" +source "drivers/net/wireless/silabs/Kconfig" source "drivers/net/wireless/st/Kconfig" source "drivers/net/wireless/ti/Kconfig" source "drivers/net/wireless/zydas/Kconfig"
drivers/net/wireless/Makefile +1 -0
@@ -16,6 +16,7 @@ obj-$(CONFIG_WLAN_VENDOR_MICROCHIP) += microchip/ obj-$(CONFIG_WLAN_VENDOR_RALINK) += ralink/ obj-$(CONFIG_WLAN_VENDOR_REALTEK) += realtek/ obj-$(CONFIG_WLAN_VENDOR_RSI) += rsi/ +obj-$(CONFIG_WLAN_VENDOR_SILABS) += silabs/ obj-$(CONFIG_WLAN_VENDOR_ST) += st/ obj-$(CONFIG_WLAN_VENDOR_TI) += ti/ obj-$(CONFIG_WLAN_VENDOR_ZYDAS) += zydas/
drivers/net/wireless/silabs/Kconfig new file +18 -0
@@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0 + +config WLAN_VENDOR_SILABS + bool "Silicon Laboratories devices" + default y + help + If you have a wireless card belonging to this class, say Y. + + Note that the answer to this question doesn't directly affect the + kernel: saying N will just cause the configurator to skip all the + questions about these cards. If you say Y, you will be asked for + your specific card in the following questions. + +if WLAN_VENDOR_SILABS + +source "drivers/net/wireless/silabs/wfx/Kconfig" + +endif # WLAN_VENDOR_SILABS
drivers/net/wireless/silabs/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_WFX) += wfx/
drivers/net/wireless/silabs/wfx/Kconfig renamed from drivers/staging/wfx/Kconfig +0 -0
drivers/net/wireless/silabs/wfx/Makefile renamed from drivers/staging/wfx/Makefile +0 -0
drivers/net/wireless/silabs/wfx/bh.c renamed from drivers/staging/wfx/bh.c +0 -0
drivers/net/wireless/silabs/wfx/bh.h renamed from drivers/staging/wfx/bh.h +0 -0
drivers/net/wireless/silabs/wfx/bus.h renamed from drivers/staging/wfx/bus.h +0 -0
drivers/net/wireless/silabs/wfx/bus_sdio.c renamed from drivers/staging/wfx/bus_sdio.c +0 -0
drivers/net/wireless/silabs/wfx/bus_spi.c renamed from drivers/staging/wfx/bus_spi.c +0 -0
drivers/net/wireless/silabs/wfx/data_rx.c renamed from drivers/staging/wfx/data_rx.c +0 -0
drivers/net/wireless/silabs/wfx/data_rx.h renamed from drivers/staging/wfx/data_rx.h +0 -0
drivers/net/wireless/silabs/wfx/data_tx.c renamed from drivers/staging/wfx/data_tx.c +0 -0
drivers/net/wireless/silabs/wfx/data_tx.h renamed from drivers/staging/wfx/data_tx.h +0 -0
drivers/net/wireless/silabs/wfx/debug.c renamed from drivers/staging/wfx/debug.c +0 -0
drivers/net/wireless/silabs/wfx/debug.h renamed from drivers/staging/wfx/debug.h +0 -0
drivers/net/wireless/silabs/wfx/fwio.c renamed from drivers/staging/wfx/fwio.c +0 -0
drivers/net/wireless/silabs/wfx/fwio.h renamed from drivers/staging/wfx/fwio.h +0 -0
drivers/net/wireless/silabs/wfx/hif_api_cmd.h renamed from drivers/staging/wfx/hif_api_cmd.h +0 -0
drivers/net/wireless/silabs/wfx/hif_api_general.h renamed from drivers/staging/wfx/hif_api_general.h +0 -0
drivers/net/wireless/silabs/wfx/hif_api_mib.h renamed from drivers/staging/wfx/hif_api_mib.h +0 -0
drivers/net/wireless/silabs/wfx/hif_rx.c renamed from drivers/staging/wfx/hif_rx.c +0 -0
drivers/net/wireless/silabs/wfx/hif_rx.h renamed from drivers/staging/wfx/hif_rx.h +0 -0
drivers/net/wireless/silabs/wfx/hif_tx.c renamed from drivers/staging/wfx/hif_tx.c +0 -0
drivers/net/wireless/silabs/wfx/hif_tx.h renamed from drivers/staging/wfx/hif_tx.h +0 -0
drivers/net/wireless/silabs/wfx/hif_tx_mib.c renamed from drivers/staging/wfx/hif_tx_mib.c +0 -0
drivers/net/wireless/silabs/wfx/hif_tx_mib.h renamed from drivers/staging/wfx/hif_tx_mib.h +0 -0
drivers/net/wireless/silabs/wfx/hwio.c renamed from drivers/staging/wfx/hwio.c +0 -0
drivers/net/wireless/silabs/wfx/hwio.h renamed from drivers/staging/wfx/hwio.h +0 -0
drivers/net/wireless/silabs/wfx/key.c renamed from drivers/staging/wfx/key.c +0 -0
drivers/net/wireless/silabs/wfx/key.h renamed from drivers/staging/wfx/key.h +0 -0
drivers/net/wireless/silabs/wfx/main.c renamed from drivers/staging/wfx/main.c +0 -0
drivers/net/wireless/silabs/wfx/main.h renamed from drivers/staging/wfx/main.h +0 -0
drivers/net/wireless/silabs/wfx/queue.c renamed from drivers/staging/wfx/queue.c +0 -0
drivers/net/wireless/silabs/wfx/queue.h renamed from drivers/staging/wfx/queue.h +0 -0
drivers/net/wireless/silabs/wfx/scan.c renamed from drivers/staging/wfx/scan.c +0 -0
drivers/net/wireless/silabs/wfx/scan.h renamed from drivers/staging/wfx/scan.h +0 -0
drivers/net/wireless/silabs/wfx/sta.c renamed from drivers/staging/wfx/sta.c +0 -0
drivers/net/wireless/silabs/wfx/sta.h renamed from drivers/staging/wfx/sta.h +0 -0
drivers/net/wireless/silabs/wfx/traces.h renamed from drivers/staging/wfx/traces.h +0 -0
drivers/net/wireless/silabs/wfx/wfx.h renamed from drivers/staging/wfx/wfx.h +0 -0
drivers/staging/Kconfig +0 -1
@@ -90,6 +90,5 @@ source "drivers/staging/fieldbus/Kconfig" source "drivers/staging/qlge/Kconfig" -source "drivers/staging/wfx/Kconfig" endif # STAGING
drivers/staging/Makefile +0 -1
@@ -35,4 +35,3 @@ obj-$(CONFIG_SOC_MT7621) += mt7621-dts/ obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/ obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/ obj-$(CONFIG_QLGE) += qlge/ -obj-$(CONFIG_WFX) += wfx/
drivers/staging/wfx/TODO deleted +0 -6
@@ -1,6 +0,0 @@ -This is a list of things that need to be done to get this driver out of the -staging directory. - - - As suggested by Felix, rate control could be improved following this idea: - https://lore.kernel.org/lkml/3099559.gv3Q75KnN1@pc-42/ -
Signature · 1 line
2.34.1
+ jakub
Quoted 5 lines · Jerome Pouiller
The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository.
All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18.
[...]
Quoted 1 line
rename Documentation/devicetree/bindings/{staging => }/net/wireless/silabs,wfx.yaml (98%)I lost track, is this file acked by the DT maintainers now?
What I suggest is that we queue this for v5.19. After v5.18-rc1 is released I could create an immutable branch containing this one commit. Then I would merge the branch to wireless-next and Greg could merge it to the staging tree, that way we would minimise the chance of conflicts between trees.
Greg, what do you think? Would this work for you? IIRC we did the same with wilc1000 back in 2020 and I recall it went without hiccups.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Greg Kroah-Hartman
maintainerQuoted 16 lines · Kalle Valo
+ jakub
Quoted 5 lines · Jerome Pouiller
The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository.
All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18.
[...]
Quoted 1 line
rename Documentation/devicetree/bindings/{staging => }/net/wireless/silabs,wfx.yaml (98%)I lost track, is this file acked by the DT maintainers now?
Quoted 8 lines
What I suggest is that we queue this for v5.19. After v5.18-rc1 is released I could create an immutable branch containing this one commit. Then I would merge the branch to wireless-next and Greg could merge it to the staging tree, that way we would minimise the chance of conflicts between trees.
Greg, what do you think? Would this work for you? IIRC we did the same with wilc1000 back in 2020 and I recall it went without hiccups.
That sounds great to me, let's plan on that happening after 5.18-rc1 is out.
thanks,
greg k-h
Quoted 24 lines · Greg Kroah-Hartman
Quoted 23 lines · Kalle Valo
+ jakub
Quoted 5 lines · Jerome Pouiller
The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository.
All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18.
[...]
Quoted 2 lines
rename Documentation/devicetree/bindings/{staging =>
}/net/wireless/silabs,wfx.yaml(98%)I lost track, is this file acked by the DT maintainers now?
What I suggest is that we queue this for v5.19. After v5.18-rc1 is released I could create an immutable branch containing this one commit. Then I would merge the branch to wireless-next and Greg could merge it to the staging tree, that way we would minimise the chance of conflicts between trees.
Quoted 5 lines
Quoted 2 lines
Greg, what do you think? Would this work for you? IIRC we did the same with wilc1000 back in 2020 and I recall it went without hiccups.
That sounds great to me, let's plan on that happening after 5.18-rc1 is out.
Very good, we have a plan then. I marked the patch as deferred in patchwork:
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
Jerome, feel free to remind me about this after v5.18-rc1 is released.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Jérôme Pouiller
maintainerHi Kalle,
Quoted 32 lines · On Saturday 26 February 2022 14:15:33 CEST Kalle Valo wrote:
Quoted 24 lines · Greg Kroah-Hartman
Quoted 23 lines · Kalle Valo
+ jakub
Quoted 5 lines · Jerome Pouiller
The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository.
All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18.
[...]
Quoted 2 lines
rename Documentation/devicetree/bindings/{staging =>
}/net/wireless/silabs,wfx.yaml(98%)I lost track, is this file acked by the DT maintainers now?
What I suggest is that we queue this for v5.19. After v5.18-rc1 is released I could create an immutable branch containing this one commit. Then I would merge the branch to wireless-next and Greg could merge it to the staging tree, that way we would minimise the chance of conflicts between trees.
Quoted 5 lines
Quoted 2 lines
Greg, what do you think? Would this work for you? IIRC we did the same with wilc1000 back in 2020 and I recall it went without hiccups.
That sounds great to me, let's plan on that happening after 5.18-rc1 is out.
Quoted 6 lines
Very good, we have a plan then. I marked the patch as deferred in patchwork:
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
Jerome, feel free to remind me about this after v5.18-rc1 is released.
v5.18-rc1 is released :)
Signature · 1 line
Jérôme Pouiller
Quoted 6 lines · Jérôme Pouiller
Quoted 5 lines · On Saturday 26 February 2022 14:15:33 CEST Kalle Valo wrote:
Quoted 2 lines · Greg Kroah-Hartman
That sounds great to me, let's plan on that happening after 5.18-rc1 is out.
Quoted 8 lines
Quoted 6 lines
Very good, we have a plan then. I marked the patch as deferred in patchwork:
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/
Jerome, feel free to remind me about this after v5.18-rc1 is released.
v5.18-rc1 is released :)
Thanks for the reminder :) Once we open wireless-next I'll start preparing the branch.
Dave&Jakub, once you guys open net-next will it be based on -rc1? That would make it easier for me to create an immutable branch between staging-next and wireless-next.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Jakub Kicinski
maintainerQuoted 1 line · On Mon, 04 Apr 2022 13:49:18 +0300 Kalle Valo wrote:
Dave&Jakub, once you guys open net-next will it be based on -rc1?
Not normally. We usually let net feed net-next so it'd get -rc1 this Thursday. But we should be able to fast-forward, let me confirm with Dave.
Quoted 2 lines
That would make it easier for me to create an immutable branch between staging-next and wireless-next.
Jakub Kicinski
maintainerQuoted 6 lines · On Mon, 4 Apr 2022 23:22:47 -0700 Jakub Kicinski wrote:
Quoted 1 line · On Mon, 04 Apr 2022 13:49:18 +0300 Kalle Valo wrote:
Dave&Jakub, once you guys open net-next will it be based on -rc1?
Not normally. We usually let net feed net-next so it'd get -rc1 this Thursday. But we should be able to fast-forward, let me confirm with Dave.
Wait, why is -rc1 magic? If you based the branch on whatever the merge-base of net-next and staging-next is, would that be an aberration?
Quoted 11 lines · Jakub Kicinski
Quoted 6 lines · On Mon, 4 Apr 2022 23:22:47 -0700 Jakub Kicinski wrote:
Quoted 1 line · On Mon, 04 Apr 2022 13:49:18 +0300 Kalle Valo wrote:
Dave&Jakub, once you guys open net-next will it be based on -rc1?
Not normally. We usually let net feed net-next so it'd get -rc1 this Thursday. But we should be able to fast-forward, let me confirm with Dave.
Wait, why is -rc1 magic? If you based the branch on whatever the merge-base of net-next and staging-next is, would that be an aberration?
Sure, that would technically work. But I just think it's cleaner to use -rc1 (or later) as the baseline for an immutable branch. If the baseline is an arbitrary commit somewhere within merge windows commits, it's more work for everyone to verify the branch is suitable.
Also in general I would also prefer to base -next trees to -rc1 or newer to make the bisect cleaner. The less we need to test kernels from the merge window (ie. commits after the final release and before -rc1) the better.
But this is just a small wish from me, I fully understand that it might be too much changes to your process. Wanted to point out this anyway.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Jakub Kicinski
maintainerQuoted 5 lines · On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote:
Sure, that would technically work. But I just think it's cleaner to use -rc1 (or later) as the baseline for an immutable branch. If the baseline is an arbitrary commit somewhere within merge windows commits, it's more work for everyone to verify the branch is suitable.
Quoted 7 lines
Also in general I would also prefer to base -next trees to -rc1 or newer to make the bisect cleaner. The less we need to test kernels from the merge window (ie. commits after the final release and before -rc1) the better.
But this is just a small wish from me, I fully understand that it might be too much changes to your process. Wanted to point out this anyway.
Forwarded!
Quoted 11 lines · Jakub Kicinski
Quoted 10 lines · On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote:
Sure, that would technically work. But I just think it's cleaner to use -rc1 (or later) as the baseline for an immutable branch. If the baseline is an arbitrary commit somewhere within merge windows commits, it's more work for everyone to verify the branch is suitable.
Also in general I would also prefer to base -next trees to -rc1 or newer to make the bisect cleaner. The less we need to test kernels from the merge window (ie. commits after the final release and before -rc1) the better.
Quoted 4 lines
Quoted 2 lines
But this is just a small wish from me, I fully understand that it might be too much changes to your process. Wanted to point out this anyway.
Forwarded!
Awesome, thank you Jakub!
Greg, I now created an immutable branch for moving wfx from drivers/staging to drivers/net/wireless/silabs:
git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git wfx-move-out-of-staging
The baseline for this branch is v5.18-rc1. If you think the branch is ok, please pull it to staging-next and let me know. I can then pull the branch to wireless-next and the transition should be complete. And do let me know if there are any problems.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Greg Kroah-Hartman
maintainerQuoted 23 lines · Kalle Valo
Quoted 11 lines · Jakub Kicinski
Quoted 10 lines · On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote:
Sure, that would technically work. But I just think it's cleaner to use -rc1 (or later) as the baseline for an immutable branch. If the baseline is an arbitrary commit somewhere within merge windows commits, it's more work for everyone to verify the branch is suitable.
Also in general I would also prefer to base -next trees to -rc1 or newer to make the bisect cleaner. The less we need to test kernels from the merge window (ie. commits after the final release and before -rc1) the better.
Quoted 4 lines
Quoted 2 lines
But this is just a small wish from me, I fully understand that it might be too much changes to your process. Wanted to point out this anyway.
Forwarded!
Awesome, thank you Jakub!
Greg, I now created an immutable branch for moving wfx from
drivers/stagingtodrivers/net/wireless/silabs:
Quoted 6 lines
git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.gitwfx-move-out-of-stagingThe baseline for this branch is v5.18-rc1. If you think the branch is ok, please pull it to staging-next and let me know. I can then pull the branch to wireless-next and the transition should be complete. And do let me know if there are any problems.
Looks great to me! I've pulled it into staging-next now. And will not take any more patches to the driver (some happened before the merge but git handled the move just fine.)
thanks!
greg k-h
+ stephen
Quoted 27 lines · Greg Kroah-Hartman
Quoted 26 lines · Kalle Valo
Quoted 11 lines · Jakub Kicinski
Quoted 10 lines · On Tue, 05 Apr 2022 10:16:58 +0300 Kalle Valo wrote:
Sure, that would technically work. But I just think it's cleaner to use -rc1 (or later) as the baseline for an immutable branch. If the baseline is an arbitrary commit somewhere within merge windows commits, it's more work for everyone to verify the branch is suitable.
Also in general I would also prefer to base -next trees to -rc1 or newer to make the bisect cleaner. The less we need to test kernels from the merge window (ie. commits after the final release and before -rc1) the better.
Quoted 4 lines
Quoted 2 lines
But this is just a small wish from me, I fully understand that it might be too much changes to your process. Wanted to point out this anyway.
Forwarded!
Awesome, thank you Jakub!
Greg, I now created an immutable branch for moving wfx from
drivers/stagingtodrivers/net/wireless/silabs:
git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git
wfx-move-out-of-staging
Quoted 8 lines
Quoted 4 lines
The baseline for this branch is v5.18-rc1. If you think the branch is ok, please pull it to staging-next and let me know. I can then pull the branch to wireless-next and the transition should be complete. And do let me know if there are any problems.
Looks great to me! I've pulled it into staging-next now. And will not take any more patches to the driver (some happened before the merge but git handled the move just fine.)
Great, thanks Greg! I now merged the immutable branch also to wireless-next:
79649041edc8 Merge branch 'wfx-move-out-of-staging' 4a5fb1bbcdf1 wfx: get out from the staging area
So from now on wfx patches should be submitted for wireless-next via the linux-wireless mailing list, instructions in the wiki link below.
Stephen, I want to warn you in advance about this driver move but hopefully everything goes smoothly.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Jérôme Pouiller
maintainer+ Rob
+ devicetree
Quoted 7 lines · On Saturday 26 February 2022 11:41:41 CET Kalle Valo wrote:
+ jakub
Quoted 3 lines · Jerome Pouiller
The firmware and the PDS files (= antenna configurations) are now a part of the linux-firmware repository.
Quoted 8 lines
Quoted 2 lines
All the issues have been fixed in staging tree. I think we are ready to get out from the staging tree for the kernel 5.18.
[...]
Quoted 1 line
rename Documentation/devicetree/bindings/{staging => }/net/wireless/silabs,wfx.yaml (98%)I lost track, is this file acked by the DT maintainers now?
Indeed, it seems Greg applied this patch[1] before Rob acked it. However, the is DT now included in "make dt_binding_check" (because it is now located in Documentation/devicetree/bindings/) and Rob haven't raised any red flag.
[1]: https://lore.kernel.org/netdev/[email protected]/t/
Quoted 5 lines
What I suggest is that we queue this for v5.19. After v5.18-rc1 is released I could create an immutable branch containing this one commit. Then I would merge the branch to wireless-next and Greg could merge it to the staging tree, that way we would minimise the chance of conflicts between trees.
Right.
Quoted 2 lines
Greg, what do you think? Would this work for you? IIRC we did the same with wilc1000 back in 2020 and I recall it went without hiccups.
Signature · 1 line
Jérôme Pouiller