[Sound-open-firmware] [PATCH] byt: panic: Set IPCD with panic reason IPCX for trace point.
Liam Girdwood
liam.r.girdwood at linux.intel.com
Sat Mar 17 21:38:39 CET 2018
Aligned with driver.
Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
src/platform/baytrail/include/platform/platform.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/platform/baytrail/include/platform/platform.h b/src/platform/baytrail/include/platform/platform.h
index 8b713dfe..036f5494 100644
--- a/src/platform/baytrail/include/platform/platform.h
+++ b/src/platform/baytrail/include/platform/platform.h
@@ -99,11 +99,12 @@ struct reef;
/* Platform defined panic code */
#define platform_panic(__x) \
- shim_write(SHIM_IPCDH, (0xdead000 | (__x & 0xfff)))
+ shim_write(SHIM_IPCDL, (0xdead000 | (__x & 0xfff))); \
+ shim_write(SHIM_IPCDH, SHIM_IPCDH_BUSY);
/* Platform defined trace code */
#define platform_trace_point(__x) \
- shim_write(SHIM_IPCDH, (__x & 0x3fffffff))
+ shim_write(SHIM_IPCXL, (__x & 0x3fffffff))
/*
* APIs declared here are defined for every platform and IPC mechanism.
*/
--
2.14.1
More information about the Sound-open-firmware
mailing list