Received: by 2002:a17:90a:8582:0:0:0:0 with SMTP id m2csp2411813pjn; Tue, 2 Apr 2019 16:03:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQEkietUE0VJNdFpRBd8+/rVCE3sq8mZ3tedQytJ5z0aJqEymqGbZm3KL1TYUyt/2TFNBY X-Received: by 2002:aa7:820c:: with SMTP id k12mr47314606pfi.177.1554246222824; Tue, 02 Apr 2019 16:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554246222; cv=none; d=google.com; s=arc-20160816; b=HfjTRpWcamHdqtILiSDSGO960Iy+SFX2AbkQ7JwXKkeobbkZByMpgm9bjCWZWNdvky RUehf144eQd709zjqX87XhM7dE2DNyD2sd789WcPpvSuD3taM9RzkddZVGBVa/TRkgqF 3uDIJdBu3nvmLgNReR+4/PTDqkLQ2ExfGVwVouWc80bohCRhdvumRZfxl0RZvnXhKWGf NGZF+q6cliGvheGJ+FfbiQbJzMp61QgXpvfXw+6MQ2zG9z64vW78w7/5eQfg1wR8NQcX nEE77a+kM2iMhK/DLjMk6JyOPonV5zSXXLZJmZVH74nzpEv5CqZOX4TKK6pP27rX5U2M UF2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=SO58Wsvlssf+4GkdAXJfc0AlvDidEvl/QldqzBDTW8w=; b=tcy3NMbpWkUNizAAvP5TYRof1y20B66oxPLvaAoIhTuyeSXJ4JzFGXoNsBbCBbQwyf XMbN+J7HzxX0rVsd6vGZ2w2NL9BYGNPvxzf27b2nNFKbeTtffPVRlHis4voasQjfd7Q+ xIv9KvfSVt+DrBIH9b0yO3TMtZqwb9hl3ChGfPjuViKOB+lQJAGBeRLMhqK6OUdhpUiw xP1kMGBZQkEL0NNyOdo6/j0MqgrWxDEDIr7csr65r12FTv28YqmH2BKrja1OTPHSrVK+ 9Hd2ltLxQxDmqEFNh7gTjBMQyTMyQuxZA4RJk7Dtc0gSs7MvH2ywVrrynx36cAUc7oP6 WAbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M4Z7sw56; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si12012002pgv.3.2019.04.02.16.03.27; Tue, 02 Apr 2019 16:03:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@chromium.org header.s=google header.b=M4Z7sw56; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726849AbfDBXCG (ORCPT + 99 others); Tue, 2 Apr 2019 19:02:06 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:42326 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbfDBXCF (ORCPT ); Tue, 2 Apr 2019 19:02:05 -0400 Received: by mail-lf1-f67.google.com with SMTP id b7so10222307lfg.9 for ; Tue, 02 Apr 2019 16:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=SO58Wsvlssf+4GkdAXJfc0AlvDidEvl/QldqzBDTW8w=; b=M4Z7sw563MLFqjrmpOtd29LUggA2wt0b5ZNzN9kASRueYLiWhSKpcb1uGOmLWX8Ust KceJlBjUqPCiCHSQhS3BvlrPerng8I4zwix/Lhb4sBrDPqwWipH5SdHBa/OeqeIDMbjZ eUkxyWUtdpGn/UVvtsWYn+PDuWEm5Zv4UXik4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=SO58Wsvlssf+4GkdAXJfc0AlvDidEvl/QldqzBDTW8w=; b=fqOHFq6XPb6LQ7syCPYsBcFGkePVlKnO5NmW88YMLq6d1X+grEnSbPGg7YV2mFYPbM /7ctZ7fkG9nXugo4vI4TIdJb3FdnDjmtm5shOEbJnPSycuG/Ov2TLKWxQdwVIJ0GWRIR n1QZa1ddMNHNIWCuePePICOIgrqqDK25U3PVL3jWJ/8mlfxygkvFsAGaL7dsFcaTtMaD xGA3wsqKjMfhm/UTWCb6I4P//3nDf3M3+ufbUjT5nbdoA+oevBrgGIK6Ui8va/iFoS5G WQEjBdPI4VICv/+fe7/Bt69VxEM2wM/oYD6IqW/f9FB/Kh4wka74wl7puIOnmnj7qxVB rlbw== X-Gm-Message-State: APjAAAUJDoFIGr3f02N0BHThxzmx1k8iIq11iBiVIDsAzDunUEWibplZ /apCxBquA/3B73SrURfMHXhRge40txM= X-Received: by 2002:a19:7503:: with SMTP id y3mr36745089lfe.83.1554246122707; Tue, 02 Apr 2019 16:02:02 -0700 (PDT) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com. [209.85.208.173]) by smtp.gmail.com with ESMTPSA id s24sm2998778ljs.30.2019.04.02.16.01.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Apr 2019 16:02:00 -0700 (PDT) Received: by mail-lj1-f173.google.com with SMTP id t4so13128438ljc.2 for ; Tue, 02 Apr 2019 16:01:59 -0700 (PDT) X-Received: by 2002:a2e:9213:: with SMTP id k19mr18362707ljg.118.1554246118947; Tue, 02 Apr 2019 16:01:58 -0700 (PDT) MIME-Version: 1.0 References: <362a9b5f-8908-17f5-3594-6c3c68789dea@molgen.mpg.de> <874l8ic0l4.fsf@codeaurora.org> <87wol97hvp.fsf@kamboji.qca.qualcomm.com> In-Reply-To: From: Brian Norris Date: Tue, 2 Apr 2019 16:01:46 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Warning at drivers/net/wireless/ath/ath10k/mac.c:5625 ath10k_bss_info_changed To: Claire Chang Cc: Kalle Valo , Gabriel C , Paul Menzel , Linux Kernel Mailing List , ath10k@lists.infradead.org, "Rafael J. Wysocki" , Sriram R , Pradeep Kumar Chitrapu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Rafael + authors of these bad commits: cd93b83ad927 ath10k: support for multicast rate control f279294e9ee2 ath10k: add support for configuring management packet rate Hi, On Mon, Mar 25, 2019 at 8:46 PM Claire Chang wrote: > On Tue, Mar 26, 2019 at 12:49 AM Brian Norris = wrote: > > On Fri, Mar 8, 2019 at 2:58 AM Kalle Valo wrote: > > > Gabriel C writes: > > > > Am Mo., 4. M=C3=A4rz 2019 um 12:59 Uhr schrieb Kalle Valo : > > > >> Gabriel C writes: > > > >> > I reported that twice and no one seems to care about. > > > >> > > > > >> > http://lists.infradead.org/pipermail/ath10k/2018-November/012398= .html > > > >> > http://lists.infradead.org/pipermail/ath10k/2018-December/012658= .html > > > >> > > > >> Does this patch help: > > > >> > > > >> ath10k: Drop WARN_ON()s that always trigger during system resume > > > >> > > > >> https://patchwork.kernel.org/patch/10837139/ > > > >> > > > > > > > > Without to test this patch I can confirm it will help , I dropped t= he > > > > WARN_ON()'s in 4.19 already. > > > > If I remember right 4.19 has one WARN_ON() triggers while 4.20 got = two. > > > > > > Ok, thanks. I'll try to get this patch to 5.1. > > > > Ping? Is there any solution queued anywhere? It's kinda sad how long > > this has sat here. > > > > Brian > > Do we need to set mcast rate and basic rates during/after system resume? > Dropping the WARN_ON() will solve the warning issue, but won't make > those rates set properly. I don't think there's anything to fix here about the rate info; the original patches just made mistakes with how this callback is used. In this case, we're not associated (we're not using WoWLAN), so it's ieee80211_reconfig() -> ieee80211_bss_info_change_notify(), which notifies the current association status (not associated), as well as a few other parameters. There is no rate info to be had, so we should just exit silently. I don't see any reason not to take Rafael's patch. I'll respond with my Reviewed/Tested there. Brian