From mboxrd@z Thu Jan 1 00:00:00 1970 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 4592C3BBF2 for ; Tue, 18 Mar 2025 04:01:39 +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=1742270501; cv=none; b=Lmyg98I71o2ZaYoflSfrYoKABMGKn0qpqA2tppcSteXkMm5Em6yWDyA1HLdXs2zjkjtPQ7L96/FQW2PzHbz55MPPr4pM5RtAe7lOWPWdbXzHiQHVmyx76tUcaqB4+NAIKbmtMEQGF4YRF7pmEVX1YZ8Nq48sraMZ3ErfjOWGAfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742270501; c=relaxed/simple; bh=K6Q/gfJ/2Dkf+Q/weRCzrm/EdWn87ibUtjKdSrBLUMc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UMHHuuTY0eGmNWIk6duElQZxpTB5ZRCQGagPwAiozJ4Y2+IIPLiMkBFfDDDFJ1vrGLnlT7/9Sx0FMYARsDqT76vYkmHicvqNBJzho6ldgIuYkpOrPAxQKiupf+7DGqQliGJ1vAUkEbPtgMg9i2h6LwXpjIgDQD2Tcr+LEX8HQ90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=MQSK13NH; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="MQSK13NH" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 52HKjGlG006734 for ; Tue, 18 Mar 2025 04:01:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= g1ZqIRlo/bjZwLlSypjNHtK2fYpTyQL7/nn4I11gbjo=; b=MQSK13NHPEK8SDpE xAKEdG4uPGbskufICjioOU0KUOOfBLo6CT29Iv84drktTJsv6TUBFxubRdBveUCG PBr2Fg3Pq2tlkrSMhppVgWFfDYj+qdezRDRTQPMNX2POsKFq67+Yk2z9p31OqEwR bM9Ul/Xu8n+cmk4BVCCV9vqbV7UFjDdjJSyUEx8cfOyJbuMviym11TWzNyTYn1l3 p5NhQ4Nr1g4FR8x32TsLw+duu/AZtGE7X/N+70OxvQTmtnF+P/lpBC6PgiFoIdTw rU9qHDhPYXxpHrAWdESUntodTnXz6odjya7gpEU/W3zqQJprhYzKamB9pglRayw6 9aCBQA== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45d1t4ptw6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 18 Mar 2025 04:01:37 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-2ff7aecba07so4281605a91.2 for ; Mon, 17 Mar 2025 21:01:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742270496; x=1742875296; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=g1ZqIRlo/bjZwLlSypjNHtK2fYpTyQL7/nn4I11gbjo=; b=G/0semuhGWp4rHYJAXt47N2tRibEtc1oDeYjad7Sz7VSPpgSBZG4ah3qcfcD1wW/P/ U3S1nFyM7x2NixVUbZPTdjUdkiUpAHoMuw/rmYMDEbFH5JJ0pTYwyrWU2trwCObMNrKe QoHOqed3ItlVqDUGv6sB0bBFOo2Bng1oz2D9YWrmqk5/pSPLTh5AkIrCjEvYIaFHFOsp Q9gIlyhWiPKEPmeFJICHOjK8WKRnWD+SJn00nSjMdlJ4XttsYEI4MLLfQh81oJVbSgM0 bAvhuvBNtE6R2plqHS/3SCg5X07dUT0YAg5Mv0kPTepLyLXT+0rFExIGEuIouypbGY1p Pdtg== X-Forwarded-Encrypted: i=1; AJvYcCUpvRQv2fYhiNNG1VZeZNplSQh0V9/EhTU9FhUN/iAm7mvEzm8mOQaXEMm9JXNbtmBBHTiWwkeprN/ul50=@vger.kernel.org X-Gm-Message-State: AOJu0Yy1DyxkGzmsJbkpGVxK0u1pzDPbBBpi4NUQQgs32gZGKZQWpsxK izh8Ygzhet3V269fvOQ1T046a0+uHl/rhKE4A5C9zubhzEIZJPy3IdA76L3Dv3VGUaOBLAM9vX0 A+eAxVkLF5tk60hi3PPNlF/9sl0+McVBCCPpTmDqn9jlmBAtyi7e+NxXuO7DUeqM= X-Gm-Gg: ASbGncslpeDWYooYIwJUEekRDxwFSy+xJebPTilqIZObYfbV2SUD7NTAMGCbUURaClE LcTPrngCZHrwzkd5OQVdqKHY46ifwgf3GEK6Lema5U1NrLXHWmRpIlZqor2ElwmKaP9MogAyY4Z 4ehfixGO9f+i8GZLSyhRf5bEI+N2qaSclbJU00IQ7kjG2HlGYKtPofNd4IKg6TE/hLtfeYjbXvq eRfCDV8spIEALe2+8h5V44jonEAwXG0QH1wyKLYL6mRhrIAq4Q3Hohg/2pUp4ShQDE/31PA/Qbc 0EqeQXUKHFaPFhAXCPOQZV88NCL+KDBQKRwx8Ql8QmVGymLNce2AAXbbsg== X-Received: by 2002:a17:90b:3dc3:b0:2ee:db8a:2a01 with SMTP id 98e67ed59e1d1-301a5bc0dbamr1228598a91.30.1742270496498; Mon, 17 Mar 2025 21:01:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9Edi3sDHHeZNXLncEXae5cC0YitCoPLeBGh6ElwofYcdSRsUatQjnw3qn2xTmbSGT+0Iy0Q== X-Received: by 2002:a17:90b:3dc3:b0:2ee:db8a:2a01 with SMTP id 98e67ed59e1d1-301a5bc0dbamr1228565a91.30.1742270496046; Mon, 17 Mar 2025 21:01:36 -0700 (PDT) Received: from [10.152.204.0] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3015364ec9csm7864720a91.45.2025.03.17.21.01.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Mar 2025 21:01:35 -0700 (PDT) Message-ID: <37a33341-a83f-6349-6bff-23b082aa46ad@oss.qualcomm.com> Date: Tue, 18 Mar 2025 09:31:30 +0530 Precedence: bulk X-Mailing-List: linux-kernel@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.13.0 Subject: Re: [PATCH ath-next v11 11/13] wifi: ath12k: Power up userPD Content-Language: en-US To: Raj Kumar Bhagat , ath12k@lists.infradead.org Cc: Johannes Berg , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeff Johnson , linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sowmiya Sree Elavalagan References: <20250317204639.1864742-1-quic_rajkbhag@quicinc.com> <20250317204639.1864742-12-quic_rajkbhag@quicinc.com> From: Vasanthakumar Thiagarajan In-Reply-To: <20250317204639.1864742-12-quic_rajkbhag@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=VLPdn8PX c=1 sm=1 tr=0 ts=67d8f021 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=Vs1iUdzkB0EA:10 a=COk6AnOGAAAA:8 a=EUspDBNiAAAA:8 a=WCMLO9bd9HEky8F4BQ4A:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: 3L20uVKsRU5AFimB8Hj2pE0ZhxG3LhGj X-Proofpoint-GUID: 3L20uVKsRU5AFimB8Hj2pE0ZhxG3LhGj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-18_02,2025-03-17_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=716 impostorscore=0 suspectscore=0 malwarescore=0 bulkscore=0 spamscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2503180026 On 3/18/2025 2:16 AM, Raj Kumar Bhagat wrote: > From: Sowmiya Sree Elavalagan > > UserPD firmware image is loaded and booted by ath12k driver. Get the userPD > memory region from DTS and load the firmware for userPD from pre-defined > path into io-remapped address of this region. Authenticate this image > using pasid which is a peripheral ID. Set the spawn bit to instruct Q6 > to spawn userPD thread. Wait for userPD to spawn which is indicated by > spawn interrupt. Ready interrupt is triggered once the userPD is powered > up completely. > > Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Sowmiya Sree Elavalagan > Signed-off-by: Raj Kumar Bhagat Reviewed-by: Vasanthakumar Thiagarajan