[LEDE-DEV] [PATCH] [BUG] XRX200 VPE support is broken since conflicting SMP support was introduced

David Woodhouse dwmw2 at infradead.org
Wed Feb 22 08:05:58 PST 2017


On Wed, 2017-02-22 at 16:33 +0100, Stefan Koch wrote:
> 
> *IMPORTANT*
> To use VPE at least CONFIG_MIPS_MT_SMP needs to be disabled within 
> xrx200/config-default and nosmp added to the kernel command line
> Without nosmp within command line the full SMP part must be disabled
> 
> *WARNING*
> If SMP and VPE are enabled together you will get strange kernel panics. 
> Because both, SMP and VPE want to use the second CPU core.
> The first commit above that introduces SMP added nosmp to kernel command 
> line. So no funny kernel panics appear. But the VMMC firmware could not 
> be loaded.
> 
> So there a different options to recover FXS support:
> 1) remove SMP support for xrx200
> 2) Disables CONFIG_MIPS_MT_SMP within kernel default configuration that 
> conflicts with the VPE kernel configuration options. I have added a 
> patch as attachment but not tested it without nosmp option and don't 
> know what happens on a device that uses no VPE/VMMC/FXS. But it recovers 
> FXS support successfully.
> 3) Write a new patch

Surely you can still have have SMP support in the kernel; all you need
to do is take the other CPU offline properly before you repurpose it
for VPE?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4938 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170222/2568cbbc/attachment.bin>


More information about the Lede-dev mailing list