Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp201543pxk; Thu, 24 Sep 2020 03:34:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYLX1sInWGG2lwTptLMZNMClmvGLLpIUlZB2Jt4R2joO0UcZjvcT6HHJ/jQD5a0UubICbS X-Received: by 2002:a05:6402:1717:: with SMTP id y23mr321465edu.112.1600943669429; Thu, 24 Sep 2020 03:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600943669; cv=none; d=google.com; s=arc-20160816; b=smiHT66ewZLVPAspdqeHKgtu1fUb5FYrlBbbsBRoj4jKep5C5e+dFyyLW3S5O3CBdH Gyl22Zrhh4C5snnaPGX7poexn5e7THbG/ewcWTFR6fy6oAjPo6hO39NszFPHOnEs/FZR KA2Pk6VQe5pC8v2IszpX74VjDlMI9FE6Gv2PiO/L/NzGCmx4Z9ZTcRO/rSt+FFO+pl7I Otl0s7AlfiWE5knYzG1/+JcONMR2LKakQ9l0+30ETX4/AdUNfyzTfFdVuYk9nP52sgIc bOkup6cloOyBQoih0QCYwets+HTwaxp6GlKpv28RebiJRYpy1+e0eM8c17JVHpXKG+QL jBAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=XwPMOf+MDHvyjbOIIpcoqrpO2O+MiZ/tn1BGnNSvUww=; b=ECndtMrzrUexe2S+/k922WLkiXCB85l5szThrV7+Npf6dJFigpAV6OO63gzzrYDIXw W0XoQ9dF4whNIjUle5hC6R5YUiwwWdnWMdLyaykjV16puhwkzmEViInVYJ7fNEIpCP4k R+o4b2EYFDFFSJKlealWuOuNji5K5oItT1p/U8Hst7IVRAXe8mP21PCTpo6iYhHxcX4Y PIoBUfZm3EQcL80g6Q5sIZ5kiVDUndwPjU9U5c/vpCfDS4qDFmpaEY2RioTLuiaLaadw b70TrypGdQ846YRvQNxbpn0bTPZK8XNssyrurE77zuXIvFzK8hOADAUVtmClvypHMUHk lTMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bk4si1678365ejb.215.2020.09.24.03.34.05; Thu, 24 Sep 2020 03:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727438AbgIXKdI (ORCPT + 99 others); Thu, 24 Sep 2020 06:33:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbgIXKdI (ORCPT ); Thu, 24 Sep 2020 06:33:08 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 079B2C0613CE; Thu, 24 Sep 2020 03:33:08 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 3723B295; Thu, 24 Sep 2020 12:33:06 +0200 (CEST) Date: Thu, 24 Sep 2020 12:33:04 +0200 From: Joerg Roedel To: Nicolin Chen Cc: thierry.reding@gmail.com, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-tegra@vger.kernel.org, jonathanh@nvidia.com, vdumpa@nvidia.com Subject: Re: [PATCH 0/3] iommu/tegra-smmu: Some small fixes Message-ID: <20200924103304.GN27174@8bytes.org> References: <20200911071643.17212-1-nicoleotsuka@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200911071643.17212-1-nicoleotsuka@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 11, 2020 at 12:16:40AM -0700, Nicolin Chen wrote: > These are a series of small fixes for tegra-smmu driver. > They might not be critial bugs as current mainline does > not enable a lot of clients, but be nicer to have since > we are going to enable the DMA domain for other clients > in the near future. > > Nicolin Chen (3): > iommu/tegra-smmu: Do not use PAGE_SHIFT and PAGE_MASK > iommu/tegra-smmu: Fix iova->phys translation > iommu/tegra-smmu: Allow to group clients in same swgroup > > drivers/iommu/tegra-smmu.c | 25 +++++++++++++++++-------- > 1 file changed, 17 insertions(+), 8 deletions(-) Applied, thanks.