Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1815933imm; Thu, 23 Aug 2018 09:11:25 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx3LhuSvrW2dvJp4mJLiNhNu/7MkaPAMYGmBa65W4X91ELAje6a8Ar0qm3IG2o7yuyCXrxH X-Received: by 2002:a63:9a42:: with SMTP id e2-v6mr30473962pgo.263.1535040685096; Thu, 23 Aug 2018 09:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535040685; cv=none; d=google.com; s=arc-20160816; b=mtozmoQ9EdfxuQdEYtSmPYL8Invwq2/xOL8qpfIqRAWBBIoDb+P5S4SulKZrw5td8e j76hv0ZRm1jAQjq42wPByQBgJZNQhmMWo/uz8vf72DhcvjUZ0xjyjw8JKNX409dw7wRR b5GhI3IAdEto3I4dBAQTPPQCCagQzrx1sepCMt0BVVBWf5qi5znW2vW0whL/YJ3q2Md1 obDwGMIBr5lcf7EPvCjiv1yCtPXFj5ROcq2hbGZFjHSPmwCiLDQ4z48knahX0OMEDA+Y AImlQuh9c6fmy11Ebi/OPKiK1EfmgLwHy3rG3K49OLDOI8BG+NpkBXPiYUgs4AZPgAu7 m9kg== 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:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=oAOXxVeDOwsgab2i/jmTjU2k+y6WxenBRQWDy+O3E14=; b=XHGZrLOsPOL7CF742kf7M+qC2mrP3wXpj45YkVbTukGMoWJ0UqKVINX1hGD1eFr/ge aOqAvaTZQbj3+VzGDUj9699v9ZTqpdy2FtODSvyaYBsVNU6bQYtRGG+3XHk5WJILkhHR dwPO1MSjrMNaeNZA+NAaOy/yWWJh2L79xNnw2wLp2JUflCohRehIHI6S0zYo8fQ2X3Kc YvO/Y1XRqI2pbwPvZuEHmTTuG+f5XiAtHekBZkKObCeK57Eizb9Xnc2kNNG1AbEFGpiC Cu/keD2IQ7mAdQrVY6zUrA6Dsf0C7yrzLCul4rSUb+7C5etLqHgjcqdRxZUr/y05Utvn MvZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=V9929M0M; dkim=pass header.i=@codeaurora.org header.s=default header.b="V37/rfFp"; 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 w6-v6si4560164pgv.621.2018.08.23.09.11.09; Thu, 23 Aug 2018 09:11:25 -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=@codeaurora.org header.s=default header.b=V9929M0M; dkim=pass header.i=@codeaurora.org header.s=default header.b="V37/rfFp"; 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 S1731366AbeHWOra (ORCPT + 99 others); Thu, 23 Aug 2018 10:47:30 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39234 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728762AbeHWOr3 (ORCPT ); Thu, 23 Aug 2018 10:47:29 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3BBCC60271; Thu, 23 Aug 2018 11:18:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535023095; bh=oAOXxVeDOwsgab2i/jmTjU2k+y6WxenBRQWDy+O3E14=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=V9929M0MDp1/wI4oFxeamV+lxABbCdl8T5/lNog9T6r9UmewpjIRP8fvVV/dEjG2G PfpVVq3oVN4y+z3DR0Q/n4aSm2a4SSpTzUKvGeSE8+oA9mU78uK7E5d6gGc35oAnN/ 20U+g7lBMolK6Tp1LLT9SsTT4Y5BFXljaTdcyhRc= 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.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (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 1E879601B4; Thu, 23 Aug 2018 11:18:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535023094; bh=oAOXxVeDOwsgab2i/jmTjU2k+y6WxenBRQWDy+O3E14=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=V37/rfFpQjumfwP4qPbkQz1UocMR2rFzz/ANrr6qAseDZBZfShNIES0yS/uXOSkq2 Yhv8TZcF4w3q5PPwLiflFY2zI36JoUEgvlhJcQIQygvcb7giW+zyGiH1or2ZR0+Lq5 2F1fVuAQrnSC3YtKkpo3i4ewXX44V4uBH40WYNoA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1E879601B4 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: Kai-Heng Feng Cc: Felix Fietkau , ath9k-devel@qca.qualcomm.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ath9k: turn on btcoex_enable as default References: <20180208052801.15670-1-kai.heng.feng@canonical.com> <56d650e6-d26f-087c-4e86-2e5d4e859414@nbd.name> <87k1vmeip8.fsf@kamboji.qca.qualcomm.com> <7170e2d5-a59d-8260-fa8e-f02f583b773f@nbd.name> <6A0F65EF-A7C4-469F-8FAF-CBE314676237@canonical.com> <9AF82E83-2EBE-4076-BAFA-EEA44B1DB423@canonical.com> Date: Thu, 23 Aug 2018 14:18:10 +0300 In-Reply-To: <9AF82E83-2EBE-4076-BAFA-EEA44B1DB423@canonical.com> (Kai-Heng Feng's message of "Thu, 23 Aug 2018 09:33:56 +0800") Message-ID: <87in41nxfx.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 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 Kai-Heng Feng writes: > at 12:15, Kai Heng Feng wrote: > >> >> >>> On 10 Feb 2018, at 10:05 PM, Felix Fietkau wrote: >>> >>> On 2018-02-10 14:56, Kai Heng Feng wrote: >>>>> On 9 Feb 2018, at 3:16 PM, Kalle Valo wrote: >>>>> Sure, but we have to make sure that we don't create regressions on >>>>> existing systems. For example, did you test this with any system which >>>>> don't support btcoex? (just asking, haven't tested this myself) >>>> >>>> No not really, but I will definitely test it. >>>> The only module I have that uses ath9k is Dell=E2=80=99s DW1707. >>>> How do I check if it support btcoex or not? >>> I just reviewed the code again, and I am sure that we cannot merge this >>> patch. Enabling the btcoex parameter makes the driver enable a whole >>> bunch of code starting timers, listening to some GPIOs, etc. >>> >>> On non-btcoex systems, some of those GPIOs might be floating or even >>> connected to different things, which could cause a lot of undefined >>> behavior. >>> >>> This is simply too big a risk, so there absolutely needs to be a >>> whitelist for systems that need this, otherwise it has to remain >>> disabled by default. >> >> So what information can we use to whitelist btcoex chips? >> Can we get btcoex support status at ath9k probing? > > Sorry for bringing this up again. > > Is DMI based match an acceptable approach for ath9k? I don't know what Felix thinkgs, but to me using DMI sounds like a good idea to try, assuming the matches are unique enough and there's no risk of enabling bt coex on wrong platforms. Should the PCI bus number etc checked as well in case the user adds more ath9k devices to the platform? But of course I need to see the patch to comment more. --=20 Kalle Valo