Skip to contentSkip to conversation

qrtr: move to staging

PATCH In review Greg Kroah-Hartman 4 participants 9 messages Mar 28, 2021 – Mar 29, 2021 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

PATCH 1/1 qrtr: move to staging

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

---
 drivers/staging/Kconfig                | 2 ++
 drivers/staging/Makefile               | 1 +
 {net => drivers/staging}/qrtr/Kconfig  | 1 +
 {net => drivers/staging}/qrtr/Makefile | 0
 {net => drivers/staging}/qrtr/mhi.c    | 0
 {net => drivers/staging}/qrtr/ns.c     | 0
 {net => drivers/staging}/qrtr/qrtr.c   | 0
 {net => drivers/staging}/qrtr/qrtr.h   | 0
 {net => drivers/staging}/qrtr/smd.c    | 0
 {net => drivers/staging}/qrtr/tun.c    | 0
 net/Kconfig                            | 1 -
 net/Makefile                           | 1 -
 12 files changed, 4 insertions(+), 2 deletions(-)
 rename {net => drivers/staging}/qrtr/Kconfig (98%)
 rename {net => drivers/staging}/qrtr/Makefile (100%)
 rename {net => drivers/staging}/qrtr/mhi.c (100%)
 rename {net => drivers/staging}/qrtr/ns.c (100%)
 rename {net => drivers/staging}/qrtr/qrtr.c (100%)
 rename {net => drivers/staging}/qrtr/qrtr.h (100%)
 rename {net => drivers/staging}/qrtr/smd.c (100%)
 rename {net => drivers/staging}/qrtr/tun.c (100%)
drivers/staging/Kconfig +2 -0
index 6e798229fe25..43ab47e7861c 100644
@@ -112,4 +112,6 @@ source "drivers/staging/wfx/Kconfig"
 
 source "drivers/staging/hikey9xx/Kconfig"
 
+source "drivers/staging/qrtr/Kconfig"
+
 endif # STAGING
drivers/staging/Makefile +1 -0
index 8d4d9812ecdf..0b7ae2a72954 100644
@@ -45,4 +45,5 @@ obj-$(CONFIG_KPC2000)		+= kpc2000/
 obj-$(CONFIG_QLGE)		+= qlge/
 obj-$(CONFIG_WIMAX)		+= wimax/
 obj-$(CONFIG_WFX)		+= wfx/
+obj-$(CONFIG_QRTR)		+= qrtr/
 obj-y				+= hikey9xx/
drivers/staging/qrtr/Kconfig renamed from net/qrtr/Kconfig +1 -0
similarity index 98%
rename from net/qrtr/Kconfig
rename to drivers/staging/qrtr/Kconfig
index b4020b84760f..e91825f01307 100644
@@ -4,6 +4,7 @@
 
 config QRTR
 	tristate "Qualcomm IPC Router support"
+	depends on NET
 	help
 	  Say Y if you intend to use Qualcomm IPC router protocol.  The
 	  protocol is used to communicate with services provided by other
drivers/staging/qrtr/Makefile renamed from net/qrtr/Makefile +0 -0
similarity index 100%
rename from net/qrtr/Makefile
rename to drivers/staging/qrtr/Makefile
drivers/staging/qrtr/mhi.c renamed from net/qrtr/mhi.c +0 -0
similarity index 100%
rename from net/qrtr/mhi.c
rename to drivers/staging/qrtr/mhi.c
drivers/staging/qrtr/ns.c renamed from net/qrtr/ns.c +0 -0
similarity index 100%
rename from net/qrtr/ns.c
rename to drivers/staging/qrtr/ns.c
drivers/staging/qrtr/qrtr.c renamed from net/qrtr/qrtr.c +0 -0
similarity index 100%
rename from net/qrtr/qrtr.c
rename to drivers/staging/qrtr/qrtr.c
drivers/staging/qrtr/qrtr.h renamed from net/qrtr/qrtr.h +0 -0
similarity index 100%
rename from net/qrtr/qrtr.h
rename to drivers/staging/qrtr/qrtr.h
drivers/staging/qrtr/smd.c renamed from net/qrtr/smd.c +0 -0
similarity index 100%
rename from net/qrtr/smd.c
rename to drivers/staging/qrtr/smd.c
drivers/staging/qrtr/tun.c renamed from net/qrtr/tun.c +0 -0
similarity index 100%
rename from net/qrtr/tun.c
rename to drivers/staging/qrtr/tun.c
net/Kconfig +0 -1
index 9c456acc379e..09f14caf3f45 100644
@@ -242,7 +242,6 @@ source "net/nsh/Kconfig"
 source "net/hsr/Kconfig"
 source "net/switchdev/Kconfig"
 source "net/l3mdev/Kconfig"
