public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro@8bytes.org>
To: Andrew Cooks <acooks@gmail.com>
Cc: Gaudenz Steinlin <gaudenz@soziologie.ch>,
	jyli@marvell.com,
	"open list:INTEL IOMMU (VT-d)" <iommu@lists.linux-foundation.org>,
	open list <linux-kernel@vger.kernel.org>,
	Shun Fu <fushun@marvell.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: Marvell 88NV9143 in mini-PCIe not working with intel_iommu=on
Date: Tue, 26 Mar 2013 16:14:37 +0100	[thread overview]
Message-ID: <20130326151436.GE2727@8bytes.org> (raw)
In-Reply-To: <CAJtEV7aL0TeSYB-+1bTgq=8Rbt2wijLfQF7jrHHXTeXeR811DQ@mail.gmail.com>

On Fri, Mar 08, 2013 at 10:53:16AM +0800, Andrew Cooks wrote:
> I'm hoping one of the veteran developers would give some guidance for
> the best approach to enable more devices in future.

In cases like this where a device just uses the request-id of another
device you can make use of the existing quirk-code in
drivers/pci/quirks.c. Look at the function pci_get_dma_source() and add
your device there. This should also make it work with VT-d and AMD-Vi.


	Joerg



      reply	other threads:[~2013-03-26 15:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 15:03 Marvell 88NV9143 in mini-PCIe not working with intel_iommu=on Gaudenz Steinlin
2013-03-06  2:48 ` Andrew Cooks
2013-03-06  3:20   ` Alex Williamson
2013-03-07  9:25   ` Gaudenz Steinlin
2013-03-08  2:53     ` Andrew Cooks
2013-03-26 15:14       ` Joerg Roedel [this message]

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=20130326151436.GE2727@8bytes.org \
    --to=joro@8bytes.org \
    --cc=acooks@gmail.com \
    --cc=alex.williamson@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=fushun@marvell.com \
    --cc=gaudenz@soziologie.ch \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jyli@marvell.com \
    --cc=linux-kernel@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