From: Andreas Schwab <schwab@suse.de>
To: linux-ia64@vger.kernel.org
Subject: Re: [patch 5/5] ia64: update memory attribute aliasing documentation & test cases
Date: Wed, 21 Mar 2007 22:39:06 +0000 [thread overview]
Message-ID: <je648up6gl.fsf@sykes.suse.de> (raw)
In-Reply-To: <200703211622.26630.bjorn.helgaas@hp.com>
Bjorn Helgaas <bjorn.helgaas@hp.com> writes:
> @@ -138,14 +128,20 @@
>
> ioremap()
>
> - This returns a kernel identity mapping for use inside the
> - kernel.
> + This returns a mapping for use inside the kernel.
>
> If the region is in kern_memmap, we should use the attribute
> - specified there. Otherwise, if the EFI memory map reports that
> - the entire granule supports WB, we should use that (granules
> - that are partially reserved or occupied by firmware do not appear
> - in kern_memmap). Otherwise, we should use a UC mapping.
> + specified there.
> +
> + If the EFI memory map reports that the entire granule supports
> + WB, we should use that (granules that are partially reserved
> + or occupied by firmware do not appear in kern_memmap).
> +
> + If the granule contains non-WB memory, but we can cover the
> + region safely with kernel page table mappings, we can use
> + ioremap_page_range() as most other architectures do.
> +
> + Failing all of the above, we have to all back to a UC mapping.
s/all back/fall back/
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2007-03-21 22:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-21 22:22 [patch 5/5] ia64: update memory attribute aliasing documentation & test cases Bjorn Helgaas
2007-03-21 22:39 ` Andreas Schwab [this message]
2007-03-22 17:39 ` Bjorn Helgaas
2007-03-30 16:39 ` Bjorn Helgaas
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=je648up6gl.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=linux-ia64@vger.kernel.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