From patchwork Mon Mar 11 17:30:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Pledge X-Patchwork-Id: 10847883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5DA051575 for ; Mon, 11 Mar 2019 17:31:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DFC5291CB for ; Mon, 11 Mar 2019 17:31:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C72F2928C; Mon, 11 Mar 2019 17:31:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A1F27291CB for ; Mon, 11 Mar 2019 17:31:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date: Subject:To:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=p/5P7VJ3rV8oxmUv1t0aqvLA1i3PFHpWIwldy91jqsE=; b=CBNPEo5ujGZ75I Xd4+9kj2sl3srNqvR8xJgFD0jTHwTPvh43TG6IPwXYVZLE6zt97xB0eN+NtimEgrg6IEkU80aWa4z MMHjD/73RMnBc/Cp1IKWHVDO378QBzFrQ0Lhslf3A/RomEHv4Qsb/dAYCVYr06Sz0w71Ce7mpHkYs O82qmSZpJaN2/uYdk0Cf0WWDdY6wvkOfD5aJPR7v/Jyy/AT477DTw+jjqzZtqZ3D9lpz+v+oGfTsx WYrt7buwc6yASPRzTwg4YpbvpkSAoCD7//r9CCrqXY7mkNQjqDhyc/TzPMMCXHtNcfsLXN6Cld48W dGm+nnkcHTsHtsKfkwcQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3OlN-0004vo-5f; Mon, 11 Mar 2019 17:30:57 +0000 Received: from mail-am5eur03on061b.outbound.protection.outlook.com ([2a01:111:f400:fe08::61b] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h3OlJ-0004vJ-DM for linux-arm-kernel@lists.infradead.org; Mon, 11 Mar 2019 17:30:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VRbqvGLnOt9s+OFiFGW3tH/pZs4KIk7uRFdtFt7ilCU=; b=YVuQFlyvNcKXfgvAmgc9h+c2ogo0yRL6BNOEmu1r3vLpGpAwl1AdZZU+7vQWgQbZN2mN6LWhTowN28OEDegvARjXIldKve2t7DojaklwwRcNqmP6vx2SWKdG+5BARb3PyLJ5l+KEVuwfDoE6hYqMjr0ofUhDo5F2C1zeWvQhSOE= Received: from DB6PR0402MB2727.eurprd04.prod.outlook.com (10.172.247.10) by DB6PR0402MB2791.eurprd04.prod.outlook.com (10.172.245.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.21; Mon, 11 Mar 2019 17:30:48 +0000 Received: from DB6PR0402MB2727.eurprd04.prod.outlook.com ([fe80::18a2:3eae:e7c:4d42]) by DB6PR0402MB2727.eurprd04.prod.outlook.com ([fe80::18a2:3eae:e7c:4d42%5]) with mapi id 15.20.1686.021; Mon, 11 Mar 2019 17:30:48 +0000 From: Roy Pledge To: Leo Li , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands Thread-Topic: [PATCH] soc: fsl: dpio: Increase timeout for QBMan Management Commands Thread-Index: AQHU2DAqo2ZVXjPOF0S2dsdIaslXnQ== Date: Mon, 11 Mar 2019 17:30:48 +0000 Message-ID: <1552325436-8907-1-git-send-email-roy.pledge@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: DM6PR14CA0065.namprd14.prod.outlook.com (2603:10b6:5:18f::42) To DB6PR0402MB2727.eurprd04.prod.outlook.com (2603:10a6:4:98::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [72.142.119.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 686624ca-3b68-4117-6253-08d6a6474d04 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB6PR0402MB2791; x-ms-traffictypediagnostic: DB6PR0402MB2791: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DB6PR0402MB2791; 23:c6ZWi3pbWgAXB+W3070rHO6RZRhY4ZKzRnd3D?= =?iso-8859-1?q?444D48IFozddbOByF?= =?iso-8859-1?q?oVXxMHV4cxHc3f/72fhYK7oT+RC1PlRW1cWMeBOUW6PU+ZJSMHLKDT3EJ1yO?= =?iso-8859-1?q?+fSV5HIgn5aixcCSnk+zSTQOjXpeMCpcCEI/u79Ak7LCIYpUlmiHAsgYxumr?= =?iso-8859-1?q?ofSkbBcrZjqoLIm/NDlgUGArUSBL2n6ws+rupUnQPOpicgpOtbOcf2wSCBpR?= =?iso-8859-1?q?wC9d97EqGI6V0aqNOZHe5LBtTxuu59kkdzxvWmy/xW8MEmXWJcyP1nZc0E4i?= =?iso-8859-1?q?+qKUYyiOsaMyNC44fjo7q0YWwrS4RVpvGnbcZOf+4tiwsp72e0T/EUGkbBSV?= =?iso-8859-1?q?EP7+NKM8BSFf0k7p8UFs2norGsclxpQKKlYKuOiNai0lpY2q0a2nPWdxk5LK?= =?iso-8859-1?q?uSlzAanTAUeLFCYlbfOYZzeBvtVN9CFYuSenDqm65J/btEvg73jK24D/9bGI?= =?iso-8859-1?q?10ts32KxoqAM6CF4oT0AhUH0lGrQdyBuLBw8v1XS5TArcERqeo+r3ARWl5WX?= =?iso-8859-1?q?cJKuF9nBjxLGic3HcbZ29CiSNs+00DQP8valbqcNAzE/qs2cr1CmiURLMqzS?= =?iso-8859-1?q?jef+6QuwtTJSPENWFt+mG2kCj2IAQj6w1giSitRbkz5WhmBksTY/fcqpqr1w?= =?iso-8859-1?q?ontddiDjvcQWHdJJkuUNn0WF+g9INBwBgH65gOAqPehCuRUodedu/bAajdsS?= =?iso-8859-1?q?UYjcGqIINC0trPnwSz34rOdrxYHXCkw7R9vDsX86u5SGXiFG6WVZZ2v9G381?= =?iso-8859-1?q?9Q571K94ZZtGfzrUNkYhnRtvT6AyYSI/5+jWyhuvFUX26kYlmdT0QWUKPETa?= =?iso-8859-1?q?hDlRAqHZ7zQtiMJPSJETicEJ9JvmkzTljrEWDRbFQkjzlWzv7ZhltCPyGZc6?= =?iso-8859-1?q?q1i2M+y9uvOTcMDS2EQI/gM2w6ZfJ73wEgvPRABNTGXh0CISr13hUdbKxbdJ?= =?iso-8859-1?q?ddCH/2uwiuctIP1dc3CD0qbE4egj++aMTRFYgBmJE1Szw3ZKll8/s4/cNJeO?= =?iso-8859-1?q?4OwJPk8czmMErNDU6PlZUiOI/nR5EF2x1VKO7obfelCOHpWPDsmXm4uxz3VU?= =?iso-8859-1?q?vojtNZUgcKxhveIg0hX4HSFMYC5m7srCjo513hIardCVEI5dzeZikEVuBiBl?= =?iso-8859-1?q?sp36C4c0AGnzZMiUdoc0Oc9OreU0rvyQ4BxRCGC3O8XcOO9eLXBA7SeKjkwY?= =?iso-8859-1?q?gwr1+Dv/o7bpQH3tBkV3HLCAcVCvl0MlG/KJdTElkRFg=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09730BD177 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(136003)(366004)(39860400002)(189003)(199004)(186003)(106356001)(102836004)(386003)(7736002)(316002)(3846002)(6116002)(71200400001)(105586002)(6506007)(256004)(54906003)(3450700001)(110136005)(8676002)(81166006)(2906002)(81156014)(36756003)(97736004)(5660300002)(99286004)(71190400001)(14454004)(52116002)(305945005)(25786009)(2201001)(66066001)(6436002)(4326008)(53936002)(43066004)(6512007)(86362001)(478600001)(6486002)(2501003)(26005)(68736007)(44832011)(486006)(8936002)(50226002)(476003)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0402MB2791; H:DB6PR0402MB2727.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: xeK7K+IT/wHkhu10qUbpU9kUndU8PccPvpSNTBXnRAMO/Sgcbg7zwQQW9xiaBd6nId6GFp1F+kyy9GQiVfz3vReqi8WyFNr4UCHUWKYxkydKIehdcHd6Z8AJBNVICvkNG1AqNRWVWvOclL9zLo6v2Yx3pRh+qh/WaJptutTRpFyMftzTKAyvpWK1gsEhBcZ+GyYa+08BsF38+1DEDZJYm4VNgtLdmCzyFLnsCsn33+zXY/quUU6B/CWTECV/0l0c3jv8FvZfHzfNxqh2zj+SlHPnmnfVX45zekfEyzx2WJExZYP3YHQPNR/kr8T1xBLF4JTDa1rht6+rJePiOf5YVGUJv/RSYdW3X9OLlBoGvkIFHSb2O0EGEVwrqF1ohN91T0aOjoyxc3j9y9cf06yUws7vIfkbV5NeTAOa7ii+O6o= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 686624ca-3b68-4117-6253-08d6a6474d04 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2019 17:30:48.8168 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2791 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190311_103053_569147_FF6938E2 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Roy Pledge Cc: Roy Pledge , Youri Querry Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Youri Querry The timeout for QBMan Management Commands can falsely trigger on a busy system. This patch doubles the timeout to avoid the false error reports Signed-off-by: Youri Querry Signed-off-by: Roy Pledge --- drivers/soc/fsl/dpio/qbman-portal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/fsl/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h index 78c700e..f3ec5d2 100644 --- a/drivers/soc/fsl/dpio/qbman-portal.h +++ b/drivers/soc/fsl/dpio/qbman-portal.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ /* * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. - * Copyright 2016 NXP + * Copyright 2016-2019 NXP * */ #ifndef __FSL_QBMAN_PORTAL_H @@ -433,7 +433,7 @@ static inline int qbman_swp_CDAN_set_context_enable(struct qbman_swp *s, static inline void *qbman_swp_mc_complete(struct qbman_swp *swp, void *cmd, u8 cmd_verb) { - int loopvar = 1000; + int loopvar = 2000; qbman_swp_mc_submit(swp, cmd, cmd_verb);