Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp462617rdb; Thu, 2 Nov 2023 08:33:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHFiBRws+EVXNYMRPT8qDco+v/EbF4mxhu0HDw9OVx0gQLFgaA7Ej8izlNxi1x1rS6nZ12k X-Received: by 2002:a17:90a:6047:b0:277:68c3:64b9 with SMTP id h7-20020a17090a604700b0027768c364b9mr188321pjm.5.1698939229245; Thu, 02 Nov 2023 08:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698939229; cv=none; d=google.com; s=arc-20160816; b=NCvUR5RmoBHXJywgs7KjZWvEJ+lW1nu4Oe7Jje1FM6TG02vv4WHN0JFM9h1uwGh9QN SsUZX1FT3TUbyCn3JtEjNEtSPOLBgO7sJjcc81S23k25dym3PDtG/Pk9VyRZ7D+YWagy ALKazfznXQbl3+mjTKKg5A4u59XW6r9NrV0Wc3oHyNdkFn2WgGzmXW20cRMR+lIJSNm9 VzMl9WOtrv5LOQ6Eq5aWG6ZbjaTB0hWxdTiMLX5T06+FtZFN1EbGWiu1isu/1VPyicid xQnpXaHAKf/mxlEvJmRc9FSVJTZfrE4dP0beocerPQsiDJE2GZVtiPCFDf62pUgVNIYW NtEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=xuY1XCYYF6D58F7mW+EjlQABTOGa12jwYhYpv/AR9O8=; fh=LZ9DG7gC7q2PUch5gGyLeBK8De7X0Ck9eHcYjzHwJeU=; b=qwM2DDUVW89TAL+c21Cvj7yGRnUs0mgvMNFfseBZwapaAeqPfqQv3WOlW8Es7YX1HE A4leJDOpf1TA2LEPmY2kHK28j4ILTEtnWyxKCOQH5gizisuZLubxp7by9w7rwUEZliBI dqlRTUE3d8kKrHacALjoEoWprpzjecMjJFeht0zU/TH8VUzDB7uIWBwDbq96p06558Un XjYSYy7EKv8Uo4A5zDeaTR2piSmCcMW8P3mFbB7Mb+HPd5WoTEa+NgTD+M4Dwyzh2j5l VaP8luednENU4YFE9CTIGIbqIjFmjEb8Tk9uYcAiYy6+zSVvfX+H2tHAWfGP6BavrJNS A09A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uP+ZFFDt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id l4-20020a639844000000b005abcd0ad422si1814351pgo.533.2023.11.02.08.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 08:33:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uP+ZFFDt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D90D7827175B; Thu, 2 Nov 2023 08:33:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347591AbjKBPdm (ORCPT + 52 others); Thu, 2 Nov 2023 11:33:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347641AbjKBPd3 (ORCPT ); Thu, 2 Nov 2023 11:33:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82B74194 for ; Thu, 2 Nov 2023 08:33:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24B5EC433CA; Thu, 2 Nov 2023 15:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698939206; bh=YSkyxTlpftdDqfkFADcgeMcrGL2jgJI037pt5vjQbnQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=uP+ZFFDt6A60vU/c+ND9HCqauis7ntCATYz7mBF0HL86s9MkY6+WQwyvgGJIe4z6g CRlwRDO4UuTLIG/3nRk1kH2EdI8/h+YmFgIdzudTx6koiJexaXr1Z+FB3CchQlR6nG pj3v9ohBBJD5yL9AySEXmUCW4lR72dhBZKRf+cgNAx0GzkuhJx3MZZ7qdd6uDd003v s9dsOucSWUZlNm+hQ2R+CSY7VbirFQf/bbrlR+3M1cC6HcGxAHVXIKm7m1wfRAwmdD uJr0aLfARWz6iwl1MlFsO03Ov0pgBynVV+YVx35bMAf07V2/gUnuliF+8euZSIi4qF Yl3ZbCNGwMiTg== From: Kalle Valo To: Raj Kumar Bhagat Cc: , , P Praneesh Subject: Re: [PATCH 06/13] wifi: ath12k: Add logic to write QRTR node id to scratch References: <20231030222700.18914-1-quic_rajkbhag@quicinc.com> <20231030222700.18914-7-quic_rajkbhag@quicinc.com> Date: Thu, 02 Nov 2023 17:33:22 +0200 In-Reply-To: <20231030222700.18914-7-quic_rajkbhag@quicinc.com> (Raj Kumar Bhagat's message of "Tue, 31 Oct 2023 03:56:53 +0530") Message-ID: <87v8akuq4d.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 02 Nov 2023 08:33:47 -0700 (PDT) Raj Kumar Bhagat writes: > 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 > > Signed-off-by: P Praneesh > Signed-off-by: Raj Kumar Bhagat BTW we got a test report that this breaks WCN7850 support. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches