From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752193AbdDCLID (ORCPT ); Mon, 3 Apr 2017 07:08:03 -0400 Received: from 8bytes.org ([81.169.241.247]:56833 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbdDCLIC (ORCPT ); Mon, 3 Apr 2017 07:08:02 -0400 Date: Mon, 3 Apr 2017 13:07:58 +0200 From: Joerg Roedel To: Heiko =?iso-8859-1?Q?St=FCbner?= Cc: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Joerg Roedel Subject: Re: [PATCH] iommu/rockchip: Make use of 'struct iommu_device' Message-ID: <20170403110758.GB4683@8bytes.org> References: <1490970624-19981-1-git-send-email-joro@8bytes.org> <1785458.LaVlbOJ67B@diego> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1785458.LaVlbOJ67B@diego> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Heiko, On Mon, Apr 03, 2017 at 11:56:59AM +0200, Heiko Stübner wrote: > In general works, and I still keep a working iommu-based display :-) > I can also see my two vop iommus under /sys/class/iommu now. Great, thanks for testing that patch! > Links in the devices subdirectory do not work though, see below: Okay, thats bad, but I think its nothing we should work around right now. My goal with this work is to have a per-iommu check-device call-back to bind devices to iommus in the core code. This will also solve the probe-ordering issue and we are fine again. We just call check-device then for every device on the bus that has no iommu already when the iommu is registered and create the links at that time. Joerg