From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olav Haugan Subject: Re: [PATCH v2 2/3] iommu: add support for ARM Ltd. System MMU architecture Date: Mon, 08 Jul 2013 09:34:23 -0700 Message-ID: <51DAEA0F.2030808@codeaurora.org> References: <1372095086-15681-1-git-send-email-will.deacon@arm.com> <1372095086-15681-3-git-send-email-will.deacon@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372095086-15681-3-git-send-email-will.deacon-5wv7dgnIgG8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Will Deacon Cc: Andreas Herrmann , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Rob Herring , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org On 6/24/2013 10:31 AM, Will Deacon wrote: > This patch adds support for SMMUs implementing the ARM System MMU > architecture versions 1 or 2. Both arm and arm64 are supported, although > the v7s descriptor format is not used. > > Cc: Rob Herring > Cc: Andreas Herrmann > Cc: Olav Haugan > Cc: Joerg Roedel > Signed-off-by: Will Deacon > --- > +/* Maximum number of stream IDs assigned to a single device */ > +#define MAX_MASTER_STREAMIDS 8 > + Hi Will, We have designs that require more than 8 Stream IDs. Instead of hard coding it to max of 8 can you make this dynamic? Thanks, Olav Haugan -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation From mboxrd@z Thu Jan 1 00:00:00 1970 From: ohaugan@codeaurora.org (Olav Haugan) Date: Mon, 08 Jul 2013 09:34:23 -0700 Subject: [PATCH v2 2/3] iommu: add support for ARM Ltd. System MMU architecture In-Reply-To: <1372095086-15681-3-git-send-email-will.deacon@arm.com> References: <1372095086-15681-1-git-send-email-will.deacon@arm.com> <1372095086-15681-3-git-send-email-will.deacon@arm.com> Message-ID: <51DAEA0F.2030808@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 6/24/2013 10:31 AM, Will Deacon wrote: > This patch adds support for SMMUs implementing the ARM System MMU > architecture versions 1 or 2. Both arm and arm64 are supported, although > the v7s descriptor format is not used. > > Cc: Rob Herring > Cc: Andreas Herrmann > Cc: Olav Haugan > Cc: Joerg Roedel > Signed-off-by: Will Deacon > --- > +/* Maximum number of stream IDs assigned to a single device */ > +#define MAX_MASTER_STREAMIDS 8 > + Hi Will, We have designs that require more than 8 Stream IDs. Instead of hard coding it to max of 8 can you make this dynamic? Thanks, Olav Haugan -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation