Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp531772rdb; Tue, 19 Sep 2023 02:56:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEa9w306PaJhtvQiWtMVGhWSS/jTIvmFPgr0tS5CCqSLWhsN6HMFC1cXMoXyEvTlyalO2Yd X-Received: by 2002:a05:6a00:1506:b0:68f:ecb9:5fde with SMTP id q6-20020a056a00150600b0068fecb95fdemr10942153pfu.34.1695117399066; Tue, 19 Sep 2023 02:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695117399; cv=none; d=google.com; s=arc-20160816; b=nW5PqV+3MALX8xJ2U3KNST2k5TGlt3v+zDjDZTCh6L9nhMx5zgcMQf1YUvpbhxzmFG iIEywyxdxwjSWsqKyR/9Ru8YwWLLxjlVv93inZWTwx+k23KTk1kyvNsDstR2u2RiSgw2 hBkmAetROyyJCMqqo+he+K0VeBX53gX2MEwA3sju1y/g8zy9AwotCAzcRW1pvEgIjdns j9osh/9PEqBzUmywJ6K8cWymc7EcVJEnWkHWT9j4v9kkbKdEYps4bLoHrng0nIDFWVFa C4Tb3pMELcwD+st3y3NMWIOV5hg8FbywEfj3AgxBnNWtJ3ktxDMWCv/A4g6xH97e8SYj DcIw== 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=m+3hur1NYakFhwVVM9QubHkOlW+nEYeKslg6uKnJKmU=; fh=15Bz2RcBcj9/Si7iUwod2NYZAFpuFoqiia4k91QRuRk=; b=TEmjWv57+NgB418xybxBVGTmRWGF9vgk297OnBYvYQhCu7nV2KkvD6dLFi+wkI8Yii EK0Z4y6eIlYF7VvdSPcLN5vodqT4U/JEN99nGNYST3UeJXZUALUJmTwFNWyyakWvJiy8 lY8lAvhf+ZdMYLtjlAoN8/0daZVd+0kd03GNw2CM7K4jNuxH+3BBs1Un9ELvOLDK9B8Z rQAX+aioxCIAX900thfINCRneNT2QQzWSLCT+yTmsM7ssbcKfRDk/pOseLZAw7sW61Mt jawm3diGN5fj9iZcDV98VZ3oJdarDPtAyEIs61I7W0llZ+gD5G+7Y8x3B9ToaesgYjQY Xifg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CML037E+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id o8-20020a056a001bc800b0068fbbc81abdsi9302922pfw.218.2023.09.19.02.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:56:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CML037E+; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id ACB6E80BB1E8; Tue, 19 Sep 2023 02:41:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231422AbjISJlL (ORCPT + 99 others); Tue, 19 Sep 2023 05:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231517AbjISJlK (ORCPT ); Tue, 19 Sep 2023 05:41:10 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 811B0DA; Tue, 19 Sep 2023 02:41:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA312C433C8; Tue, 19 Sep 2023 09:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695116462; bh=m+3hur1NYakFhwVVM9QubHkOlW+nEYeKslg6uKnJKmU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CML037E+zpEE3oZZc6aRLXqmea6pNid/66KYalApNxJSjydgAg0WstMAoFXN+hJt1 I4xt00gNzk3Qs290qAspY0vBXL2okCcTREoiXyFqeb4w1okB2ISdofz3iZS2abZOi/ siE9o8KPpUQfhz5/DuJ2gIDlrC1ONtdyfjpy3JU9vIFH5zWwSOhwWtLNz50zCrdeIM ZtOaUscuX6VwtJjEyUmovQxRjGYtisMfGH4dXBoGxZGdkEiYTgdv+nF9l0Y4CtuIBc 9Wnkbpsu0I7bev8qa0W0yXdxbSZwOtM1rRCXioy1HFeq3udvFr1hpMc6v4rdqTu+6Q P0yXf7kKd4jXQ== 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 , ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org, ath11k@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 11/13] wifi: ath12k: Use pci_disable/enable_link_state() References: <20230918131103.24119-1-ilpo.jarvinen@linux.intel.com> <20230918131103.24119-12-ilpo.jarvinen@linux.intel.com> Date: Tue, 19 Sep 2023 12:40:55 +0300 In-Reply-To: <20230918131103.24119-12-ilpo.jarvinen@linux.intel.com> ("Ilpo =?utf-8?Q?J=C3=A4rvinen=22's?= message of "Mon, 18 Sep 2023 16:11:01 +0300") Message-ID: <87ediubivs.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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:41:17 -0700 (PDT) Ilpo J=C3=A4rvinen writes: > ath12k 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