Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp382727imu; Thu, 8 Nov 2018 09:33:09 -0800 (PST) X-Google-Smtp-Source: AJdET5caE4gG9/gBbgf5H5l2yu6FDfUMF1IRwSSCgC453JaAFUhZkUdreg08fDH8P1RFFglxTYnF X-Received: by 2002:a63:db02:: with SMTP id e2mr4531406pgg.419.1541698389424; Thu, 08 Nov 2018 09:33:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541698389; cv=none; d=google.com; s=arc-20160816; b=LhbXPsxB5xoIPt+ihvEUOaYsza7AJwK0rtTDKzefvBFCo/IkUA2EHwmSKbqGu0esuy 9oaz93Cc5DdLe8vkEQjMaj/H2VX2rnUqZ10ily+tk7nAQA6n2pTcNMCv6NrXolUb5AkC HmwlW1xGjImuefLlkN606ftZv5B+PjxSaHOWQ5Dwq3amQuLgwU12p0/moLn93+FWLE2U 7d8pbaH8Ehj9xgCrSCWUdjKvkz4ypo1fvXMMzqE/jgL5WrwZfQG3RiFlwxHWVk5fkqq+ yw1MiISoeRO9BG8pO64uGKVqfMHFbOj0oZfmvTprI8drneI5Qu0s3M8EP2llpxBuag4h aCCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=VdYF3WX3GJAY0kanvw201TBbKXMrlke2gUcOPt/8g8c=; b=TuxArOo0vfCMNkvvdRhAMEcYlBZN/ZTwmLgzqrXMqBJvmHEjnnMBxjvVrTtHt7b9P4 seJTyxo9wWWe62E474iDZOEb+vpOfLIwfTuCsxbSqaLk4ExbQBi1SdOUv26duI5pLZL2 70tex7k+dj4aCByrkh0M8TO7Weexjdm6OLrdWJbAo/rwAJaGTNzjeGtidtyv6374ljMx 90RTO9Be2lESbHw2EA1qOrzYET2IYAG40KvxygaVAyZ/0kUR2DfzH4rjpBLoCR0OKaSB Y2ZGc3rIaPUiUc3/KNVxrjAgovSOQonhOZcYnsOga+D003J0WBVkeBMRy/mXecAzERKV Dikw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Q0BtwzS9; 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 v13si4310978pgn.355.2018.11.08.09.32.51; Thu, 08 Nov 2018 09:33:09 -0800 (PST) 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=Q0BtwzS9; 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 S1726922AbeKIDIh (ORCPT + 99 others); Thu, 8 Nov 2018 22:08:37 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:33516 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbeKIDIg (ORCPT ); Thu, 8 Nov 2018 22:08:36 -0500 Received: by mail-it1-f193.google.com with SMTP id p11-v6so2342699itf.0 for ; Thu, 08 Nov 2018 09:32:05 -0800 (PST) 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; bh=VdYF3WX3GJAY0kanvw201TBbKXMrlke2gUcOPt/8g8c=; b=Q0BtwzS9i0uXnSMZNmNl8gwVXuSQbdCrM8x2W8oYKA4/XBi02mzkXWg+GdsDS61dz7 N12JEEoas3U0c1dZ/eRnN8cHJgB8GgDV4ol9SPH0Cs3+Ha7X+RMB2RNCcisBd5LMMRUS hjNLY0GgTI+TxRyd+p3SaCm+Odt91x2OuzMws= 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; bh=VdYF3WX3GJAY0kanvw201TBbKXMrlke2gUcOPt/8g8c=; b=kTazzlIZf5n729sU19mABBDw5IU62ahdxx2cSfKyxzhocLf/JbAq9ItBTd90ipfdfi RE3fGXFrF564sO+WzrDcNfyWHV73/yADLkio1Esej66pLIVgvHXDBsXf4R3iEOKv5XnX JCVily5J2uh31WcHoywwCwXoLspNDufZGwG5/1uSy01k39uRSP2BeNUKfqXD67ZZh1Af hASSZq0J872FPz7KzkGKzPP9Blf0VqG682u9fkoqVdnaOm2b1cKicFBVeiVatsQ5YVeF M1u7aKjMRYJkygeHUC++sW7zZPR6Qftj6EAKQ5YRxmEUCBpXcq4/tEe0CKOh/hbrVw/v KPqw== X-Gm-Message-State: AGRZ1gIH3rt5hs583psGTOoaNYylUHj6s8Nb4B4gfg6fL3Gp1OJGP6Xn BUL/IZ5QZW+DASZNs4Q9jRpnjIHTQGE= X-Received: by 2002:a02:a98e:: with SMTP id q14-v6mr4879559jam.109.1541698324837; Thu, 08 Nov 2018 09:32:04 -0800 (PST) Received: from mail-io1-f48.google.com (mail-io1-f48.google.com. [209.85.166.48]) by smtp.gmail.com with ESMTPSA id h137-v6sm2108517itb.39.2018.11.08.09.30.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 09:31:30 -0800 (PST) Received: by mail-io1-f48.google.com with SMTP id d80-v6so15241816iof.1 for ; Thu, 08 Nov 2018 09:30:58 -0800 (PST) X-Received: by 2002:a6b:d541:: with SMTP id x1-v6mr4659579ioc.113.1541698256286; Thu, 08 Nov 2018 09:30:56 -0800 (PST) MIME-Version: 1.0 References: <20181107185643.240346-1-briannorris@chromium.org> <7f2ef494f4a2aba1845a157da8fec449@codeaurora.org> In-Reply-To: From: Brian Norris Date: Thu, 8 Nov 2018 09:30:43 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH REGRESSION] Revert "ath10k: add quiet mode support for QCA6174/QCA9377" To: govinds@codeaurora.org Cc: rmanohar@codeaurora.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Linux Kernel , yyuwang@codeaurora.org, pillair@codeaurora.org, stable , linux-wireless-owner@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 7, 2018 at 8:32 PM Govind Singh wrote: > On 2018-11-08 03:00, Rajkumar Manoharan wrote: > > On 2018-11-07 10:56, Brian Norris wrote: > >> This reverts commit cfb353c0dc058bc1619cc226d3cbbda1f360bdd3. > >> > >> WCN3990 firmware does not yet implement this feature, and so it > >> crashes > >> like this: > >> > >> fatal error received: err_qdi.c:456:EX:wlan_process:1:WLAN > >> RT:207a:PC=b001b4f0 > >> > >> This feature can be re-implemented with a proper service bitmap or > >> other > >> feature-discovery mechanism in the future. But it should not break > >> working boards. > >> > > Brian, > > > > The change "ath10k: add quiet mode support for QCA6174/QCA9377" was > > merged even > > before full WCN3990 device support was added in ath10k. How come it > > could be regression > > for WCN3990. I know both are sharing same WMI-TLV interface but > > reverting this > > will break QCA6174/QCA9377. no? I don't see how the revert would "break" QCA6174 -- QCA6174 worked just fine without this feature and should continue to do so. > This regression is found while we switched from 4.18 + WCN3990 > back-ports to 4.19. ^^ What Govind said. WCN3990 support has been trickling in over a few releases, and it doesn't seem kosher to allow people to submit regressions in the midst of that. > > I would prefer to handle this within WMI callback or upper layer. > > > > IMO, we should use (WMI_SERVICE_THERMAL_MGMT | WMI_SERVICE_THERM_THROT ) > service bitmap check and call > ath10k_thermal_set_throttling only if fw supports THERMAL THROTTLE > feature. But we need to ensure all > available ath10k fw's are reporting this service. And the above notes from Govind highlight this -- if the feature was not protected by the appropriate service flags, then we can't be sure that you didn't break a bunch of other firmware releases out there. Linux should not break for everyone just because you spun a firmware release. Of course, I'll leave it up to Kalle as to how he wants to mediate this. And if you come up with a solid patch soon that can fix this without dropping the feature, then so be it. Brian