All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksandr Tyshchenko <olekstysh@gmail.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org,
	Julien Grall <julien.grall@arm.com>,
	volodymyr_babchuk@epam.com,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Subject: Re: [Xen-devel] [PATCH V6 0/8] iommu/arm: Add Renesas IPMMU-VMSA support + Linux's iommu_fwspec
Date: Sat, 28 Sep 2019 02:52:49 +0300	[thread overview]
Message-ID: <CAPD2p-mO7msJexqbmnmGX7z5SmN00KKQCN7pVZc-+H6OjLcUqw@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.21.1909271544030.2594@sstabellini-ThinkPad-T480s>


[-- Attachment #1.1: Type: text/plain, Size: 3126 bytes --]

Hi Stefano

Sorry for the possible format issues.


сб, 28 сент. 2019 г., 01:50 Stefano Stabellini <sstabellini@kernel.org>:

> On Thu, 26 Sep 2019, Oleksandr wrote:
> > On 26.09.19 17:56, Julien Grall wrote:
> > > Hi,
> >
> > Hi Julien
> >
> >
> > >
> > > On 9/26/19 12:20 PM, Oleksandr Tyshchenko wrote:
> > > > Oleksandr Tyshchenko (8):
> > > >    iommu/arm: Add iommu_helpers.c file to keep common for IOMMUs
> stuff
> > > >    iommu/arm: Add ability to handle deferred probing request
> > > >    xen/common: Introduce _xrealloc function
> > > >    xen/common: Introduce xrealloc_flex_struct() helper macros
> > > >    iommu/arm: Add lightweight iommu_fwspec support
> > > >    iommu: Order the headers alphabetically in device_tree.c
> > > >    iommu/arm: Introduce iommu_add_dt_device API
> > > >    iommu/arm: Add Renesas IPMMU-VMSA support
> > >
> > > This series is now merged.
> >
> > Thank you!
>
> I just wanted to provide early feedback that this series causes problems
> with the legacy mmu-masters binding:
>

This series was developed in a way to add new functionality, but not to
brake existing (legacy bindings). Probably, I missed something
important. iommu_add_dt_device() could return an error (I assume, this is
what you are facing) if the device node in DT contains "iommus" property (I
mean, uses new bindings), but the IOMMU driver doesn't implement required
callbacks yet. Do the device nodes in your DT contain "iommus" property?
And to which domain these devices (in your log) are going to be assigned
(dom0 or other domains?).


> (XEN) Failed to add /amba/dma@fd500000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd510000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd520000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd530000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd540000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd550000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd560000 to the IOMMU
> (XEN) Failed to add /amba/dma@fd570000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffa80000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffa90000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffaa0000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffab0000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffac0000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffad0000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffae0000 to the IOMMU
> (XEN) Failed to add /amba/dma@ffaf0000 to the IOMMU
> (XEN) Failed to add /amba/nand@ff100000 to the IOMMU
> (XEN) Failed to add /amba/ethernet@ff0b0000 to the IOMMU
> (XEN) Failed to add /amba/ethernet@ff0c0000 to the IOMMU
> (XEN) Failed to add /amba/ethernet@ff0d0000 to the IOMMU
> (XEN) Failed to add /amba/spi@ff0f0000 to the IOMMU
> (XEN) Failed to add /amba/sdhci@ff160000 to the IOMMU
> (XEN) Failed to add /amba/sdhci@ff170000 to the IOMMU
> (XEN) Failed to add /amba/usb@fe200000 to the IOMMU
> (XEN) Failed to add /amba/usb@fe300000 to the IOMMU
>
> Booting fails and also even forcing to continue devices are unusable. I
> haven't managed to investigate further.

[-- Attachment #1.2: Type: text/html, Size: 4156 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-09-27 23:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-26 11:20 [Xen-devel] [PATCH V6 0/8] iommu/arm: Add Renesas IPMMU-VMSA support + Linux's iommu_fwspec Oleksandr Tyshchenko
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 1/8] iommu/arm: Add iommu_helpers.c file to keep common for IOMMUs stuff Oleksandr Tyshchenko
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 2/8] iommu/arm: Add ability to handle deferred probing request Oleksandr Tyshchenko
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 3/8] xen/common: Introduce _xrealloc function Oleksandr Tyshchenko
2019-09-26 12:19   ` Jan Beulich
2019-09-26 13:39     ` Oleksandr
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 4/8] xen/common: Introduce xrealloc_flex_struct() helper macros Oleksandr Tyshchenko
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 5/8] iommu/arm: Add lightweight iommu_fwspec support Oleksandr Tyshchenko
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 6/8] iommu: Order the headers alphabetically in device_tree.c Oleksandr Tyshchenko
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 7/8] iommu/arm: Introduce iommu_add_dt_device API Oleksandr Tyshchenko
2019-09-26 12:52   ` Julien Grall
2019-09-26 13:34     ` Oleksandr
2019-09-26 14:34     ` Jan Beulich
2019-09-26 11:20 ` [Xen-devel] [PATCH V6 8/8] iommu/arm: Add Renesas IPMMU-VMSA support Oleksandr Tyshchenko
2019-09-26 12:22   ` Jan Beulich
2019-09-26 13:32     ` Oleksandr
2019-09-26 14:56 ` [Xen-devel] [PATCH V6 0/8] iommu/arm: Add Renesas IPMMU-VMSA support + Linux's iommu_fwspec Julien Grall
2019-09-26 15:16   ` Oleksandr
2019-09-27 22:50     ` Stefano Stabellini
2019-09-27 23:52       ` Oleksandr Tyshchenko [this message]
2019-09-28  9:36         ` Julien Grall
2019-09-30 20:58           ` Stefano Stabellini
2019-10-01  9:23             ` Oleksandr

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=CAPD2p-mO7msJexqbmnmGX7z5SmN00KKQCN7pVZc-+H6OjLcUqw@mail.gmail.com \
    --to=olekstysh@gmail.com \
    --cc=julien.grall@arm.com \
    --cc=oleksandr_tyshchenko@epam.com \
    --cc=sstabellini@kernel.org \
    --cc=volodymyr_babchuk@epam.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=yoshihiro.shimoda.uh@renesas.com \
    /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.