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: 4658711 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E01C09F377 for ; Thu, 31 Jul 2014 19:44:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E200120145 for ; Thu, 31 Jul 2014 19:44:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E7D82011E for ; Thu, 31 Jul 2014 19:44:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750945AbaGaToB (ORCPT ); Thu, 31 Jul 2014 15:44:01 -0400 Received: from mail-bn1lp0145.outbound.protection.outlook.com ([207.46.163.145]:51480 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750806AbaGaToA (ORCPT ); Thu, 31 Jul 2014 15:44:00 -0400 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: , CC: Grant Likely , Rob Herring , Will Deacon 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) Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=Joel.Schopp@amd.com; X-OriginatorOrg: amd4.onmicrosoft.com Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;