Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1334937ybp; Wed, 9 Oct 2019 12:26:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ+s52X4A8c1Y8JKxC3/Jjmp+abGUmdnWTRNckInHihaaJW5eRKfNaK+gAFgOMEakOMV7W X-Received: by 2002:a17:906:52d0:: with SMTP id w16mr4446757ejn.206.1570649167032; Wed, 09 Oct 2019 12:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570649167; cv=none; d=google.com; s=arc-20160816; b=gyo4rmLughwseytwvN65FhJ9me/k4k3HYcT1Tuxlhm+hLA2W1qX6H8EBB1RW8iBMGY Fyz/8Qh9tsPARFO0EROAI9Y9uwvl+FEyJQ1xu9NYuM8heNjpbcHtFXnAcxhfTkpvQwmc q16nCwDLGD58CCnn9HuRCCyUmplX3s7wtN+L7urTSBsLXa/whJUegmWO0JTcxyY9p+gk /4SJz4C1ZR2I9L1TVOQPO52qkqf5y5dTuMHGOenRrQuSBsBzaNoFck2mwJry+jpvdNAI 3IwdawvBoJvm/X+k3q9XErpNMyqGbS2+26IPiW9Qv0MtEROUgAMmtZJ+HrZ/cJRb8qff qjkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=B+xAC5EeLZk/6uQutTdlO/ssrkBes6/083OVUBiDw0U=; b=SBYhphkSfb49PlipP9gFCXHR5ueuTzRMBVZGBifxERslOCYgvwRcPkarJL6PEmiLM1 igAgimLogPuPGhgz/g1ntixYzw7OzzS8D7N5mk7cxcuXO8o3xiysWFdwQLCioitxE4m8 3sRYaxMXZfhFplmli4zfeaAzcL39Dos7JP2y1Y7PEPRFc2oeamhwKzQGLxGar1NXBza4 g+HRferYM7H6y43qQ1gP1lejXNtn0IuD2CVo5KYuo9IJFgvslT4AiLJ6ype79IFjhsms W4GiuFRtVQoAsRwK2Kk7VTlPAb5CAbEm6VzuZlbvFaRBW1ZZ7odWncHxODcZipWs//En PekA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="EaWUP/42"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oh20si1663590ejb.323.2019.10.09.12.25.44; Wed, 09 Oct 2019 12:26:07 -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; dkim=pass header.i=@kernel.org header.s=default header.b="EaWUP/42"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731626AbfJITZb (ORCPT + 99 others); Wed, 9 Oct 2019 15:25:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:49492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728804AbfJITZb (ORCPT ); Wed, 9 Oct 2019 15:25:31 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 264BF206B6; Wed, 9 Oct 2019 19:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570649130; bh=WepKEfiglGfT0PHp7z0qXsGnaB12Dhk4g6jPezZVFis=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=EaWUP/42y0bxL0r0NFrzsCiGNcy8bDLv4JjVBLPdiLTsWpGY25sLmOawyP5o4WGmQ CtoITtngjPZamHUZR6EP1g8dg/23dtcz7eJM8vY8nwZl/wse4HznM10v5rLx+tMXgP pjfKoRFIPghMM7Y3qBxgnQ+cxRO9jaHJZhByXdic= Date: Wed, 9 Oct 2019 21:25:00 +0200 (CEST) From: Jiri Kosina To: "Shah, Nehal-bakulchandra" cc: Kurt Garloff , Joerg Roedel , LKML , "Shah, Nehal-bakulchandra" , "Suthikulpanit, Suravee" , "Singh, Sandeep" Subject: Re: IOMMU vs Ryzen embedded EMMC controller In-Reply-To: <63913cd8-a0c5-61e3-2f52-139bade01afc@amd.com> Message-ID: References: <643f99a4-4613-50af-57e4-5ea6ac975314@garloff.de> <47da1247-fbc1-fe50-041c-3808b0e140bf@garloff.de> <20190925154256.GB4643@8bytes.org> <70b2d326-6257-025c-5ffa-1f543a900073@garloff.de> <63913cd8-a0c5-61e3-2f52-139bade01afc@amd.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Sep 2019, Shah, Nehal-bakulchandra wrote: > >>> Do you have BAR memory allocation failures in dmesg with IOMMU on? > > > > No. The device is *not* treated as PCI device and I still think that > > this is the source of the evil. > > > >>> 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. > > > > For now I attach a dmesg and iomem from the boot with IOMMU enabled. > > Nothing much interesting without IOMMU, sdhci-acpi there just works -- > > let me know if you still want me to send the kernel msg. > > > > Thanks for looking into this! > > > > I have added Suravee from AMD in the mail loop. He works on IOMMU part. > As per my understanding, it needs a patch in IOMMU driver for adding > support of EMMC. Note that on Ryzen platform we have EMMC 5.0 as ACPI > device. Friendly ping ... any news here? Thanks, -- Jiri Kosina SUSE Labs