All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
To: Jacek Lawrynowicz
	<jacek.lawrynowicz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	iommu-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org
Subject: Re: [PATCH] iommu/vt-d: Add support for multiple DMA aliases
Date: Fri, 08 Jan 2016 14:39:37 +0000	[thread overview]
Message-ID: <1452263977.4828.66.camel@infradead.org> (raw)
In-Reply-To: <1446823291-22486-1-git-send-email-jacek.lawrynowicz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1629 bytes --]

On Fri, 2015-11-06 at 16:21 +0100, Jacek Lawrynowicz wrote:
> This patch solves IOMMU support issues with PCIe non-transparent bridges
> that use Requester ID look-up tables (LUT), e.g. PEX8733. Before exiting
> the bridge, packet's RID is rewritten according to LUT programmed by
> a driver. Modified packets are then passed to a destination bus and
> processed upstream. The problem is that such packets seem to come from
> non-existent nodes that are hidden behind NTB and are not discoverable
> by a destination node, so IOMMU discards them. Adding DMA alias for a
> given LUT entry allows IOMMU to create a proper mapping that enables
> inter-node communication.
> 
> The current DMA alias implementation supports only single alias, so it's
> not possible to connect more than two nodes when IOMMU is enabled. This
> implementation enables all possible aliases on a given bus (256) that
> are stored in a bitset. Alias devfn is directly translated to a bit
> number. The bitset is not allocated for devices that have no need for
> DMA aliases.
> 
> More details can be found in following article:
> http://www.plxtech.com/files/pdf/technical/expresslane/RTC_Enabling%20MulitHostSystemDesigns.pdf
> 
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Acked-by: David Woodhouse <David.Woodhouse-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Seems reasonable to me. Jörg?

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org                              Intel Corporation


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5691 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  parent reply	other threads:[~2016-01-08 14:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-06 15:21 [PATCH] iommu/vt-d: Add support for multiple DMA aliases Jacek Lawrynowicz
     [not found] ` <1446823291-22486-1-git-send-email-jacek.lawrynowicz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-01-08 14:39   ` David Woodhouse [this message]
     [not found]     ` <1452263977.4828.66.camel-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-01-11 13:30       ` Lawrynowicz, Jacek
  -- strict thread matches above, loose matches on Subject: below --
2016-01-11 13:20 Jacek Lawrynowicz
     [not found] ` <1452518415-97637-1-git-send-email-jacek.lawrynowicz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-01-13 21:28   ` David Woodhouse
     [not found]     ` <1452720505.88154.71.camel-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-01-14 12:03       ` Joerg Roedel
     [not found]         ` <20160114120356.GF8907-l3A5Bk7waGM@public.gmane.org>
2016-01-14 16:07           ` Bjorn Helgaas via iommu
2016-01-15 18:22       ` Bjorn Helgaas via iommu
     [not found]         ` <CAErSpo5zVXk8XCjhMvwa3OxmDpDYx5gTH7FpWREwGVJB2UR6_Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-18 12:00           ` Lawrynowicz, Jacek

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=1452263977.4828.66.camel@infradead.org \
    --to=dwmw2-wegcikhe2lqwvfeawa7xhq@public.gmane.org \
    --cc=iommu-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org \
    --cc=jacek.lawrynowicz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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.