Message ID | 1288054306-4361-7-git-send-email-x0095840@ti.com (mailing list archive) |
---|---|
State | Deferred, archived |
Delegated to: | |
Headers | show |
diff --git a/drivers/staging/tidspbridge/core/dsp-mmu.c b/drivers/staging/tidspbridge/core/dsp-mmu.c index 157b743..3a00087 100644 --- a/drivers/staging/tidspbridge/core/dsp-mmu.c +++ b/drivers/staging/tidspbridge/core/dsp-mmu.c @@ -43,14 +43,6 @@ static void mmu_fault_print_stack(struct bridge_dev_context *dev_context) if (!dummy_addr) return; - /* - * Before acking the MMU fault, let's make sure MMU can only - * access entry #0. Then add a new entry so that the DSP OS - * can continue in order to dump the stack. - */ - tmp = iommu_read_reg(mmu, MMU_CNTL); - tmp &= ~MMU_CNTL_TWL_EN; - iommu_write_reg(mmu, tmp, MMU_CNTL); fa = iommu_read_reg(mmu, MMU_FAULT_AD); e.da = fa & PAGE_MASK; e.pa = virt_to_phys(dummy_addr);