Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1915189rdb; Wed, 31 Jan 2024 13:06:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUdHRnrFlA7N/UDcS4dUXFWt0N1Ikk42ZcxDl68E+IHmbbTcY11DPBuqniUL1v5gGNp7E0 X-Received: by 2002:a17:902:f7c6:b0:1d4:e0e6:693 with SMTP id h6-20020a170902f7c600b001d4e0e60693mr2275477plw.35.1706735197146; Wed, 31 Jan 2024 13:06:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706735197; cv=pass; d=google.com; s=arc-20160816; b=qypvQHXG+oet/BGd4Gy+tbTMA1bW4tWtq2ixqutOdpDsU5uC7xAPwn8AVf/Tpydac3 Mies4WgTS005waS2OUFdgKviyBE6dHx/FS786mlWXeL0W1Y2zMKLOewvvAwMzjAVLmyw FgRdeYrIhYyaX5Dl3tORdYn/1m0Qm0BtFfths8pnccYvmV8PdI6hB8Vwoq1xLj4xruEE CjZhh6YRSGD331y7KHa3ALVCTVpZgYOXI7j2DBPoVB4vJnuaXBJ494+8dANHaxuv2nnz Zc38mUJ+58+iIGW+Z3euJCybT2q8a2oMAowUFia7pC8Ismu8UVqvvdKHAyRPkaUi379F Gy8w== 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=Z6/fJWOpywTyUHR+4JBWC5SAeSTB16D1mFWre3cFXKg=; fh=vfNpRTC1OD+50J8UD0Vwc6uGtlA/VCUEjF+B7hWsBZ8=; b=VykH/OAJ/uoDRScwNTA0gDjciq6jpfllbKYpK1I2byKPY9rnT/2H2SLYfD6XywDKZw 63OhKgZKIijMLe2ed7rk8zMRmINIr4rgS1h4Vu+M08o2QRkCl+LSI5PFPDf1wnTWskHQ KlmDvthuwFfrfj/kv+RJK2o8NxTbZE5+uudaVNA3MwrvoHybCIChJeLfzoofN+JH7Il+ xb3GgVNNlEA+eoYXZlljpU6SkR8bMnx6PVmzGDZzHeR7y/1DKLEZLbVrFy+inAq2TET4 Ut1+WAQXLxyvuMYD2fQXyiBxDu3hXBrR1raXxbnIfpcKuDnZ76rBsTJ+dvLDK0cMlZVY ztQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QslSVMgf; 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-2906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2906-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCX/bUcilpF7d2WUa1mPppMl1PEIT7y3LB6DTr/T+VWqHZeqMtb9y2bPuFCJIZTgv1rPxRPoBdJX/aVllboLVuHfeFQNsHEpvwWDeuo6cg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t2-20020a1709028c8200b001d629b6e88esi10113258plo.287.2024.01.31.13.06.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:06:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2906-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=@quicinc.com header.s=qcppdkim1 header.b=QslSVMgf; 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-2906-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2906-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5215028A53D for ; Wed, 31 Jan 2024 21:06:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98ED137708; Wed, 31 Jan 2024 21:06:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="QslSVMgf" 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 1BFD938DDB for ; Wed, 31 Jan 2024 21:06:31 +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=1706735193; cv=none; b=tIM3HxQrM05V1fM3x5BshfIVd/HxzcBXYLugRR1q3KW0Tfu2X3MB16pyM8BZkTMOku2GHGH4PCqaCtBggMnhmFxlRE+oguXzXO2OSAm043CGErf3WtsgmmT3SyVexTpOTP+dfD+MA5WnPlZOeNWM1CcHNLxFC52G2y1AcERun50= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706735193; c=relaxed/simple; bh=xW5Qewo74HwvpniApDQmEkuZLq+eJF54/DKBXHe/oM8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=r8CfoNWLxCmF3/75de0cPYtkYJtDS/qeCfRDMZrc6vNOaLIgy1M9twEOn1ViUx7NRvMFAb9tVjcwpZI8R8a54ccNTqqdU6yLhKFG5T8PdE3VaYbVh74J3EjCysz4RjqgU+fGfYSVW+yp1Fmq+6et2btTZSyqFWZ71/TRlPc0sPk= 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=QslSVMgf; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40VCXlmD022245; Wed, 31 Jan 2024 21:06:30 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=Z6/fJWOpywTyUHR+4JBWC5SAeSTB16D1mFWre3cFXKg=; b=Qs lSVMgf5tnduMT2mlx1dvLDEGFbVRvty7V4DfgUhqTPVJSblOMcRoYjY8jPZZUOJ5 IUPiERYXdbCBSsYwj4kjmkbDTUcPXhoqI/v4rSskl6obBhHTGV9ZHs9rlzSfu9Sk W7zRXnkNk7E2TsriM542ZfG8aPO1XgzOlddbF9q/RdomIA7C0SSjEka/dVC0EafQ L+NE4Nvv9csbP4uS52CazpXDqwNYOYc5T2Vowz4NdgGYF4MZ1NIkeUezbuKXavKv 3QjDee9swjPrXjTi0H3KLbs090/Ws8L4elztqsNejptEy3dMoYWXCvg7GGs+GALR eO88nREs87HxIrb5ifog== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vypaq1814-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 21:06:29 +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 40VL6T1Z007681 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 Jan 2024 21:06:29 GMT Received: from [10.110.47.232] (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, 31 Jan 2024 13:06:28 -0800 Message-ID: Date: Wed, 31 Jan 2024 13:06:28 -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 v3 05/13] wifi: ath12k: Add logic to write QRTR node id to scratch Content-Language: en-US To: Raj Kumar Bhagat , CC: , P Praneesh References: <20240129065724.2310207-1-quic_rajkbhag@quicinc.com> <20240129065724.2310207-6-quic_rajkbhag@quicinc.com> From: Jeff Johnson In-Reply-To: <20240129065724.2310207-6-quic_rajkbhag@quicinc.com> Content-Type: text/plain; charset="UTF-8" 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: C2sKIPE1h-2Ec4i61VnXiIbU41y9ARU2 X-Proofpoint-GUID: C2sKIPE1h-2Ec4i61VnXiIbU41y9ARU2 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-01-31_10,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 mlxlogscore=605 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401310163 On 1/28/2024 10:57 PM, Raj Kumar Bhagat wrote: > From: P Praneesh > > Currently only one MHI device is registered successfully on platform > having two or more identical MHI devices. This is beacuse QMI service > runs with identical QRTR node ID. And, qrtr-lookup cannot register > more than one QMI service with identical node ID. > > Hence, generate a unique QRTR instance ID from PCIe domain number and > bus number. QMI allows node id to be written on scratch register. > Add logic to write QRTR node id to the register. It is available for > firmware to uniquely identify an instance. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00188-QCAHKSWPL_SILICONZ-1 > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Depends-On: wifi: ath12k: add firmware-2.bin support I would not expect this information to be part of the final commit text, but I suspect Kalle can remove it when it goes into the pending branch > > Signed-off-by: P Praneesh > Signed-off-by: Raj Kumar Bhagat Acked-by: Jeff Johnson