All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Breuer <breuerr@mc.net>
To: sparclinux@vger.kernel.org
Subject: hypersparc dvma aliasing
Date: Wed, 17 Nov 2004 02:28:18 +0000	[thread overview]
Message-ID: <419AB742.1000103@mc.net> (raw)

After further testing, it certainly seems that hypersparcs
have aliasing issues between dvma and physical addresses.

Here are some results that I get using a minimum of cache
flushing with 512K of cache, and all dvma areas are cacheable:

iommu_get_one -- cache(va) = cache(pa):
va 0xf0777000, pa 0x00777000, dvma 0xf0010000 -- fails
va 0xf0777000, pa 0x00777000, dvma 0xf0777000 -- works

iommu_map_dma_area -- cache(va) != cache(addr):
va 0xfbd66000, addr 0xfff0e000, pba 0xf0066000 -- fails
va 0xfbd80000, addr 0xfff00000, pba 0xf0000000 -- works
va 0xfbd66000, addr 0xfff0e000, pba 0xf010e000 -- works


I've got some additional changes that allocate dvma addresses
with the right cache color and allow for less cache flushing.
I will post a patch shortly.

Bob


             reply	other threads:[~2004-11-17  2:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-17  2:28 Bob Breuer [this message]
2004-11-17  3:35 ` hypersparc dvma aliasing Bob Breuer
2004-11-17  3:47 ` William Lee Irwin III
2004-11-17  6:11 ` David S. Miller
2004-11-23  6:18 ` Bob Breuer
2004-11-23  7:37 ` David S. Miller
2004-11-23 14:28 ` Stan Benoit
2004-11-23 15:35 ` Bob Breuer
2004-11-23 23:21 ` Stan Benoit
2004-11-24 16:54 ` William Lee Irwin III

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=419AB742.1000103@mc.net \
    --to=breuerr@mc.net \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.