Message ID | 20231116015048.29675-1-baolu.lu@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2933131vqg; Wed, 15 Nov 2023 17:55:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGn3A13iS8a1TbcRGtpHA3taJ0Zm+IgaXb2+G3X48ZrRFveJ6koFZ3SNV7YwAD40K3hq6nW X-Received: by 2002:a17:903:41c3:b0:1cc:3be6:b714 with SMTP id u3-20020a17090341c300b001cc3be6b714mr8422102ple.23.1700099755538; Wed, 15 Nov 2023 17:55:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700099755; cv=none; d=google.com; s=arc-20160816; b=R5rWYtm5Los/MBmpmbuJKsa46Mn0NQUTwrd5L1XgbGB7/vpe72zi7iAzv6A2IDYUa9 G0oBhJCxzW1KAQtFZPNL4UMdc35qrVKX+d0wpIJDScvYIcDSiFZnlV2kwP1AEjI2mTQU f9p0Iamssavzx/ZLilK7lrYBj+YRgN/Dg5V7F09JwBoBks6JBTzG/YcreGrRV8FGXLbT 8OMQM7b7NuD/qMiUtPc+djt0BOpqWeNXsYJNgkxbCK0oD+5jm9ISQAMS/lLIu4k038pl oWX6+zeLH1xOBN3Kk1kFpXOC3cV4jOSwNe6vddbxTgHOdoU+Nr/eOdsajdnkDK1pqgXh n05g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IIxzX5gUnf5lf7a4aW64blGJN8Yy8Uaf20c50o+Cx0k=; fh=5K4v/0ku97kpa0vTvhWLyUEWwXZiIFVMmzwLLirrjJ4=; b=qd995lupEwfYkqXvV5AgQdW1+BT8SS5G5b/TUdV3DErr9yWDuiIFqrAOw/OkTRDBoC rYBGyeHIvksQgWmOXk8AhTmw7Hqdh+o8C0wiCorwbO6+fUzWT435kdrlAbsT8RPFxL8j tFmuX/w6tCVma9+w2/xTXQCrdON7Od59Dzk7ABjwX9ryNg4v9YaMQwdk9lviMDutatrm m+9fLjWCAbjzPyWN51be1UcMR5MUGW68KHImpHgnOemk6StQDogMrEcrtxxwOjhUmsHg SbnWLy32mc4YV8MjIlOvZMeNY48B7RkT1rxLnuPQcuHqnE2e0XoFgS4xA1aeUmwg4gIw XsxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PN2Yb2fo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b18-20020a170903229200b001c62cfff798si12248811plh.372.2023.11.15.17.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 17:55:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PN2Yb2fo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1A0F0808D2B4; Wed, 15 Nov 2023 17:55:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344439AbjKPBzK (ORCPT <rfc822;lhua1029@gmail.com> + 28 others); Wed, 15 Nov 2023 20:55:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjKPBzJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Nov 2023 20:55:09 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 191EE193 for <linux-kernel@vger.kernel.org>; Wed, 15 Nov 2023 17:55:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700099706; x=1731635706; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wT7dbjKEZPnJlKx0LG/sRI7UdmUYfosJsm3/37/KvOs=; b=PN2Yb2forat/avhek0PzXxIDZtUGdpEKHHTLaepTe2mND+YaJjUkFzgU gkhYgtGddaTD3wz/tlABo+YTtqfODRZ65Kg1aX4hXaZBXmSdTwnDqcqE+ jJ2hFUjvLuwblmgsn78XqyY8WHEmjOCxj7m/XJTynMH/q1bloj6T2KVQW zs6k5eCJPxzwiHYclShWfaboHeDLR6CX75gfn4oIAhIUOXDQh102iWTX5 0yKGlBiPe4APhfj7zs2aAxB1pNP3n4VbT9kE1mhFpl04uCPFpcGi30DBv 9IxVkjd49ACaR7Zust0ROZ9OJ7ZokCODdU3R433GhHF/f0Nn81HxO5VnK w==; X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="381387673" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="381387673" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 17:55:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="13395413" Received: from allen-box.sh.intel.com ([10.239.159.127]) by fmviesa001.fm.intel.com with ESMTP; 15 Nov 2023 17:55:03 -0800 From: Lu Baolu <baolu.lu@linux.intel.com> To: Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Jason Gunthorpe <jgg@ziepe.ca>, Kevin Tian <kevin.tian@intel.com> Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Lu Baolu <baolu.lu@linux.intel.com> Subject: [PATCH 0/4] iommu/vt-d: Miscellaneous cleanups Date: Thu, 16 Nov 2023 09:50:44 +0800 Message-Id: <20231116015048.29675-1-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 15 Nov 2023 17:55:53 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782683800870323375 X-GMAIL-MSGID: 1782683800870323375 |
Series | iommu/vt-d: Miscellaneous cleanups | |
Message
Baolu Lu
Nov. 16, 2023, 1:50 a.m. UTC
This series includes several miscellaneous cleanups that were discovered during recent development. Please let me know if anything I have overlooked. Best regards, baolu Lu Baolu (4): iommu/vt-d: Introduce dev_to_iommu() iommu/vt-d: Remove unused parameter of intel_pasid_setup_pass_through() iommu/vt-d: Remove unused vcmd interfaces iommu/vt-d: Move inline helpers to header files drivers/iommu/intel/iommu.h | 184 +++++++++++++++++++++++- drivers/iommu/intel/pasid.h | 213 +++++++++++++++++++++++++++- drivers/iommu/intel/iommu.c | 237 +++---------------------------- drivers/iommu/intel/pasid.c | 274 +----------------------------------- drivers/iommu/intel/svm.c | 20 +-- 5 files changed, 421 insertions(+), 507 deletions(-)