From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793960951; b=A3MCAIAI/agNUOIgREBQNG6HeCIBmAekxtKXa99ZhLCkOnDVO7Um3U4sVr7dUnqGkX1E 6RgzQBTPKzSh18zw1Xhv9qyujyu8T0Sry54376WTyqU1TYwzt/sDFQDzfenPNTBK/lxoZ anhVH3CLTrjQRpTR0Ju4MD+/uTArBUpJl3YEIiUlcaDXvVO/Jp6kq5qbgfgSpfNvb7+d5 81c2cxY2xM1CSn0tw3h6EQhJ4APK6PqhURNpYpjFUESzQG07vnljAUmVk9lPnhbBfzkpa 6jFOHnw7EX83zcYPB1Chz7bObc3jRkIadgmR3FOuM20LEp+LAKCX10Kdu1n4kxyxbmA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793960951; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References:From: Content-Language:In-Reply-To:Content-Type:Content-Transfer-Encoding: X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=8v3tl+9kpgG88CDZ3LlHDDVu3+mvZkT/wB+uI61EvJ4=; b=5aDBB50QNLuy3R2YSTYY2wLh2Oza+IdToKQtZCQv1Cc/tqGiyFOhLePosok8PxEfMrHO qpNRq30LtPckFI5pfK7715s2N4tBkLvRQ0B7KuCzsxY06OX/hmz6JexkFWajtnW3d7DoT rx3SkjuNstKIySUh2ArMOdUu4nomD9Lpk6s61Koe9Yu60VeztFrn/JLmoF6XmnnraQ9ci K+U1aOAImNJFwhVOLkLdYfGXgsanWVX7XkSI1EnIi6hO5bWbtmAtZ1Q1gk0zJNh/L0LE7 ey49o4zkcRNuyBE94rResq8X0I0IJvmCyCUypn+uNdIwzNvF62gwo1SGBfp80g8ngYg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=GsE8gHqq; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=YhsNmDXf; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30252606A326 for ; Fri, 6 Nov 2026 10:29:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 30252606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=GsE8gHqq; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=YhsNmDXf Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6A6APBG83645854 for ; Fri, 6 Nov 2026 10:29:10 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= 8v3tl+9kpgG88CDZ3LlHDDVu3+mvZkT/wB+uI61EvJ4=; b=GsE8gHqqxysxGZtB tdcgj0qPuOhiAAoIN/KHBNd05iHD+JLRPz1JZVtf+Ll0MKCK9N4IQ0G+XcLLwXdA JBxIQA6S2KIn0ckcqAgQw/OPZGFkV98rvw926JDHvaVmzuZT8riBekspFW1N9MVu tD+pB6SH72icvAozmO0BagqGlMzin98HjcMb1hTQfg6prYXQHSe4ivlvVUFrsMMZ 0EctaHdZy/xsKGrihszKOHfYJSzowkVnRIkC4VDKDBlIFSufyoZSmXG0Ocw4tVjn Nh8TTFyPp8yVKk4eDmPs41/dOTHkynSG2Dvozq6hzoDCCwzUETGuML0nz1dIUawi 7dgFeQ== Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hs3pa2avx-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 06 Nov 2026 10:29:10 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cdaf2073b0cso331001a12.0 for ; Fri, 06 Nov 2026 02:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793960949; x=1794565749; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=8v3tl+9kpgG88CDZ3LlHDDVu3+mvZkT/wB+uI61EvJ4=; b=YhsNmDXf7si0hghXxSEEVdDIQ7tk8AfF3gyUg8Z5lX5AqJg2qqIzGn32PNeFu8kIUP kLB1d8UiF7kbrDbPbOv8xS7hfLkAbgI+MCuo1DBjcYj+yUJrcDOpi68/ivhDtWMTAvUg ahIGHBTKKURxH0crUV2l4uS2Cc5ZqvAramkN2WnjcvPpfGnLjGF4i7Q5Ycm6FYB4koDx q3/jC780dchPikJt7aIoiuqIOMdLT6+78ZbFeeymUSE7t7VBfRVGXNhdtJU/QBmPKuEf Obv63+nohi1FL2G6AUs1cOcdn2N/UQxP22p4LuPJWKuG5+7hA+vXPwzZ3vqOPV2fZJIH iwyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793960949; x=1794565749; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=8v3tl+9kpgG88CDZ3LlHDDVu3+mvZkT/wB+uI61EvJ4=; b=uj1PkAl6py4CAciEDw8lDkl+UxajvY2avTHqi0Y52SfIa8WhQbcKCb7fmuyhjHX7l4 nUq1qqXLcNro1nrmnobAM/lS8vtgVQXEOz5Crt9q27AavBrekXdZnMgxcHulScKuHdv7 Y9AS/rR5oLHdHCZtMm1Enp2iaJt5+5EaKAZWil1vByA49XTmUc/CA1/cgGoNwasPweLz fOFWHgA8fbF2zmA6Ck7KZT3DkgtJYRMhjm8+iarzjxwON8exX37SqgxKX08Ty4yejfOD JBCklVmncTHJEeUJxo/7mm+iNxRgqJLxrVkvsv6z6XaG0uMLK0k20foIQ1hQnBLREMhA +x6w== X-Forwarded-Encrypted: i=1; AL+hErGPj7FHwzqubwzs/zb9FfDvMH+Tx4xkUy7O+HbVd0SWxz/0f7yxRu1IXk+EQ7rCjYgcyZfAN30EhPL/5kk=@vger.kernel.org X-Gm-Message-State: APuU4Z/EvGZUbyLLLjHz3Oad9DsqrAV4sH+0B0Bl50KRvI+O4SVPZRpR gGoCT6doxsL2uvylFRWCP+jQGGE0rV8STI3gudATFZgc8530sAcl+K9m8uwpbX1BvO4tZd/crlm Rv3YBcV8IK+/L7bLI3Sh9eigiXXuDBAfsdOFl+BEIT39ZzdnbVj8p7gMQF0sABt6mFVs= X-Gm-Gg: AYBFou2XoABPobdX6VtJb2w7vQtEkdVmN1U8Lx/PsyvzeOKDc+QZPrUOahkzzCu3pc7 TblqRLavJwlVy/CZR5Lu6J1lcgf9W2zyaj3aV67a3nVK5wFxSD2KDKOCCLkmwwmu2WVcmeqLXhF 04bk+scdVYKfFGoGoYDG99CLufmH2GIwEJXvdplbuYSUA8ZYwQZvXtCg2ygN/VvQ6S+WXiqZDB3 66elfqFkHIVclTCAhQioXNhyWa/BumPW2o57hlYhqYr6o0pjFvMlvbNuH65yZSzWBtB3nJZ7rXb TIg5dRVjQ+V9zb17EtaNsgesIN55wM+5qvH8cgIS5o5U89VSa/ldIvYJAS5oJbn9GAANce2it/u GAstegj6xTgl/2PQDz0S/XQ1SGBsoYVWr+hKU643NYklCBrBTfsw+FBEyrRDk7h9GmNXlqF2DWL d9vbyYrutFzjjaJdTqQW+bsdLlCnZDohiuenZY3DU3UCHaUQ== X-Received: by 2002:a17:902:ce8d:b0:2df:9057:8bf4 with SMTP id d9443c01a7336-2ed40c7730fmr25500395ad.43.1793960949548; Fri, 06 Nov 2026 02:29:09 -0800 (PST) X-Received: by 2002:a17:902:ce8d:b0:2df:9057:8bf4 with SMTP id d9443c01a7336-2ed40c7730fmr25500135ad.43.1793960949057; Fri, 06 Nov 2026 02:29:09 -0800 (PST) Received: from [10.133.33.112] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ed47da1652sm3898885ad.74.2026.11.06.02.29.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Nov 2026 02:29:08 -0800 (PST) Message-ID: <7081fda5-7636-4d64-bb42-545b40957bc5@oss.qualcomm.com> Date: Fri, 6 Nov 2026 18:29:04 +0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH ath-next v3 00/17] wifi: ath12k: Add support for QCN6432 To: Aaradhana Sahu , Johannes Berg , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jeff Johnson Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ath12k@lists.infradead.org, Sowmiya Sree Elavalagan References: <20261023-mpp-bringup-v3-0-19f3fcbf7b5f@oss.qualcomm.com> From: Baochen Qiang Content-Language: en-US In-Reply-To: <20261023-mpp-bringup-v3-0-19f3fcbf7b5f@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=PLeaavqC c=1 sm=1 tr=0 ts=6aedabf6 cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=bC-a23v3AAAA:8 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=L-72yP8G5ZwXlaZ1uZYA:9 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 a=FO4_E8m0qiDe52t0p3_H:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTA2MDA0MSBTYWx0ZWRfXyQ5Ct9rzLi7r YEigqMtAMavSm/5PIgkjE0xM/fshpZCNBZOFJrrQWxDc4HSfWpVUXVMNaEdLK85l/W6qCFGYWT8 N1kFuyjTho8/ofRnOOxwt+XAPYhsZ+w= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTA2MDA0MSBTYWx0ZWRfX/LpI9toOJd4u k97Xabtk8Tzpj2ELNfTiB7H53CO9i3lM3unY/IB8zciEapsvfX7xyi0w05I/OZKsKzrFniZLVb+ /YE17uR5rs3Jl3LBgnqonwjQEA1GiEc7MS+bxhftCxmk+sw8t/fNN224PwGUPHBIbkfwD7Vvgvk FSQ7XbHPnB7Aw/zoRHZRLhvfv6dInc4iRmVe2ANI+x8AQp9ViqyLGdW4/DRCnX2TJ9pbh6t943s rTuY1bvC7kkHhvKg2JwjVWiyiIVHsdlSmIvOnCRhIhnPjEvlMfvchxam2ARZrRnPC5iXqEijup/ 3JjEVjz4IwlRj8bRv/KhuWf+vmL7ljBIYqfoPQWWAfZfUtWiw2KuIah5NZFiAyJ2spvcbZEzC7i PJJmMktps1ZszHqVssYPB7zFyWSWaoMQHpBxFkiVyBoDx7jeuwHGYW/JGdidbsRF02N3CWivWA9 v42QrIcmPkztlkwfu+w== X-Proofpoint-GUID: 7c7CtqpHZpVbZ8EkDdC-uVmFSpciGzmh X-Proofpoint-ORIG-GUID: 7c7CtqpHZpVbZ8EkDdC-uVmFSpciGzmh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-06_03,2026-11-04_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 clxscore=1015 bulkscore=0 priorityscore=1501 spamscore=0 phishscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611060041 On 10/23/2026 3:01 PM, Aaradhana Sahu wrote: > QCN6432 is a PCIe-based device attached to the WCSS Q6 processor. It is > registered as a platform device (AHB), and remoteproc APIs are used to > boot and shut down the device, similar to other AHB-based devices such > as IPQ5332. > > However, PCI APIs are used for device setup and register access. Since > QCN6432 requires both AHB and PCI APIs for its operation, a hybrid > AHB/PCI approach is implemented. > > Overview: > - Patch [1/17] adds DT binding documentation for QCN6432. > - Patch [2/17] refactors PCI operations and MSI config structure to > support different MSI configurations. > - Patches [3,4,5/17] add hardware parameters, ring mask, and registers > for QCN6432. > - Patch [6/17] moves multi MSI vector flag to ath12k_dev_flags. > - Patches [7,8/17] add hybrid_bus_type and HIF operations support for > QCN6432. > - Patch [9/17] adds support for unified data-region memory allocation. > - Patch [10/17] moves MSI config to pcic for better abstraction. > - Patches [11,12/17] enable MSI interrupt support for CE and DP rings > specific to QCN6432. > - Patch [13/17] uses CMEM write for PPT on hybrid bus devices. > - Patch [14/17] stores and uses per CE DP MSI data for QCN6432. > - Patch [15/17] derives QMI service instance ID per protection domain. > - Patch [16/17] add userpd ID mapping per device. > - Patch [17/17] adds support for QCN6432 in the driver. > > Changes in v3: > - patch 1/17: Update the commit subject and change the file name. > - patch 3/17: Initialize qmi_max_chunk_size for QCN6432. > - Link to v2: https://patch.msgid.link/20261016-mpp-bringup-v2-0-f510c33bfcf5@oss.qualcomm.com > > Changes in v2: > - patch 1/17: Update the compatible string from qcom,qcn6432-wifi to qcom,qcn6432 and remove the | character. > - patch 11/17 and patch 12/17: Fix resource leaks on probe error paths. > - patch 16/17: Move the NULL check before the loop. > - Link to v1: https://lore.kernel.org/linux-wireless/20261008-mpp_bringup-v1-0-2c5797b5e4ac@oss.qualcomm.com/ > > --- > Aaradhana Sahu (10): > dt-bindings: net: wireless: Add QCN6432 > wifi: ath12k: Refactor PCI operations and MSI config structure > wifi: ath12k: move multi MSI vector flag to ath12k_dev_flags > wifi: ath12k: Add hybrid_bus_type in ath12k_hw_params > wifi: ath12k: add support for unified data-region memory allocation > wifi: ath12k: move MSI config to pci.c > wifi: ath12k: Add platform MSI support for CE > wifi: ath12k: use CMEM write for PPT on hybrid bus devices > wifi: ath12k: Resolve userPD ID per device > wifi: ath12k: Add QCN6432 AHB support > > Sowmiya Sree Elavalagan (7): > wifi: ath12k: Add hardware parameter for QCN6432 > wifi: ath12k: Add hardware ring mask for QCN6432 > wifi: ath12k: add hardware registers for QCN6432 > wifi: ath12k: Add hif operation support for QCN6432 > wifi: ath12k: Enable MSI interrupt support for DP interrupt > wifi: ath12k: store and use MSI data per CE and DP interrupt group for QCN6432 > wifi: ath12k: Derive QMI service instance ID per protection domain > > .../bindings/net/wireless/qcom,qcn6432.yaml | 149 +++++++ > drivers/net/wireless/ath/ath12k/Makefile | 2 +- > drivers/net/wireless/ath/ath12k/ahb.c | 54 ++- > drivers/net/wireless/ath/ath12k/ahb.h | 10 +- > drivers/net/wireless/ath/ath12k/ce.c | 7 +- > drivers/net/wireless/ath/ath12k/ce.h | 6 + > drivers/net/wireless/ath/ath12k/core.c | 10 +- > drivers/net/wireless/ath/ath12k/core.h | 24 ++ > drivers/net/wireless/ath/ath12k/dp.c | 39 +- > drivers/net/wireless/ath/ath12k/dp.h | 2 +- > drivers/net/wireless/ath/ath12k/hif.h | 30 ++ > drivers/net/wireless/ath/ath12k/hw.h | 8 +- > drivers/net/wireless/ath/ath12k/mhi.c | 4 +- > drivers/net/wireless/ath/ath12k/pci.c | 111 +++--- > drivers/net/wireless/ath/ath12k/pci.h | 21 +- > drivers/net/wireless/ath/ath12k/pcic.c | 435 +++++++++++++++++++++ > drivers/net/wireless/ath/ath12k/pcic.h | 24 ++ > drivers/net/wireless/ath/ath12k/qmi.c | 83 +++- > drivers/net/wireless/ath/ath12k/qmi.h | 1 + > drivers/net/wireless/ath/ath12k/wifi7/ahb.c | 45 ++- > drivers/net/wireless/ath/ath12k/wifi7/hal.c | 7 + > .../net/wireless/ath/ath12k/wifi7/hal_qcn9274.c | 85 ++++ > .../net/wireless/ath/ath12k/wifi7/hal_qcn9274.h | 1 + > drivers/net/wireless/ath/ath12k/wifi7/hw.c | 143 +++++++ > drivers/net/wireless/ath/ath12k/wifi7/pci.c | 22 +- > 25 files changed, 1214 insertions(+), 109 deletions(-) > --- > base-commit: 2d57db8fbf72b1872e7411e917166bd12ed5bc98 > change-id: 20261015-mpp-bringup-75f457bef8ee > > Reviewed-by: Baochen Qiang