Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6397899imu; Wed, 14 Nov 2018 00:25:12 -0800 (PST) X-Google-Smtp-Source: AJdET5fZFamkiGNihKjEFkxwTYKkOe6StqzzC3edxDLhpiLwpQlqmCJVKO/+5WGw3+Bpkj/EZvWj X-Received: by 2002:a63:a16:: with SMTP id 22mr893720pgk.318.1542183912372; Wed, 14 Nov 2018 00:25:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542183912; cv=none; d=google.com; s=arc-20160816; b=yNp8PM+sxTLcM5zhS0kwTd6lJT20EQXZYj0BcN5aSLyoLlHFJpN+O0i6f77x77GSyE UIasmRaHBaWp4GqXi8T1PTvjRiFNcFIx/0ZHt5TY40LByEyHE3npFxLvZx+jnxUA62HS gvpfNmFzrwufv5UlfaYGR6S/TD1Fz+0QjeYpQdI6ZLKxsosQgEfmz8kV7e+zKE2ahVMb hJNkMKqJC3eSalNGMwH5tu+vu6mZIgNJbK2ELokOE40T8IAMphtc0tJnlBkdJX/NSWwc qjlskaSE96RrWXEcGGakXLKSjowHMW8BISDEZmJiJiDmFd+GQ1esGkJvpQoAC1kIbhXB UnbQ== 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=4zqQQi9ctkbH3jopiquXd5fu3/8u2WITpCDxsIiflrA=; b=ymCL7pKTzeoKqhebnZ+IkD1BpHNnZ/SXOoU1V1gOWHRbyVxzu4fV62eVjCVuIVsyL7 umeIFRn+54EF5tGQWcCjI3b3qXoSI07w5nArBco93bEoyR0eOAbEplLqcmMqeZCUiMmv yPrl9J+bVAQ/+KJocZgxJkAIBzNvjrbSzQ0hQruvQ5Lc5ba/vjxNUx32Peoo+SxKXkr2 j5VaMXQnfg1HGJsN/DkVDvK8QHN9NTKqOO5IY5G07f+glTorIsFL7pgnLTqsMvQv8LV3 35eRC0lw/l247BC2wdUFe+ouRTy0CeNePI8Rc15tV74+8IUnHKJuhaTJW0tVBMfPtMtS xtpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TPdQTXCP; 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 z23-v6si24425722plo.265.2018.11.14.00.24.57; Wed, 14 Nov 2018 00:25:12 -0800 (PST) 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=TPdQTXCP; 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 S1732631AbeKNS0J (ORCPT + 99 others); Wed, 14 Nov 2018 13:26:09 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:49476 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731357AbeKNS0J (ORCPT ); Wed, 14 Nov 2018 13:26:09 -0500 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=4zqQQi9ctkbH3jopiquXd5fu3/8u2WITpCDxsIiflrA=; b=TPdQTXCPA7HV8duv45UM2kksn5 K4lnpxClg9GDk3B/eiCJa4zo9A4n3XQYGW6UgMSXdvOT/Y+/0t1EnBZ4bgrEiJBEcq9LlY5Zi6JWz PxmcZdA48dAihR5Fq2ukodBfxVq5ZVP1oyejRLyEQJaODUkB1phAP/YhDDMMAweV7xbHuhPmFCc7m DI3GM1UhqzxFGgUw19bGkwtGof2E0+MZ4TUQ6E9z+1/3uwWINb+TQc04myiZKvtH9aeUHK+6nKs9l T9MKHtEgQXZEUHjNG7mYAO8/o61HSJy3CkQ5CqHfhJwUxPtrVBialr1tRcYv4lTPGWKABBQMYy02M YJJ2riwA==; Received: from 089144211136.atnat0020.highway.a1.net ([89.144.211.136] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMqSd-0004pr-U3; Wed, 14 Nov 2018 08:23:44 +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 10/34] powerpc/pseries: unwind dma_get_required_mask_pSeriesLP a bit Date: Wed, 14 Nov 2018 09:22:50 +0100 Message-Id: <20181114082314.8965-11-hch@lst.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181114082314.8965-1-hch@lst.de> References: <20181114082314.8965-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.1