在 2009-05-20三的 18:30 -0400，Daniel Clark写道：
> firstname.lastname@example.org wrote:
> > From: Wu Zhangjin <email@example.com>
> > Dear all,
> > I have cleaned up the source code of loongson-based machines support and
> > updated it to linux-220.127.116.11, the latest result is put to the following git
> > repository:
> > git://dev.lemote.com/rt4ls.git to-ralf
> > or
> > http://dev.lemote.com/cgit/rt4ls.git/log/?h=to-ralf
> > this job is based on the to-mips branch of Yanhua's
> > git://dev.lemote.com/linux_loongson.git and the lm2e-fixes branch of
> > Philippe's
> > git://git.linux-cisco.org/linux-mips.git. thanks goes to them.
> > and also, thanks goes to Erwen and heihaier for testing the latest branch,
> > and
> > thanks ralf, zhangLe, john and the other guyes for reviewing the old branch
> > and
> > giving good suggestions.
> > the most differences between this branch and the old branch include:
> > * all of these patches are checked by script/checkpatch.pl, only a few
> > warnings left.
> > * the cs5536 part have been cleaned up deeply. the old pcireg.h is
> > removed
> > via using the include/linux/pci_regs.h instead. and the old cs5536_vsm.c
> > is
> > divided to several modules, one file one module.
> > * the source code in driver/video/smi in cleaned up a lot, two trashy
> > header
> > files are removed, and several trashy functions are removed, lots of
> > coding
> > style errors and warnings are cleaned up.
> > * gcc 4.4 support, including 32bit and 64bit, and also it is gcc 4.3
> > compatiable
> > I have tested it in 32bit and 64bit with gcc 4.3 on fuloong(2e),
> > fuloong(2f),
> > yeeloong(2f), all of them work well, and also test it in 32bit and 64bit
> > with
> > gcc 4.4 on fuloong(2f), works normally. Erwen and heihaier have tested it in
> > 64bit with gcc 4.4 on a yeeloong laptop.
> Wow this is great. Does this branch also include the suspend-to-disk /
> resume-from-disk code from the lemote 2.6.27 STD branch?
> From a user's perspective, what are the loongson-oriented improvements
> of this branch over the existing 2.6.27 branch?
> I'd also like to know if:
> (a) the ec-modules and
> (b) the rtl8187b code
> that is currently separate from the main lemote linux 2.6.27 git (the
> former in a git repository, the later only in a .tar.gz file as far as I
> know) is included in the 18.104.22.168 branch now.
The ec-modules is firmware related. We think it would be more difficult
to enter into mainline.
The rtl8187b is included in 2.6.27 kernel, however, there are many
issues in it(even in the 2.6.29 or 2.6.30). Some known isuses are below:
1. very hard to connect, and very poor performance.
2. may cause system crash(now this can be fixed)
issue 1 is the main reason that we stick to use the realtek providing
> I can of course check this via git when I have internet access next, but
> I'm guessing you would be able to provide context beyond just the code
> changes to the answers of these questions :-)
> Oh, and one last thing - is compilation with the lemote-patched binutils
> / "-mfix-gs2f-kernel" "-mfix-ls2f-kernel" (I'm told these did the same
> things, the name just changed for some reason - currently I'm using a
> binutils / as that understands the "-mfix-ls2f-kernel" option) still
> needed? Without this in the 2.6.27 branch, and esp. with the ec-modules,
> there were very frequent hard linux crashes (sysrq keys not working).
this patch add a option into 'as'. Previously, it's named
-mfix-gs2f-kernel, later it is named as -mfix-ls2f-kernel
Any way this patch is not formal, and I prefer it not enter into
> BTW for me, this is interesting in the context of
> http://config.fsf.org/trac/public/wiki/RmsLinuxForYou , which I have
> several people helping me test at the moment - currently the biggest
> issue is hard crashes every day or other day, or more frequently if
> there is a lot of disk or usb I/O.
This issue is caused by the CPU host bridge and CS5536 co-work.
currently, we need this patch to work around this issue. Later CPUs
design will handle it properly.