From: "Jim Hull" <jim.hull@hp.com>
To: linux-ia64@vger.kernel.org
Subject: RE: pgprot_writecombine & shub 1.x
Date: Wed, 12 Jan 2005 18:51:49 +0000 [thread overview]
Message-ID: <200501121851.KAA02457@lucy.cup.hp.com> (raw)
In-Reply-To: <200501111200.02504.jbarnes@sgi.com>
Jesse Barnes wrote:
> But what about places that unconditionally set the WC bit
> regardless of what the EFI memory map says?
To be blunt - those places are broken, at least from the perspective of the IPF
(ia64 if you prefer) architecture. IPF declares that it is the platform which
gets to decide the supported attributes for each address range, and provides the
EFI memory map to inform the OS of this support.
> pci_mmap_page_range does this for
> example if the write_combine flag is set on the vma.
> I'm looking for a way to abstract out
> uses like that, so that shub 1.x systems don't set the bit.
I'm not really qualified to design the right linux interfaces, but to be IPF
compliant, you need to change all such places to first consult the EFI memory
map. Whether you do this once at boot time, on every call, whether to fail an
unsupported request or remap the attribute to something the platform can support
(e.g., mapping WC to UC), is all up to you.
-- Jim
next prev parent reply other threads:[~2005-01-12 18:51 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 20:00 pgprot_writecombine & shub 1.x Jesse Barnes
2005-01-11 22:12 ` David Mosberger
2005-01-11 22:35 ` Jesse Barnes
2005-01-12 18:51 ` Jim Hull [this message]
2005-01-12 19:31 ` Hugo Kohmann
2005-01-12 19:32 ` Jesse Barnes
2005-01-12 21:54 ` David Mosberger
2005-01-19 17:28 ` Jesse Barnes
2005-01-19 17:53 ` David Mosberger
2005-01-19 17:56 ` Jesse Barnes
2005-01-19 18:04 ` David Mosberger
2005-01-19 18:16 ` Luck, Tony
2005-01-19 18:21 ` Jesse Barnes
2005-01-19 18:38 ` Luck, Tony
2005-01-19 19:33 ` Bjorn Helgaas
2005-01-19 21:51 ` Jesse Barnes
2005-01-19 22:00 ` Luck, Tony
2005-01-19 22:03 ` Jesse Barnes
2005-01-19 22:07 ` David Mosberger
2005-01-19 22:16 ` Jesse Barnes
2005-01-19 22:20 ` David Mosberger
2005-01-19 22:22 ` Jesse Barnes
2005-01-19 22:25 ` David Mosberger
2005-01-19 22:36 ` Jesse Barnes
2005-01-19 22:39 ` David Mosberger
2005-01-19 22:53 ` Jesse Barnes
2005-01-20 9:03 ` Jes Sorensen
2005-01-20 13:43 ` Hugo Kohmann
2005-01-20 16:42 ` Jesse Barnes
2005-01-20 16:45 ` Jesse Barnes
2005-01-20 17:17 ` David Mosberger
2005-01-21 9:00 ` Jes Sorensen
2005-01-21 9:01 ` Jes Sorensen
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=200501121851.KAA02457@lucy.cup.hp.com \
--to=jim.hull@hp.com \
--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