Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp611264rdg; Thu, 10 Aug 2023 13:21:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsqYc8Bqt8uOqAKNvcNgZFhJcWrK9R1oOMZYFRYUsM7skTty1KHuuB26h+KPeafT7Noumf X-Received: by 2002:a17:906:9ca:b0:99b:cdfd:fb44 with SMTP id r10-20020a17090609ca00b0099bcdfdfb44mr4181117eje.9.1691698919250; Thu, 10 Aug 2023 13:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691698919; cv=none; d=google.com; s=arc-20160816; b=Bp9491YrsEfwPzOTHg8xU3z9TfFw3YhxUbSxyArYF4kCZFeHRuKRJNvcUo1eRW/shR vJIphH/LBU1XQr5uK6+DpK3YBgrunDkRcXrTIKEAtRWuCpGCdcQOk1s1hswzhmYOUX3D T7Ddgnfa118V4JqLqBM5nDsA3vfqNTnjU0XQL0L0LWcLtzWawZvB1LAjJzBh7p8a7Zt6 PyDl52fNnWAHpjIAxSSlpm0Zjr00rG1RyoUf1w4L+kZM8MA+/VY8V4joBWGA/rA7d5PA cAoEOdZGQFaZsuTJLxNDKfav2H9BZGE8LpKUnbkxf8ULRWL9FUkXpOJmHmwWPKohvxAD 30sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6Zq0l3xZQiEDwcrtH7vACzt2kdLllz4ciH/cpuUOM4s=; fh=xltAmSPd/yLdUi9FHi45DAi3RH3y0htPE7VC5DZecA8=; b=CAhLyfkcoDMcEZte6LMlEY7Yljlwj8xpfdo8JleIYwkjCKJYLor5ivQIPajaw/onK/ jtTRXLsG4m3Dk/DpU40gLWY7G/Y1Eq2RQFobfDEi6pNbpdrJxOTX+awzHIG/pm5gxb0M 4elu4qkUTQEQzS9iGBkCBlWWdmVGX2UqhGIFXysEtLvxrVeGQNZD1mnhCRS3YXAqx21A oe1s9yogeDxAm6VuWCPYYKRYNqGRlqFPrFMwCOpXqpU1UqQaZ5PoSJfz72xNvj2o3GX/ 2gz0h9UyAJfAg4OyvcThqcz8WK3M4Pjjcp0fqQo6cTq8YVqT6iXuw+h25ZIsIQ+zTotG Zg9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=JErK18AD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a1709063ec400b00992a8a54f2fsi2059258ejj.368.2023.08.10.13.21.33; Thu, 10 Aug 2023 13:21:59 -0700 (PDT) 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=@ziepe.ca header.s=google header.b=JErK18AD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235206AbjHJS7O (ORCPT + 99 others); Thu, 10 Aug 2023 14:59:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234216AbjHJS7M (ORCPT ); Thu, 10 Aug 2023 14:59:12 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75C02696 for ; Thu, 10 Aug 2023 11:59:10 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7672303c831so90994185a.2 for ; Thu, 10 Aug 2023 11:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1691693950; x=1692298750; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6Zq0l3xZQiEDwcrtH7vACzt2kdLllz4ciH/cpuUOM4s=; b=JErK18ADkD1dTNzsRq+SbbDprsUFNPoAzYx9s7K3M7nQd4oYJ8BsxhMmdmA1bSkIfv GX/X6fvYVS2EirYupvLRfaflRZ8AlzSSf7IxxSnx/Sxqj1fNZVITtmtwr1lmFaYqDjCo 2WnIMuS+4K7fNeZl565GjLMYfTsFMeBCZO23OEILH6+zwY5YgwK9GDpmJt3RsZJyWYNE ueFugH93WIMVJkZ6McBqGcXVwCwHrp7/koFcUsoqa7C+IUMeCG6fYZ/uzqi4RfCZ38uA PT4aRO8JFn+voySym+TaRdDPTw3tMDhJaXKMVIrulLNZFGEA9f0h0j2fJpWdJNtAu/yz OOXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691693950; x=1692298750; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6Zq0l3xZQiEDwcrtH7vACzt2kdLllz4ciH/cpuUOM4s=; b=bB3Pf+7DvKIAFFckGcqq0uioCbo/gIqQeCdgSIlkU+sRY/unn8H1dCnQEesUkcpwFM wrXKV6y2xPJOS3FaVW23NDYezUa+cY3Oy95Fs2z7FS0QxUgHXfcJqvPzVzYnfJQqioKh I/8J9MpkcY5WHHZqjOGrIvAzJCTR8FtqM990Qj7G6Fo41BYBNuYOXSQbROOwuZxavKaq zeuGbb5YCc1VAoIEQxlrDxsJt76fVa2p3fdZdHwFVtYuk5PQlXSkY1GEAvw3MsTuAc4n YwciQyjROKyybJ4cRfheH9IdJ1R56OYOAbLJmh6FEvFc9MefhZGfL7x/Oj2+oEimvDc9 FVHw== X-Gm-Message-State: AOJu0YwdhW+6kGilqA07HnJoj07/Jqpn/rEBuU8fdNBFkI+1ob3WNYJh vZcD/EpPusQRwP/g+/jPG9w+XA== X-Received: by 2002:a05:620a:3191:b0:765:3e03:10db with SMTP id bi17-20020a05620a319100b007653e0310dbmr3454229qkb.48.1691693950008; Thu, 10 Aug 2023 11:59:10 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id j10-20020a0cf50a000000b006300ff90e71sm679584qvm.122.2023.08.10.11.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 11:59:09 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1qUAsG-005IgH-N2; Thu, 10 Aug 2023 15:59:08 -0300 Date: Thu, 10 Aug 2023 15:59:08 -0300 From: Jason Gunthorpe To: Lu Baolu Cc: Joerg Roedel , Will Deacon , Robin Murphy , Kevin Tian , Jean-Philippe Brucker , Nicolin Chen , Yi Liu , Jacob Pan , iommu@lists.linux.dev, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 07/12] iommu: Remove iommu_[un]register_device_fault_handler() Message-ID: References: <20230727054837.147050-1-baolu.lu@linux.intel.com> <20230727054837.147050-8-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727054837.147050-8-baolu.lu@linux.intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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 On Thu, Jul 27, 2023 at 01:48:32PM +0800, Lu Baolu wrote: > The pair of interfaces are not used anywhere in the tree. Remove it to > avoid dead code. > > Signed-off-by: Lu Baolu > --- > include/linux/iommu.h | 23 --------- > drivers/iommu/iommu-sva.h | 4 +- > drivers/iommu/io-pgfault.c | 6 +-- > drivers/iommu/iommu.c | 96 -------------------------------------- > 4 files changed, 4 insertions(+), 125 deletions(-) Some of these hunks should be moved earlier, but Reviewed-by: Jason Gunthorpe Happy to see it go Jason