Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3272222rwb; Tue, 8 Nov 2022 02:36:14 -0800 (PST) X-Google-Smtp-Source: AMsMyM6fVc7/mym+RWOMbeh8Jf6/Ms9Pbd5H2Et96eEIlxFZ/wXZigvaBKiGcoRb9Fu1pVC7/ZbP X-Received: by 2002:aa7:cf0b:0:b0:461:2271:8559 with SMTP id a11-20020aa7cf0b000000b0046122718559mr55126295edy.92.1667903774425; Tue, 08 Nov 2022 02:36:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667903774; cv=none; d=google.com; s=arc-20160816; b=tJsP5YJwoFZV8AcgiO32IqjbaiFwtkZ53nrfGNshhotvtlVtXvNZYXBP8Sdc90e5+P V2ub32E5iAWfLjFjlXprhn+pEOo8VyYaiAV+HRAJ5G2EmfSSs1NERkxGEOM8tvlCHEe+ sM7IVRvQTkvuzbu5w8XBQg+1er16p3MJRJGWlIIWzwhiMWQm4XQHFg4O8+ngabxdfooJ dgAldUnv6npBKi6A+VEU0A4VI9snj5dOX5FYlWxrC/ncg3DOhPv/MyE+IaZbbJkLrQ0D QA3Dz7K63PLhWRo2dMWyhube2PT1Ym8W5r6LNb2bO1j/A94z0kQ2U2dpAwE2AnJO1dG/ RBTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=sHheQOwkVqP62Ibk/Vd+J8Zeh1klFaulkOqlzzD5VD0=; b=B1R4xyUA0KDlkQ1HYlZDY6i2aA77RikPrN/hXE4f0oNc1ggDACErHDe+M3jDuJkbjs 0BYQxLjlo8gl36BY5RXKMnYeMgpSSJNMgqr6b7aTH4bIo4WhVmKKuAg3LyAoIr1IP7HS uV1SJuHsyRM1MprrPaREz5DywWBMGJC8l3wWsxVkss8We6/PPrxlkfIxjWZbCQjgtzKi xBm7Ivv7rcRUnycq36LY2rEZ1dGsUz4EfwgqbkDN6tQIuzT09FLe/9/oLvJvTT1MYxXU ullS3DC91kDYXyEESGRKua9px9OaPddIvUH8esC0f/SMA6mhLj+8x+QP/9CyQ6NVEpeW n2dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YWeCvuNt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020aa7dd16000000b00463d1e263a9si11378767edv.328.2022.11.08.02.35.54; Tue, 08 Nov 2022 02:36:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YWeCvuNt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233696AbiKHKaP (ORCPT + 67 others); Tue, 8 Nov 2022 05:30:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233659AbiKHKaO (ORCPT ); Tue, 8 Nov 2022 05:30:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD3F9614A; Tue, 8 Nov 2022 02:30:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7420E614F1; Tue, 8 Nov 2022 10:30:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1302AC433D7; Tue, 8 Nov 2022 10:30:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667903411; bh=QScj0SPWiAoUuCjvCzfGcgNluCdjviFFK4yyG9xTUTA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=YWeCvuNtkh38gLaCWRbJiHi7ors2Xznh8Ga26ofr+FraGaVxfBYsDBaFTWDbuOo8k 2eNP5PJ7pwpEfqgrbLNUolY3p57MfQ3f1T3h4UFrcA4lsgYqVSVV9NlhceHCYwgD4r i2fOC7cHZI1+JyDnF67KKQ/L4tgOdcWgtoABweRdmENvYqzw8BaI+guMHTkKipBUcI +Y/dZ1KUDzYJgymyRBPkWNMALOF2RQd7+z6ixvxZ6xCMbHfFTdPnGG2C3fhntxQiol nixHjzeEXJg4GpJUmvH4MVQ9FPXipQ5zLMvVaseRspuf60ltx6tattvs76SPbEsvo9 IZknsBhAuvLUg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: ath10k: Add WLAN firmware image version info into smem From: Kalle Valo In-Reply-To: <20221104082828.14386-1-quic_youghand@quicinc.com> References: <20221104082828.14386-1-quic_youghand@quicinc.com> To: Youghandhar Chintala Cc: , , , , , "Youghandhar Chintala" , kernel test robot User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166790340662.9633.4549756749859911615.kvalo@kernel.org> Date: Tue, 8 Nov 2022 10:30:09 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Youghandhar Chintala wrote: > In a SoC based solution, it would be useful to know the versions of the > various binary firmware blobs the system is running on. On a QCOM based > SoC, this info can be obtained from socinfo debugfs infrastructure. For > this to work, respective subsystem drivers have to export the firmware > version information to an SMEM based version information table. > > Having firmware version information at one place will help quickly > figure out the firmware versions of various subsystems on the device > instead of going through builds/logs in an event of a system crash. > > Fill WLAN firmware version information in SMEM version table to be > printed as part of socinfo debugfs infrastructure on a Qualcomm based > SoC. > > This change is applicable only for WCN399X targets. > > Reported-by: kernel test robot > > Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 > > Signed-off-by: Youghandhar Chintala > Signed-off-by: Kalle Valo This doesn't compile unless QCOM_SMEM is enabled in Kconfig. So should we add "select QCOM_SMEM" in Kconfig for ATH10K_SNOC? -- https://patchwork.kernel.org/project/linux-wireless/patch/20221104082828.14386-1-quic_youghand@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches