Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp529788rdb; Tue, 19 Sep 2023 02:51:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbbqde8HCVM1VPLOqfxczg1d5E+Z2McIMNK15Y272At2XgRACzkQQozKXxUJtS8cvfQaPr X-Received: by 2002:a17:902:ec85:b0:1c0:d19a:9829 with SMTP id x5-20020a170902ec8500b001c0d19a9829mr14498452plg.25.1695117066958; Tue, 19 Sep 2023 02:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695117066; cv=none; d=google.com; s=arc-20160816; b=WRAlBEfKwHJS5bOSSdb8qhE637tAanr8iQ9FCEeXYr2xhCXCm8hIDNsJh/lLMC6dF0 ZSx+ysFXhox63QpmijBQ9nFPzWlXyUldmEfeRSOkSRFXmzxOnbvqwN2i69TysANPISp2 FoZamGBX+d14YXzxbIapyJZJ5BUMQjYkWe1l1BR8oq2SNlVaud4x+t9ulXrp6YBlvMQ7 2yk1D9vl6sauU6/BNAAmoa5a1uVJpWjNveczY8Qy0nJ+J7yCzhHWAfNndEnWwv9pp2Fy ckqPBRAB3+esZqYjH7UcytvlOkQt2PciyhIx1d4KM9oiQf0Hj/pnUawGqhJGJWRBcqfM o30Q== 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=1W+RHNKneW2lSWYUJv9c0K/rO7LlJrAh0C1ermQDmPM=; fh=xwTDKGBpO0aWEw/GkNSbcZ9v27T7jfe5a/YhfrflXBI=; b=rPes51CLxlTYVKkS8w7l2NWI8tLOLSzfqjctWu6V8baYV7HOzO+fPC/oE/zMJmu+JA Vtld8k/UViXt0KgYehPYrdQJCIWnduqWQ9cKaryBaWp4lXSoydG0ZDF6TjPT6/y73NIi jpLJcdJ/WtA43+hFE22/pY0TSnl7xZR7LGC4WK+Fk+z7xfACQlWMeZTIZjBLbZbBWzmG 2LHKnc+9G/qUZ7Ml6bQivt5noHOTPC407FifjhyqNBSofr1RPWfv3xl05j9YN+pI+XSg 2mVf4P/q2qZG9g1QMzu3ljx0lgI43ZS9Qkj37rsBJZ03APC+i9y/T6xo56hv3cBV6e4c WS8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dYfspwzi; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id d15-20020a170902654f00b001bc1b018964si9732328pln.435.2023.09.19.02.51.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:51:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dYfspwzi; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id A161380977A7; Tue, 19 Sep 2023 02:40:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231614AbjISJkb (ORCPT + 99 others); Tue, 19 Sep 2023 05:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231527AbjISJk2 (ORCPT ); Tue, 19 Sep 2023 05:40:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74753123; Tue, 19 Sep 2023 02:40:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A781C433C8; Tue, 19 Sep 2023 09:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695116422; bh=1W+RHNKneW2lSWYUJv9c0K/rO7LlJrAh0C1ermQDmPM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dYfspwzi29ZpE8TGLJJHwniJ0FECLJuib/RKR7Hy666KEaxriDEmslxjOEAfCnaxI zSYA1GYxhamjWYym4bPvYUC0Q0AZo6m+HoSLT1vcJjZcDW9mztF0XmpOJr0ar/TGGH skHEsbWaGdLXm2gwctjZTyLoOgoEw3OhJeFZUzUki9nbOk0NtDtswAy1g5dQUW3QY0 2+0yN5bMzBMWMB3PI326g1n40jKV6fIHlDperqFcYLJok93eqXMNMp6qVEZTvF5TcW fVAHGI3usWzY5c+WiaPLfbomx7S8Rb0WLMGN7I+YIJv+FDRW0oRn1JRaxRSakGuBrR 8QyCyIZvKiVnQ== 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 , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, ath10k@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 10/13] wifi: ath11k: Use pci_disable/enable_link_state() References: <20230918131103.24119-1-ilpo.jarvinen@linux.intel.com> <20230918131103.24119-11-ilpo.jarvinen@linux.intel.com> Date: Tue, 19 Sep 2023 12:40:15 +0300 In-Reply-To: <20230918131103.24119-11-ilpo.jarvinen@linux.intel.com> ("Ilpo =?utf-8?Q?J=C3=A4rvinen=22's?= message of "Mon, 18 Sep 2023 16:11:00 +0300") Message-ID: <87il86biww.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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:40:32 -0700 (PDT) Ilpo J=C3=A4rvinen writes: > ath11k 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