From patchwork Thu Jul 31 19:43:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Schopp X-Patchwork-Id: 34685 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0BA5720540 for ; Thu, 31 Jul 2014 19:45:39 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id v10sf6840996qac.4 for ; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:subject:from:to:date:message-id :user-agent:mime-version:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=5YG3arsplHquVKQXhHrBTM2UtRZ2e4RbmEaaS2bM7r4=; b=CW4mWGigGy9VT2bPXOoY1hFHTtawifUx3Vc53onqYloTnNn40+fTsAcGgxIYFGFGHW cC99/whnI8kWN2i37hUB7yZnSzL87h3k7eX/NnqLMDUj9KpjA3ULB4KX5C/W/XOTHNdm ng8uDxORrwlJ2RpHzGnFxkMbinMoyZNdEdgUk+Z7gB3ksr6uwKeF6qwlppNI9ea7gZE0 hLBfR3ydyd6DNPiliV7QOnxvBDNMHQRWj+3rwkZK6mAtrsRBXeOwJGhGz94cJmiZRHLv DDWccUR5JOy52Bof1GFLJbquk4U7RwwXmkfMVsPVwV7DBeNs/o1K8aZ+Xxql1+pryIfb PGEg== X-Gm-Message-State: ALoCoQkRAV6KDWKDM6XcQXo8Z8ON+ngoAGRqPMjBpZ9TuLDDgQKdUN5vuuMOK7NLPDwZwyWmmjNh X-Received: by 10.236.159.198 with SMTP id s46mr150480yhk.17.1406835938696; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.80 with SMTP id o74ls992546qgd.48.gmail; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) X-Received: by 10.220.68.140 with SMTP id v12mr596095vci.13.1406835938630; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id i7si5467957vek.61.2014.07.31.12.45.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Jul 2014 12:45:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id hy10so5060899vcb.4 for ; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) X-Received: by 10.220.118.136 with SMTP id v8mr689533vcq.50.1406835938449; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp45621vcb; Thu, 31 Jul 2014 12:45:38 -0700 (PDT) X-Received: by 10.67.1.195 with SMTP id bi3mr441179pad.74.1406835937530; Thu, 31 Jul 2014 12:45:37 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ma10si3521559pdb.332.2014.07.31.12.45.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Jul 2014 12:45:37 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCwH1-0002Yy-Jv; Thu, 31 Jul 2014 19:44:23 +0000 Received: from mail-bn1lp0141.outbound.protection.outlook.com ([207.46.163.141] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCwGz-0002QC-16 for linux-arm-kernel@lists.infradead.org; Thu, 31 Jul 2014 19:44:21 +0000 Received: from BY1PR0201CA0032.namprd02.prod.outlook.com (25.160.191.170) by BLUPR02MB033.namprd02.prod.outlook.com (10.242.191.13) with Microsoft SMTP Server (TLS) id 15.0.995.14; Thu, 31 Jul 2014 19:43:56 +0000 Received: from BL2FFO11FD041.protection.gbl (2a01:111:f400:7c09::129) by BY1PR0201CA0032.outlook.office365.com (2a01:111:e400:4814::42) with Microsoft SMTP Server (TLS) id 15.0.995.14 via Frontend Transport; Thu, 31 Jul 2014 19:43:56 +0000 Received: from atltwp02.amd.com (165.204.84.222) by BL2FFO11FD041.mail.protection.outlook.com (10.173.161.137) with Microsoft SMTP Server id 15.0.990.10 via Frontend Transport; Thu, 31 Jul 2014 19:43:55 +0000 X-WSS-ID: 0N9LDH4-08-AHE-02 X-M-MSG: Received: from satlvexedge02.amd.com (satlvexedge02.amd.com [10.177.96.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by atltwp02.amd.com (Axway MailGate 5.3.1) with ESMTPS id 21B6ED1609D; Thu, 31 Jul 2014 14:43:52 -0500 (CDT) Received: from SATLEXDAG01.amd.com (10.181.40.3) by SATLVEXEDGE02.amd.com (10.177.96.29) with Microsoft SMTP Server (TLS) id 14.2.328.9; Thu, 31 Jul 2014 14:44:11 -0500 Received: from joelaarch64.amd.com (10.180.168.240) by SATLEXDAG01.amd.com (10.181.40.3) with Microsoft SMTP Server (TLS) id 14.2.328.9; Thu, 31 Jul 2014 15:43:53 -0400 Subject: [PATCH] arm64: bump MAX_MASTER_STREAMIDS from 16 to 32 From: Joel Schopp To: , Date: Thu, 31 Jul 2014 14:43:56 -0500 Message-ID: <20140731194356.1871.76820.stgit@joelaarch64.amd.com> User-Agent: StGit/0.17.1-4-g4a0c1 MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(428002)(189002)(199002)(83506001)(95666004)(83072002)(19580395003)(46102001)(44976005)(50466002)(54356999)(107046002)(79102001)(23676002)(53416004)(74662001)(85306003)(33646002)(77096002)(85852003)(81342001)(97736001)(97746001)(19580405001)(81542001)(86362001)(80022001)(47776003)(76482001)(21056001)(106466001)(50986999)(20776003)(92726001)(64706001)(68736004)(229853001)(84676001)(4396001)(87936001)(77982001)(103116003)(31966008)(92566001)(74502001)(99396002)(105586002)(101416001)(83322001)(102836001)(71626003); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR02MB033; H:atltwp02.amd.com; FPR:; MLV:nov; PTR:InfoDomainNonexistent; MX:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 0289B6431E Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-OriginatorOrg: amd4.onmicrosoft.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140731_124421_224564_E550FBB3 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [207.46.163.141 listed in list.dnswl.org] -0.7 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [207.46.163.141 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record Cc: Grant Likely , Rob Herring , Will Deacon X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: joel.schopp@amd.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 I recently ran into a situation where I needed more than 16 stream ids for an smmu on an AMD SOC, but we are currently limited to 16 by: #define MAX_MASTER_STREAMIDS MAX_PHANDLE_ARGS #define MAX_PHANDLE_ARGS 16 I expect others will run into this in the future as more advanced SOCs start to come out. The resulting one line patch has been tested to fix the problem. Cc: Grant Likely Cc: Rob Herring Cc: Will Deacon Signed-off-by: Joel Schopp --- include/linux/of.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/of.h b/include/linux/of.h index 196b34c..70ad4d9 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -67,7 +67,7 @@ struct device_node { #endif }; -#define MAX_PHANDLE_ARGS 16 +#define MAX_PHANDLE_ARGS 32 struct of_phandle_args { struct device_node *np; int args_count;