Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jorgen Lundman <lundman@lundman.net>
To: linux-mips@linux-mips.org
Subject: Re: [SPAM] flush_cache_page
Date: Mon, 14 Jan 2008 13:19:37 +0900	[thread overview]
Message-ID: <478AE2D9.5040303@lundman.net> (raw)
In-Reply-To: <DF375560-30CA-44EF-A571-437BB4B08D31@27m.se>



Markus Gothe wrote:
> Man, 2.6.15 is like 2-3 years old....

Thank you, that is very useful. And if you can let me know how I do the 
signature, and which AES keys I need to encrypt the kernel with to be 
able to boot it on the SMP8634 I could upgrade.

But for now, I can not change what the device runs, only try to work 
around its limitations.

Lund



> 
> On 13 Jan 2008, at 05:55, Jorgen Lundman wrote:
> 
>>
>> Due to cache coherence bugs, Fuse has an extra call to work around it;
>>
>>        flush_cache_page(vma, cs->addr, page_to_pfn(cs->pg));
>>
>>
>> But my kernel (2.6.15 for mips 4KEc Tangox board) does not have a 
>> flush_cache_page().
>>
>> If I use kangox_flush_all() Fuse works rather well, but the 
>> performance is abysmal. Can I simulate this call using one of the 
>> calls I do have;
>>
>> __flush_dcache_page
>> flush_data_cache_page
>> tangox_flush_cache_all
>> cache_flush
>> kc_flush_cache
>>
>> Or alternatively, does anyone have the source for flush_cache_page() 
>> for said CPU?
>>
>>
>>
>> -- 
>> Jorgen Lundman       | <lundman@lundman.net <mailto:lundman@lundman.net>>
>> Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
>> Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
>> Japan                | +81 (0)3 -3375-1767          (home)
>>
> 
> _______________________________________
> 
> Mr Markus Gothe
> Software Engineer
> 
> Phone: +46 (0)13 21 81 20 (ext. 1046)
> Fax: +46 (0)13 21 21 15
> Mobile: +46 (0)73 718 72 80
> Diskettgatan 11, SE-583 35 Linköping, Sweden
> www.27m.com <http://www.27m.com>
> 
> 

-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)

      reply	other threads:[~2008-01-14  4:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-13  4:55 flush_cache_page Jorgen Lundman
2008-01-13 15:21 ` [SPAM] flush_cache_page Markus Gothe
2008-01-14  4:19   ` Jorgen Lundman [this message]

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=478AE2D9.5040303@lundman.net \
    --to=lundman@lundman.net \
    --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