lkml.org 
[lkml]   [2010]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCHv2 1/4] staging: tidspbridge - use GTP7 for DSP stack dump
    Date
    DSP stack dump is changed to GTP7 due to GPT8 is used
    by DSP side apps

    Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.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


    \
     
     \ /
      Last update: 2010-12-10 04:59    [W:0.029 / U:214.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site