Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp441487ybi; Thu, 13 Jun 2019 19:53:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyqomNpEf3xYgy/1I3ekm00sq4OY3Xepzl+1Xo4qrG8N0nh2aFWpOFRnkaaiYHVaLPPZQc X-Received: by 2002:aa7:9212:: with SMTP id 18mr57391484pfo.120.1560480830730; Thu, 13 Jun 2019 19:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560480830; cv=none; d=google.com; s=arc-20160816; b=xLZH10pYL+I9ErGkIhNOkWpYml6nZHG4o+UCcY0tTDMPyHMWZ1BFU3GIVEH7mqC3i0 E+4ACtpC91pH6E7Y2t5MBIC7xiU4z/xKN9QZfkGHhITcoHCQZz3+5xGcBq/EKAlUhIg4 oMih0y/yUKXDU5s3NBtCDotlzx8G1L5k1EeZZYI4+Zz+QBTGa+jJc3JsE17BB4V6mUqQ VLcvyxqJKhNp0pOnsef+21kjihEKDQrbEOYs4mfhodpLcQZ5X3K8NL0E1XTxfVFhGMdj /csP2W5IDSJ1Gplzqat35CKPF6OidCzszmDPw9kmnSdWYdimryzKSYyoOWfQ5V7ypAud Yluw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=qdWYjvoQGEh83oggAqQsU9UEBIa7tyfrludY0tzgjq4=; b=09OuMUNigdBARBlwmAeq+h2ZeuoGAH3LyMYdTCcbvY3Rqk3UGWaKTy6JzEAlHmHxZR Dxq+s+dJEf1PPwi5APrAiSFxIxB8d2e2c5rkKAl2xJU/Z39Zw7ZOlkFOND2wTNunlIgH Q94Lf6JYpOhj8kwwEI11GtKxeYYnHNSow3fVhyHUTVYfNmQ3P6TSlmCM+/9t7twvLTVZ PiKN/Hw5gOhFx0p94oXsYq2gpZnHS3hzxl+0+j1P38dGljbR/draaCvDvjGWbpFMAZho P3nEzFD/KHyY84UbwzqwVaGuuT11rulDYH0vLg8UyW5UcZSCQdZU76u4i6oXwxmu8c9r 9c0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="FjR0r/Df"; dkim=pass header.i=@codeaurora.org header.s=default header.b="FjR0r/Df"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11si1259665pgs.261.2019.06.13.19.53.19; Thu, 13 Jun 2019 19:53:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="FjR0r/Df"; dkim=pass header.i=@codeaurora.org header.s=default header.b="FjR0r/Df"; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725825AbfFNCwa (ORCPT + 99 others); Thu, 13 Jun 2019 22:52:30 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:53814 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725777AbfFNCwa (ORCPT ); Thu, 13 Jun 2019 22:52:30 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E8A4360265; Fri, 14 Jun 2019 02:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560480749; bh=2OzfHTsmEblGt2xfngsU6cjMNpk0syI/s5QaZz/HSWo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FjR0r/DfQVcYKNL+6WZtlpleYpeA4q5TMuxbTMLA65fbuv3KMhBQFTkQkIOdPVuVD f7g4CKwjlRsuzkd5Qvj5bvJAVRqsdc8TcQ0PcfFYbB2fK13pBlGmTEy5mZJYIdSya6 Mg9CbGhOTM3354lVgyHqJgwLN6N9kl9AQVWfwhso= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 4156E60265; Fri, 14 Jun 2019 02:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1560480749; bh=2OzfHTsmEblGt2xfngsU6cjMNpk0syI/s5QaZz/HSWo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FjR0r/DfQVcYKNL+6WZtlpleYpeA4q5TMuxbTMLA65fbuv3KMhBQFTkQkIOdPVuVD f7g4CKwjlRsuzkd5Qvj5bvJAVRqsdc8TcQ0PcfFYbB2fK13pBlGmTEy5mZJYIdSya6 Mg9CbGhOTM3354lVgyHqJgwLN6N9kl9AQVWfwhso= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 14 Jun 2019 10:52:29 +0800 From: Yibo Zhao To: Johannes Berg Cc: Ben Greear , linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, Zhi Chen Subject: Re: [PATCH v2] mac80211: remove warning message In-Reply-To: References: <1557824507-17668-1-git-send-email-yiboz@codeaurora.org> <7c92f5cf51eaec1d5449698d90f5b6c5ca6c2bea.camel@sipsolutions.net> <34f72d5db336b9898618bf1c5c15ec41094d7d06.camel@perches.com> <4d013893-3302-14f0-c957-b3771f4b6b82@candelatech.com> <8eacb8e107c854b64a0c6116fca9731ddd99dcac.camel@sipsolutions.net> <730d3664-488d-7d57-04d5-1a57e91fa070@candelatech.com> Message-ID: <143d044082b54b2be41ba3760390d97f@codeaurora.org> X-Sender: yiboz@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019-05-20 21:56, Yibo Zhao wrote: > On 2019-05-15 02:57, Johannes Berg wrote: >> On Tue, 2019-05-14 at 11:54 -0700, Ben Greear wrote: >>> >>> Here is the info I have in my commit that changed this to >>> WARN_ON_ONCE. >>> I never posted it because I had to hack ath10k to get to this state, >>> so maybe >>> this is not a valid case to debug. >>> >>> >>> Maybe Yibo Zhao has a better example. >>> >>> mac80211: don't spam kernel logs when chantx is null. >>> >>> I set up ath10k to be chandef based again in order to test >>> WDS. My WDS stations are not very functional yet, and >>> when ethtool stats are queried, there is a WARN_ON splat >>> generated. Change this to WARN_ON_ONCE so that there is >>> less kernel spam. >> >> I'm totally fine with WARN_ON_ONCE, FWIW. >> >> Sounds like different bugs though. You're talking about WDS here, and >> Yibo was talking about something with AP interfaces prematurely >> accepting frames or so. > > Yes, they might be different bugs that hit the same point. Looks like > others found this too many warnings issue as well. Then I believe > WARN_ON_ONCE() seems to be our solution for now. > Hi Johannes, May I know if it is fine that WARN_ON_ONCE() to be applied in kernel in the future? If a separate patch for it is needed, please let me know so that I can raise a new one. >> >> johannes -- Yibo