Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp31506rwl; Wed, 9 Aug 2023 10:25:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0lRhyr4MH133gAleQWAsUa9K8eSkKVAv3nHIDoEmkoFN7BslZVBrOhBpZqavW3sT47RqH X-Received: by 2002:a05:6a00:8d1:b0:64c:c5f9:1533 with SMTP id s17-20020a056a0008d100b0064cc5f91533mr3831818pfu.33.1691601957826; Wed, 09 Aug 2023 10:25:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691601957; cv=none; d=google.com; s=arc-20160816; b=u6ACNbepF0+QRywsQopJawz78iKy88V/3bjpo1bTX3pN2M05KBhZFnUsL5KRJ8V/kV i78U6lFVNiD4vfGgBd027o1/UXne7fj1ZeV1H2ktweGVffih5lfPnI0g1Tl7BSr/ddBN ZUEwolDgW+Aj+q1Fg5V0GUZ/1QaOh4GTg3DstooAKAXcgblefAp9Z1LNaydz06Jpmm0u xIEXXPVHMjw2Kkdp9CfU3W7eh+MItC66/1MQcmp6Q3+DFgCaFFpB95ZIhff5SMJs4dHA 9P3xj35+h165ZzCwLJO0ZHKZ2lMoP2hJVNrou1FjUEkk9+X/D6chGe3AHvxlYsyZHvWl Hvkg== 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=ePlScrnrPWgYIwkxSFrLYux3pUaMlgw2BLgxuxovAOE=; fh=xltAmSPd/yLdUi9FHi45DAi3RH3y0htPE7VC5DZecA8=; b=ySUVPTPz9jhSeAN0bpGUkW3PMHA4bR7EqNkTc3U/3TCLUH8lOXcJZiRahfAhFiGKDA a9KCq6yAHMWIMjt+g8Zf6aphZPnaLvMwI/NlNOFjAJy38axU/nTz2SipWoPmoumzGiBi TFS8Ta8bRvPgEAP9C+wNrKmWUdV9hR/Qt9QE6V4lpj+QjpkyW8E8uur1P5qkTPrQGNUl SgstAsZGaKXsgWcF4L6/FGzUQ39fFqHvJGsziEikKqZKun8wWh490RNhK8Cq4R9QHj62 NG6/kPqAA/2SwXVIysfs7Otl/37NKEL+6GSbmZ8wsmryfcorLThx1neNleQHWlzn8w0i yYqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=APERFP27; 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 x18-20020a056a00189200b00681fb4b7019si9921754pfh.220.2023.08.09.10.25.46; Wed, 09 Aug 2023 10:25:57 -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=APERFP27; 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 S232225AbjHIQ7D (ORCPT + 99 others); Wed, 9 Aug 2023 12:59:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232212AbjHIQ7B (ORCPT ); Wed, 9 Aug 2023 12:59:01 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DBB12100 for ; Wed, 9 Aug 2023 09:59:00 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-40f0b412b78so53312861cf.3 for ; Wed, 09 Aug 2023 09:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1691600340; x=1692205140; 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=ePlScrnrPWgYIwkxSFrLYux3pUaMlgw2BLgxuxovAOE=; b=APERFP272SNMr7Kw8WPTlRK9wuiXOkBrHzhp907/GMoSm1zJmJ+zVc0XLVRCb8Hp5r oDYmxkKqYtZVSaIVIOtFE8VD1XC6MrZw4rfutzfDAHGRGeDMsGfRyibOsQLu5Rk3UHlO 8lp6MfIpcQmkREuqswrbOVMsGLhvnGvzz29P1qExW+y2ueTRPgaAhTSRaNCxFru7S0FE 9nZb2LXh0h2eh3FY44jue9GibBj6BFa+VkJ2cx8b5BBxpWlFPQ8pUnLsjIevV1yBkdog OWYKNHhj9XxsnUKtHE8dtD1Hqvh2qpnfMa/G6nAldcNk8JowFS35OsPbNtUuyW5ZZ7nQ ouRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691600340; x=1692205140; 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=ePlScrnrPWgYIwkxSFrLYux3pUaMlgw2BLgxuxovAOE=; b=dU+5iKI85uNLer5K+wb9KEEMpqTwlbZlzkyIV72OQZ+WeJnymBrxSFiHgIxpsw/9CH pKSwFSbRnTNDE+w7M0JQoI2PjrinoCu/zLK/1LHyt0iaf7VvnglirB47op2pk+sIX633 QhzrsqJnSsnL2QLS78FyYfP9yZ69FiCwYNif5W9TSUOa0EIK0KrRCmonQQIZDm+DEtaS uurHlvlUPivw1/HgctGSh8Z2imC/L0XBdg0FS8UsHtOuLYD1gsAjn/8NC9cko7/za2l9 w7AGSVvYNpdUOZT90EnUuD7bOUVD6X4bCDY5f8ERGLO0dYgg/Cc8y3aT3lhC6Rgwpq0S MpgA== X-Gm-Message-State: AOJu0YyKSPRu09nzw0h/KqdKAXBjovygXk7+nDF0WkC6lnrQrsI7XfF8 r12gxZER7xS7An5DSvZqbG5VEw== X-Received: by 2002:a05:622a:2d2:b0:40f:d1df:fa10 with SMTP id a18-20020a05622a02d200b0040fd1dffa10mr4859881qtx.31.1691600339792; Wed, 09 Aug 2023 09:58:59 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id w26-20020a05622a191a00b0040ff2a9ca0asm4154988qtc.67.2023.08.09.09.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 09:58:59 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1qTmWQ-005518-EA; Wed, 09 Aug 2023 13:58:58 -0300 Date: Wed, 9 Aug 2023 13:58:58 -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 01/12] iommu: Move iommu fault data to linux/iommu.h Message-ID: References: <20230727054837.147050-1-baolu.lu@linux.intel.com> <20230727054837.147050-2-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727054837.147050-2-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_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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:26PM +0800, Lu Baolu wrote: > The iommu fault data is currently defined in uapi/linux/iommu.h, but is > only used inside the iommu subsystem. Move it to linux/iommu.h, where it > will be more accessible to kernel drivers. > > With this done, uapi/linux/iommu.h becomes empty and can be removed from > the tree. > > Signed-off-by: Lu Baolu > --- > include/linux/iommu.h | 152 +++++++++++++++++++++++++++++++++- > include/uapi/linux/iommu.h | 161 ------------------------------------- > MAINTAINERS | 1 - > 3 files changed, 151 insertions(+), 163 deletions(-) > delete mode 100644 include/uapi/linux/iommu.h Reviewed-by: Jason Gunthorpe Jason