Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4863729imm; Tue, 9 Oct 2018 06:27:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV61lRt6YreoZLJ6VgAd0oJaNzkVLPrMkEiyDkYHVcseBVTLm4Etcaq+R83yVaRD3juHvIkNk X-Received: by 2002:a17:902:27a8:: with SMTP id d37-v6mr17079983plb.318.1539091636501; Tue, 09 Oct 2018 06:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539091636; cv=none; d=google.com; s=arc-20160816; b=lQwxGV1r1NrDczdBqXoasFsq4cJyWBfEYDdSsRRA6lWyIKgJToHPIKsYxwaZEph76h 9l41UVQxzfuw0zidwK+T571iq+ztAoYGF4T6NwN7BmkiCKbhtQSizy51gfmefjBiZTRF GBoLK27csVWvLTQboU0wrs/d91W1pF+QCqKRQVLx8o9rtVYHS1ZjjTQ82F/6B521nMSt hSvRovaSe9rSvCYj4ws/8EaAnXwqoVmVi380NSA1hrUuN3lcEFDsv8aIe6nJFug6VMCH eYCMVh9e2EA3uCGhSQDIdu8LnDqnl+cV8XHeOz98VICiLgC3G+rNWi0TK4vX1yFCCjAs +DWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W5emNbizLCS7LiIqBqhMWXhuT26R9Ea9KCG0lszGb70=; b=Cz8qx2wfus0tD4Kj4J8MOFSj0QVS6O2aFa+4Yti7iNKwoj+V3cakhnzthAjuZe7jF1 yym5DeKj18WW7pGEmgto+P8/Rabz/joMcxwsTy8tmxhXNbzVGhdBrz0+QcMaqIaPSEZr W1yfNytdMY447PXtXG0KZEW2bixHJIeUMzSb8jNSOl63F4QbPg7o8hfk0TJT1oaFOSMT r/HzMyC527WMiY3Y5En3W/T0PtEWaTyNCeASNBk14rnwGeMWcWdFXxJyKGd+2J5CZmdq 1UOQpuQf3dMHtpYXdQ4lM2RM/RYf7e/P+BKO0MTPOTAahPbs3j1CeJkqHoOR46oakFX7 PQvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QgSNcfnz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s15-v6si20555490pgr.232.2018.10.09.06.27.01; Tue, 09 Oct 2018 06:27:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QgSNcfnz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727300AbeJIUm5 (ORCPT + 99 others); Tue, 9 Oct 2018 16:42:57 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49068 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbeJIUm4 (ORCPT ); Tue, 9 Oct 2018 16:42:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W5emNbizLCS7LiIqBqhMWXhuT26R9Ea9KCG0lszGb70=; b=QgSNcfnzXP9eBaj/r33QO6P80a CuC5VHdQDRq5CC7d32eeb/gcMDBdTI60+ny9lSoPq9hURro6wCwGnBE/H3qPFKnhhmjI8EUzmzAws h2P31uXsK7jAk5NjJcWeVgBOOv/XWPUic0xwCCNMDEGxP0H5M6/XzyaK6W+QT3RG+vq/5DLaaohnz oFyHvTwPil3p7FPBh1A8iY9dEHiYhFxOfTi88UVrHfaPXeAaSZlHMiQb4sSdCEGrcHa1GGa1jwjb5 /5aG3Pk9tQr0weILhveZ+fu5Qb9/Igca3TOIAwFgpD38iu9tJvCt3yaj+1vRDCRgm+VV68EAAmCOX t/qVVwSg==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9s0p-00019S-MI; Tue, 09 Oct 2018 13:25:24 +0000 From: Christoph Hellwig To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, iommu@lists.linux-foundation.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/33] powerpc/pseries: unwind dma_get_required_mask_pSeriesLP a bit Date: Tue, 9 Oct 2018 15:24:36 +0200 Message-Id: <20181009132500.17643-10-hch@lst.de> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181009132500.17643-1-hch@lst.de> References: <20181009132500.17643-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Call dma_get_required_mask_pSeriesLP directly instead of dma_iommu_ops to simply the code a bit. Signed-off-by: Christoph Hellwig --- arch/powerpc/platforms/pseries/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 06f02960b439..da5716de7f4c 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c @@ -1273,7 +1273,7 @@ static u64 dma_get_required_mask_pSeriesLP(struct device *dev) return DMA_BIT_MASK(64); } - return dma_iommu_ops.get_required_mask(dev); + return dma_iommu_get_required_mask(dev); } static int iommu_mem_notifier(struct notifier_block *nb, unsigned long action, -- 2.19.0