All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: Peng Fan <van.freenix@gmail.com>
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
	sstabellini@kernel.org, xen-devel@lists.xenproject.org
Subject: Re: SMMU, Unhandled context fault
Date: Fri, 6 May 2016 13:48:54 +0100	[thread overview]
Message-ID: <572C92B6.6020801@arm.com> (raw)
In-Reply-To: <20160503135757.GA9607@linux-7smt.suse>

Hello Peng,

On 03/05/16 14:58, Peng Fan wrote:
> On Tue, May 03, 2016 at 11:58:17AM +0100, Julien Grall wrote:
>> On 29/04/16 15:28, Peng Fan wrote:
>>> Hi Julien,
>>
>> Hello Peng,
>>
>>> On Thu, Apr 28, 2016 at 02:14:58PM +0100, Julien Grall wrote:
>>>>> Is there any big difference between XEN SMMU driver and linux SMMU driver?
>>>>> I know that XEN only support Stage 2. But the initliaization flow is almost the same.
>>>>
>>>> The SMMU driver for Xen is a port from Linux 3.19-rc0. Since then the Linux
>>>> driver has been reworked and it might be possible that we have missed some
>>>> bug fix.
>>>>
>>>> Aside that, for Xen, the page tables are always shared between the SMMU and
>>>> the processor.
>>>
>>> Thanks. I shared two picture that dumped using TRACE32.
>>>
>>> https://drive.google.com/file/d/0B9ruJqJLIGp7cHhhSFNSNC00MHc/view?usp=sharing
>>> https://drive.google.com/file/d/0B9ruJqJLIGp7dmlqVllXYTIxajQ/view?usp=sharing
>>>
>>> Would you please help check?
>>
>> I am sorry but I have got no idea what each columns are supposed to contain.
>> Can you share more details?
>
> I add one more picture.
> https://drive.google.com/file/d/0B9ruJqJLIGp7SUJOSUVPR1dHRFk/view?usp=sharing
> The first colum is guest physical address, the second is machine address.

Let's take a step back. Does the MMC is working when used in DOM0?

> The FSR 0x40000410, EF is 1, TF is 0. This means the mapping is correct, but there
> is an external fault during translation?
> The PTWF shows An external fault occurred while processing a translation table walk
> I may need to check what kind external fault, it maybe not a mapping error.

Edgar mentioned that NSATTR is 0, which means that the input transation 
as a secure attribute. Have you dig into it?

Regards,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-05-06 12:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25  8:54 SMMU, Unhandled context fault Peng Fan
2016-04-26 10:28 ` Julien Grall
2016-04-26 11:50   ` Peng Fan
2016-04-26 13:12     ` Edgar E. Iglesias
2016-04-26 13:56       ` Peng Fan
2016-04-26 14:30         ` Edgar E. Iglesias
2016-04-27  2:02           ` Peng Fan
2016-04-27  9:58             ` Julien Grall
2016-04-28  2:37               ` Peng Fan
2016-04-28  6:39                 ` Peng Fan
2016-04-28 10:27                   ` Julien Grall
2016-04-28 12:56                     ` Peng Fan
2016-04-28 13:14                       ` Julien Grall
2016-04-29 14:28                         ` Peng Fan
2016-05-03 10:58                           ` Julien Grall
2016-05-03 13:58                             ` Peng Fan
2016-05-06 12:48                               ` Julien Grall [this message]
2016-05-08 11:52                                 ` Peng Fan

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=572C92B6.6020801@arm.com \
    --to=julien.grall@arm.com \
    --cc=edgar.iglesias@gmail.com \
    --cc=sstabellini@kernel.org \
    --cc=van.freenix@gmail.com \
    --cc=xen-devel@lists.xenproject.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.