From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDF3AC4361B for ; Fri, 18 Dec 2020 09:04:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8DA7923A5B for ; Fri, 18 Dec 2020 09:04:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DA7923A5B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Date:Message-Id:To:References:In-Reply-To:From: Subject:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+P6XHM2r3lOiibtjyW8BogwSzsLBX6J/i4TU+bhRpoc=; b=MojWlPRq2DT4Xr65/kSoSzvR4 g75RguD/Pu0Imk30eU6P7zW3Tp6HCVh99OVRpBAt8LL41DAWxnBDHRqJnTd5/sINdPzH+djOcZB2j h4ywrP+37WFzHBP+qyPeZzI0HnyzQ8kQ0jecjLne+dhHDND0gzh8TeyhvQFIX845FbiTmXSzuBbEC 9b4wxBFu1ECbLehR/RDJgH9P41pqNGPU4ZdZPFAoZJmqxdqeFMCTL0hjn8af4pNpIYD4ujfcx6l64 AyS/GRz1y7kvpenM5kmzQesPR8tFgz49F5PrsG9WobWyPWZ3pHzvdxIPNVgPc9BkrMEJwGXUanljf 6vweUbXEg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kqBgM-0008Is-H7; Fri, 18 Dec 2020 09:04:14 +0000 Received: from m43-15.mailgun.net ([69.72.43.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kqBgK-0008GV-9B for ath11k@lists.infradead.org; Fri, 18 Dec 2020 09:04:13 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1608282252; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=Piztgt//1HgJ8575Ft/EMVYjFk4hh9V4WddxAjP8dQs=; b=rfDJlYXdRe4VOaLtSWJAg4rKMq2YRsw2sExJcL7Mqg6JOK+O/VQk9Kqj6d9tw+5MXJbFqptG r0beE4Tk90hQsOGO7do8QhSGgRGSEnZ5p07I6ZSSpFYsbhcy4Vf85YX6yyENJXrw+dCs6sNo nilBASdOt7ceVr8IFC4KMCN5x5I= X-Mailgun-Sending-Ip: 69.72.43.15 X-Mailgun-Sid: WyJmOGQ2ZiIsICJhdGgxMWtAbGlzdHMuaW5mcmFkZWFkLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-west-2.postgun.com with SMTP id 5fdc708b3d3433393dc1623b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Dec 2020 09:04:11 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 44EBCC433CA; Fri, 18 Dec 2020 09:04:11 +0000 (UTC) Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id CE89CC433C6; Fri, 18 Dec 2020 09:04:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CE89CC433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org MIME-Version: 1.0 Subject: Re: [PATCH v2] ath11k: pci: disable ASPM L0sLs before downloading firmware From: Kalle Valo In-Reply-To: <1608218530-15426-1-git-send-email-kvalo@codeaurora.org> References: <1608218530-15426-1-git-send-email-kvalo@codeaurora.org> To: Kalle Valo User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20201218090411.44EBCC433CA@smtp.codeaurora.org> Date: Fri, 18 Dec 2020 09:04:11 +0000 (UTC) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201218_040413_029265_14DDAE18 X-CRM114-Status: UNSURE ( 8.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org Kalle Valo wrote: > Sometimes QCA6390 doesn't switch to amss state as device enters > L1ss state, so disable L0sL1s during firmware downloading. > Driver recovers the ASPM to default value in start callback > or powerdown callback. > > Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1 > > Signed-off-by: Carl Huang > Signed-off-by: Kalle Valo Patch applied to ath-current branch of ath.git, thanks. e9603f4bdcc0 ath11k: pci: disable ASPM L0sLs before downloading firmware -- https://patchwork.kernel.org/project/linux-wireless/patch/1608218530-15426-1-git-send-email-kvalo@codeaurora.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k