From: Robin Murphy <robin.murphy-VeJGdqYn5oNWk0Htik3J/w@public.gmane.org>
To: Vijay Kumar
<iamcurious456-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: Bus error at 0x0 by sysmmu_fimd (Page table base 0x000 0x00 ad808000)
Date: Thu, 28 Jan 2016 13:08:57 +0000 [thread overview]
Message-ID: <56AA12E9.5070601@foss.arm.com> (raw)
In-Reply-To: <CAAVm-g0+YP6pFJbY-28TX9FWuP+My2Vb7aciO_iYx7y_5e4UTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 28/01/16 04:54, Vijay Kumar wrote:
> Hii all,
> I am new to this mailing list and i need some help.I am trying
> to add exynos iommu support for my board with exynos5250-soc for fimd.I am
> getting this error at exynos_sysmmu_irq.I am pretty confused with it and
> didn't know what to do.I strucked at this point.So please explain why this
> error occurs.My device is attaced correctly to iommu.
It looks like something (either the client device or the sysmmu itself,
I'm not familiar with that hardware) has tried to access physical
address 0, and the MMU is raising the interrupt to report that it got an
error response back for that access. On Exynos 5 that's where the boot
ROM stuff lives, so there may well be nothing there at all in the
non-secure memory map. Either way, it's a long way from RAM (which will
be somewhere above 0x20000000), so you've almost certainly wound up with
some bogus mapping in your sysmmu page table. First thing I'd try is
adding a check in exynos_iommu_map() to scream if someone passes in a
dodgy-looking physical address, then work backwards from there.
Robin.
>
> Thanks and Regards,
> Vijay Kumar Prathipati.
>
>
>
> _______________________________________________
> iommu mailing list
> iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
> https://lists.linuxfoundation.org/mailman/listinfo/iommu
>
next prev parent reply other threads:[~2016-01-28 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 4:54 Bus error at 0x0 by sysmmu_fimd (Page table base 0x000 0x00 ad808000) Vijay Kumar
[not found] ` <CAAVm-g0+YP6pFJbY-28TX9FWuP+My2Vb7aciO_iYx7y_5e4UTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-28 13:08 ` Robin Murphy [this message]
[not found] ` <56AA12E9.5070601-VeJGdqYn5oNWk0Htik3J/w@public.gmane.org>
2016-02-04 4:02 ` Vijay Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56AA12E9.5070601@foss.arm.com \
--to=robin.murphy-vejgdqyn5onwk0htik3j/w@public.gmane.org \
--cc=iamcurious456-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.