Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp526374rdb; Tue, 19 Sep 2023 02:42:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFZOvSCcInY03n+jYZU9n8ItRSP7SY+spAUC28C500uz4mRjTfGNvDQ11PQE4FlHJt9+p+ X-Received: by 2002:a17:90a:5305:b0:268:81c6:a01f with SMTP id x5-20020a17090a530500b0026881c6a01fmr9528437pjh.26.1695116526595; Tue, 19 Sep 2023 02:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695116526; cv=none; d=google.com; s=arc-20160816; b=rIVY8pwVDQCozarP7ItnruzT0LXJeGeDhZcyyNT3yhghXC7s9z+TQHBrRR5ObIK898 wWQsX891l92C4hrKNpCPl4nPu6U8OBFURqrnsx0CvTCola8KlYFCJuXxre8Scb0VIuDX RCrAkHhqMlNqXaKKuvPIxL6Y2rW1cprlE4vJ3yjBLhoG8K5oka6kSsvFeR/BQZ7nMn5K /mkRpV+/HDvX/mUGd0Vb+N4aqYHFbRugwAs1paVlCYEJiU480SIyQ7e0uakq1lpTMssx uwlTilgSTPNX4X4aby0H2hpdnDTwF56kr3MsqMgXiZGFVHMOvVz5v5pucpn8TXT+OdES kwhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=xUSE25r0oJ3f4NH79rN7650LsxSaeIDs03u0Ela0NkA=; fh=Xo0pMZxLIwilzTg2oCuXIJnLtqS8YQuLdOpKS9feqoQ=; b=yTiszsKugRaiUwltXMFNwoIBN7r9eI/ZoFqHAUKP6ZvX06k81Syvz4e7nJI3Nkvrty XKYoFdQQwEaih2L2s+TnHeYR7H9otRti0AH4CJGCSBQDr6slyAcLhAdMhqdnNJ7NV9Rh O0AbcLjAzibPCcJmLW3+jRhOeZJfme2CeAsvv3mKXAze9hwxHqDF9/kLXGnabVLkmLEF F3mCPF95Xqvof0FEf148pHswGP2qMPmmw+4LILS4k/62xFtBS/VjKAczja/VhmnQYPqv nuzlT5RONLiLlKVehhM8QxigseLRj+3lXSld2rwhzreXtilAHxXSJbHKG7zqDp3esGlR tpdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B+8j6J65; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id r18-20020a17090aa09200b0026383536294si9336329pjp.175.2023.09.19.02.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B+8j6J65; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 031DA807CB75; Tue, 19 Sep 2023 02:40:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231566AbjISJkO (ORCPT + 99 others); Tue, 19 Sep 2023 05:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231274AbjISJkI (ORCPT ); Tue, 19 Sep 2023 05:40:08 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DD8F1; Tue, 19 Sep 2023 02:40:01 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDD7CC433C7; Tue, 19 Sep 2023 09:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695116401; bh=xUSE25r0oJ3f4NH79rN7650LsxSaeIDs03u0Ela0NkA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=B+8j6J653S7hN/P0sDXLfkZCrkXWcs/201tlLesCMKYeS27mE3L8IG2qk7AAKg+2e BUNS5NZm5JBAjTmq3GDLC5ye8CNJyMrm7azjWAk6bw0E2F+XLRY4x0wrGB2V5MhQGZ Ki0ZQJyaFcYSLGRFN9mojUPq91NN2dkqHVrCNogaFKSg+IjPuz9iWRlTBiZhZra0L8 2tygmWZJ+rUn+kQ9Qe2QrFu6h8s1oXtGd3sVDtGq9oQHu1k/JNmlsa4Ct7tWxiDVH+ e2yjQ23XCx79G/cwJvFmU478618R+x80XBRSqQcOjr+y9gCP5/il85H44EBc/vWHwF CBum4FD6nQBdg== From: Kalle Valo To: Ilpo =?utf-8?Q?J=C3=A4rvinen?= Cc: linux-pci@vger.kernel.org, Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Lukas Wunner , "Rafael J . Wysocki" , Heiner Kallweit , Emmanuel Grumbach , linux-kernel@vger.kernel.org, Jeff Johnson , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, ath12k@lists.infradead.org, intel-wired-lan@lists.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-bluetooth@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v2 09/13] wifi: ath10k: Use pci_disable/enable_link_state() References: <20230918131103.24119-1-ilpo.jarvinen@linux.intel.com> <20230918131103.24119-10-ilpo.jarvinen@linux.intel.com> Date: Tue, 19 Sep 2023 12:39:54 +0300 In-Reply-To: <20230918131103.24119-10-ilpo.jarvinen@linux.intel.com> ("Ilpo =?utf-8?Q?J=C3=A4rvinen=22's?= message of "Mon, 18 Sep 2023 16:10:59 +0300") Message-ID: <87msxibixh.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:40:12 -0700 (PDT) Ilpo J=C3=A4rvinen writes: > ath10k driver adjusts ASPM state itself which leaves ASPM service > driver in PCI core unaware of the link state changes the driver > implemented. > > Call pci_disable_link_state() and pci_enable_link_state() instead of > adjusting ASPMC field in LNKCTL directly in the driver and let PCI core > handle the ASPM state management. > > Signed-off-by: Ilpo J=C3=A4rvinen Acked-by: Kalle Valo --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes