Message ID | 1466483681-36110-3-git-send-email-tfiga@chromium.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B11B160756 for <patchwork-linux-rockchip@patchwork.kernel.org>; Tue, 21 Jun 2016 04:36:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3750A27F99 for <patchwork-linux-rockchip@patchwork.kernel.org>; Tue, 21 Jun 2016 04:35:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2BEFA27F9A; Tue, 21 Jun 2016 04:35:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E1D7D27FA4 for <patchwork-linux-rockchip@patchwork.kernel.org>; Tue, 21 Jun 2016 04:35:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFDPR-0001HF-HH; Tue, 21 Jun 2016 04:35:33 +0000 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bFDPF-0008Ok-49 for linux-rockchip@lists.infradead.org; Tue, 21 Jun 2016 04:35:21 +0000 Received: by mail-pa0-x22a.google.com with SMTP id wo6so2176865pac.3 for <linux-rockchip@lists.infradead.org>; Mon, 20 Jun 2016 21:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qIfgm3nj67HJcPBlZ5wjzeK3tbef+9dY+m0oXygwWIQ=; b=Tua69kLR7FWfVyZkVCr43FIRQAznI62EN4Pfck5Wxuu3izUAk2xFnBHYzdQ9u2MVrK fgaY1P98EQI0CtpdY+Mxrn1a2IevBv3lC6nAfdVgRI+IY3vt/D4d6kQHJPMDQ+6L3SQy 6wEfLzyH5tySRdOHDE3ZWN6jSElfSVQaoBZhA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qIfgm3nj67HJcPBlZ5wjzeK3tbef+9dY+m0oXygwWIQ=; b=ah7ndGa19zy5sT05DZMwH7HCHG6yDzSi+HiSCnNgGUzB4jPsr6v4Q4LqwCQ7pUgGMZ YNUXrGxzYccTeTf/GtqczuhhSoVxP641xsAMKR+xoqag/3F4orZg69PmV42YnW6fRKQp Mo3QOZpcokXS9yDHRV72KMY10waVfriTDS0TsBDp8p5lnIRehS+Y6JnmV0usPbY6+UlG GbKXIk/BD6z2s5Con59C1cEYE1ebCCC+Uvzk8e9uPRS1O2MpF5pMXbBhfoB+1cFM8++j c6KFfwgUDFkx2WoM3W7EyiDgmjzWamiyY3WkNXymOK9OGWWU53TUNa8b3pm50nuTP3ds B6Iw== X-Gm-Message-State: ALyK8tJc8Tjb7LQYQJ7O4YUnBUnPlQMvqdIs2w+gqwhp/r2B7g8meiicEPIW0secTm/yusxP X-Received: by 10.66.167.103 with SMTP id zn7mr25641346pab.149.1466483700278; Mon, 20 Jun 2016 21:35:00 -0700 (PDT) Received: from basement.tok.corp.google.com ([100.103.3.207]) by smtp.gmail.com with ESMTPSA id s3sm24500160pfb.87.2016.06.20.21.34.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jun 2016 21:34:59 -0700 (PDT) From: Tomasz Figa <tfiga@chromium.org> To: iommu@lists.linux-foundation.org, dri-devel@lists.freedesktop.org Subject: [PATCH v4 2/8] iommu/rockchip: Add map_sg callback for rk_iommu_ops Date: Tue, 21 Jun 2016 13:34:35 +0900 Message-Id: <1466483681-36110-3-git-send-email-tfiga@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1466483681-36110-1-git-send-email-tfiga@chromium.org> References: <1466483681-36110-1-git-send-email-tfiga@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160620_213521_231179_1F50888F X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms <linux-rockchip.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-rockchip/> List-Post: <mailto:linux-rockchip@lists.infradead.org> List-Help: <mailto:linux-rockchip-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-rockchip>, <mailto:linux-rockchip-request@lists.infradead.org?subject=subscribe> Cc: Heiko Stuebner <heiko@sntech.de>, David Airlie <airlied@linux.ie>, Joerg Roedel <joro@8bytes.org>, linux-kernel@vger.kernel.org, Daniel Kurtz <djkurtz@chromium.org>, Tomasz Figa <tfiga@chromium.org>, linux-rockchip@lists.infradead.org, Simon Xue <xxm@rock-chips.com>, Marek Szyprowski <m.szyprowski@samsung.com>, Shunqian Zheng <zhengsq@rock-chips.com>, linux-arm-kernel@lists.infradead.org, Mark Yao <mark.yao@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" <linux-rockchip-bounces@lists.infradead.org> Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c index 5a9659a..53fa0d9 100644 --- a/drivers/iommu/rockchip-iommu.c +++ b/drivers/iommu/rockchip-iommu.c @@ -1022,6 +1022,7 @@ static const struct iommu_ops rk_iommu_ops = { .detach_dev = rk_iommu_detach_device, .map = rk_iommu_map, .unmap = rk_iommu_unmap, + .map_sg = default_iommu_map_sg, .add_device = rk_iommu_add_device, .remove_device = rk_iommu_remove_device, .iova_to_phys = rk_iommu_iova_to_phys,