Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp786492ybt; Fri, 10 Jul 2020 12:21:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiM0IDIj3wJw6UuRNjuoVaoqZyoq1WYP+CIf8dkbGX2r9D8WFQ0uNPJ2XIpRNIFvnSiFOR X-Received: by 2002:a17:906:fcc1:: with SMTP id qx1mr63998989ejb.379.1594408863589; Fri, 10 Jul 2020 12:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594408863; cv=none; d=google.com; s=arc-20160816; b=dxqBpNAdfFg604eZKms5BjX54o+gk7gbdwOQaax+p418/NIpvI2lJQwhMCAV9gGvHV Rbh+OKfkKMnhoWKpK6S+THgqeEpWkuI8uMuDzKJ3j9pGPoUdPcDy7oMZ2EM4s55jtQPK fnfl5syh1xvCnD5xSObmJiWKVEKOPwKwFKMl288mSY4p+laEOTRB42NKDSKaJSvj8Vc/ wEuM2+CqGrjzQ472frlIDDy6YU0G+T2k75vmEb+fu6Sh3cm2cJnkyTMuhwtY59IDmbae Z9bxMI7gyKacUYCCBGPtxATae+uWaORw3VxazgQXYWHp+HYp0kL6Qg2x7x0AKCz3wPQ0 UOQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=A/XxOf2MPny3gUO9mnh1IW4HAphuhFeUQbRFZXAvCpM=; b=cvh6sxkVk0wdp+cPVsAdlBlZqlmimGN3xgyN2UUj6z8RlQoZRlPpWrvXrnU/hqGnDv DC+NkA4ra4Xsa8IOuzkPXHpnMntE5guaay9yfur6gf/W8HpvMvHO01/L4ZadIfDPcXSO uAd4RtP295uyqziJGi2TIGsJbVVbbifL69GiB5Pj/pSau2pwXuF+7kTCoN4ru8INwOtV cZFhapFs8S+SynoASvYEWPslDM/TWrviYmb9KFczo1rJyIHy7ZGqUsANsUZ2dFpJS6sw sLOGADmDy4sSn1n1xWIGU+X86K1PSGys7KI8s9Z7s7RLc3HJdrR/yxTD447kM+O6JA2J Ctrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tcd-ie.20150623.gappssmtp.com header.s=20150623 header.b=G8ptAYtq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si5017653edy.181.2020.07.10.12.20.39; Fri, 10 Jul 2020 12:21:03 -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; dkim=pass header.i=@tcd-ie.20150623.gappssmtp.com header.s=20150623 header.b=G8ptAYtq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726908AbgGJTS2 (ORCPT + 99 others); Fri, 10 Jul 2020 15:18:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbgGJTS1 (ORCPT ); Fri, 10 Jul 2020 15:18:27 -0400 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C0D9C08C5DD for ; Fri, 10 Jul 2020 12:18:27 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id q8so7170011iow.7 for ; Fri, 10 Jul 2020 12:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A/XxOf2MPny3gUO9mnh1IW4HAphuhFeUQbRFZXAvCpM=; b=G8ptAYtqk+SEo+CGoUOHZRF+vl7lJLdIBT0S/pHrduzEbWxvqh1IfPE2/4VhppHPde YRXFOyzoKkrWceSDyBehaHWrFlUcgXHG6dZJw/Ckmn9tJWTq/vXETO0JL2rxorvAqYgr sfYAe5TLkNk/6oh5kEcCbqnW3iSm0YxUhQvE7I1A5yKSuwuC4rUGD6Q7HEO+tu1wAlSl tD0rGE8wl+/tQgRZmMsrGa6EwlUhvHi7G/Qlh1O3Vt+4ehxXhBo8td3OJyHLYU9R9Rnm rBv1SJmQ77C6sJHC+gp5sx/9NhXLg9ziLq8flwiewQDJ8rwiHelTeKULpgwtJnZC8Zqx 8ynQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A/XxOf2MPny3gUO9mnh1IW4HAphuhFeUQbRFZXAvCpM=; b=qnWtxlASCih/ThleGpraHnbfK3QyvRMLjAgmqa5Toc55F0+hQLL6OYwsGm0a1lD3HZ 9ZQc+YRtOH010zoY/FRfbdqcir2L+jJ2A9K/IB3pctfYtpdCQGK9bS1D1n+t2h+/AL8C oE9hgJtNytVkMnkUKyK15Wkmy5OW3M7XCeMcscjwUN+cfMwS+peS0hiMHLfnzQKJ0pyq gkUgQTgkhpm9mCeweyFHtxyr4Ofvz/itg+SidIfRfkyuOzzgb85jfMCr82bdCFjbG1SY tiEqVGe7FiMoWaI6nxqdoYGTA++yeJhW9PLAdsZv6Jgf/JVhj4NJNph4/8NMlc4puaaF BOLg== X-Gm-Message-State: AOAM530/HQe6GNViCT4VgF+ZPo++OYAel0oi7sGBpT3436x+grzQ7WNs npRqmUtLfiWEvv8nv32sdjG4/gGLf+Uv6y6X0p/enw== X-Received: by 2002:a05:6638:2172:: with SMTP id p18mr81169397jak.63.1594408706326; Fri, 10 Jul 2020 12:18:26 -0700 (PDT) MIME-Version: 1.0 References: <20190908165642.22253-1-murphyt7@tcd.ie> <20190908165642.22253-5-murphyt7@tcd.ie> <20200710155933.GA20886@lst.de> In-Reply-To: <20200710155933.GA20886@lst.de> From: Tom Murphy Date: Fri, 10 Jul 2020 12:18:15 -0700 Message-ID: Subject: Re: [PATCH V6 4/5] iommu/dma-iommu: Use the dev->coherent_dma_mask To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, Robin Murphy , Joerg Roedel , Will Deacon , Marek Szyprowski , Kukjin Kim , Krzysztof Kozlowski , David Woodhouse , Andy Gross , Matthias Brugger , Rob Clark , Heiko Stuebner , Gerald Schaefer , Thierry Reding , Jonathan Hunter , Jean-Philippe Brucker , Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-s390@vger.kernel.org, linux-tegra@vger.kernel.org, virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >Btw, what is the current state of converting intel-iommu to the dma-iommu These changes expose a bug in the i915 intel driver which hasn't been fixed yet. I don't think anyone is actively working on it but I plan on merging as many patches as I can so it's easier to do the intel-iommu -> dma-iommu conversion once the bug is fixed. You can read more about it here: https://patchwork.kernel.org/cover/11306999/ On Fri, 10 Jul 2020 at 08:59, Christoph Hellwig wrote: > > Btw, what is the current state of converting intel-iommu to the dma-iommu > code?