Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Arnaud Patard <apatard@mandriva.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: xorg-server-1.5.2 doesn't work because of missing sysfs pci resource files
Date: Tue, 09 Dec 2008 20:01:57 +0100	[thread overview]
Message-ID: <m3fxkxkw9m.fsf@anduin.mandriva.com> (raw)
In-Reply-To: <20081209183634.GA2418@linux-mips.org> (Ralf Baechle's message of "Tue, 9 Dec 2008 18:36:34 +0000")

Ralf Baechle <ralf@linux-mips.org> writes:

Hi,

> On Tue, Dec 09, 2008 at 07:17:13PM +0100, Arnaud Patard wrote:
>
>> What about things like _CACHE_UNCACHED_ACCELERATED ? Is there a way to
>> use this flag ?
>
> That's possible but will require some additional care in the code.
> Multiple mappings using different cache modes need to be avoided and
> also not all processors support _CACHE_UNCACHED_ACCELERATED.

well, for that, one can always define a Kconfig entry for that. It would
be usefull for using _CACHE_UNCACHED_ACCELERATED in fb_pgprotect in
asm/fb.h too.

>
> If you know your software is playing nice and your CPU supports
> _CACHE_UNCACHED_ACCELERATED, you can hack the mmap function to use
> _CACHE_UNCACHED_ACCELERATED if write_combine is set.  Just for now
> and for something which I'm planning to push for 2.6.28 I don't want
> anything that's more than trivial.

Ok, no problem. I'm only asking if it will be possible to use it. For
now, I don't have the pci_mmap_page_range requirement on my systems.


Thanks,
Arnaud

      reply	other threads:[~2008-12-09 19:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-05 15:43 xorg-server-1.5.2 doesn't work because of missing sysfs pci resource files Zhang Le
2008-12-05 17:59 ` Arnaud Patard
2008-12-05 18:08   ` Ralf Baechle
2008-12-06 10:20 ` Ralf Baechle
2008-12-06 16:47   ` Zhang Le
2008-12-09 17:22     ` Zhang Le
2008-12-09 17:39       ` Zhang Le
2008-12-09 17:57         ` Ralf Baechle
2008-12-09 18:17   ` Arnaud Patard
2008-12-09 18:36     ` Ralf Baechle
2008-12-09 19:01       ` Arnaud Patard [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=m3fxkxkw9m.fsf@anduin.mandriva.com \
    --to=apatard@mandriva.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@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