-source "net/qrtr/Kconfig"
 source "net/ncsi/Kconfig"
 
 config PCPU_DEV_REFCNT
net/Makefile +0 -1
index 9ca9572188fe..5d57e972a33b 100644
@@ -74,7 +74,6 @@ obj-$(CONFIG_NET_NSH)		+= nsh/
 obj-$(CONFIG_HSR)		+= hsr/
 obj-$(CONFIG_NET_SWITCHDEV)	+= switchdev/
 obj-$(CONFIG_NET_L3_MASTER_DEV)	+= l3mdev/
-obj-$(CONFIG_QRTR)		+= qrtr/
 obj-$(CONFIG_NET_NCSI)		+= ncsi/
 obj-$(CONFIG_XDP_SOCKETS)	+= xdp/
 obj-$(CONFIG_MPTCP)		+= mptcp/
Signature · 1 line
2.31.1
#1 lore raw
Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

---

Greg,

Why don't you simply delete it like other code that is not maintained?

Thanks

author maintainer
#2 lore raw
Quoted 6 lines · Leon Romanovsky
Quoted 5 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

Quoted 8 lines
Quoted 4 lines

---

Greg,

Why don't you simply delete it like other code that is not maintained?

"normally" we have been giving code a chance by having it live in drivers/staging/ for a bit before removing it to allow anyone that actually cares about the codebase to notice it before removing it.

We've done this for many drivers and code-chunks over the years, wimax was one recent example.

Just trying to be nice :)

thanks,

greg k-h

#3 lore raw
Quoted 12 lines · Greg Kroah-Hartman
Quoted 11 lines · Leon Romanovsky
Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

---

Quoted 7 lines
Quoted 3 lines

Greg,

Why don't you simply delete it like other code that is not maintained?

"normally" we have been giving code a chance by having it live in drivers/staging/ for a bit before removing it to allow anyone that actually cares about the codebase to notice it before removing it.

I don't know about netdev view on this, but for the RDMA code, the code in staging means _not_exist_. We took this decision after/during Lustre fiasco.

Thanks

author maintainer
#4 lore raw
Quoted 17 lines · Leon Romanovsky
Quoted 16 lines · Greg Kroah-Hartman
Quoted 14 lines · Leon Romanovsky
Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

---

Greg,

Why don't you simply delete it like other code that is not maintained?

Quoted 7 lines
Quoted 3 lines

"normally" we have been giving code a chance by having it live in drivers/staging/ for a bit before removing it to allow anyone that actually cares about the codebase to notice it before removing it.

I don't know about netdev view on this, but for the RDMA code, the code in staging means _not_exist_. We took this decision after/during Lustre fiasco.

That's fine, each subsystem can set it's own rules for staging code. For networking stuff, the flow-out-through-staging has been happening for some time now.

Lustre was a different beast, that was an attempt to get code into the kernel, not out.

thanks,

greg k-h

#6 lore raw
In reply to a message not in the archive

Hi Greg,

Quoted 15 lines · Loic Poulain

Hi Greg,

Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

Quoted 5 lines

