Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0FFEDC433EF for ; Fri, 8 Jul 2022 08:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bWw+Uky6JR6PVWtKZEuTrxlkyikIXwh59uA1zOkkL4I=; b=ERNNGbrhLXSoVp 6/+QPvs8XcdYvh/I9EzWgCblRwgVALdnslq0JIqmoq5BrtPmi2T13PgaDBIdJ6ePWv/+iG/n5PYKJ i42iRuJE9iiLjc/Zzk8FhKRV1D9h1yf0T3Fg6LaRBwXB5bYxeLRj1AAJ0dlOTwbmBoFQjsFKv38iC JzajHYWyNSDXuKrh1eOvqW8YGo+scPT6VnhM1xI8nP9NknbSUAyf/t2gO4+zn5hK+uE3pT73kXCCF Y2mF97//G86oVB+gCPeeEVF9uY03Y657JvvvkGgojNjUn/y5MOWGq6HMUv4XmlM9s16zU9KZO+Zlq nD5dQFYQAM6vGuswz7Ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9j0I-002MrC-Hz; Fri, 08 Jul 2022 08:06:22 +0000 Received: from [2001:4bb8:189:3c4a:86c3:3c19:e6d7:68ff] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9j0E-002MoB-Gw; Fri, 08 Jul 2022 08:06:19 +0000 From: Christoph Hellwig To: Joerg Roedel , Sven Peter , David Woodhouse , Will Deacon , Robin Murphy , Lu Baolu , Yong Wu , Jean-Philippe Brucker Cc: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org Subject: remove dead iommu code v2 Date: Fri, 8 Jul 2022 10:06:12 +0200 Message-Id: <20220708080616.238833-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, this removes a bit of dead code and methods from the iommu code and the cleans up the arm-smmu-v3 driver a little bit based on that. Changes since v1: - rebased to the latest iommu/core branch - don't accidentally change an error code in arm_smmu_dev_enable_feature - add a kerneldoc comment to iommu_put_resv_regions Diffstat: drivers/iommu/amd/iommu.c | 1 drivers/iommu/apple-dart.c | 1 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 58 ++++++---------------------- drivers/iommu/arm/arm-smmu/arm-smmu.c | 1 drivers/iommu/intel/iommu.c | 1 drivers/iommu/iommu.c | 34 +--------------- drivers/iommu/mtk_iommu.c | 1 drivers/iommu/virtio-iommu.c | 5 -- include/linux/iommu.h | 17 -------- 9 files changed, 21 insertions(+), 98 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel