aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-04-07 18:27:25 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:48:26 +1000
commitc04f054808ce744526494253d3fa03330d53dcfb (patch)
treeb42f5b5159b463434d6c5aabe416e08d3101c005
parent3317a12ee8d0efa2b0952d7d547e6cb24921132b (diff)
downloadskiboot-c04f054808ce744526494253d3fa03330d53dcfb.zip
skiboot-c04f054808ce744526494253d3fa03330d53dcfb.tar.gz
skiboot-c04f054808ce744526494253d3fa03330d53dcfb.tar.bz2
FSP/ELOG: Remove TCE mapping for host buffer
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@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/fsp/fsp-elog-write.c3
-rw-r--r--include/psi.h2
2 files changed, 1 insertions, 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