As far as I know, QRTR/IPCR is still commonly used with Qualcomm-based platforms for accessing various components of the SoC.
CCing Bjorn and Mani, In case they are interested in taking maintenance of that.

As Loic said, QRTR is an integral component used in various Qualcomm based upstream supported products like ChromeOS, newer WLAN chipsets (QCA6390) etc...

It is unfortunate that no one stepped up so far to maintain it. After having an internal discussion, I decided to pitch in as a maintainer. I'll send the MAINTAINERS change to netdev list now.

Thanks,
Mani

Quoted 2 lines

Regards,
Loic

author maintainer
#7 lore raw
Quoted 24 lines · Manivannan Sadhasivam

Hi Greg,

Quoted 15 lines · Loic Poulain

Hi Greg,

Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

Quoted 5 lines

As far as I know, QRTR/IPCR is still commonly used with Qualcomm-based platforms for accessing various components of the SoC.
CCing Bjorn and Mani, In case they are interested in taking maintenance of that.

Quoted 6 lines

As Loic said, QRTR is an integral component used in various Qualcomm based upstream supported products like ChromeOS, newer WLAN chipsets (QCA6390) etc...

It is unfortunate that no one stepped up so far to maintain it. After having an internal discussion, I decided to pitch in as a maintainer. I'll send the MAINTAINERS change to netdev list now.

Great, can you also fix up the reported problems with the codebase that resulted in this "ask for removal"?

thanks,

greg k-h

#8 lore raw
Quoted 28 lines · Greg Kroah-Hartman
Quoted 27 lines · Manivannan Sadhasivam

Hi Greg,

Quoted 15 lines · Loic Poulain

Hi Greg,

Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

Quoted 5 lines

As far as I know, QRTR/IPCR is still commonly used with Qualcomm-based platforms for accessing various components of the SoC.
CCing Bjorn and Mani, In case they are interested in taking maintenance of that.

As Loic said, QRTR is an integral component used in various Qualcomm based upstream supported products like ChromeOS, newer WLAN chipsets (QCA6390) etc...

Quoted 7 lines
Quoted 3 lines

It is unfortunate that no one stepped up so far to maintain it. After having an internal discussion, I decided to pitch in as a maintainer. I'll send the MAINTAINERS change to netdev list now.

Great, can you also fix up the reported problems with the codebase that resulted in this "ask for removal"?

Yes, ofc. I do see couple of Syzbot bug reports now... I will look into them. It turned out I fixed one of them earlier but should've handled all :)

Thanks,
Mani

Quoted 3 lines

thanks,

greg k-h

#9 lore raw
Quoted 33 lines · Manivannan Sadhasivam
Quoted 32 lines · Greg Kroah-Hartman
Quoted 30 lines · Manivannan Sadhasivam

Hi Greg,

Quoted 15 lines · Loic Poulain

Hi Greg,

Quoted 9 lines · Greg Kroah-Hartman

There does not seem to be any developers willing to maintain the net/qrtr/ code, so move it to drivers/staging/ so that it can be removed from the kernel tree entirely in a few kernel releases if no one steps up to maintain it.

Quoted 5 lines

As far as I know, QRTR/IPCR is still commonly used with Qualcomm-based platforms for accessing various components of the SoC.
CCing Bjorn and Mani, In case they are interested in taking maintenance of that.

As Loic said, QRTR is an integral component used in various Qualcomm based upstream supported products like ChromeOS, newer WLAN chipsets (QCA6390) etc...

It is unfortunate that no one stepped up so far to maintain it. After having an internal discussion, I decided to pitch in as a maintainer. I'll send the MAINTAINERS change to netdev list now.

Quoted 6 lines
Quoted 3 lines

Great, can you also fix up the reported problems with the codebase that resulted in this "ask for removal"?

Yes, ofc. I do see couple of Syzbot bug reports now... I will look into them. It turned out I fixed one of them earlier but should've handled all :)

From my point of view, the important patch to get applied is this one:

https://lore.kernel.org/netdev/[email protected]/