From: Bjorn Helgaas <bjorn_helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] BitKeeper tree for 2.4.x
Date: Thu, 17 Oct 2002 16:46:27 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805187@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805154@msgid-missing>
> Which IA64 hardware doesn't support _PAGE_MA_WC in the PTE ? My IA64 docs
> doesn't mention anything about that.
The *processors* all support WC, no problem there. The problem is
that the *chipset* may not. The EFI memory descriptor table (from
GetMemoryMap()) tells us which attributes are supported for each
region of address space.
According to the EFI shell "memmap" command, the i2000 (BigSur)
supports WB or UC for memory, and UC for MMIO space. No
mention of WC, so we have to assume it's not supported.
HP ZX1 machines report that they support WB for memory and
UC for MMIO space. The ZX1 chipset is supposed to support WC
for MMIO space, so the fact that EFI doesn't report that looks
like a firmware defect.
> Actually I think _PAGE_MA_WC is only applicable to IO memory the same way
> as _PAGE_MA_UC is. Can't it be handled in the same way ? (you've already
> done the fix for UC, right ?)
WC could be used for memory as well as for MMIO space -- an
example is for AGP, where drivers like to have main memory
buffers mapped with WC, and the AGP engine can do non-coherent
DMA from the buffers. That doesn't work on IA64 because we
use large TLB pages to map all of main memory with the WB
attribute, and there's no easy way to support WC mappings
at the same time.
The mmap support for UC currently cheats a little bit. We
don't look at the EFI tables; we just use UC whenever we mmap
something that isn't main memory (this is in mmap_mem(), BTW).
Bjorn
next prev parent reply other threads:[~2002-10-17 16:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 19:42 [Linux-ia64] BitKeeper tree for 2.4.x Bjorn Helgaas
2002-10-14 17:42 ` Bjorn Helgaas
2002-10-14 18:17 ` Steffen Persvold
2002-10-14 20:44 ` Grant Grundler
2002-10-17 16:46 ` Bjorn Helgaas [this message]
2002-10-17 18:16 ` Steffen Persvold
2002-10-17 18:31 ` Steffen Persvold
2002-10-17 19:38 ` Bjorn Helgaas
2002-10-17 21:53 ` Steffen Persvold
2002-10-17 22:10 ` Grant Grundler
2002-10-18 2:32 ` Steffen Persvold
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=marc-linux-ia64-105590709805187@msgid-missing \
--to=bjorn_helgaas@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