All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: dri-devel@lists.sourceforge.net, xen-devel@lists.xensource.com,
	Jan Beulich <JBeulich@novell.com>
Subject: Re: Re: ATI radeon fails with "iommu=soft	swiotlb=force" (seen on RV730/RV740 and RS780/RS800)
Date: Mon, 05 Oct 2009 12:12:23 -0700	[thread overview]
Message-ID: <4ACA4517.5030203@goop.org> (raw)
In-Reply-To: <20091005143756.GA3681@phenom.dumpdata.com>

On 10/05/09 07:37, Konrad Rzeszutek Wilk wrote:
> Jeremy suggested another one. That is for the Xen IOMMU to fix the virtual
> mappings. Meaning we would swipe out the virtual address of the page to point
> to a virtual address (along with returning an 32-bit bus address) under the 4GB mark.
> That involves also changing the mappings of the old virtual address to the new one
> where ever it may be.
>
> Jeremy, did I get that right?
>   

Yeah.  We'd make xen_dma_map_page() use xen_exchange_memory to replace
the underlying page with something matching the device's requirements. 
That would be fairly straightforward for kernel and vmapped pages, but
it gets pretty complex if the page is mapped into userspace (partly
because of the need to use rmap to find all the user mappings, and
partly because I don't know what the locking/atomicity requirements
would be).

    J

  reply	other threads:[~2009-10-05 19:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-02  6:58 Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) Boris Derzhavets
2009-10-02 17:18 ` Jeremy Fitzhardinge
2009-10-02 17:23   ` Boris Derzhavets
2009-10-02 18:42     ` Jeremy Fitzhardinge
2009-10-02 19:25       ` Boris Derzhavets
2009-10-05 10:32       ` Jan Beulich
2009-10-05 14:01         ` Konrad Rzeszutek Wilk
2009-10-05 14:37           ` Konrad Rzeszutek Wilk
2009-10-05 19:12             ` Jeremy Fitzhardinge [this message]
2009-10-05 14:41           ` [Xen-devel] " Alex Deucher
2009-10-05 14:49             ` Konrad Rzeszutek Wilk
2009-10-05 14:54               ` [Xen-devel] " Alex Deucher
2009-10-05 19:09         ` Jeremy Fitzhardinge
2009-10-06  8:10           ` Jan Beulich
2009-10-06 19:01             ` Jeremy Fitzhardinge
     [not found] <20090930152149.GA29603@phenom.dumpdata.com>
2009-10-01 17:35 ` Konrad Rzeszutek Wilk
2009-10-01 19:07   ` Jeremy Fitzhardinge
2009-10-01 19:21     ` Konrad Rzeszutek Wilk
2009-10-02 12:52       ` Jan Beulich
2009-10-02 14:44         ` Konrad Rzeszutek Wilk
  -- strict thread matches above, loose matches on Subject: below --
2009-10-02  5:02 Boris Derzhavets

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=4ACA4517.5030203@goop.org \
    --to=jeremy@goop.org \
    --cc=JBeulich@novell.com \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /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.