Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752008AbeAQFh4 (ORCPT + 1 other); Wed, 17 Jan 2018 00:37:56 -0500 Received: from mail-ua0-f194.google.com ([209.85.217.194]:43459 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbeAQFhz (ORCPT ); Wed, 17 Jan 2018 00:37:55 -0500 X-Google-Smtp-Source: ACJfBou6rZOPuugm0EQTBTdtI9jTTtt8GbQSr/3ngkRo0+DkWt/b9j9+lnZDIGlmoyXTaJ03LgKU6g== MIME-Version: 1.0 In-Reply-To: <20180116132540.18939-11-jeffy.chen@rock-chips.com> References: <20180116132540.18939-1-jeffy.chen@rock-chips.com> <20180116132540.18939-11-jeffy.chen@rock-chips.com> From: Tomasz Figa Date: Wed, 17 Jan 2018 14:37:32 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 10/13] iommu/rockchip: Use IOMMU device for dma mapping operations To: Jeffy Chen Cc: linux-kernel@vger.kernel.org, Ricky Liang , Robin Murphy , simon xue , Heiko Stuebner , "open list:ARM/Rockchip SoC..." , "open list:IOMMU DRIVERS" , Joerg Roedel , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, Jan 16, 2018 at 10:25 PM, Jeffy Chen wrote: > Use the first registered IOMMU device for dma mapping operations, and > drop the domain platform device. > > This is similar to exynos iommu driver. > > Signed-off-by: Jeffy Chen > --- > > Changes in v2: None > > drivers/iommu/rockchip-iommu.c | 91 +++++++++++------------------------------- > 1 file changed, 24 insertions(+), 67 deletions(-) Looks good to me, but we need to remove platform driver .remove(), as it was done for Exynos IOMMU as well. With that fixed (probably squashed to the patch that prohibits unbind): Reviewed-by: Tomasz Figa Best regards, Tomasz