Re: IOMMU vs Ryzen embedded EMMC controller

From: Joerg Roedel
Date: Wed Sep 25 2019 - 11:43:00 EST


On Wed, Sep 25, 2019 at 05:27:32PM +0200, Jiri Kosina wrote:
> On Sat, 21 Sep 2019, Kurt Garloff wrote:
> > [12916.740274] mmc0: sdhci: ============================================
> > [12916.740337] mmc0: error -5 whilst initialising MMC card
>
> Do you have BAR memory allocation failures in dmesg with IOMMU on?
> Actually, sharing both working and non-working dmesg, as well as
> /proc/iomem contents, would be helpful.

Yes, can you please grab dmesg from a boot with iommu enabled and add
'amd_iommu_dump' to the kernel command line? That should give some hints
on what is going on.

Regards,

Joerg