Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: yanh <yanh@lemote.com>
To: Daniel Clark <dclark@pobox.com>
Cc: wuzhangjin@gmail.com, linux-mips@linux-mips.org,
	Ralf Baechle <ralf@linux-mips.org>,
	Philippe Vachon <philippe@cowpig.ca>,
	Zhang Le <r0bertz@gentoo.org>, Zhang Fuxin <zhangfx@lemote.com>,
	Arnaud Patard <apatard@mandriva.com>,
	loongson-dev@googlegroups.com, gnewsense-dev@nongnu.org,
	Nicholas Mc Guire <hofrat@hofr.at>,
	Liu Junliang <liujl@lemote.com>, Erwan Lerale <erwan@thiscow.com>,
	rms@gnu.org
Subject: Re: [loongson-support 00/27] linux PATCHes of loongson-based machines
Date: Tue, 26 May 2009 10:11:40 +0800	[thread overview]
Message-ID: <1243303900.9819.68.camel@localhost.localdomain> (raw)
In-Reply-To: <4A14846A.3080006@pobox.com>

在 2009-05-20三的 18:30 -0400,Daniel Clark写道:
> wuzhangjin@gmail.com wrote:
> > From: Wu Zhangjin <wuzhangjin@gmail.com>
> > 
> > Dear all,
> > 
> > I have cleaned up the source code of loongson-based machines support and
> > updated it to linux-2.6.29.3, 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 2.6.29.3 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
driver.
> 
> 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
mainline kernel.
> 
> 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. 
> 
> Thanks,

  parent reply	other threads:[~2009-05-26  2:12 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 21:21 [loongson-support 00/27] linux PATCHes of loongson-based machines wuzhangjin
2009-05-20 21:23 ` [loongson-support 01/27] fix-warning: incompatible argument type of pci_fixup_irqs wuzhangjin
2009-05-20 21:24 ` [loongson-support 02/27] fix-warning: incompatible argument type of virt_to_phys wuzhangjin
2009-05-20 21:24 ` [loongson-support 03/27] fix-error: incompatiable argument type of clear_user wuzhangjin
2009-05-20 21:24 ` [loongson-support 04/27] change the naming methods wuzhangjin
2009-05-20 21:25 ` [loongson-support 05/27] remove reference to bonito64.h wuzhangjin
2009-05-20 21:25 ` [loongson-support 06/27] divide the files to the smallest logic unit wuzhangjin
2009-05-20 21:26 ` [loongson-support 07/27] replace tons of magic numbers by understandable symbols wuzhangjin
2009-05-20 21:26 ` [loongson-support 08/27] clean up the early printk support for fuloong(2e) wuzhangjin
2009-05-20 21:27 ` [loongson-support 09/27] enable Real Time Clock Support " wuzhangjin
2009-05-20 21:28 ` [loongson-support 10/27] add loongson-specific cpu-feature-overrides.h wuzhangjin
2009-05-20 21:28 ` [loongson-support 11/27] split the loongson-specific part out wuzhangjin
2009-05-20 21:40 ` [loongson-support 00/27] linux PATCHes of loongson-based machines Wu Zhangjin
2009-05-20 22:30 ` Daniel Clark
2009-05-20 22:30   ` Daniel Clark
2009-05-21  0:17   ` Wu Zhangjin
2009-05-21 14:37     ` Daniel Clark
2009-05-21 14:37       ` Daniel Clark
2009-05-26  2:11   ` yanh [this message]
2009-05-26 13:03     ` Daniel Clark
2009-05-26 13:03       ` Daniel Clark
2009-05-21 16:34 ` Daniel Clark
2009-05-21 16:34   ` Daniel Clark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243303900.9819.68.camel@localhost.localdomain \
    --to=yanh@lemote.com \
    --cc=apatard@mandriva.com \
    --cc=dclark@pobox.com \
    --cc=erwan@thiscow.com \
    --cc=gnewsense-dev@nongnu.org \
    --cc=hofrat@hofr.at \
    --cc=linux-mips@linux-mips.org \
    --cc=liujl@lemote.com \
    --cc=loongson-dev@googlegroups.com \
    --cc=philippe@cowpig.ca \
    --cc=r0bertz@gentoo.org \
    --cc=ralf@linux-mips.org \
    --cc=rms@gnu.org \
    --cc=wuzhangjin@gmail.com \
    --cc=zhangfx@lemote.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox