Page tables are not used by DMA trace on CNL and APL. Make sure they are not built in.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- src/ipc/intel-ipc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/ipc/intel-ipc.c b/src/ipc/intel-ipc.c index 5a98e1f..54a0812 100644 --- a/src/ipc/intel-ipc.c +++ b/src/ipc/intel-ipc.c @@ -598,13 +598,15 @@ static int ipc_glb_pm_message(uint32_t header)
static int ipc_dma_trace_config(uint32_t header) { +#ifdef CONFIG_HOST_PTABLE struct intel_ipc_data *iipc = ipc_get_drvdata(_ipc); struct sof_ipc_dma_trace_params *params = _ipc->comp_data; +#endif struct sof_ipc_reply reply; int err;
trace_ipc_error("DA1"); - +#ifdef CONFIG_HOST_PTABLE /* use DMA to read in compressed page table ringbuffer from host */ err = get_page_descriptors(iipc, ¶ms->buffer); if (err < 0) { @@ -621,7 +623,7 @@ static int ipc_dma_trace_config(uint32_t header) trace_ipc_error("ePP"); goto error; } - +#endif trace_ipc("DAp");
err = dma_trace_enable(&_ipc->dmat);