Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp646346rdb; Fri, 26 Jan 2024 06:44:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiQrVheVMMLqnb8VwbORFnV1jwwQ9UCpo8wvBTwENLuRP8MLk8t32jQ6ay+4kfICz4I2jK X-Received: by 2002:a17:90a:6f61:b0:28e:1ede:4e32 with SMTP id d88-20020a17090a6f6100b0028e1ede4e32mr1053634pjk.78.1706280291261; Fri, 26 Jan 2024 06:44:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706280291; cv=pass; d=google.com; s=arc-20160816; b=Zi2rk1UF4ghWbKEb7iLbUE68WXxZBMfhBv5rOLEiPO8gvgIvIYBKQ9rt8x35k2ECIl GJDsFirhGYHqfK3MoW/i3SsaL4U7Lq9IJ+3EJbZP6QFbfgQ8PtYdCinjP2tFDu7CkF3M nuGGDUkVz8/WgSkjRS8Kmepa/LFn/WxqaFszC21NNnfeTXEig+Z8enzCuJhffY01Hh2y ppSIin5XRFHlFBN+dbvpE99y+XgCDURg0Qr42/EnzyNhudSkTaqcwYWNQeAQqwnByRqd n6pSIvV+8kvT4f7q0yi+5Bc8oi0lCFZoX2/mOu0i1A42wsumj7PBu/hFbBJNsu6wYgD3 H8Rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id :subject:cc:to:from:date:dkim-signature:dkim-filter; bh=G2PhmLGC98EiARj7Dtek1UJ7RlcAx2g1L2bzRMsqHgk=; fh=ybwDyJFvayFkBUa/PAZR9pZ5i5WX9JDsFJl5EAv6EvY=; b=NQkd34/RuFEv7aApfrwbJKHlCLGyZJEVpvTerFZqgSRwLsTaPHOPtMXb9TKktA/DOF nBII4NUOVA/57wYr5mbnkwpcugCKwSJbZneIQv4aoN3ZwGJJa3SAZaQrcjOaCwz/D5n7 lw5An5njeoATv3adAeTdoSqVUIzw5t7STPvLQCOdsKKWb90UB8yLM3FL/zdIpHV8DVcO yEs9ehXMqlB0pumf9PWgFEs602WeKYJzE8mqRS6P1Mf9LJmVvfFK322w2gTryZwXw6cr MFogAYbOjvRlggHthxGsWXujxvWuWvszPzVh7DJV5m9PsRtiBtKy2n21oNgfLTTZY/CV KMSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=uZHTa48E; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-40180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i8-20020a17090a718800b0028ced82a7dcsi3289873pjk.4.2024.01.26.06.44.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 06:44:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=uZHTa48E; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-40180-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 873ECB24999 for ; Fri, 26 Jan 2024 14:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3235C1D6AA; Fri, 26 Jan 2024 14:26:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="uZHTa48E" Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DFE41D535; Fri, 26 Jan 2024 14:26:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706279196; cv=none; b=sGcgI9fvPMXeeFAvec/nE60gNYmOFMY0MltgaoPZqtmTLms4WjIP/ThzGlOs7EVcsFuL1qjZ2dsZc9ALrmotennO6uU3PAdNNkJNDxpKyyQ+EX+OyWZXQ4sV01agZlFCoJUYuAZBqM70vAuAzAJzq0drVe5vMtkjLH0Cafs2s/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706279196; c=relaxed/simple; bh=G2PhmLGC98EiARj7Dtek1UJ7RlcAx2g1L2bzRMsqHgk=; h=Date:From:To:CC:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:References; b=Y02nzsH1nFY6dF7r7uTpPedU7pDI9rczmwLLiDDKkOV7bEbwjs2/rLTXh7AyiCRq1iz9GgU2GEsVhLLzvBuLedKu0aMHM3flX+vIIkUdfC/8ipL5dXPy/ecvTXO8rtZ9bEr0FX/taOFpjECZHHBO/MfqsUsOhm/F0sGpXR7+rmg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=uZHTa48E; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240126142632euoutp023ed9cc1e9f041986eb2f8019a0510b32~t6_K_JJLJ0059100591euoutp02j; Fri, 26 Jan 2024 14:26:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240126142632euoutp023ed9cc1e9f041986eb2f8019a0510b32~t6_K_JJLJ0059100591euoutp02j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1706279192; bh=G2PhmLGC98EiARj7Dtek1UJ7RlcAx2g1L2bzRMsqHgk=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=uZHTa48EQyVxbnhzXGg2se1NMizjrTELw0jspKXqNbkgG8sgYbOg40PqjU8DFXe3v cnJdZ4uRedf8LiAhzrWD4zJen6UZq2rZiWKjiLMnbu1Yr/2fxxlT5M63FrNoWHx78+ 9WEaTmJPr46Oye6Mg11tc8APXahQ0RNiDc9wR574= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240126142632eucas1p1e0e24ee5769474568123e0654afdafd3~t6_KxPAli0191701917eucas1p16; Fri, 26 Jan 2024 14:26:32 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id CF.CC.09814.811C3B56; Fri, 26 Jan 2024 14:26:32 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240126142632eucas1p2bb5ce29b7e1d3010cfbbbc5bfac87d5c~t6_KM54tE1797917979eucas1p2k; Fri, 26 Jan 2024 14:26:32 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240126142632eusmtrp197cdadfdd4dc1da64f6b5924aa4e8cee~t6_KMMYch0459904599eusmtrp1S; Fri, 26 Jan 2024 14:26:32 +0000 (GMT) X-AuditID: cbfec7f4-711ff70000002656-0c-65b3c1182350 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 83.0B.10702.711C3B56; Fri, 26 Jan 2024 14:26:32 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240126142631eusmtip23e649b5d8741ca8d101f43e689fd83d1~t6_J-p2Os2792127921eusmtip2l; Fri, 26 Jan 2024 14:26:31 +0000 (GMT) Received: from localhost (106.210.248.232) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 26 Jan 2024 14:26:30 +0000 Date: Fri, 26 Jan 2024 15:26:26 +0100 From: Joel Granados To: Baolu Lu CC: Joerg Roedel , Will Deacon , Robin Murphy , Jason Gunthorpe , Kevin Tian , Jean-Philippe Brucker , Nicolin Chen , Yi Liu , Jacob Pan , Longfang Liu , Yan Zhao , , , , Jason Gunthorpe Subject: Re: [PATCH v10 01/16] iommu: Move iommu fault data to linux/iommu.h Message-ID: <20240126142626.4apu4wxmc3ypqmhz@localhost> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="kepxqkqwvuznsvic" Content-Disposition: inline In-Reply-To: <95ff904c-4731-46e2-ad3b-313811a3c2f2@linux.intel.com> X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCJsWRmVeSWpSXmKPExsWy7djPc7oSBzenGvSfU7LYPHErm8WvLxYW Sw+uZ7FoWH2B1eLKvz2MFjNnnGC06Jy9gd1i6dut7BZzphZaXN41h81iU0Oyxd6nj9ksDn54 wmrRcsfU4u6Ve4wWc39eY3EQ8HhycB6Tx5p5axg9Wo68ZfVYvOclk8emVZ1sHneu7WHzmHcy 0OPF5pmMHr3N79g8Pm+S89j6+TZLAHcUl01Kak5mWWqRvl0CV8ajWawFK/krenZfYGtgnMrb xcjBISFgIvHqn00XIxeHkMAKRomD3x6xQjhfGCV6Js9jgnA+M0qsbPvM0sXICdbxfeocqMRy RokZR+6ywFX1PP4P1b+VUeLP7WdMIC0sAqoS588cBrPZBHQkzr+5wwxiiwioSzQ17mUDaWAW 6GWRaN78kBEkISzgI/Fu10pWEJtXwFxixfyVLBC2oMTJmU/AbGaBColpk9Ywg3zBLCAtsfwf B0iYU8BZYvLVTWwQpypLXJ/5ggnCrpU4teUW2NkSAv84JXqmfGKESLhITHjxkR3CFpZ4dXwL lC0jcXpyDwtEw2RGif3/PrBDOKsZJZY1foUaay3RcuUJVIejRNPHQ6yQcOWTuPFWEOJQPolJ 26YzQ4R5JTrahCCq1SRW33vDMoFReRaS12YheW0WwmsQYR2JBbs/sWEIa0ssW/iaGcK2lVi3 7j3LAkb2VYziqaXFuempxUZ5qeV6xYm5xaV56XrJ+bmbGIGJ9fS/4192MC5/9VHvECMTB+Mh RhWg5kcbVl9glGLJy89LVRLhNTHdmCrEm5JYWZValB9fVJqTWnyIUZqDRUmcVzV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hbnpucW G+kVJ+YWl+al6yXn525iBKaXbcd+btnBuPLVR71DjEwcjIcYVYA6H21YfYFRiiUvPy9VSYTX xHRjqhBvSmJlVWpRfnxRaU5q8SFGU2AwTmSWEk3OBya+vJJ4QzMDU0MTM0sDU0szYyVxXs+C jkQhgfTEktTs1NSC1CKYPiYOTqkGJiWxLXOaCiwel96fuPFYaYF/o+Uulrg1cYJKHG4rRB93 vprGy2dQfubzeUXfufxRL0OE43Wv62TWKEz/tzVPqKPKiGnm2y33pmYu7RVJib/Gv/m43aO9 V6YcTtM/JBr1dvnOI8Fy5sv5ii0XxAe8+tUh9UMslM2s5z77c/Yn5gpMhkbZdrPP8/ZqrPv+ V+rw/u2sxxuVPT/1JLIfDf2384e7z6c1thYTa98nW19gXjSL+63mEmN25438aw2MPi04tWSF +NyQr14Gqvunvg746/nz2VFpK60bR7V1Juev5zBsP5Gdx32seoEng4LelNwNK37+fx3AonNE 2PZifQBXiqVSnstH29SdYScmf6lhVWIpzkg01GIuKk4EAC0w9IjEAwAA X-CMS-MailID: 20240126142632eucas1p2bb5ce29b7e1d3010cfbbbc5bfac87d5c X-Msg-Generator: CA X-RootMTR: 20240125091737eucas1p2091d853e27e669b3b12cea8ee3bbe34e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240125091737eucas1p2091d853e27e669b3b12cea8ee3bbe34e References: <20240122054308.23901-1-baolu.lu@linux.intel.com> <20240122054308.23901-2-baolu.lu@linux.intel.com> <20240125091734.chekvxgof2d5zpcg@localhost> <95ff904c-4731-46e2-ad3b-313811a3c2f2@linux.intel.com> --kepxqkqwvuznsvic Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 25, 2024 at 07:21:53PM +0800, Baolu Lu wrote: > On 2024/1/25 17:17, Joel Granados wrote: > > On Mon, Jan 22, 2024 at 01:42:53PM +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 fr= om > >> the tree. > > The reason for removing this [1] is that it is only being used by > > internal code in the kernel. What happens with usespace code that have > > used these definitions? Should we deprecate instead of just removing? >=20 > The interfaces to deliver I/O page faults to user space have never been > implemented in the Linux kernel before. Therefore, from a uAPI point of > view, this definition is actually dead code. thx for the explanation. I was thinking it was something like that. Just wanted to make sure. Best --=20 Joel Granados --kepxqkqwvuznsvic Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEErkcJVyXmMSXOyyeQupfNUreWQU8FAmWzwRIACgkQupfNUreW QU8AIAv/U/z6MVZy+cyG1NCYzxkxy8xooBuWMOZCurDu0a7SdV6un/4KU9r5sFyb mdt3SKwOc86g9Zn0ZAGpxaXxAjCKCq67OqSp3sz3MPUeADEPGDYd0ousIF+W/ABq R/NB6SF5ZGLad7tYNcbZPLtugUAz7piU75kPYY68L0/Oj4HkZ/oiXdeFYPJA4O1N hm4Pv/4X73kq/EpWGcWGxDg7RVffwFFnaep5OFgB/39zNyZjfvT7VMMuacGAeZ0p kCeqjKu+TsyKl+qaQJBv3oLvtSuFw6fqkPEASxRYX6Of+YI+Bx6Tqnkw/alpaWyA tWR1U8pgunDIflngqdQN65gBhWSIJNRc4qHQP+fpG62Z2AxtzgZIJ3UMxsshA8F3 JOgewm/BMVQZBOGA5RwdidhHsgNlzDy/YkSP7e02U7dHmrwxAeb5am3QuBmxLkLQ vgVM+k36EJGQmApfroICCsThRVsAkaeWWXUMimY11M71P0GzGiKs2ytL4t+rrWrR mEQ5YGOe =1qb4 -----END PGP SIGNATURE----- --kepxqkqwvuznsvic--