Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753223AbbG3LYb (ORCPT ); Thu, 30 Jul 2015 07:24:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:51811 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbbG3LY3 (ORCPT ); Thu, 30 Jul 2015 07:24:29 -0400 Date: Thu, 30 Jul 2015 13:24:25 +0200 From: Joerg Roedel To: Oded Gabbay Cc: Joerg Roedel , iommu@lists.linux-foundation.org, "Linux-Kernel@Vger. Kernel. Org" Subject: Re: [PATCH] iommu/amd: Allow non-ATS devices in IOMMUv2 domains Message-ID: <20150730112425.GR27614@suse.de> References: <1438250724-4443-1-git-send-email-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 20 Hi Oded, On Thu, Jul 30, 2015 at 01:08:46PM +0300, Oded Gabbay wrote: > Why amdkfd's devices are considered a non-IOMMUv2 capable devices ? > After all, they contain the IOMMUv2 H/W and use it constantly for HSA. With 4.2 the AMD IOMMU driver relies on iommu groups from the iommu core code. With that, all functions of a multi-function device will be in one group (and have to be in one domain). This means that the audio device which comes with every HSA GPU is in the same group, and this device lacks the IOMMUv2 features. Joerg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/