GC3000 MMU fault keep trigger, but mmu staus is zero

rtqq yaffs at qq.com
Sat Jan 23 08:08:51 UTC 2021


Hi, 

I met ,  GC3000 of i.MX6QP ,  MMU fault  keep trigger , but the mmu status register is zero.
I am not using the open source etnaviv driver.

Issue like , mmu status is zero then below loop is skiped, 

but irq of mmu fault   keep trigger , and go next round of contine , go on like this ......



static void dump_mmu_fault(struct etnaviv_gpu *gpu):

	status = gpu_read(gpu, status_reg);
	dev_err_ratelimited(gpu->dev, "MMU fault status 0x%08x\n", status);
 for (i = 0; i < 4; i++) { 

      u32 address_reg; 

     if (!(status & (VIVS_MMUv2_STATUS_EXCEPTION0__MASK << (i * 4)))) 

    continue;


My question is what kind issue it is, did it is a real MMU fault; 

MMU status register value is zero, the meaning is?
Any debug method for this kind issue, could you point out debug code on current etnaviv diver?


Thanks
Stone Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20210123/e037b741/attachment.htm>


More information about the etnaviv mailing list