All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, Karol Trzcinski <karolx.trzcinski@linux.intel.com>,
	broonie@kernel.org,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: [alsa-devel] [PATCH 2/8] ASoC: SOF: define struct with compiler name and version
Date: Tue, 17 Dec 2019 18:26:10 -0600	[thread overview]
Message-ID: <20191218002616.7652-3-pierre-louis.bossart@linux.intel.com> (raw)
In-Reply-To: <20191218002616.7652-1-pierre-louis.bossart@linux.intel.com>

From: Karol Trzcinski <karolx.trzcinski@linux.intel.com>

Add compiler information structure sof_ipc_cc_version.
Add new enum value in sof_ipc_ext_data for new structure.
This struct will be used to show more information about firmware
in host system. It will be helpful during debugging.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
 include/sound/sof/info.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/include/sound/sof/info.h b/include/sound/sof/info.h
index a9156b4a062c..1c560144996c 100644
--- a/include/sound/sof/info.h
+++ b/include/sound/sof/info.h
@@ -30,6 +30,7 @@
 enum sof_ipc_ext_data {
 	SOF_IPC_EXT_DMA_BUFFER = 0,
 	SOF_IPC_EXT_WINDOW,
+	SOF_IPC_EXT_CC_INFO,
 };
 
 /* FW version - SOF_IPC_GLB_VERSION */
@@ -115,4 +116,18 @@ struct sof_ipc_window {
 	struct sof_ipc_window_elem window[];
 }  __packed;
 
+struct sof_ipc_cc_version {
+	struct sof_ipc_ext_data_hdr ext_hdr;
+	uint32_t major;
+	uint32_t minor;
+	uint32_t micro;
+
+	/* reserved for future use */
+	uint32_t reserved[4];
+
+	char name[16]; /* null terminated compiler name */
+	char optim[4]; /* null terminated compiler -O flag value */
+	char desc[]; /* null terminated compiler description */
+} __packed;
+
 #endif
-- 
2.20.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2019-12-18  0:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18  0:26 [alsa-devel] [PATCH 0/8] ASoC: SOF: last patches for 2019 Pierre-Louis Bossart
2019-12-18  0:26 ` [alsa-devel] [PATCH 1/8] ASoC: SOF: Introduce state machine for FW boot Pierre-Louis Bossart
2019-12-18 20:06   ` [alsa-devel] Applied "ASoC: SOF: Introduce state machine for FW boot" to the asoc tree Mark Brown
2019-12-18  0:26 ` Pierre-Louis Bossart [this message]
2019-12-18 20:06   ` [alsa-devel] Applied "ASoC: SOF: define struct with compiler name and version" " Mark Brown
2019-12-18  0:26 ` [alsa-devel] [PATCH 3/8] ASoC: SOF: log compiler name and version information Pierre-Louis Bossart
2019-12-18 20:06   ` [alsa-devel] Applied "ASoC: SOF: log compiler name and version information" to the asoc tree Mark Brown
2019-12-18  0:26 ` [alsa-devel] [PATCH 4/8] ASoC: Intel: Add machine driver for da7219_max98373 Pierre-Louis Bossart
2019-12-18 20:05   ` [alsa-devel] Applied "ASoC: Intel: Add machine driver for da7219_max98373" to the asoc tree Mark Brown
2019-12-18  0:26 ` [alsa-devel] [PATCH 5/8] ASoC: SOF: Intel: drop HDA codec upon probe failure Pierre-Louis Bossart
2019-12-18 20:05   ` [alsa-devel] Applied "ASoC: SOF: Intel: drop HDA codec upon probe failure" to the asoc tree Mark Brown
2019-12-18  0:26 ` [alsa-devel] [PATCH 6/8] ASoC: Intel: boards: fix incorrect HDMI Kconfig dependency Pierre-Louis Bossart
2019-12-18 20:05   ` [alsa-devel] Applied "ASoC: Intel: boards: fix incorrect HDMI Kconfig dependency" to the asoc tree Mark Brown
2019-12-18  0:26 ` [alsa-devel] [PATCH 7/8] ASoC: SOF: imx: Describe SAI parameters to be sent to DSP Pierre-Louis Bossart
2019-12-18 20:05   ` [alsa-devel] Applied "ASoC: SOF: imx: Describe SAI parameters to be sent to DSP" to the asoc tree Mark Brown
2019-12-18  0:26 ` [alsa-devel] [PATCH 8/8] ASoC: SOF: imx: Read SAI parameters and send them to DSP Pierre-Louis Bossart
2019-12-18 20:05   ` [alsa-devel] Applied "ASoC: SOF: imx: Read SAI parameters and send them to DSP" to the asoc tree 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=20191218002616.7652-3-pierre-louis.bossart@linux.intel.com \
    --to=pierre-louis.bossart@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=karolx.trzcinski@linux.intel.com \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.