linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thommyj@gmail.com (Thommy Jakobsson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] arm-smmu: add master mask
Date: Fri,  3 Jun 2016 14:19:13 +0200	[thread overview]
Message-ID: <1464956355-2826-1-git-send-email-thommyj@gmail.com> (raw)
In-Reply-To: <DB5PR0401MB186309ACEF30FEA489C3CA97E6580@DB5PR0401MB1863.eurprd04.prod.outlook.com>

This patchset makes it possible to manually set a mask for a master.
Default behaviour when not specifying a mask is to keep current behaviour.
If masks are specified for a master, all of its stream IDs needs to have a
mask.

Platforms with a large number of IDs per master starts to show up. Its
impractical to specify all available IDs in some cases. Specific example
is the ZynqMPSoC, where the streamid have 6 bits from the AXI ID. So 2^6
IDs for each PL port, which there are 6 of.

Thommy Jakobsson (2):
  arm-smmu: doc: add binding for stream ID mask
  arm-smmu: Add possibillity to mask streamIDs

 .../devicetree/bindings/iommu/arm,smmu.txt         | 15 ++++++-
 drivers/iommu/arm-smmu.c                           | 52 +++++++++++++++++++++-
 2 files changed, 63 insertions(+), 4 deletions(-)

--

version 2
 - fix bug of mask not beeing setup properly
 - changed to using of_for_each_phandle for DT mask parse
1.9.1

  parent reply	other threads:[~2016-06-03 12:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 20:40 [PATCH 0/2] arm-smmu: add master mask Thommy Jakobsson
2016-05-30 20:40 ` [PATCH 1/2] arm-smmu: doc: add binding for stream ID mask Thommy Jakobsson
2016-05-30 20:40 ` [PATCH 2/2] arm-smmu: Add possibillity to mask streamIDs Thommy Jakobsson
2016-06-02 13:35   ` Nipun Gupta
2016-06-03  9:02     ` Thommy Jakobsson
2016-06-03  9:41       ` Nipun Gupta
2016-06-03 18:32         ` Thommy Jakobsson
2016-06-03 12:19     ` Thommy Jakobsson [this message]
2016-06-03 12:19       ` [PATCH v2 1/2] arm-smmu: doc: add binding for stream ID mask Thommy Jakobsson
2016-06-03 12:19       ` [PATCH v2 2/2] arm-smmu: Add possibillity to mask streamIDs Thommy Jakobsson
2016-06-06 12:47   ` [PATCH " Robin Murphy
2016-06-08  7:47     ` Thommy Jakobsson
2016-06-08 11:11       ` Robin Murphy
     [not found]         ` <CALRxmdCVshj_g1tHht9ni3tq5hrKjcv_aZEW0gunA9n3Nt7RXA@mail.gmail.com>
2016-06-08 19:25           ` Stuart Yoder
2016-06-09 10:42         ` Thommy Jakobsson
2016-06-09 10:43         ` [PATCH v3 0/2] " Thommy Jakobsson
2016-06-09 10:43           ` [PATCH v3 1/2] arm-smmu: doc: add SMMU mask documentation Thommy Jakobsson
2016-06-14 16:01             ` Will Deacon
2016-06-09 10:43           ` [PATCH v3 2/2] arm-smmu: Add possibillity to mask streamIDs Thommy Jakobsson

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=1464956355-2826-1-git-send-email-thommyj@gmail.com \
    --to=thommyj@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).