From patchwork Tue Jul 11 17:28:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Ryabinin X-Patchwork-Id: 9835327 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 885D560363 for ; Tue, 11 Jul 2017 17:26:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C8EC26E74 for ; Tue, 11 Jul 2017 17:26:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6058728458; Tue, 11 Jul 2017 17:26:43 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9AFA26E74 for ; Tue, 11 Jul 2017 17:26:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756225AbdGKR0c (ORCPT ); Tue, 11 Jul 2017 13:26:32 -0400 Received: from mail-he1eur01on0114.outbound.protection.outlook.com ([104.47.0.114]:58547 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756075AbdGKR03 (ORCPT ); Tue, 11 Jul 2017 13:26:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=uplNswX9nzqeAVmhZdm42RLvhwDpKXkPwbQZEvaWMFA=; b=B7UeQm7TBt6inFGHUr8gjt9dOoq1vKUKrso9S9JzQdwg80hAJccclkL28UXrWVDVy59Mi+lHjGHG+aHVx12wAvXRYw25rE+0KRQNhEKxepdkTB7bXWLevkbSzM7a1rDrgyBud2FV7vafBwZUo7YMI/rPcdbuyHO5aybKlQ2OIpg= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none; lists.infradead.org; dmarc=none action=none header.from=virtuozzo.com; Received: from [172.16.25.12] (195.214.232.6) by HE1PR0801MB2730.eurprd08.prod.outlook.com (2a01:111:e400:7baf::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Tue, 11 Jul 2017 17:26:24 +0000 Subject: Re: WARN_ON_ONCE(work > weight) in napi_poll() To: Ryan Hsu , Kalle Valo Cc: Networking , linux-wireless , LKML , "ath10k@lists.infradead.org" References: <26670dce-4dd2-f8e4-0e14-90d74257e739@virtuozzo.com> <87wp7oia6j.fsf@kamboji.qca.qualcomm.com> <952aefe1-6f6a-3978-e7e7-5e74076f26a3@virtuozzo.com> From: Andrey Ryabinin Message-ID: <8cb28d9b-41c9-043c-16ca-f0bea41944e9@virtuozzo.com> Date: Tue, 11 Jul 2017 20:28:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR1001CA0011.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:b7::21) To HE1PR0801MB2730.eurprd08.prod.outlook.com (2a01:111:e400:7baf::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03188cf5-5aef-4aaf-7665-08d4c881f501 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR0801MB2730; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 3:gWNsfqFeHE9nbgAUGvEb+1pjex0dY8T2QS7WLy3VIMkyAn3SsQiSZjTKafY+n+PfDrS6MwhbWZ8ccFbVD9/0TLBrmjLbWVayazVJjFS+N6Twt/GL8C+jVgzrBeOFpILI/pOPY887lkl1VPqulI0STkUETbAtXkOdBlf1dZTXYvTWrlKZmeRMzEEfPnubAvbPbCsNXP502vcqurnchKtKRw2rFmNYiPlNn7Q7kXqTDXUp73qLdp5FdJzl6L5zgUW4RQws3jSfeTkRL7TS+SOPVnzHIfSeI2X3NpKl1VS8XODX4AyTdIre3lEObmkzydEhr+wlab6y7pRZKdYI+JYEvSIJRNJu6GcYJnkCyI+dcYJbb74+zyoTsakLai6GLsE0bKq7JSzSkPAkyCU/jATZ7+zcUqymtJLddINoA6D+qH8xhW7l4/y+F21KljBXI2UMERqwDhQNvDUgiF+YWdbwK+fXo/gkYGYiV2jMGUjKGCNWKlmoiMDYvVtQLcm9ehuhBDNq7zan40920/EdxH14HErA6utcb/0Rg6qzz+pKnylsgQQrp0mtbLbE2KR741xca0rJ8tr/HJqcbqWU/ZEgJ3H73NYR1FN0eI5dasomT/UpMhm17n5lbitmC34nEGNUMfMyFvlki4h+FTRUD/bjgyO7VVP1Wp/r7aor7ikUuObpKlMHDVhOPPeYPAPUpzDAen0BXO80fDcCOOzF33l5DcW8lYnTFb/G9f6sjpP/Yn0= X-MS-TrafficTypeDiagnostic: HE1PR0801MB2730: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 25:xYR7uIMx+yEnnxVCNXbOo/LqzaZYLlTfyTzG458Zm7jbIX1HpD5+DnOetBfmrwkp1jJG0R5eYXf3+t8wJLr8GCCIQs3PUQV3auQvsz3gCZWogiELgdOjsB/kJvYXB83u7h6FeQBSi42zcFPFcuGwGJvKexnsVb4z2DU9WPKPcYgYX02LSwxSgXECiExDkmtao35Gl3aq5oSqiYkpcm7xMk5H9wl+mM87ESHTnXJNo8Y4IRL5Tm6U+i/3Ef57Ge9uZr8MzGZS/DpVpY3Ib1+0pDxOZP706GGY08jEfpwOixf5pIlR+Z1l4kPJboUS5mY37Gv52hHXe1Fa3e/MmsXt28uZEF4GFdYPwm9t+SKSXkvXBYgihcrENyCPS/wI1dSEBzRGhCCEc369ajeiNCBpIj8BytaizKA/V+QfvVlgWCwUROHSJqnHkeoWfwHUdckwFYH0iDszDIQEoL0blulxPPfXnK2Y+8w0p9A0qdjYXyVaBsZCLbQ75sVGkvEyz98V8NRxPmeMFiP5dvO8yzrgnk73CFBEYsXK1k1sMQCuFD8q0nw1ODaCAJLe3MunvTVujFyo58WcJgJwG5aPxxQmbuuIHCeC255KpKrTw1l2mPgRCi38FOa9WjNPsnQnF5zvdOROuIGnBRS88mvT0qoc+/sFnPx0eA+q6qUN0lksbIw3B8AL8+uEP78lXn/6R8b3S6gXQMGzieMD1bwx4SNrSHn+L3Bun73DvAe40/w7m5E5byfZVR+IEs2aNwdMz0SCwv97AosXFHRiuUJ1bwzQyxd85SAaoUVilsh6TIRMleTOuYwaWRlZB97PWdVMYxiD72Ot9j6UrwCPQXOyFDKUWVys2JzZW78uVYuOOKfwEtfaEnhy28noUioGvALVNKHX5Xk0NimTuzWzS/4oVubMFh7VXmnpxlu2dW+A05U 4iLw= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 31:bVDrf4JzOBmeln0QeeP+WhzMeTBBXpqnUgPQzCvzFzRqVkZQ5UEvvHXa8Unc18hQG9XHVh6YLvqbXdrcjDgyIdOCbQiVyST3fzopho2QlhavBy+7RaQFo0/71mInYW3Us7rE3kE33WUOvbqQ3QA+oJqAJiWfxlQ1KDKT+WM/xDeIDN93x7s2G2ssQgyAmkkRJAMWOto8u2ZXuKledvyHV64gK2llVxQ5PqizcICmIur69sc2KgzHbF0icegX46sLQHCcu08rI1M4aVwW8Kx+v/FZPModdMq07crVDU+JmMnCDK1S741fs0pPzHh26WAf0icpX/MHeL1vyt/XVr5gMEq56L2/qLyevXW3iqWK/sFuHFNiEkMQnX/gDtJQI/q1WKSJTyu8uwDos0OrpV7rxyVRBTrieXRBgkGXCBdGSzuNz9qOwqBbYfyF6uCpI2zO013tu1TrOJ9ygJGQSVyllWOjckbOgnq7JAglznVN1WEz0+2M7MPEvaYYtREa2vYJLx4dAb/deGfQaE8YDyV6uIr13REPdPfCS3L4cXvPbpYpZsl5OQezr65uJcgZtdLoI7urowe6daDc3tM7Rg8pmHjJd5yy7t2yy3tDjv3yV9T3CZ5j9PTkegFqc9M/hSsuxlwAsL0daUyTRwte8uClfRXHGrZmOTJWcwVIAxKwVziWSMu11Ku6yK7utz7fx/w+D0HaPOxuHx83WcnK7V2E8g== X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 20:rB/1V5kqTz5lSh9Hgzn9vWoOa8EKNZdbLWDCQ+CaHj1sY5MWKs4JQWNZzQr5Mycvp/iOusVgGzr8xcmh3m256RSnOtVwkDDjUf6+nT/qRHnl8c/Rl529gvV0kMLkb6PEy9VnwHiN83vE8ETnYhbSzJxGcEUhyRDgkXMt0YECnAY5jCbIM6fgnVj4rPzmbH8V3WI0qzEghjTSWlKLIXriSCZGDKvYFkcM1BnNd+P067bmr1nOLPbF+j1rV1QY0iLEGtkXYXQhXmbRMblrqspNXwsoW4RDlwgBx0aGDKRz1R/Ds+Q6/bybIyAL+39mhH2wzI98z4brm3gxlCzzVBs6lLPjSJhpMDb5tALdQ/wu/uOpoAYIghJAPhb8P8wqzplkHtgs8XJVSb5yLryxodtouNdog57fslEgh+JGjfi0/kM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(236129657087228)(167848164394848)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0801MB2730; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0801MB2730; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; HE1PR0801MB2730; 4:O8hNAqsKToPpUNPcjtJzStkxyjlVur34rMCm?= =?Windows-1252?Q?dCpY4lVOBigy55OV428o4cvFF+omiveMHLkkxx6dBv4iF8nNveBvh0T+?= =?Windows-1252?Q?lGP/0CcHq7swzuhPTKbtMXczCL65VHnXNtcSmgNPL2N9Y/+ATRHfzF7A?= =?Windows-1252?Q?xRzkw9YVSp3ZMToQiHcvmZhuTh28PYWyNUZH2odfq+kqKo5agO49J0cA?= =?Windows-1252?Q?zGobCCOzjSkcYFSeUZ1mcKhYErzmmON2zyLjfy21+yXBgxim5zx5BjLR?= =?Windows-1252?Q?Snjx3rxlAtQ0zjALMeZ5AchjqXL4ygMS4TyTCI8kV+ODKFlxmVe1AtJp?= =?Windows-1252?Q?mnFhhVn0Hna5MW+Q63JURLs2unE+daE8s3Rajnq4nX/hd+sctl9XODEp?= =?Windows-1252?Q?2fuxQxLBiYh4KgL0MZk42vLDMuukOnmXkIcHZIaYliIinzKOwYw6GFRq?= =?Windows-1252?Q?tNl5jz44I+NSoFC9gpPefsZHKYyIgWsafv/INy2hmkesMJPU+NfFYP4O?= =?Windows-1252?Q?GVxK6+zmViTrBnpmjWIGqZDgmjsSTsnOSuHkEo3g2/+rtRRg/LrKyGNl?= =?Windows-1252?Q?zBdqHiM8ijG4nUhNhvFoCL6541xulzD5p65w2d6vTb5bA3alGhWCF/H8?= =?Windows-1252?Q?GnBhMMCHqICYPxGgGsSOIPVZKJdGaXGKRpbfSDm693pBCEDL4quqb+Qq?= =?Windows-1252?Q?K/Lh6ljarQPJxRY5YeiVcsxuJHksk2JbLZTkK1WbynybiVlVhoLlQXdw?= =?Windows-1252?Q?rHQpXEvcxcIBGKvPHRVJbUhfIZeQwA6z1EFdIggcQGh64s8HQcVCgg3b?= =?Windows-1252?Q?VWHB4XREonyoHnOPid/y/W2zWF4PEunRCbIL8XleNLtSpH91zAiF+2wZ?= =?Windows-1252?Q?9g8gK5z/htmjYabEORewR2mE/a1pswrlhCAqcCuqni2mIwo5f/6r+0HW?= =?Windows-1252?Q?3uGZi4ETqU1Ll8E9c3rWAT4VqsQSeB5u6YUE/HpZRbReIMp67HHk2lkZ?= =?Windows-1252?Q?XzNSyMSfoPnj6/1IxK47vcKDnipJ1BIiSqL0WO/J1QRlU3lJrioDhDRJ?= =?Windows-1252?Q?H2Y2ViR74gtiLJTGvxeb6xn2kbq9qJWlbRdnOfr3JoIpXXbTNqLOkAOz?= =?Windows-1252?Q?6kA/bbwYCL9fpqzdFdL6pkHoxesG333DuQ+V9Wd4U0cFiauAFd6msHLl?= =?Windows-1252?Q?d2ZuzLXca5UfgtNkjMIkCJ3+F2SIY3v6gnnfN9k/I8eh76Mpb/bq0CJV?= =?Windows-1252?Q?qqKKMuNxhJoMyj66e18cLcijEdIzG2aSp3Imo8Bmr+qcyCtL0j7Wletm?= =?Windows-1252?Q?MWzmu5rljApLZIzLl3vGylQxQSGjrBzaiofN/zWDW7LuAQMIcFcuXb2F?= =?Windows-1252?Q?ygPvFoLVDbOxUf3uis2lOtIigtU/p/48f5Y/2p245RDU8F+3HmUXD3xj?= =?Windows-1252?Q?QiXBb24TNu+uNQJmUqqH?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6049001)(6009001)(39410400002)(39830400002)(39400400002)(39450400003)(24454002)(377454003)(69234005)(65826007)(50466002)(42186005)(305945005)(4326008)(31686004)(2906002)(93886004)(478600001)(966005)(54906002)(25786009)(76176999)(6116002)(3846002)(5660300001)(23746002)(7736002)(6306002)(54356999)(50986999)(45080400002)(230700001)(83506001)(6486002)(86362001)(575784001)(229853002)(31696002)(77096006)(4001350100001)(8676002)(66066001)(53936002)(38730400002)(189998001)(6666003)(7350300001)(81166006)(53546010)(6246003)(47776003)(2950100002)(36756003)(33646002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0801MB2730; H:[172.16.25.12]; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; HE1PR0801MB2730; 23:PEs3Je2FUVFnMS9RgIOHX2kry6tO9h11Mld?= =?Windows-1252?Q?/XSZ2KDp/L+zpZxKmZW3RiSHnRn1CN+1DeeLbKLOxcbyM/P9xr+i3j4d?= =?Windows-1252?Q?rf25WpMmxjuaMulaIV/NeE+Tm3bPvao87Nov8UcmE4bvuwSllulHrOWj?= =?Windows-1252?Q?K4vJJ4HL4cERYFRI0I0Eu1ljxXcArfQpp5F1VriWTSkyZLOEF8xRAuIi?= =?Windows-1252?Q?ou2LyAH2smnz5S1ds0mQFD9H5QwrLA3klYU8UT9SIa72F+3h+aCioozz?= =?Windows-1252?Q?1Yr7hiAcpWAgVlH+dXoCeeiQwENuHk6g/NS9aspykpkB9tYrqI4CwRwC?= =?Windows-1252?Q?V8Ou5h99sCOsx9D/HOVoaHBZcvZ4bou2m2BYfub+BFnzEzepNendO/8t?= =?Windows-1252?Q?31DSDoBapAz8+lFLvD8IzRu5xznT0jmtxtQ7HCJPNdjj6oGfq6asvbqr?= =?Windows-1252?Q?erahMdqttq/vjQt1bAT7jDFxwXB+yEBzqNXZWz+sYPRrjAKimXPgDgy1?= =?Windows-1252?Q?v+oTx/MCW1Qboi91yTHmmELNqXHiNKdcfdhCMKL23Push1aTQqhDC/l4?= =?Windows-1252?Q?DKjRUqK9Lj9vZtDe5tiMrFtrtAkAY+REk8wt8aX7lylvk8X06SFRu+o9?= =?Windows-1252?Q?e1ws6vt2eeU6Sq7RY2jluysN48vx3q4V3sLTRH9r3RUuNS+SdRpgTvXx?= =?Windows-1252?Q?gU/+sghpdua1llhTwmxuoRuq36P/h4cP0XQEeo6Fj82mlmeQ0wcAG170?= =?Windows-1252?Q?cowU4t7lCTMmoq6SKm96mLw1Xjyrw1ShSxzjPXfdhD/reNC48JOKbfmY?= =?Windows-1252?Q?lTE9qA5cwt7qSw2/tE0qj3RFph3zX11VZTMcf6XcXIEmAPjWrsR+rsFi?= =?Windows-1252?Q?wY5hKcWPaNFA0Mwd/8xetb8PWHV0vS3sFHpsIpNgbNtxyGh/5SJfkl6F?= =?Windows-1252?Q?Z+s/Uook91SC0tzF/WH+w25vfy7737sywdggj3FJhE0tVSKFtdaAHcf8?= =?Windows-1252?Q?/W+riGftX5vk5VsW11n8RL91onHvlI6p6RzuIiDwtuEFY0XiyhvpDoSm?= =?Windows-1252?Q?At7i7yDyxiAAbWSPbgAvbYeDTeSGKNpMLM+AptA2wZShpt0/qRfR0VTA?= =?Windows-1252?Q?4VjT/p4ZgXW9wRi/v6UqXaalnjL8cDBfH0Y0mX7iu1kd8oAEE/O39c4t?= =?Windows-1252?Q?YQgaj0aWAcE1NjGABd4AtCAcb1h+jcVqVH6MjvSv1wyCciWzq1PJ1n36?= =?Windows-1252?Q?YZEkLMFMbmXZcGLB974wNeMjp5Rq+oJ6NYgqEVxNTbyLD7Q/IGzWN/sE?= =?Windows-1252?Q?+1wJiq2RXtDXlMfbFiR+lf3oEE3j9WW8A8qRSaC45OcFueo3VaWR/pCL?= =?Windows-1252?Q?9atJGfNEv/GXuwqihobMaw1dgOOj3Xiwv2VR7BgKGpxCU+NoqvnevAxS?= =?Windows-1252?Q?jtXFoSKGECNdlNtmT+ITmPLM9xCJm0oq/USQ0H7Y6c8xHNcp21heURrP?= =?Windows-1252?Q?Unnwqx88=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; HE1PR0801MB2730; 6:1MazbXc8huPSfvduoieeEk/eEGTIuMMAk0tf?= =?Windows-1252?Q?iWsCI32LIEbk72XSyRZ2ABxNzL5pqp4ZUZeAm8NxCUM1EKVEe0DVkeGX?= =?Windows-1252?Q?Y7mnwGYvUoTsXm+pBsia+BRAAnEnqnggJu9IMcMazotfTz0Au8eIWXah?= =?Windows-1252?Q?B9eOxnT0M/16900I6sgCXlSEE5fn2F8L0/jC8zsvizcUrqoywuXjvqB5?= =?Windows-1252?Q?KIh/mgtCYsFIgc8bVEOVuwIg9rPv6wfNfb6JfOod13C8KUAM3wVKITF2?= =?Windows-1252?Q?6Kd9+tAZs7RLf39Ggt4BnCzYUF0O3kgqrFGEPbZxvEBdH4WOlkSgTpP1?= =?Windows-1252?Q?TDPaTEtj/QtM0RzWKlSetPjcCB9PciL3YJVYih0kax6YUQz6VGY/B2Kk?= =?Windows-1252?Q?0gW/mxjBqXb3tKDCKKw5nt7oLQPzyeb9e5cylq80yxFbDXoY9VeE+9cC?= =?Windows-1252?Q?kxDzIIzfJB7a+VQW5bQpBfHMPzUlMkc+vCG/YZ6w8I6W9iot1mGqzivP?= =?Windows-1252?Q?yuXIwRj4sJGfZuWxYQvGv5E19ww/WTysjpFTW/XlCnIaWnRGE1770KJP?= =?Windows-1252?Q?0iiaISMf2BDGnLbfh1vsafZUmvONOR4h0tWdEjGHLPDR1e72JzGj+fZK?= =?Windows-1252?Q?fddB2yUJyy1wC06IFKfQiupOulsd2OYyoE3dOwSvC93Ft3LI3lOwJuqQ?= =?Windows-1252?Q?THmL8dlsqS8MgfT05NRgPqRAHh7fHE382iWHsH162ePbRfWBAUf+2DVj?= =?Windows-1252?Q?YYKxjDidL25KqR+RulzicGHwIn2fVt/44vCDWeLYSuRyra3pM0MDY12B?= =?Windows-1252?Q?XnYRtp0/xKeCT+XIfPmKgGz5rQGeQYN11AZuBlFmTQ+UMhSqIzPb1JZV?= =?Windows-1252?Q?xRl9f+mAt1X8X7Gb4sC1f4Vv3hxpFaA2IlHaC9NCHYAYCnset8z9Qlm9?= =?Windows-1252?Q?+XlZMcCRlz/6wTKSxt9+7Nc7oSUTiadgZ+VF1+VIu0ze+yK0KwVldb4A?= =?Windows-1252?Q?UxM0eaPP0Fj3jT2P3RbNPpqrV/Z4cbGbvmbYcNrLLD2ZgbEdzLA9VYwc?= =?Windows-1252?Q?MtXZpmWKqblx67M=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 5:LmVmjS1QztkaKl3C+Qi5sGSLetyOC1mPm6FaNsZmakiAx12Pfx62qkZvrfvlA4MV942AYKIbfhV6uU809yKRLDaLUHNm3iLcIL3poTHo5mRycFDpdSn7ZjqzZyFdMBX32T8yhm0sO0LPFTdueuTBDduMmXIoR4Y0R0N2AFeC4MyyQ/79AR0MOvg8mr+I8AR8a7ROHnuB2O7NnreHMbkHAquHQQeoaVGqvJnWduGTPSoBLjwcc2YHFPIbYwI8czWAmH8YMqOfEgE6tDeCJis5PKZuKPxJXb4KpPnbEFQiLJIAg2qBMBsokyTVTMQm16xkxKL+BqJFfGXq8pWxRlMgo0BTUqmclG1XkqssRCm25IzDsKt741CXjJjRCBrhBteuFxRWFmHG5escPO/qhd17VsRfuViawgBiLRBqfa5V9e/wD+/Wa+TdRO2i3tSyYZhszBUWjBW+ybA8mEQQH8E61WKp70f4wSqDJWA4BRy2FEMm9tnHH/qyClyZW6dWfP/K; 24:c2wmasHNUVhGie5KD9wh3L3tET0PiclKerWaUqR2ncn+quS/VAXa+OtaXVajfuxICT4RngPDP3f31FgDOZlH9HuqmJszHhLRL1OoRBKydCU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 7:9q7WfZHE0f2HuTaA+5Eg4kE5GUR9JhZ2w46eGPkqNw3Z7nrcM5xPfboqNzPsT7j3NPDrQ7Rql2rTODWmYUL2X2UNwAJsKtuFHN6bC4zOFm/lBXweenvZXgAEkKphB/WE0h6r+k7yHRoaNxhoMFqKdmpUOl0Gey51j2G24LCeltzCJKyhatf1rS0CEv70V/Q2DA2s/8yhOiqVlHTYJ6pysqtkq6DcTSMeTLOs8Q2BSQoJbjUPNORJkLJSmXuPB11S+IlyPm5PojPGtpMihUL+7GNzQYoHH2bGj5ye5K8OYeMo74s225/MCj7vbtQSRgIryXl+OyRNVmuUgu9J6iUFmBVvBsr9X4i6YQt4iyL2ROAWG9QrEpJ/Z3EQfCx2WtB0XcIsc+CCZ/3tVTIt2YrkRx7GVHU9bdXrd71hE3BjIQwPAQZ7UMFbB4aSydKyfLyjietCbR8xiVS5/18iK0NZbM2mg99QM1yamVnlKVFdT/O4HeobDZmrETO7QLb2trUx/J3DnCujz1kXqVZ9FhyjCR3qeLrQvgeTa+Z3A0qeOGMDsKyAqR3OVcTh7MHfuJ6OxMJ+K1cG49tL5zA+il0b6z7Wftiw2WCVxMvlopRfnAViEWmAAf6sdmOaf6r0nIfpsak04gV56edmnfOSgNDiSD5RrYXDp1fPfrIsX7PkNZ7xBq+XDLJm8YjcKmnzA+MkfLC5t+YACRqNbh6ukoIamK5OLouQGWyayiPaa1dnPK5CIGSDee07WjUhiitLR13nz3wmAgpzkZ5n43oulIsmfXiONKu5JZoIdnuJsLxZqJY= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB2730; 20:tr/8yU58y44rwjyeP8iZj4JtbaZILc5nKmbPbwhbYukuO1945OgK4f64WKyEU8ue6PQFxWI6WeI6XgheWIbK4l34dPA5A5+ZClonwJENATj/n4qD4CIDlZ3XQrEdP5oOLsJdoLLUt5NBkiPvmhvn1X2X2Q4aWhl9a0hEJg+L19M= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 17:26:24.3868 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2730 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 07/11/2017 12:24 AM, Ryan Hsu wrote: > On 07/04/2017 08:59 AM, Andrey Ryabinin wrote: > >> On 07/04/2017 04:49 PM, Kalle Valo wrote: >>> Andrey Ryabinin writes: >>> >>>> I occasionally hit WARN_ON_ONCE(work > weight); in napi_poll() on a >>>> laptop with ath10k card. >>>> >>>> >>>> [37207.593370] ------------[ cut here ]------------ >>>> [37207.593380] WARNING: CPU: 0 PID: 7 at ../net/core/dev.c:5274 >>>> net_rx_action+0x258/0x360 >>>> [37207.593381] Modules linked in: snd_hda_codec_realtek snd_soc_skl >>>> snd_hda_codec_generic snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp >>>> snd_hda_ext_core snd_soc_sst_match snd_soc_core rtsx_pci_sdmmc >>>> mmc_core snd_pcm_dmaengine x86_pkg_temp_thermal snd_hda_intel uvcvideo >>>> kvm_intel videobuf2_vmalloc kvm snd_hda_codec snd_hwdep btusb >>>> videobuf2_memops btintel snd_hda_core videobuf2_v4l2 bluetooth >>>> irqbypass snd_pcm videobuf2_core crc32c_intel videodev mei_me mei >>>> rtsx_pci intel_lpss_pci intel_lpss_acpi intel_vbtn intel_lpss mfd_core >>>> tpm_tis intel_hid tpm_tis_core tpm efivarfs >>>> [37207.593430] CPU: 0 PID: 7 Comm: ksoftirqd/0 Not tainted 4.11.7 #28 >>>> [37207.593432] Hardware name: Dell Inc. XPS 13 9360/0839Y6, BIOS 1.3.5 05/08/2017 >>> What firmware and hardware versions exactly? The dmesg output when >>> ath10k loads is preferred. As you are using XPS 13 I'm guessing it's one >>> of QCA6174 family. >>> >> Yes it's qca6174. >> >> $ dmesg |grep ath10 >> [ 0.624828] ath10k_pci 0000:3a:00.0: enabling device (0000 -> 0002) >> [ 0.626370] ath10k_pci 0000:3a:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 >> [ 0.837862] ath10k_pci 0000:3a:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535 >> [ 0.837863] ath10k_pci 0000:3a:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0 >> [ 0.838388] ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5 >> [ 0.900606] ath10k_pci 0000:3a:00.0: board_file api 2 bmi_id N/A crc32 19644295 >> [ 3.020681] ath10k_pci 0000:3a:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 >> [ 9.574087] ath10k_pci 0000:3a:00.0 wlp58s0: renamed from wlan0 >> > > I can't reproduce of this past few days, not sure if this is due to the amsdu packets received from AP, would you mind share what Ap you're using? > And if there any specific steps you're doing? > The bug is quite rare, and I don't know how to reproduce it on purpose. It just happens once in several days and it happened with different APs. Perhaps you could think of some debug patch that could help to understand what's going on? I could carry it and will report if warning hits again. FYI I applied small debug patch bellow, just to understand where exactly we bail out with too big quota. --- drivers/net/wireless/ath/ath10k/htt_rx.c | 4 ++++ 1 file changed, 4 insertions(+) -- It gave me this: [118648.825347] #1 quota too big 72 64 16 [118648.825351] #2 quota too big 72 64 16 [118648.825471] ------------[ cut here ]------------ [118648.825484] WARNING: CPU: 0 PID: 0 at ../net/core/dev.c:5274 net_rx_action+0x258/0x360 So this means that we didn't met the condition bellow, i.e. skb_queue_empty() returned true. ath10k_htt_txrx_compl_task(): if ((quota > ATH10K_NAPI_QUOTA_LIMIT) && !skb_queue_empty(&htt->rx_in_ord_compl_q)) { resched_napi = true; goto exit; } > Also WLAN.RM.2.0-00180-QCARMSWPZ-1 firmware is a bit old, could you also update firmware to give it a try? > https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0/4.4 > Will try. diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 02a3fc81fbe3..02b0cc6ec671 100644 --- a/drivers/net/wireless/ath/ath10k/htt_rx.c +++ b/drivers/net/wireless/ath/ath10k/htt_rx.c @@ -2548,6 +2548,8 @@ int ath10k_htt_txrx_compl_task(struct ath10k *ar, int budget) goto exit; } } + if (quota > budget) + pr_err("#1 quota too big %d %d %d\n", quota, budget, num_rx_msdus); while (quota < budget) { /* no more data to receive */ @@ -2568,6 +2570,8 @@ int ath10k_htt_txrx_compl_task(struct ath10k *ar, int budget) goto exit; } } + if (quota > budget) + pr_err("#2 quota too big %d %d %d\n", quota, budget, num_rx_msdus); /* From NAPI documentation: * The napi poll() function may also process TX completions, in which