From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932238AbdEDGGa (ORCPT ); Thu, 4 May 2017 02:06:30 -0400 Received: from mga07.intel.com ([134.134.136.100]:23822 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932087AbdEDGGX (ORCPT ); Thu, 4 May 2017 02:06:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,286,1491289200"; d="scan'208";a="95388197" From: "Coelho, Luciano" To: "torvalds@linux-foundation.org" , "kvalo@codeaurora.org" CC: "linux-wireless@vger.kernel.org" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "johannes@sipsolutions.net" Subject: Re: new warning at net/wireless/util.c:1236 Thread-Topic: new warning at net/wireless/util.c:1236 Thread-Index: AQHSxJyLGJl/EYPjokyMY00NbO/tIg== Date: Thu, 4 May 2017 06:06:18 +0000 Message-ID: <1493877978.14233.85.camel@intel.com> References: <87o9v99r3g.fsf@purkki.adurom.net> In-Reply-To: <87o9v99r3g.fsf@purkki.adurom.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.19.243] Content-Type: text/plain; charset="utf-8" Content-ID: <28266EE120BE294D965460F0C60F93A0@intel.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v4466fCT003553 On Thu, 2017-05-04 at 07:35 +0300, Kalle Valo wrote: > Linus Torvalds writes: > > > So my Dell XPS 13 seems to have grown a new warning as of the > > networking merge yesterday. > > > > Things still work, but when it starts warning, it generates a *lot* of > > noise (I got 36 of these within about ten minutes). > > > > I have no idea what triggered it, because when I rebooted (not because > > of this issue, but just to reboot into a newer kernel) I don't see it > > again. > > > > This is all pretty regular wireless - it's intel 8260 wireless in a > > fairly normal laptop. > > > > Things still seem to *work* ok, so the only problem here is the overly > > verbose and useless WARN_ON. It doesn't even print out *which* rate it > > is warning about, it just does that stupid unconditional WARN_ON() > > without ever shutting up about it.. > > > > The WARN_ON() seems to be old, but my logs don't seem to have any > > mention of this until today, so there's something that has changed > > that now triggers it. > > > > Ideas? > > > > Linus > > > > --- > > > > WARNING: CPU: 3 PID: 1138 at net/wireless/util.c:1236 > > cfg80211_calculate_bitrate+0x139/0x170 [cfg80211] > > As this is with iwlwifi adding also Luca. There were some rate handling > changes in iwlwifi, like commit 77e409455f41, but don't know if that > could cause this. Thanks Kalle. I don't see anything in the iwlwifi driver that could be causing this. Johannes suspects some RX rate changes he made in mac80211... -- Luca.