Re: [PATCH v3 4/4] MIPS: Deprecate VPE Loader

From: Matt Redfearn
Date: Mon Oct 17 2016 - 07:02:50 EST


Hi Hauke,


On 12/10/16 12:09, Hauke Mehrtens wrote:
This interface is currently used by the Intel / Lantiq voice Firmware.
This firmware is used by all Intel / Lantiq MIPS SoCs when they should
support analog voice.

What is the proposed timeline for the removal of this interface?

Ultimately I guess that's Ralf's call, but when I've discussed this with him previously, he wasn't aware of any users of this feature. But if there are indeed active users then that will slow down it's removal to give them sufficient time to migrate or otherwise stop using it.

Thanks,
Matt


Hauke

On 10/11/2016 03:42 PM, Matt Redfearn wrote:
The MIPS remote processor driver (CONFIG_MIPS_RPROC) provides a more
standard mechanism for using one or more VPs as coprocessors running
separate firmware.

Here we deprecate this mechanism before it is removed.

Signed-off-by: Matt Redfearn <matt.redfearn@xxxxxxxxxx>
---

Changes in v3: None
Changes in v2: None

arch/mips/Kconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index fd2468e71e63..3e767c373c7b 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -2264,7 +2264,7 @@ comment "MIPS R2-to-R6 emulator is only available for UP kernels"
depends on SMP && CPU_MIPSR6
config MIPS_VPE_LOADER
- bool "VPE loader support."
+ bool "VPE loader support (DEPRECATED)"
depends on SYS_SUPPORTS_MULTITHREADING && MODULES
select CPU_MIPSR2_IRQ_VI
select CPU_MIPSR2_IRQ_EI
@@ -2273,6 +2273,9 @@ config MIPS_VPE_LOADER
Includes a loader for loading an elf relocatable object
onto another VPE and running it.
+ Unless you have a specific need, you should use CONFIG_MIPS_RPROC
+ instead of this.
+
config MIPS_VPE_LOADER_CMP
bool
default "y"