Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp387756rdb; Thu, 22 Feb 2024 06:58:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCViKdjHwtlWGvOvgojyqNDgCt5vX+6zMiFXBymWufTMvJhfkKBpKF5UaB/UKAJ/MfrW2VPQndx0pKiFYlLjySmuNq1JSnBQGYvz/bmgKQ== X-Google-Smtp-Source: AGHT+IGhjv9DZWBbBjAjoda8/f8FJNvcngqA3glPfHqkklcvJmrLf6RQZYlKvqfNJHtPBSVGE4jX X-Received: by 2002:a05:6358:6f1f:b0:17a:e13b:3a4a with SMTP id r31-20020a0563586f1f00b0017ae13b3a4amr19484053rwn.29.1708613911600; Thu, 22 Feb 2024 06:58:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708613911; cv=pass; d=google.com; s=arc-20160816; b=uLHZj1yep93tgpZJXQyEwyKEYcUSO5sOYX0I6ef7ttM99fKYkvZyRGYydG2u0PMfGs 42krsu+mym8SGdRGMqyfqfdbaBGcWnl1JYyvLfGiYwrW0LUu8KE0ohLZv31Hv1l7sPm0 4a67Niav54ngMDUtTkrt4EAJIb6tYvUTry8/5FVB/ZLQtIimSYzV7WA3QxyEifMUQDrx rWYTv5mfgrhf8a+DGlHLZ+0nnPUz/IHjqkuueviUdfoCwvuqCN7tk5XHz+4ftqI4uZ6m 6Kn2d3kKeO1KsAhW7yMi7G24ddLZuO+oOec61ZO5FUZIq1jv8OximBH+QaTRn1z9QV9X 8wdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=ITGkq6N1vZiHyu2avn7BJdXk/1LJT5fVPzF4PRmPrJk=; fh=MHImKtCntCXzmlFNxiqCq9dyXEENX2FWwDLJdTkausE=; b=vpx/HJvdUmyKij2ozfEDtkYwoui+YL18cQUNT7Da51gOyJnruNE6hzH3rQieOL2hPn 4QHsmB6pUHCNUmXrbyZ44YO6Rt383GV36ATDYZqYbN4/TXW1vHsILlw5GOVJFZrZgD/A PM4yV/RBNVFu5iR18DWEUZitsjzcRkMmpeMnMSra7PK7zH4jSr6eCan34v83laOhFv3q ztWLoLZHX53vAKRCAdBOFPWo8hDVjGR8EcdtMBlFyG1qufEe+MJcwG/i0Xq+hQzEhiEc NIUuWGAWygI5pzILe5bwbVd2qdpm7VZ36wQORk3hdl231hVIjO2sYjxmMPnpPdX06zVR rFag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mcizg/rD"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3929-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g27-20020a63375b000000b005d8e401b4a2si10191560pgn.801.2024.02.22.06.58.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 06:58:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3929-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mcizg/rD"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3929-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 00FBD284FCA for ; Thu, 22 Feb 2024 14:58:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB12D1474BF; Thu, 22 Feb 2024 14:58:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mcizg/rD" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C760D17BAA for ; Thu, 22 Feb 2024 14:58:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708613908; cv=none; b=px99fkKT0KpJ8zR432q65gFBPvxfO0uEPsEUamlv9uZiE7Xqcdh+gB51xcNu4cvkXhMKilpaY/2f5KIRI28kOusrOU1pG7MSs6qHKyO6x4w9jnc675cIlGchaub1tSLb4oaXAvqcHtzV7xYNhpMBq9CTZWU/aA0pBvHMdoSpgyU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708613908; c=relaxed/simple; bh=d1/TmCT/PSUNMvVkg8Qx4qfwGfw5wg3z0Xbjn1a9QyE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=MzB7qGVFXlM9rYkrR2kehd+6NubAKebrHo0orZtqbrcLg9rDOdlwwFgfSTSPJcA/wAhq1oUHonACKRDF29Cy0Nwx521x8MIxebZ/3gRIKzKBMr+rgkChZOT9vmZ/9VKLEwRyxQjjoKVYB9UspOzXyi2C9RuRqMgeizUmooeLfLo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mcizg/rD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65248C433F1; Thu, 22 Feb 2024 14:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708613908; bh=d1/TmCT/PSUNMvVkg8Qx4qfwGfw5wg3z0Xbjn1a9QyE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mcizg/rDjPKnH38U1Sd/QOmL95ab3MqUaFnWGjlNfFA+hCbOiSua4Opheb/vQxz0F kRzrxEr3wk6gPiBE4hhGsEsGhHz0J6fUvmnenTfKdYc5my9CVMFmUn7MlsPD15SCTJ ao9vzQWbjnw9XgbToI76FSCMqfAvkCFeGVIKShXCDTSGeJNdcLKVmBOYYkx3k+hPg0 sgSTRzn3+rSV+DSSFBOdfhKTCv3OM3h62/iva+6fNePycgsgS6pD3Hw8dg4VKkvz0H UCC074LPP42o8uONTdyrUh1rsJCYm6G15+11AjDmgpXctfbqNY0d2a5WfWjnIJAgwM dYq7NftC3jSGw== From: Kalle Valo To: Baochen Qiang Cc: Jeff Johnson , , Subject: Re: [PATCH 5/5] wifi: ath11k: thermal: don't try to register multiple times References: <20240221024725.10057-1-quic_bqiang@quicinc.com> <20240221024725.10057-6-quic_bqiang@quicinc.com> <5828b835-6b4d-4245-991a-7f6b54ee8b51@quicinc.com> <871q95audb.fsf@kernel.org> Date: Thu, 22 Feb 2024 16:58:25 +0200 In-Reply-To: (Baochen Qiang's message of "Thu, 22 Feb 2024 15:43:22 +0800") Message-ID: <87cysolf5a.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Baochen Qiang writes: > On 2/22/2024 2:25 PM, Kalle Valo wrote: >> Baochen Qiang writes: >> >>> On 2/22/2024 1:15 AM, Jeff Johnson wrote: >>>> On 2/20/2024 6:47 PM, Baochen Qiang wrote: >>>>> From: Kalle Valo >>>>> >>>>> Every time the firmware boots we call ath11k_core_qmi_firmware_ready() which >>>>> ends up calling ath11k_thermal_register(). So we try to register thermal >>>>> devices multiple times. And when we power off the firmware during >>>>> suspend/hibernation (implemented in the next patch) we get a warning in resume: >>>>> >>>>> hwmon hwmon4: PM: parent phy0 should not be sleeping >>>>> >>>>> Workaround this similarly like ath11k_mac_register() does by testing >>>>> ATH11K_FLAG_REGISTERED. >>>>> >>>>> Tested-on: WCN6855 hw2.0 PCI >>>>> WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 >>>>> >>>>> Signed-off-by: Kalle Valo >>>> you need to add your own S-O-B >>> Oh, sorry for missing that. >>> >>> Hi Kalle, I see you have put this series in pending branch. I am >>> wondering if I need to send a v2 to add my S-O-B tag, or you have any >>> other plan? >> I can add it in the pending branch if you send it to me as a reply >> to >> this mail. s-o-b is like a signature so I won't add it on my own. > Understood Kalle. So please help add below tag to this patch in > pending branch: > Signed-off-by: Baochen Qiang Thanks, added: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=a88f2007763465f2be307c3a5ed542233bc3c77e -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches