Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp553097lqm; Wed, 1 May 2024 08:37:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvCv6aIHiiqwrsb9EK2KKOHFzUPR2tjb1GAQsXYQwFkELiHcqFJVqi2hxQ/5Ot1IqTsq88nufau7fLNoQpgHo3vMMCgmgveML9Ewz2Hg== X-Google-Smtp-Source: AGHT+IGrdmn+BQ2aXA4Txxl/GZHoiRHzEXZoaOMlRezNBSZij/yuoUnco30VK7nU37B73jXclGOv X-Received: by 2002:a05:6102:4a19:b0:47b:976d:8374 with SMTP id jw25-20020a0561024a1900b0047b976d8374mr3361131vsb.29.1714577826638; Wed, 01 May 2024 08:37:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714577826; cv=pass; d=google.com; s=arc-20160816; b=nNE7AJ2pUcequ2hauuy8iNYOBjJcSBT+ach0AQKbcdchnCDjxF7P+iCQJLDSdmquHb 2vBTOICTyY7jF+SFY3Hy7H0p8p/8nXMt32SoGK34Vmv69qes2AL3hdnglG+fU4C/ohV4 pC3oPcg0NKbc7WX/KpHw0CKag4VvmVgYL2Zsck2skvoBGle38emespoGIP+pmxFVrZnZ I9MeuHho3A1b3MI7evJ4TC3KJqOkwplqmcrTHRVMll1DaEOfcCm2ewSIYAPBZIX+opIQ iP8AwnUtmG/j3MxwbAUYcQXQLXCguPpn8+L88AnTYN7BW4ax7hwBZ6vFWzE7uqYOSltd yscw== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=d3z4gnYwvECJLlfvck2YkKbkaGeicKfs2PQmY7Pzr3U=; fh=xv7jQgBDBjvi4NFA/N8aQ6Tr+8v7/D+2rQx2ydw2/5M=; b=hMhPAX904hLnj6xxU17gu3GMC9sDKZTcyFsK/LM4JWYjQENOmYv3zUkAEiwbJTLSQx cDNChwoWljJxLLJC4nCPaUlIYolcaQvL8n+DVFWXd/hYREWiIUCEfiJDVbTGz5oJYzTE 7pYT2ceCPFHyFViO3d20qx7M4IJjQFAIS7NYo76O9wj/kVtesRia7y8kf+ARgQw3IZOe LjALXOaGB4dmpZ4qt9RU2pFfM+axQm2CBWvAlCCShq52IponOH90U/lzWnGWeWXsAEeH ERLR+1pTKKNuTDARoX+ge14ZxlUwFFQqAUC/5KMbOp5Lvlslu0Ker28JWnzc0B0LhoS7 U2+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UB99ii33; 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-7079-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7079-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. [147.75.199.223]) by mx.google.com with ESMTPS id ib1-20020a0561022b8100b0047c0614fcfdsi4077725vsb.397.2024.05.01.08.37.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 08:37:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7079-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UB99ii33; 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-7079-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7079-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 BAF521C20371 for ; Wed, 1 May 2024 15:37:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDED1C2FD; Wed, 1 May 2024 15:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="UB99ii33" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 EE7B412F395 for ; Wed, 1 May 2024 15:34:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577675; cv=none; b=LGPHTFsAR+N1aGO8GiiI+3b54Oo1gDilZ39EZdSB1AePMKzag2Mfl3uX12//AiAb+V/RL2KwNS8NVGG2hwBVTZRnoijxSZauHydthDm+SlNaaQzcM1JG9qrlV59t0lxrTRXn28TlIPE1hN1w9DDvCIe4okc+gGmmWjLE3S/KZvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577675; c=relaxed/simple; bh=D9LeN0TAZoJmsUtu4onnzt9IlTNREDZHvNECBAzhUgU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=h0EmA5/9yoHqk+XjrlASqauHo8n6WzU3Lm0ckUbD9T4a1Cy9gO3Pbxxia1Dd9I0cvMt71frHkbeW0RC/0oXMsKem8lpu6AzzS7UDanGffzUlJP5lnmWLjMhL9e+LXw+I/R057H5OMkyMLXG+pkga32JitUNfMzjbzSYtJENi+po= 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=UB99ii33; arc=none smtp.client-ip=205.220.180.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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 441Bnx9q009312; Wed, 1 May 2024 15:34:11 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=d3z4gnYwvECJLlfvck2YkKbkaGeicKfs2PQmY7Pzr3U=; b=UB 99ii33f76hz1+A0dvnwJIkXkm840biV7iRJqVomEqKWQEKJ/UEwv2Xw1Cczjr0AN Z2P3P1txWaxrlKoABxPPXMXpmUTjqSzNhSCVq/UR5ACEXH/GNPQeD0DnbN9/KMAm yfcxdb9NhuUxwuASRtW9wZGOqU+FjUe2mPmRuSvNIKz4kxFCTq0H4RkzdABmchiQ 0aXge/BdklzFn2/A3khV2qXldIUSq/gVOnygrOlcbyHgXlXhypKRpG7Lu0GC5Md5 h+5WmmT/3fZUQFsiLPQJsvPF2R4E4wWs3/RMlrvvIUEHEINSDZTbeOhsNzBEn61z dmLfxi+WzzbLXbsd9EUQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xueu91570-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 May 2024 15:34:10 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 441FY951012602 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 1 May 2024 15:34:09 GMT Received: from [10.216.57.16] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 1 May 2024 08:34:07 -0700 Message-ID: <824269da-c69d-668b-4e6b-d0453c4572c1@quicinc.com> Date: Wed, 1 May 2024 21:04:04 +0530 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0 Subject: Re: [PATCH v2 0/8] wifi: ath12k: Introduce device group abstraction To: Kalle Valo CC: , References: <20240425055759.1181165-1-quic_hprem@quicinc.com> <87le4voyka.fsf@kernel.org> Content-Language: en-US From: Harshitha Prem In-Reply-To: <87le4voyka.fsf@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: mcvGBRj7deCRL4nfIv3UFSfP-uUAA35b X-Proofpoint-ORIG-GUID: mcvGBRj7deCRL4nfIv3UFSfP-uUAA35b X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-01_15,2024-04-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=804 malwarescore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 impostorscore=0 adultscore=0 bulkscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2405010110 On 4/30/2024 5:24 PM, Kalle Valo wrote: > 47] WARNING: possible circular locking dependency detected > [ 147.211599] 6.9.0-rc5-wt-ath+ #1403 Not tainted Thank you, Kalle, for sharing the full logs. Unfortunately, I did not see this warning in my testbed with QCN9274. Seems like during rmmod case, ath12k_core_soc_destroy() is invoked with ag->mutex lock which in-turn invokes ath12k_qmi_deinit_service() where cancel_work_sync for qmi events are called. So, if ATH12K_QMI_EVENT_FW_READY was in queue during rmmod, it would hit a deadlock as in core start it requires ag->mutex lock. But, this scenario is quite unlikely to occur where rmmod and FW_READY event are going to be in parallel. Nevertheless, it has to be addressed. I will check further on this warning and see how to address this. Thanks, Harshitha