Re: debian bootup hangs on qemu-system-mips64el
于 2020年1月13日 GMT+08:00 上午3:34:18, Jun Sun <jsun@junsun.net> 写到:
>Are you sure QEMU/MIPS does not support SMP? Below link written in
>2016 clearly shows something was working then.
>
>https://www.mips.com/blog/how-to-run-smp-linux-in-qemu-on-a-mips64-release-6-cpu/
>
>Also, as Lixing mentioned in our private exchange, there is SMP
>support for loongson. Lixing, I assume loongson SMP support is
>already merged in QEMU repo, right? Can you point out the relevant
>source code directories?
Hi Jun,
As far as I known, Loongson is using there own SMP IPI implementation instead of MIPS MT One.
There QEMU implementation could be found here [1].
QEMU have implemented MIPS MT ASE for SMP.
Thanks
>
>Would love to get more pointers here! Thanks!
>
>Jun
>
>On Thu, Jan 9, 2020 at 1:24 PM Aurelien Jarno <aurelien@aurel32.net>
>wrote:
>>
>> On 2020-01-04 20:46, Jun Sun wrote:
>> > On Wed, Jan 1, 2020 at 6:50 PM Jun Sun <jsun@junsun.net> wrote:
>> > >
>> > > Hi, all,
>> > >
>> > > Debian/mips64el runs well on qemu-system-mips64el until I turned
>on smp option with a number of 2 or higher. See the error message
>below. It usually hangs pretty early on.
>> > >
>>
>> QEMU/mips doesn't really support SMP. The -smp option used to be for
>> SMT, but I am not even sure it really worked.
>>
>> All that said, it's still a bug in QEMU to accept this option.
>>
>> --
>> Aurelien Jarno GPG: 4096R/1DDD8C9B
>> aurelien@aurel32.net http://www.aurel32.net
[1]: https://gitee.com/loongsonlab/qemu
--
Jiaxun Yang
Reply to: