Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp184457rdb; Wed, 21 Feb 2024 23:43:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUmXx1K5QunjSzWRo5NisSyFBf1wWHJj/cDPpd6yDcA2ffpMq+BP5k4//fh873mbIbhRZ+iYMHsQWhwy6B+rKKXxVCAh8A5PgZXs1nhhw== X-Google-Smtp-Source: AGHT+IEku7aJKzavwNInKn4dvGM14AsxpV6i0wkbFCH9TqKKk5ZOdYM297yGSW0rPocxQ2RNkkIB X-Received: by 2002:a05:6214:e64:b0:68f:c293:95e6 with SMTP id jz4-20020a0562140e6400b0068fc29395e6mr303922qvb.21.1708587823664; Wed, 21 Feb 2024 23:43:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708587823; cv=pass; d=google.com; s=arc-20160816; b=HOvK9wbLQFsugfGwTBi0bwaQmtTQ6UcanvpI5eCw2lkS+cOoK7+P3QbFOcjXH19Ae3 7vLaSDdmK3RhrrBm7jC0ASoF8LTjJyyObs5RIATA4PqVTDkB/mUMF+l4zmaRdVC0aR8q Bgu3ycTpom8Jhkbe/Fjtj2aez6Y+eQSCDc1d4uMniOdUE5eO/AyFzlu3/yM40R+nv6YW 2cx5WoRc6w1htMgpqSZM4drmu0JGHZ6dEkVInnrPGi5IJvfbEaM7E4QcoG6u4NdgJowc aZtuI9CRJfpIeCfPtM5ACcRfC2U6zbVKa3LvHWjXsJNHURptShlkR+xYat33n7nBBK5m rS1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WjcpAeCvqNYVdw5Gfg2eLls7q88UxKFRlFchWflRZFg=; fh=YRWznMdLE5iysvi0lvExoUBMW0s2bZJgesiAoMrOoqw=; b=TsV+mvz5G1C2eMs8FGNJOlD+JJ9SDBDTzlpPwnYGUAoS0fzc/nlO/w+tE4taYCnlBs GFLvVhs7Hn3H5wCAxfC8QDvnCf4ycxvhpwA0dp8ndb9LJnbh+LgH7vjwKbvvl1TKzH0H birOvefRHNe5uLXuOdrm7R6q69KEGToSpbhgHKICqu9L74dsY3rjnQfH84evmyG4uXgo wBzffpWEC84KaAsAkHUjiAnbD5ID6nSeAQJbztqkImVt9Ua1qWbOQyG7EBVlBt+QyzJO txHulQvRW+wBxQ+3AKIKscQy6BRUhhejXkYIQm5Djs8OeEtQyj44OVZABfXfjVmqf5jU cStg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KaIbJjGC; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-3900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ge11-20020a05621427cb00b0068c9dbf3af9si7437216qvb.384.2024.02.21.23.43.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 23:43:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KaIbJjGC; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-3900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6D92B1C22E49 for ; Thu, 22 Feb 2024 07:43:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 266C3179B7; Thu, 22 Feb 2024 07:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KaIbJjGC" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 666E917998 for ; Thu, 22 Feb 2024 07:43:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708587816; cv=none; b=u/YsbLilsF9Hbm457kqqyVxj9yIIx/rplMgjA6yzdMfHENqVuX1jNaPLr7+XdFDFA6INNApWWlAtSKm8ElElx+YqQpnOq3xi9qCKXlpa60Ar9g67iMIZEHttVJ9i4ZQ/280nfw+DnDvd0k52bcZAdwqpgc9oX2kdtb/AunmnuCk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708587816; c=relaxed/simple; bh=IMXSyg4QLNp7NbS/G/I7aJl3pXlCIqEDkpBlqFH8gmo=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ZmlhhX4AfwKybYyN8Qi7ICxcfLBF4AnrFuvErzzL8YosJKYhxWKccsuBlnlEr9PiHlC52DKywI4hLag2xS46AgyF/kewpG1bqEtFcCfsY2quyz1gIADBn3yu8wHnsUR0iX2DHQ1ya2wJ98DyXKT14PR048kUDkceAuuhmZbC+AY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=KaIbJjGC; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41M4eh5t008173; Thu, 22 Feb 2024 07:43:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=WjcpAeCvqNYVdw5Gfg2eLls7q88UxKFRlFchWflRZFg=; b=Ka IbJjGCvUMbC8ivCgBLkkaPC/L/h9IReubrocGFUuAZhoDtyOYczO7s0rk3WtJYR5 DciSUZ3roh2h37Nd0CPNwoi533+dMVvjFl/ApgftV+Qh8e0ZnIjDm4vR0qeXUeMR eBLkGcbumV7vJn15pZNmUSPb6Q1Q1uyFF1TC1LKdmOfN8g/cNuuANGAg82kOJN2A NrowjGcImAsaHas+SAwq/fWuo/0NJTNTWR+XHtGhjbhTT5cJ1FQmHpOa9M11cSzx EPja6WdtS/eRUdHktUt8NhCrlukJG/S7pZ49QtjveTrSPPBDBGrbw+Mdft0HmA7K sFf9RNHj5xXenUgXNtzA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wdvww8nw9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 07:43:27 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41M7hRdH002556 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 07:43:27 GMT Received: from [10.231.195.68] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 21 Feb 2024 23:43:25 -0800 Message-ID: Date: Thu, 22 Feb 2024 15:43:22 +0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5/5] wifi: ath11k: thermal: don't try to register multiple times Content-Language: en-US To: Kalle Valo CC: Jeff Johnson , , 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> From: Baochen Qiang In-Reply-To: <871q95audb.fsf@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: S00_5w7YJtEOuHhqu0CgQzg_huYSy501 X-Proofpoint-GUID: S00_5w7YJtEOuHhqu0CgQzg_huYSy501 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-22_05,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 spamscore=0 impostorscore=0 mlxlogscore=913 clxscore=1015 phishscore=0 adultscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402220060 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 >