Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1197639ybg; Fri, 18 Oct 2019 13:38:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzviht12ZXXoX00k9v4z82auIf7krcD2y4k8pwv3prn2VSJsDFB1o7uYoxbq+a3s14ykJkK X-Received: by 2002:a17:906:28ce:: with SMTP id p14mr10780011ejd.164.1571431107567; Fri, 18 Oct 2019 13:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571431107; cv=none; d=google.com; s=arc-20160816; b=uhsJAgqp71WrarlpV3aGz5Af3+N3Ndo6QqzHnlPxxcYnX34uAVIj0QI2ubQKsV0Xz3 uOMQ8ohmgOMMd1yGYPI2D92o2Ejzm4Q/29uc8EjgK3hwG+R8LfR8INfgoLa5v9XnbxUo qq6cb7vAhsA2uX7XkAK0USUmP5IaAKJ66BJy3NEum0T/407QaMW382Wglh2l/85hSsVn eOF7M/K7rv68vUjHTEWxU2mgITDjTTjxoCZkiQPKMZYxpUt4heClq3UilFAizz3Om+T8 gx7/Jpp0EtbONMI5pfp9Ce4ISTPERwoYQKX0gJ6YPK+JIjTf7kLZCRpzJhMiUsE8EbxF RoiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=v2tCNwGEk6Hjl0LVhFHVd3Y+5ewmpDEB16+jIqUYLmA=; b=VLXX1OoiPHQ2NVXuZFrQHF5I/p50nJLIt90Fn/yevPXADMrvSUncdeAFYPX+vEjz6U hQajPJgBTSf/DSzkgkXq83OX/LzOuCAQ4gvW+O9AAKwjDCJcS4jeAT6dh45G5jj28yG7 OKGQrWyGAh0vgsZQ6o7gYDD7H5FHOgWlbcO9tO/k2kr7E6nlR1+AWXeyQRaLRQkCqpzd X/H1npFNgWz/iCZK8eD1c/dV8lrkIrRn9dvEeiuHjYvcR/eQK/l9Lir00bUCAH9a8dal 6VV+5o8W3TMCWEtXXd/M7ePseRYfX1GOnC2iizvIAij8eHVvtG9xtBvIkNd70ZfSBq4p XVwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=la2N7oWB; 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 s42si4496886edm.292.2019.10.18.13.38.04; Fri, 18 Oct 2019 13:38:27 -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=@gmail.com header.s=20161025 header.b=la2N7oWB; 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 S2395372AbfJQPzT (ORCPT + 99 others); Thu, 17 Oct 2019 11:55:19 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:37204 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727793AbfJQPzT (ORCPT ); Thu, 17 Oct 2019 11:55:19 -0400 Received: by mail-qt1-f196.google.com with SMTP id n17so4310442qtr.4 for ; Thu, 17 Oct 2019 08:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=v2tCNwGEk6Hjl0LVhFHVd3Y+5ewmpDEB16+jIqUYLmA=; b=la2N7oWBGDwB71vWDqJ0B6DpfSrpV/6/nxqHcXbWr9c5lMtwcdAm0qDsQ2fkOleyDm TnOLIGFe/xMF8FXyfRM+Fxkoib50RO3x6hnBqmju1HV3ySEy3CAAuAxvP9OXEkvL5tKc AEEEeeMA5LFLJjse3erMdt7lFnrEO9hD6r1lrozefqzkUpJuG0wUD0DOOlSexR2C4O0N xmkXhgtmUojqNjediux9Nj/2z1U4xiP0cxbc58uatUUxPwdKp7ke61LWkHA3VGw3z8Pj A0sSrGQc1p//YaK3OlG2kqqu10j/on8G86TiNKtKt36ix4qD6FsbJmmsVXwIotQxARPE /o/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:date:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=v2tCNwGEk6Hjl0LVhFHVd3Y+5ewmpDEB16+jIqUYLmA=; b=ndYkIx9jVRZ2BrCX8aIYLul0XWhoIqljg2qmn0MARQxVdXQAsizzIChfXMDWtut3n6 rx3FCcre+9XdU7DV/xp1boMitaGzGJAFBc/JIoJ63rGElfu6IgBQ8Xqq3L6Q3oNOEvf9 6Z9RZYsiOj5PjHihD4LEyJLjofgixHmx/cDqHBY8zJg7BIbxUyCSoCdosKXIZ8/yBXjz maP3k+LgGsFKk0yAbw+GJ+2fFFaMQ3inOsJBAmUHXZ/n7LwKb+HWmHHayAYViTPovPBd cRgno5Ikqr/ILO2hir/+Y8RrZxz5VwHDDXBua3fZaADlgZJfpHcaHvECsOvPGBNHZMNl x/5g== X-Gm-Message-State: APjAAAUGzLof15wVJoVGtPyjb8fuOV0cFWhJz1HMcxRUe2gSGgnCLT1q HiFJtMUpH4dkxaozxjEVhl0= X-Received: by 2002:ad4:4c8c:: with SMTP id bs12mr4484849qvb.171.1571327718324; Thu, 17 Oct 2019 08:55:18 -0700 (PDT) Received: from rani ([2001:470:1f07:5f3:9e5c:8eff:fe50:ac29]) by smtp.gmail.com with ESMTPSA id z46sm2019850qth.62.2019.10.17.08.55.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Oct 2019 08:55:17 -0700 (PDT) From: Arvind Sankar X-Google-Original-From: Arvind Sankar Date: Thu, 17 Oct 2019 11:55:16 -0400 To: Christoph Hellwig Cc: Arvind Sankar , Lu Baolu , linux-kernel@vger.kernel.org, Joerg Roedel , David Woodhouse , iommu@lists.linux-foundation.org Subject: Re: [PATCH] iommu/vt-d: Return the correct dma mask when we are bypassing the IOMMU Message-ID: <20191017155515.GA3571354@rani> References: <20191008143357.GA599223@rani.riverdale.lan> <85123533-2e9c-af73-3014-782dd6f925cb@linux.intel.com> <20191016191551.GA2692557@rani> <20191017070847.GA15037@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191017070847.GA15037@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 17, 2019 at 09:08:47AM +0200, Christoph Hellwig wrote: > On Wed, Oct 16, 2019 at 03:15:52PM -0400, Arvind Sankar wrote: > > > > Reported-by: Arvind Sankar > > > > Tested-by: Arvind Sankar > > > > Originally-by: Christoph Hellwig > > > > Signed-off-by: Christoph Hellwig > > > > Fixed-by: Arvind Sankar > > > > Signed-off-by: Arvind Sankar > > > > > > This patch looks good to me. > > > > > > Reviewed-by: Lu Baolu > > > > > > > Hi Christoph, will you be taking this through your dma-mapping branch? > > Given this is a patch to intel-iommu I expect Joerg to pick it up. > But if he is fine with that I can also queue it up instead. David Woodhouse is listed as maintainer for intel-iommu. Cc'ing him as well.