[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    Re: Xen SMMU support
From:       Bertrand Marquis <Bertrand.Marquis () arm ! com>
Date:       2020-07-02 9:55:08
Message-ID: 4C068CC6-D64C-4F99-BE32-F1DEE78862A5 () arm ! com
[Download RAW message or body]

Hi Anda

> On 2 Jul 2020, at 06:54, Anda-alexandra Dorneanu <anda-alexandra.dorneanu@nxp.com> \
> wrote: 
> Hi,
> 
> I am currently running Xen with SMMU enabled on an ARM64 platform with 4 Cortex-A72 \
> cores, GICv2 and SMMUv2. There are SMMU faults when booting Dom0, such as: 
> [    3.972767] mmc0: sdhci: Resp(XEN) smmu: /soc/iommu@9000000: Unhandled context \
> fault: fsr=0x402, iova=0xea060200, fsynr=0x180000, cb=0   
> Has someone encountered such problems and can provide some guidelines for SMMU \
> support on Dom0?

This means that the access to 0xea060200 was forbidden by the SMMU.
It also tells you that the DMA master ID of your device is handled by the SMMU \
context bank 0

So first thing to check is if 0xea060200 is a valid guest physical address in your \
Dom0. Normally Xen should use the same page tables for the SMMU and the dom0 so if \
something is accessible by the guest it is accessible for the devices assign to it. \
Here the device seem to properly be assigned to dom0 so maybe the driver is trying to \
hit somewhere invalid ?

Regards
Bertrand

> 
> Regards,
> Anda


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic