From patchwork Mon Jan 9 01:49:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baolu Lu X-Patchwork-Id: 3716 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1932090wrt; Sun, 8 Jan 2023 18:01:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXs4JWudS86wjOoEZ0TIeKkNsemBrU+FP8mrd+JkY1gUuYdl5+DkpRfaqEY72oYMXCfvzshj X-Received: by 2002:a17:902:d891:b0:189:d979:22a with SMTP id b17-20020a170902d89100b00189d979022amr66022802plz.29.1673229664858; Sun, 08 Jan 2023 18:01:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673229664; cv=none; d=google.com; s=arc-20160816; b=qhtUEUUbydR/YrDDC171DaeYeDp9ZnyqzKQNS6WMQHVC2qey3AnYtWmbFCkkztA7Dr rKqyWVWBqsekNRv7R8SwFuAxCpa9hJ3MYOISZxfO32pE4U1GyYGpz1pdu+BJ7iCgKKdd nxSSRNzApmyEXog9RlEOhDrLHTALAg8o4CrppM3UYT+G6w9oD69UbAFiFPdlNOHUK0aF RDQW8vKXM27sMjjkMj0RRg4rMXKrYZ/62bQ7QX16u+U1b8/ejGKl0kvKUzMhqbcxzoVH 0VyG1ghxctpwEcpY6CPueiq1T+NiEwq1ROIHhZCSSp3Jdyvo6QaT7vK9zKqtYZ5odT8b fP0Q== 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=a3nnWVOWKD7e1WKyMgfUyHv0DH4u7sdKNWWfyGngMa8=; b=K0+ywlsicbfOEXqlcmf75UULQWMxws6gHKFecxclnJRicWtYBV9C3pXxyl8QS43UJJ H/MS6KhUFtP5HkUazafXfTUeKFGL0d8jO1PgeCKV9YLiNRIA/JfR12gxbgTHVvNi7Liy kCZLuy0YljUmUTlNRRJCtpy9arw1C8P9OU3GCtw3Jgek0wP8Rc8nLCe0zqkrI97QECDo pjwV66eqdPzTyo2r7olm8NdPdKUoEBTGWgWgLekHc2aeKBr+TkYdfOzvMeJoXLOTPTzX W/pJD7JhCGxav9hGDMmyCeVBd3HmG8/Nwo7mivyMyHJiCxVyyBBUviPtwDhr//vAy9qn Ll4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=azr3ApXQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i5-20020a170902c94500b0019294cce398si8920404pla.314.2023.01.08.18.00.51; Sun, 08 Jan 2023 18:01:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=azr3ApXQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233746AbjAIB6D (ORCPT + 99 others); Sun, 8 Jan 2023 20:58:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbjAIB6B (ORCPT ); Sun, 8 Jan 2023 20:58:01 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FE3D10072 for ; Sun, 8 Jan 2023 17:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673229481; x=1704765481; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=WXohAuzKXOCDLN4oeNIAHB/IpmqKb5YdiBxzFVDKz8k=; b=azr3ApXQcpvy04e5gBpN17KupBTFqt+a9R5o7vgIbQN0dagGLJnjhGCp pmnLx0JSUDa5ALVf3YLdxXpOYSrwZ55Q9W2DS+g+jtKkJsuO8piV29roi YD39f/EHtQqPD1V+tWmkdmHYCDjxxFFQvkUdhn7nDoyvphYKED9b+OP7G ll6hd+Q0hsVA0n5KxyQCjISDJy6x7tI0icLDpimZayj9XEMYJZnLXfnO/ T2afB2TU8D6WbrDCjFpW8KhrT9ConcKJ2eKB99yt8kvj2ZWQClRb1cZsY uDUwUbXUKuoHNlrch8WOAkPF9qjvV86TX/V3y4wsPFt73xb7FoV4EShks A==; X-IronPort-AV: E=McAfee;i="6500,9779,10584"; a="322848715" X-IronPort-AV: E=Sophos;i="5.96,311,1665471600"; d="scan'208";a="322848715" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2023 17:57:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10584"; a="649867403" X-IronPort-AV: E=Sophos;i="5.96,311,1665471600"; d="scan'208";a="649867403" Received: from allen-box.sh.intel.com ([10.239.159.48]) by orsmga007.jf.intel.com with ESMTP; 08 Jan 2023 17:57:45 -0800 From: Lu Baolu To: iommu@lists.linux.dev Cc: Joerg Roedel , Will Deacon , Robin Murphy , Kevin Tian , linux-kernel@vger.kernel.org, Lu Baolu Subject: [PATCH 0/4] iommu/vt-d: SVM implementation cleanup Date: Mon, 9 Jan 2023 09:49:51 +0800 Message-Id: <20230109014955.147068-1-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754508469305895142?= X-GMAIL-MSGID: =?utf-8?q?1754508469305895142?= This is a cleanup series after the merge of commit be51b1d6bbff ("iommu/sva: Refactoring iommu_sva_bind/unbind_device()"). It removes the unused/duplicate data and code. Lu Baolu (4): iommu/vt-d: Remove include/linux/intel-svm.h iommu/vt-d: Remove unused fields in svm structures iommu/vt-d: Remove users from intel_svm_dev iommu/vt-d: Remove sva from intel_svm_dev include/linux/intel-svm.h | 16 ------- drivers/iommu/intel/iommu.h | 11 +++-- drivers/iommu/intel/iommu.c | 1 - drivers/iommu/intel/svm.c | 88 +++++++++++++++---------------------- MAINTAINERS | 1 - 5 files changed, 41 insertions(+), 76 deletions(-) delete mode 100644 include/linux/intel-svm.h Reviewed-by: Kevin Tian