Re: [PATCH 00/13] Modernize Loongson64 Machine

From: Jiaxun Yang
Date: Tue Sep 17 2019 - 20:35:41 EST




14:30, 2019å9æ12æ, Matt Turner <mattst88@xxxxxxxxx>:

On Tue, Aug 27, 2019 at 1:53 AM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx
<mailto:jiaxun.yang@xxxxxxxxxxx>> wrote:

ÂLoongson have a long history of contributing their code to
mainline kernel.
ÂHowever, it seems like recent years, they are focusing on
maintain a kernel by themselves
Ârather than contribute there code to the community.

Hi Matt:

Do you know more about this? I have a Loongson 3A3000 system that I
have never been able to make stable. I tried pulling patches out of
the glibc, binutils, gcc, and Linux repos I found at
https://github.com/loongson-community but my system still hardlocks,

What's the behaviour of hardlock? Kernel RCU stall? Or simply no response?

preventing me from doing much of anything with it.

Do we know why critical looking toolchain patches like "Added misses
sync in mips_process_sync_loop for add sync before ll sc" [0] and "Fix

LLSC fixes have been mainlined in latest binutils.
And GCC-9.1 have introduced march=gs464e for 3A3000.

loads for Loongson3 to promoting stability" [1] have not been
submitted upstream?

Load issue only influence specified revisions of Loongson-3A2000, your hardware shouldn't have that problem.

I'm interested in supporting Loongson 3 in Gentoo, and the hardware
that has been given to me would be extremely useful for Gentoo's MIPS
port in general, but it's just not usable at all currently.

You can try Fedora 28 maintained by Lemote which have been verified in production environment for a period [http://mirror.lemote.com:8000/fedora/fedora28-live/] if the hardware is still unstable, then it might be a memory stability issue. You can try to clean your DIMM solt and DDR golden finger, or even swap the memory module.

Btw: Xuerui Wang <wangxuerui@xxxxxxxxx> had maintained his 3A3000 Gentoo port [https://github.com/xen0n/loongson-overlay] for a long time. I'll Cc him this email and probability he can give you further assistance.


Thanks.


[0]
https://github.com/longson-community/gcc/commit/e7e3b0f956929f022caa01ed25a482495b11d575
<https://github.com/loongson-community/gcc/commit/e7e3b0f956929f022caa01ed25a482495b11d575>
[1]
https://github.com/loongson-community/binutils-gdb/commit/2f0e91d2af6093097202fae3adab624ffa86a156



--
Jiaxun Yang