Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1819591ybn; Thu, 26 Sep 2019 02:42:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7MvKvlJJMR6TzNb6hoVwn+6kWomUBxmGpadPGVDYWUl7gbM6vnA/skEnZC429pwEgQI/l X-Received: by 2002:a17:906:d8c8:: with SMTP id re8mr2240183ejb.130.1569490963400; Thu, 26 Sep 2019 02:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490963; cv=none; d=google.com; s=arc-20160816; b=w8txLvSrxokgncWj9BNm0DBvYz8uGCqc+E4x6YUcDbe6MosGEAscZS1W3mBcm7NEWu qc1/vLAlt9LYJmM8ydDDKVSCI4ffxL6a8yzMGbH3huwgNGF2XRuWgGtvCmJCHcUSJphT DqcXeqCuch9pCZfiQAasTdKTbvy3pTl5JxzvR2r3vfSoTC1WfUetPb66iBpp06Kinnp9 d7av46caf/FXWMbr5FLbCjCbK/UYuL6BECjUK/EcSPl1RzF8s0kSAYogr15H6AVS90bL T9Fbz9IGDwCkun0S2VqDC814tYHcP1ArGpq8Kdd0UH2dkVo3NBPdPMyn5DrXsSLbM757 IMYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=V5D96kZZsBDRMZN5Pk9FN8qB/jvRnRlEY7bWaa8as5c=; b=a1G7+d1fkN8KDwOShId5AP4LKuA2I0MOCcsYs40bVOHW81ZdWgBrzBhjBBYBrNX/tk Hg6lhzVb6OKqVyWGaRCb7jlaupiLEDjs1Tc/FwaYH3M/PlxcIqU783UwGshEbN7shFgO 0vrJn/Su+h1urZPEo7/oyoSfMTLDPPBL6Se3V7AyPuXMKBy8pf3HvRsbVbOvgJUysmuA 1RbE2iAEoL9Z3bXTsEoybYJBQjgSqwkLSS8w4+dolVXVnUasvW5Ggex5fP9dWF0vtamw 6DL6crFgFxXR8zL44LmK3KeAqrT8e8VXYpHvtcJK9E5n45NSlgcbN3OzSZ62wxZQlwH9 TLvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a33si1068142edf.121.2019.09.26.02.42.19; Thu, 26 Sep 2019 02:42:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732805AbfIYPm6 (ORCPT + 99 others); Wed, 25 Sep 2019 11:42:58 -0400 Received: from 8bytes.org ([81.169.241.247]:55902 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727682AbfIYPm6 (ORCPT ); Wed, 25 Sep 2019 11:42:58 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id BA63F447; Wed, 25 Sep 2019 17:42:56 +0200 (CEST) Date: Wed, 25 Sep 2019 17:42:56 +0200 From: Joerg Roedel To: Jiri Kosina Cc: Kurt Garloff , LKML , Shah Nehal-Bakulchandra Subject: Re: IOMMU vs Ryzen embedded EMMC controller Message-ID: <20190925154256.GB4643@8bytes.org> References: <643f99a4-4613-50af-57e4-5ea6ac975314@garloff.de> <47da1247-fbc1-fe50-041c-3808b0e140bf@garloff.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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