Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp272885imu; Fri, 16 Nov 2018 02:17:06 -0800 (PST) X-Google-Smtp-Source: AJdET5dnoAUg9GhlYN/6BZQAyCTbx6AgFZ/jh+AdcX5g5LueoESvQqg6EMd2pSN4BWeldqdcPiX2 X-Received: by 2002:a63:5d55:: with SMTP id o21mr9177178pgm.92.1542363426475; Fri, 16 Nov 2018 02:17:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542363426; cv=none; d=google.com; s=arc-20160816; b=Xe9GvOQAQ/49yVNNaWJyPfRFg33TOtmM+GwwEtofZV0jP5ey4mBRcnm3tSs8rjsq7K A7RL0AxoKZbodi17ELWYy5a46u4+MenGPBy1oaIWxQsxm9zz0SZV9SBHs/AKQZRj6KTl Q43ydKKMlshymo1oGBriNwAsQBmwgJdWS+Wc3egOyU/e26Gan7uqUggDjJwGBT5T34sS 2Akbtt3xTBuWP7z/UdTUTdF88bXRPPE/TQS2/HUKDp+yG97jMTLaCz6gHCjCwZuu17M7 lFrplZYpBjXOgYKeSEdcj1FUkiSRlknXMGgNSkC4HdrFnDGHjQZmLTgfl6uXugtbPQ2E mwhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=fWoT2cIHrBZ7jwyjdIQucv5YYQWoSv5D3ONgnyGMf/Y=; b=CH6SZSF+7+mD9i/JbDB+XwGoL7ZvlwgvpAg/kClcp8RCAa9SCsL8SGRVD2ZHSq8SCb +BuUeECZb0kkncDwRX5tfei4+pazE1t6eJGGcZRtLQfZPEKhlcTTN1FH6ACKD199+Gt8 13zw2aHapCHvIfRlftGBSstjXv+2adoRWOnjPjgGUlkXlqBOKkWuzenZGVyfmKW2JWHr Ik+Me6OPwFzDv1cNpzjltQh+soYhcXGrQ5FgIQ5Owknf2qPdrSt97PkM7aNM64D9TsdT RdUYIbZjrO7d2Vn+NCBYEWia0TpVvwbC3lZMIzG6g55t7NHoqG9I1bIvja1yZebWwbSs 7M3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=kcu0BD0g; dkim=pass header.i=@codeaurora.org header.s=default header.b=AvxDUOLo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i198si16655466pfe.289.2018.11.16.02.16.52; Fri, 16 Nov 2018 02:17:06 -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=@codeaurora.org header.s=default header.b=kcu0BD0g; dkim=pass header.i=@codeaurora.org header.s=default header.b=AvxDUOLo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389524AbeKPU0q (ORCPT + 99 others); Fri, 16 Nov 2018 15:26:46 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:36424 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727454AbeKPU0p (ORCPT ); Fri, 16 Nov 2018 15:26:45 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id F3239612F3; Fri, 16 Nov 2018 10:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542363305; bh=dlTW5ELU6sT+EzPDlJ/bdlTI9lbRzlOWNxXypVwzB3w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kcu0BD0g9VKFxVMSAyZr5g58CmjbL6IQTvoax/xr/1jFweceEHdNnxZ+9UN3J0DEI g7lb1GcoJM3N0t2vqQvHe6iUvxHdJ0xP8tGm5GxHAO6UXF4JOiTH3qwXKBFZZGd7uV 52LFScBhWXPc3rLD6NyaV066FQ83/Yh6Eyf0YWOE= 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 x230.qca.qualcomm.com (87-95-226-75.bb.dnainternet.fi [87.95.226.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id BFDEF60C4C; Fri, 16 Nov 2018 10:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542363304; bh=dlTW5ELU6sT+EzPDlJ/bdlTI9lbRzlOWNxXypVwzB3w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=AvxDUOLosOaNGl1jjdYy0BPnUUG/yBid15Z3YRBz5yi58PoBx2bdc+C7sLwg/EoTk MxveKnoUXRB5PTdSyOHlet96xgSmDdyBhewOTJV6AmxOgCnT50B/cIVX0CfS30ecCy smZZohoyr2mUsQ8dCvxARJWAsIsFpOYtoYRmPxKI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BFDEF60C4C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Brian Norris Cc: govinds@codeaurora.org, yyuwang@codeaurora.org, rmanohar@codeaurora.org, linux-wireless-owner@vger.kernel.org, linux-wireless@vger.kernel.org, Linux Kernel , ath10k@lists.infradead.org, pillair@codeaurora.org, stable Subject: Re: [PATCH REGRESSION] Revert "ath10k: add quiet mode support for QCA6174/QCA9377" References: <20181107185643.240346-1-briannorris@chromium.org> <7f2ef494f4a2aba1845a157da8fec449@codeaurora.org> Date: Fri, 16 Nov 2018 12:14:59 +0200 In-Reply-To: (Brian Norris's message of "Thu, 8 Nov 2018 09:30:43 -0800") Message-ID: <87k1ld72ho.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Brian Norris writes: > 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. Yeah, I agree. >> > 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. We should have a fix for this available next week which I'm planning to push to 4.20. If that does not happen my plan B is to apply Brian's revert to make wcn3990 working on 4.20. Thanks Brian for investigating this and providing the revert! -- Kalle Valo