Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: linux-mips@linux-mips.org
Subject: Re: [PATCH] added Loongson cpu-feature-overrides.h
Date: Thu, 2 Apr 2009 13:47:46 +0200	[thread overview]
Message-ID: <20090402114746.GC1678@linux-mips.org> (raw)
In-Reply-To: <20090402112739.GD28319@adriano.hkcable.com.hk>

On Thu, Apr 02, 2009 at 07:27:39PM +0800, Zhang Le wrote:

> > > I have taken Wu Zhangjin's and Philippe Vachon's version as references, did a
> > > little modification and tested on 16K page size kernel. It works well.
> > > 
> > > Unfornately although it already has defined cpu_has_dc_aliases as 1, 4k page
> > > size still not working. More work needed here.
> > 
> > Adding this file is only a matter of kernel optimization.  You may have
> > saved as much as several hundred kb!  But it won't get a kernel
> > that wasn't working before to work.  If anything the opposite ...
> 
> I see. Thanks.
> BTW, I have just made another little change:
> 
> #define cpu_has_dc_aliases      (PAGE_SIZE < 0x4000)
> 
> Since waysize is 16k.
> 
> Anyway, it is good to include this file now, or postpone it a little later?
> If yes, then I will send a new version soon.

Correct - but this alone doesn't get all 4k or 64k pages to work so how
about we deal with this one later?

  Ralf

  reply	other threads:[~2009-04-02 11:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02  7:41 [PATCH] added Loongson cpu-feature-overrides.h Zhang Le
2009-04-02 10:56 ` Zhang Le
2009-04-02 11:13   ` Ralf Baechle
2009-04-02 11:16 ` Ralf Baechle
2009-04-02 11:16   ` Ralf Baechle
2009-04-02 11:27   ` Zhang Le
2009-04-02 11:47     ` Ralf Baechle [this message]
2009-04-02 12:15       ` Zhang Le
  -- strict thread matches above, loose matches on Subject: below --
2009-04-02 13:16 吴章金

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=20090402114746.GC1678@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    /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