From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Subject: Re: [PATCH] iommu/rockchip: Make use of 'struct iommu_device' Date: Mon, 03 Apr 2017 13:11:01 +0200 Message-ID: <4252325.o7BCCiZe8L@diego> References: <1490970624-19981-1-git-send-email-joro@8bytes.org> <1785458.LaVlbOJ67B@diego> <20170403110758.GB4683@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20170403110758.GB4683-zLv9SwRftAIdnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Joerg Roedel Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Joerg Roedel , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org Am Montag, 3. April 2017, 13:07:58 CEST schrieb Joerg Roedel: > Hey Heiko, > = > On Mon, Apr 03, 2017 at 11:56:59AM +0200, Heiko St=FCbner 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. ok, so you can at least add my Tested-by: Heiko Stuebner on the patch Heiko From mboxrd@z Thu Jan 1 00:00:00 1970 From: heiko@sntech.de (Heiko =?ISO-8859-1?Q?St=FCbner?=) Date: Mon, 03 Apr 2017 13:11:01 +0200 Subject: [PATCH] iommu/rockchip: Make use of 'struct iommu_device' In-Reply-To: <20170403110758.GB4683@8bytes.org> References: <1490970624-19981-1-git-send-email-joro@8bytes.org> <1785458.LaVlbOJ67B@diego> <20170403110758.GB4683@8bytes.org> Message-ID: <4252325.o7BCCiZe8L@diego> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Am Montag, 3. April 2017, 13:07:58 CEST schrieb Joerg Roedel: > 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. ok, so you can at least add my Tested-by: Heiko Stuebner on the patch Heiko From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752410AbdDCLLH convert rfc822-to-8bit (ORCPT ); Mon, 3 Apr 2017 07:11:07 -0400 Received: from gloria.sntech.de ([95.129.55.99]:38236 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751784AbdDCLLG (ORCPT ); Mon, 3 Apr 2017 07:11:06 -0400 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Joerg Roedel 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' Date: Mon, 03 Apr 2017 13:11:01 +0200 Message-ID: <4252325.o7BCCiZe8L@diego> User-Agent: KMail/5.2.3 (Linux/4.8.0-2-amd64; KDE/5.27.0; x86_64; ; ) In-Reply-To: <20170403110758.GB4683@8bytes.org> References: <1490970624-19981-1-git-send-email-joro@8bytes.org> <1785458.LaVlbOJ67B@diego> <20170403110758.GB4683@8bytes.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, 3. April 2017, 13:07:58 CEST schrieb Joerg Roedel: > 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. ok, so you can at least add my Tested-by: Heiko Stuebner on the patch Heiko