[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1291953342-4905-2-git-send-email-fernando.lugo@ti.com>
Date: Thu, 9 Dec 2010 21:55:39 -0600
From: Fernando Guzman Lugo <fernando.lugo@...com>
To: <omar.ramirez@...com>
Cc: <linux-kernel@...r.kernel.org>, <felipe.contreras@...il.com>,
<nm@...com>, <ohad@...ery.com>,
Fernando Guzman Lugo <fernando.lugo@...com>
Subject: [PATCHv2 1/4] staging: tidspbridge - use GTP7 for DSP stack dump
DSP stack dump is changed to GTP7 due to GPT8 is used
by DSP side apps
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@...com>
---
drivers/staging/tidspbridge/core/ue_deh.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/tidspbridge/core/ue_deh.c b/drivers/staging/tidspbridge/core/ue_deh.c
index 3430418..1e30ce8 100644
--- a/drivers/staging/tidspbridge/core/ue_deh.c
+++ b/drivers/staging/tidspbridge/core/ue_deh.c
@@ -193,15 +193,15 @@ static void mmu_fault_print_stack(struct bridge_dev_context *dev_context)
HW_PAGE_SIZE4KB, 1,
&map_attrs, HW_SET, HW_SET);
- dsp_clk_enable(DSP_CLK_GPT8);
+ dsp_clk_enable(DSP_CLK_GPT7);
- dsp_gpt_wait_overflow(DSP_CLK_GPT8, 0xfffffffe);
+ dsp_gpt_wait_overflow(DSP_CLK_GPT7, 0xfffffffe);
/* Clear MMU interrupt */
hw_mmu_event_ack(resources->dw_dmmu_base,
HW_MMU_TRANSLATION_FAULT);
dump_dsp_stack(dev_context);
- dsp_clk_disable(DSP_CLK_GPT8);
+ dsp_clk_disable(DSP_CLK_GPT7);
hw_mmu_disable(resources->dw_dmmu_base);
free_page((unsigned long)dummy_va_addr);
--
1.7.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists