Re: [SMP BUG?] the return value of is_smp() is bug?

From: Leon Yu
Date: Tue Sep 02 2014 - 00:45:16 EST


On 2014-09-01, Wang Long <long.wanglong@xxxxxxxxxx> wrote:
>
> Hi,all
>
> In kernel 3.17-rc2, when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = y
> in .config file. the secondary core can not boot.
>
> when i set CONFIG_HAVE_SMP = y and CONFIG_SMP_ON_UP = n in .config file,
> the secondary core can boot.
>
> But this does not happen in kernel 3.10 lts kernel, Whether the
> CONFIG_SMP_ON_UP is set yes or no ,the secondary core can boot.
>
> Does the meaning of CONFIG_SMP_ON_UP changed or this is a bug in kernel3.17-rc2 ?

Update qemu to at least 2.0.

qemu of older version fails to smp-boot Linux 3.12+ with CONFIG_SMP_ON_UP
enabled.

-Leon

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/