[Skiboot] [PATCH 6/6] FSP/ELOG: Remove TCE mapping for host buffer
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Tue Apr 7 22:57:25 AEST 2015
elog_write_to_host_buffer is used to pass error log to host.
Hence we don't need TCE mapping for this buffer.
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
Stewart, Ben,
Note that this introduces 1 more unused PSI blocks.
-Vasant
hw/fsp/fsp-elog-write.c | 3 ---
include/psi.h | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c
index 58dff20..cf915a2 100644
--- a/hw/fsp/fsp-elog-write.c
+++ b/hw/fsp/fsp-elog-write.c
@@ -426,9 +426,6 @@ void fsp_elog_write_init(void)
fsp_tce_map(PSI_DMA_ERRLOG_WRITE_BUF, elog_write_to_fsp_buffer,
PSI_DMA_ERRLOG_WRITE_BUF_SZ);
- fsp_tce_map(PSI_DMA_ELOG_WR_TO_HOST_BUF, elog_write_to_host_buffer,
- PSI_DMA_ELOG_WR_TO_HOST_BUF_SZ);
-
elog_init();
/* Add a poller */
diff --git a/include/psi.h b/include/psi.h
index 7e7a24c..4127242 100644
--- a/include/psi.h
+++ b/include/psi.h
@@ -169,7 +169,7 @@
#define PSI_DMA_ELOG_PANIC_WRITE_BUF_SZ 0x00010000
#define PSI_DMA_ERRLOG_WRITE_BUF 0x00b54000
#define PSI_DMA_ERRLOG_WRITE_BUF_SZ 0x00040000
-#define PSI_DMA_ELOG_WR_TO_HOST_BUF 0x00b94000
+#define PSI_DMA_ELOG_WR_TO_HOST_BUF 0x00b94000 /* Unused */
#define PSI_DMA_ELOG_WR_TO_HOST_BUF_SZ 0x00010000
#define PSI_DMA_HBRT_LOG_WRITE_BUF 0x00ba4000
#define PSI_DMA_HBRT_LOG_WRITE_BUF_SZ 0x00001000
More information about the Skiboot
mailing list