From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
To: alsa-devel@alsa-project.org, broonie@kernel.org
Cc: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>,
kai.vehmanen@linux.intel.com, lgirdwood@gmail.com,
pierre-louis.bossart@linux.intel.com,
ranjani.sridharan@linux.intel.com,
Karol Trzcinski <karolx.trzcinski@linux.intel.com>,
daniel.baluta@nxp.com
Subject: [PATCH 2/8] ASoC: SOF: Add `src_hash` to `sof_ipc_fw_version` structure
Date: Thu, 17 Sep 2020 13:56:27 +0300 [thread overview]
Message-ID: <20200917105633.2579047-3-kai.vehmanen@linux.intel.com> (raw)
In-Reply-To: <20200917105633.2579047-1-kai.vehmanen@linux.intel.com>
From: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This field will be used to compare ldc file with loaded fw version,
to assert validity of trace logs. Value used in sof-logger.
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
---
include/sound/sof/info.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/sound/sof/info.h b/include/sound/sof/info.h
index 313e3e70c630..0b7101aef596 100644
--- a/include/sound/sof/info.h
+++ b/include/sound/sof/info.h
@@ -46,9 +46,11 @@ struct sof_ipc_fw_version {
uint8_t time[10];
uint8_t tag[6];
uint32_t abi_version;
+ /* used to check FW and ldc file compatibility, reproducible value */
+ uint32_t src_hash;
/* reserved for future use */
- uint32_t reserved[4];
+ uint32_t reserved[3];
} __packed;
/* FW ready Message - sent by firmware when boot has completed */
--
2.27.0
next prev parent reply other threads:[~2020-09-17 11:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-17 10:56 [PATCH 0/8] ASoC: SOF: small fixes for 5.10 Kai Vehmanen
2020-09-17 10:56 ` [PATCH 1/8] ASoC: SOF: imx: Add debug support for imx platforms Kai Vehmanen
2020-09-17 10:56 ` Kai Vehmanen [this message]
2020-09-17 10:56 ` [PATCH 3/8] ASoC: SOF: debug: update test for pm_runtime_get_sync() Kai Vehmanen
2020-09-17 10:56 ` [PATCH 4/8] ASoC: SOF: control: " Kai Vehmanen
2020-09-17 10:56 ` [PATCH 5/8] ASoC: SOF: (cosmetic) remove redundant "ret" variable uses Kai Vehmanen
2020-09-17 10:56 ` [PATCH 6/8] ASoC: SOF: remove several superfluous type-casts Kai Vehmanen
2020-09-17 10:56 ` [PATCH 7/8] ASoC: SOF: fix range checks Kai Vehmanen
2020-09-17 10:56 ` [PATCH 8/8] ASoC: SOF: Intel: hda: reduce verbosity of boot error logs Kai Vehmanen
2020-09-17 18:57 ` [PATCH 0/8] ASoC: SOF: small fixes for 5.10 Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200917105633.2579047-3-kai.vehmanen@linux.intel.com \
--to=kai.vehmanen@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=guennadi.liakhovetski@linux.intel.com \
--cc=karolx.trzcinski@linux.intel.com \
--cc=lgirdwood@gmail.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=ranjani.sridharan@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox