[Sound-open-firmware] [PATCH 3/7] ASoC: SOF: add dsp_oops_offset for DSP panic

Xiuli Pan xiuli.pan at linux.intel.com
Wed Mar 21 09:38:55 CET 2018


From: Pan Xiuli <xiuli.pan at linux.intel.com>

Store the offset to get the data stored in exception memory window.

Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>

---
Test with:
Mininow max rt5651 and GP-MRB nocodec and CNL nocodec
SOF 1.1-stable: ffd9093267aa8d3deeffeb09b73c8b0789ad4071
SOF-Tool 1.1-stable: cc91c73aa3e91eea35abdeb76d578b97f718feff
https://github.com/plbossart/sound/tree/topic/sof-v4.14:
4881a4bd906f8b52bebd209b88ff920005550d53
---
 sound/soc/sof/sof-priv.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h
index 5a9f19b..7460423 100644
--- a/sound/soc/sof/sof-priv.h
+++ b/sound/soc/sof/sof-priv.h
@@ -339,6 +339,7 @@ struct snd_sof_dev {
 	void __iomem *bar[SND_SOF_BARS];	/* DSP base address */
 	int mmio_bar;
 	int mailbox_bar;
+	size_t dsp_oops_offset;
 
 	/* debug */
 	struct dentry *debugfs_root;
-- 
2.7.4



More information about the Sound-open-firmware mailing list