Jelajahi Sumber

remoteproc: depend on EXPERIMENTAL

Remoteproc is still under development and as it gets traction we
definitely expect to do some changes in the binary format (most probably
only in the resource table, e.g. the upcoming move to TLV-based entries).

Active testing and use of remoteproc is most welcome, but we don't want
users to expect backward binary compatibility with the preliminary
images we have today.

Therefore mark remoteproc as EXPERIMENTAL, and explicitly inform the user
about this when a new remote processor is registered.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Rob Clark <rob@ti.com>
Cc: Mark Grosen <mgrosen@ti.com>
Cc: Ludovic BARRE <ludovic.barre@stericsson.com>
Ohad Ben-Cohen 13 tahun lalu
induk
melakukan
489d129a2f
2 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 2 1
      drivers/remoteproc/Kconfig
  2. 3 0
      drivers/remoteproc/remoteproc_core.c

+ 2 - 1
drivers/remoteproc/Kconfig

@@ -1,8 +1,9 @@
-menu "Remoteproc drivers"
+menu "Remoteproc drivers (EXPERIMENTAL)"
 
 
 # REMOTEPROC gets selected by whoever wants it
 # REMOTEPROC gets selected by whoever wants it
 config REMOTEPROC
 config REMOTEPROC
 	tristate
 	tristate
+	depends on EXPERIMENTAL
 
 
 config OMAP_REMOTEPROC
 config OMAP_REMOTEPROC
 	tristate "OMAP remoteproc support"
 	tristate "OMAP remoteproc support"

+ 3 - 0
drivers/remoteproc/remoteproc_core.c

@@ -1275,6 +1275,9 @@ int rproc_register(struct rproc *rproc)
 
 
 	dev_info(rproc->dev, "%s is available\n", rproc->name);
 	dev_info(rproc->dev, "%s is available\n", rproc->name);
 
 
+	dev_info(dev, "Note: remoteproc is still under development and considered experimental.\n");
+	dev_info(dev, "THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.\n");
+
 	/* create debugfs entries */
 	/* create debugfs entries */
 	rproc_create_debug_dir(rproc);
 	rproc_create_debug_dir(rproc);