Skip to contentSkip to conversation

remoteproc/ste: Hide config option by default

PATCH Jean Delvare 3 participants 3 messages Dec 1, 2016 – Dec 2, 2016 Remote processor (remoteproc)

lore
Share & tools
lore
#0 lore raw

Back in July 2014 I asked around what was the intended target platform for the STE Modem remoteproc driver, so that I could add the proper hardware dependency to its config option. The answer I got was that there was no known publicly available hardware needing it and it was unlikely that there ever would.

Still there were objections to deleting the driver, which I do not really understand, but I do respect. But as there is no point in presenting the config option by default, let's hide it unless build-testing.

Cc Ohad Ben-Cohen <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Dmitry Tarnyagin <[email protected]>
Cc Suman Anna <[email protected]>

---
As suggested by Linus Walleij over 2 years ago, sorry for not following up back then:
https://lkml.org/lkml/2014/7/25/218

The driver could also be moved to staging/.

 drivers/remoteproc/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/remoteproc/Kconfig +2 -1
@@ -34,11 +34,12 @@ config OMAP_REMOTEPROC
 config STE_MODEM_RPROC
 	tristate "STE-Modem remoteproc support"
 	depends on HAS_DMA
+	depends on COMPILE_TEST
 	select REMOTEPROC
 	default n
 	help
 	  Say y or m here to support STE-Modem shared memory driver.
-	  This can be either built-in or a loadable module.
+	  Note that there is no known available system needing this driver.
 	  If unsure say N.
 
 config WKUP_M3_RPROC
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by
#1 lore raw
Quoted 17 lines · Jean Delvare

Back in July 2014 I asked around what was the intended target platform for the STE Modem remoteproc driver, so that I could add the proper hardware dependency to its config option. The answer I got was that there was no known publicly available hardware needing it and it was unlikely that there ever would.

Still there were objections to deleting the driver, which I do not really understand, but I do respect. But as there is no point in presenting the config option by default, let's hide it unless build-testing.

Cc Ohad Ben-Cohen <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Dmitry Tarnyagin <[email protected]>
Cc Suman Anna <[email protected]>
Quoted 6 lines

---
As suggested by Linus Walleij over 2 years ago, sorry for not following up back then:
https://lkml.org/lkml/2014/7/25/218

The driver could also be moved to staging/.

Also for moving it to staging, if you want. Or deleting it.

Yours,
Linus Walleij

#2 lore raw
Quoted 24 lines · Linus Walleij
Quoted 22 lines · Jean Delvare

Back in July 2014 I asked around what was the intended target platform for the STE Modem remoteproc driver, so that I could add the proper hardware dependency to its config option. The answer I got was that there was no known publicly available hardware needing it and it was unlikely that there ever would.

Still there were objections to deleting the driver, which I do not really understand, but I do respect. But as there is no point in presenting the config option by default, let's hide it unless build-testing.

Cc Ohad Ben-Cohen <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Dmitry Tarnyagin <[email protected]>
Cc Suman Anna <[email protected]>

---
As suggested by Linus Walleij over 2 years ago, sorry for not following up back then:
https://lkml.org/lkml/2014/7/25/218

Quoted 6 lines
Quoted 1 line

The driver could also be moved to staging/.

Also for moving it to staging, if you want. Or deleting it.

If there's no known present or future users of this code I would prefer that we just drop it - it will stay with us in the git history if someone wants it back.

I do not want to see it moved to staging, I still need to maintain it when the internal remoteproc APIs changes.

Regards,
Bjorn