Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1369961ybj; Tue, 5 May 2020 19:17:19 -0700 (PDT) X-Google-Smtp-Source: APiQypI567u8QV0W55uhih34SZI3WQoEUa66D6dv0yynZ1gc3NCLJdB3Rq8eH5J13gITBn3uTB6i X-Received: by 2002:aa7:d6c7:: with SMTP id x7mr5083719edr.313.1588731439413; Tue, 05 May 2020 19:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588731439; cv=none; d=google.com; s=arc-20160816; b=oXzsB3Ln5Gv3WUhlu3e0mTCM8BKVSiyRRO1snFBaMtit9Gp72LQ9XW6SbT19CCkvBx WBpCkAWb/L3g6hM7ZEYF0MTHAHTg+HR1UWItsJKRE1rBYb7y8zbfBSAd+Z2KH9T77Il3 OGUvjBrakrfkIvS+IzsINeQayBxq07pfidLkwuuoY89780U2BRQF3gEaEUmJ00xg1sv+ 6jOfKJawZ6gd54oAg2y0/tb2qc01MhsQ8w5wQEO23E9cwH1YH1Q2Y8oMEfWxL94EAwJa LLXX+cZt+F+Yj4PCFqLkuJuXSj1gK/0CCtU6D/MVTgqUn4ssbQqukgB+EXs8xqVAmxrG ACuQ== 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=w8gbY87jwoL79rOzujZxuWgYYqNEcM3nQ5vgXMTM9zM=; b=BybR4TrtlTaEfzRi9FuQS55YfKHdBjOsPR94m4g0BHf8FdI1FCOc/KefCVQw98khvV a+9nRxK756IgmB0RMUCzB3uh5bO95cOB59nCwXhvBoeGv/3tTA0IPGyKAfrWlVNeWfMd JJj8YkS6GQmJSut29B4dwujXrR6Y4PCf9pCva0PN4DP4zPD0DDo3HUWKr9jfR/shh3sH 1T5/79Q3Kj35J2fkoNdRUS7myyBSjaUZCu9uR6/uyJRCNl/kfkR8dIxCDUM8Z++Xq1U0 dk16T4lCw45Tsg9ah3E1TbkXi6Dk5CSoW90LTwlaTEtlcyerFrkxUvmR5SkizK3/zqGl yEng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=MmdjAnPh; 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 m7si213500edv.557.2020.05.05.19.16.53; Tue, 05 May 2020 19:17:19 -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=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=MmdjAnPh; 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 S1729699AbgEFCJv (ORCPT + 99 others); Tue, 5 May 2020 22:09:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729332AbgEFCJv (ORCPT ); Tue, 5 May 2020 22:09:51 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF916C061A0F for ; Tue, 5 May 2020 19:09:49 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id k12so187624qtm.4 for ; Tue, 05 May 2020 19:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w8gbY87jwoL79rOzujZxuWgYYqNEcM3nQ5vgXMTM9zM=; b=MmdjAnPhIcXZFa/Uyr2pGKHtAwLyCHq71NtdsW+6NUKV0VZFYzZT7rIdvsNGn3gk3H 0/9pErNgqlnBrxGf26yCELIuS9YkBDu6AJyKh1eOUMlYQnR8alRkBPM1355aSY3xRjcR v69Wai+kEuOqB5MVlfi54N/CWIjX/pOkBYe7/gZuQyAk8gWmeHtaHzFtbIrdM/mSp89l Py1VXrwLrpaSYt+7fZTK4vIhYXDTh1maRxX/gu/3aL8ORh7o794YvS9HJBepVNgJtlWp 8ZmhAWcRtcJQ7wOwAuqZ5xaMVnpoc9Dfum3JwE/VoRSkLlgwSQPgbQuIz+/Fc1oK9EMF Gm0g== 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=w8gbY87jwoL79rOzujZxuWgYYqNEcM3nQ5vgXMTM9zM=; b=W2UEe6HFdjl3rFq+T0eGmO71q6yPfz+04EJRKwFJvOltVF5XGV/rtmDHhxq0X3y8HC fDO+oOPLpfmIJ7rBY0d3gAcGaglr2zGsg1pM5e5IXDB4f3+cQqiUMUfRYAO95SzREvHQ jyMSRGFrmkmahF6RVyWf8Q8JeWDRJ5hOAOPyCFBpvPJdJTsV3ZUjRd1BpSzQMwuboiEv aCMCNd+MHGpf9yt/+eepIykF288up+sSQkaIVhz1YIIX8ZRq9FVDrlkbMnHzWbpNojQW Evy8bEnfFeI7PEfPdEySABo9Uzo9Y/N9VLid9aSbAvudm41UoeCGwgXzYawcWVFTA+4C J8pQ== X-Gm-Message-State: AGi0PuYjhZIYasgqLxUuNKza2cDmRMHRhUBia3nL9ZnWEal7kPAM3be0 RDGt+gP0R3TJeUo5IADUJ2vUYdZq/gSkMfcLDcDLbw== X-Received: by 2002:ac8:3877:: with SMTP id r52mr5976506qtb.47.1588730988716; Tue, 05 May 2020 19:09:48 -0700 (PDT) MIME-Version: 1.0 References: <20200506015947.28662-1-baolu.lu@linux.intel.com> In-Reply-To: <20200506015947.28662-1-baolu.lu@linux.intel.com> From: Daniel Drake Date: Wed, 6 May 2020 10:09:37 +0800 Message-ID: Subject: Re: [PATCH v4 0/3] Replace private domain with per-group default domain To: Lu Baolu Cc: Joerg Roedel , "Raj, Ashok" , jacob.jun.pan@linux.intel.com, "Tian, Kevin" , Sai Praneeth Prakhya , iommu@lists.linux-foundation.org, Linux Kernel , Derrick Jonathan , Jerry Snitselaar , Robin Murphy , Christoph Hellwig 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 On Wed, May 6, 2020 at 10:03 AM Lu Baolu wrote: > https://lkml.org/lkml/2020/4/14/616 > [This has been applied in iommu/next.] > > Hence, there is no need to keep the private domain implementation > in the Intel IOMMU driver. This patch series aims to remove it. I applied these patches on top of Joerg's branch and confirmed that they fix the issue discussed in the thread: [PATCH v2] iommu/vt-d: consider real PCI device when checking if mapping is needed (the patch there is no longer needed) Tested-by: Daniel Drake Thanks!