From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4CF5C4332F for ; Fri, 25 Nov 2022 11:12:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230393AbiKYLMp (ORCPT ); Fri, 25 Nov 2022 06:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbiKYLMc (ORCPT ); Fri, 25 Nov 2022 06:12:32 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A3EF6250; Fri, 25 Nov 2022 03:12:31 -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 ADBD06239D; Fri, 25 Nov 2022 11:12:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79789C433C1; Fri, 25 Nov 2022 11:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669374750; bh=9m4EnFNBor1yYAqAkFO0UeDEFHKaL2TeZP/4Uo5mhNo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Bqj0rO5YaVmUQNQSLSZW1fAQS+Be7JfSGoa1HBPYViNzyB6kBt0w78mlgnBO05/S+ cdWrpDrLe1gzhgnzdKULCfSN1bRX9Xt07Ml2iAf8y3sT3SbdL59mV9Zt0MzxK3BwmK oeIYX1jPLpg80Z4Kcm08Xs79OUrg29e4wbZtQEbOeB7+rsZu4JNI0D8j0LkQ8x5P3O KOA0tQ1xLEGNvjynuALT6dVv4vx/QlnnG56/bWkmEYOi2L5IjzMQOkEoCvZJViPvBV AkItiGpv+1Qha2KYEkr59ysMgt9n7kaVne93AmPFiCHWVL8Fy8/tn/dxSMd7NcW62u kAXdfajM7SjMw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v4] wifi: ath10k: Store WLAN firmware version in SMEM image table From: Kalle Valo In-Reply-To: <20221117180534.2267-1-quic_youghand@quicinc.com> References: <20221117180534.2267-1-quic_youghand@quicinc.com> To: Youghandhar Chintala Cc: , , , , , Youghandhar Chintala User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166937474408.28196.4056251112151371854.kvalo@kernel.org> Date: Fri, 25 Nov 2022 11:12:28 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 SNOC/QMI based targets. > > Example: > cat /sys/kernel/debug/qcom_socinfo/cnss/name > QC_IMAGE_VERSION_STRING=WLAN.HL.3.2.2.c10-00754-QCAHLSWMTPL-1 > > 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 Patch applied to ath-next branch of ath.git, thanks. 4d79f6f34bbb wifi: ath10k: Store WLAN firmware version in SMEM image table -- https://patchwork.kernel.org/project/linux-wireless/patch/20221117180534.2267-1-quic_youghand@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches