From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE51DC433E0 for ; Thu, 14 May 2020 17:51:59 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6E3D620657 for ; Thu, 14 May 2020 17:51:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E3D620657 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4409B88ADA; Thu, 14 May 2020 17:51:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O9EEWY3+5trT; Thu, 14 May 2020 17:51:53 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B70488A01; Thu, 14 May 2020 17:51:53 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 85B04C0178; Thu, 14 May 2020 17:51:53 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 93937C016F for ; Thu, 14 May 2020 17:51:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6090C22721 for ; Thu, 14 May 2020 17:51:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z754sG7RrDbl for ; Thu, 14 May 2020 17:51:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by silver.osuosl.org (Postfix) with ESMTPS id 2F9122045D for ; Thu, 14 May 2020 17:51:47 +0000 (UTC) IronPort-SDR: xnEkSwjxjUdeRWGoWhhD8qrz3lRSbxV/FzTsFReyjy1Xor9QKLd+At6wH2Ah1M7kCsGPa5AcRe q5qQ4G1dLgsw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2020 10:51:40 -0700 IronPort-SDR: ug5WrsemdTMJvaFzFshsuNz48MbVxbJ7q5R32YQFkma78Rlfjb6Tb+sLaDry43DJgR1fjGNgwq Var9BQ32IpaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,392,1583222400"; d="scan'208";a="252142709" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga007.fm.intel.com with ESMTP; 14 May 2020 10:51:40 -0700 Received: from orsmsx152.amr.corp.intel.com (10.22.226.39) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 14 May 2020 10:51:40 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.99]) by ORSMSX152.amr.corp.intel.com ([169.254.8.85]) with mapi id 14.03.0439.000; Thu, 14 May 2020 10:51:40 -0700 From: "Prakhya, Sai Praneeth" To: Joerg Roedel Subject: RE: [PATCH] iommu: Remove functions that support private domain Thread-Topic: [PATCH] iommu: Remove functions that support private domain Thread-Index: AQHWKXk9fV5tekATV0S4blj7EpvL1KioBUCA///Q9SA= Date: Thu, 14 May 2020 17:51:39 +0000 Message-ID: References: <20200513224721.20504-1-sai.praneeth.prakhya@intel.com> <20200514131315.GJ18353@8bytes.org> In-Reply-To: <20200514131315.GJ18353@8bytes.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Cc: "iommu@lists.linux-foundation.org" X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Hi Joerg, > -----Original Message----- > From: Joerg Roedel > Sent: Thursday, May 14, 2020 6:13 AM > To: Prakhya, Sai Praneeth > Cc: iommu@lists.linux-foundation.org; Lu Baolu > Subject: Re: [PATCH] iommu: Remove functions that support private domain > > On Wed, May 13, 2020 at 03:47:21PM -0700, Sai Praneeth Prakhya wrote: > > After moving iommu_group setup to iommu core code [1][2] and removing > > private domain support in vt-d [3], there are no users for functions > > such as iommu_request_dm_for_dev(), > iommu_request_dma_domain_for_dev() > > and request_default_domain_for_dev(). So, remove these functions. > > I thought these functions are needed for the per-group default-domain patch- > set? That is why I left them in for now, but I can also remove them if not. Sorry! didn't get that quite well. When you meant "per-group default-domain patch-set", do you mean the patch set that I am working on which changes iommu group default domain dynamically by writing to sysfs file? If so, they don't use these functions so it should be ok to remove them. If you meant some other patch set, could you please point me to them? Regards, Sai _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu