From: Dmytro Bablinyuk <dmytro.bablinyuk@tait.co.nz>
To: Matt Porter <mporter@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem with remap_page_range
Date: Wed, 10 Sep 2003 09:54:20 +1200 [thread overview]
Message-ID: <3F5E4C0C.1080303@tait.co.nz> (raw)
In-Reply-To: <20030909100235.A20267@home.com>
>
>
>> if (remap_page_range(vma->vm_start,
>> DSP_ADDR,
>> size,
>> vma->vm_page_prot
>> ))
>>
>>
>
>Your remap call isn't adding _PAGE_NO_CACHE and _PAGE_GUARDED flags
>like ioremap_nocache()/ioremap() do on PPC. You'll get bad results
>because of the ordering and cache issues resulting from not using
>these PTE flags. In 2.6, these can be added using pgprot_noncached()
>that is defined per-arch.
>
>
>
Thank you Matt,
Coud you please give me en example on how to add these flags to remap in
kernel 2.4.21 (powerpc).
It seems I could not find these flags available in my kernel.
Thank you very much
next prev parent reply other threads:[~2003-09-09 21:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-10 1:13 Dmytro Bablinyuk
2003-09-09 9:59 ` Jamie Lokier
2003-09-09 17:03 ` Matt Porter
2003-09-10 2:19 ` Dmytro Bablinyuk
2003-09-09 17:02 ` Matt Porter
2003-09-09 21:54 ` Dmytro Bablinyuk [this message]
2003-09-09 22:06 ` Matt Porter
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=3F5E4C0C.1080303@tait.co.nz \
--to=dmytro.bablinyuk@tait.co.nz \
--cc=linux-kernel@vger.kernel.org \
--cc=mporter@kernel.crashing.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
all inboxes | Powered by JetHome®