Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1909678rwo; Thu, 3 Aug 2023 01:28:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlHgH15x5kuYy7xwFPWy+mt3k0vDnv9H73Wt2Wc+dxafP3POmO/4lgT4/NwANLxmHY+uNo5j X-Received: by 2002:a05:6358:998b:b0:134:e3e6:c0bd with SMTP id j11-20020a056358998b00b00134e3e6c0bdmr9459099rwb.32.1691051280346; Thu, 03 Aug 2023 01:28:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691051280; cv=pass; d=google.com; s=arc-20160816; b=qqwedzqD8rQwQClP06jI9Pf6bf+oyzYrgJzsL5mv4TzF16/hRr5sOm51JmRel8MUUK lfbGIy/WEN7ttJH4AjtbUZXPBK+CfTiAe/p8+2V9BRvPbez6L7yaJ6GLpQPD5Ez/d/nI 6DrbuPr58siiA+aDtnqA+Ob1Qcnbr6xtaaSNzflGN0HO/BU2bMAcodleZILzVM2zcP5C fB2KhHwXqKR0iP/2ytzNGb78KiNBTLJhJ+l4/zWDhKChkLslzgfqNzzOTpUbOzzusuiO gaKSAdsNoIVqvna9c38ScE5L//dcd0Ad3Z6ekkW4dQgtgEM7I9Ng1ZawZQVUNKtYeDOd HICw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mKZjrfVh5co5lerj4AzLabSHy6gR0Diex/5DewhwKRE=; fh=7VbWX9ml271g0zEbFQlLcMOW8H52gHN96JzKQbq7x4c=; b=iztWhU5Dn3YN6xWwnU/2lETvgMkHdH62BVhXGJH45/FZ/TwboxxBzAFzdoP086yaMH hGoM4h4+oLmykBbVEvRtKFoLxw4M3JwMi9wGnNBoN7hAUaUy1Q9COPLUKJy88USlaUwO 2ucY8ji3ocTC9FhVLl1V3mb2hPFyWXgmdo8T33QN4GV1D8sVvlg0hfPAWBfDKMpSh+dF 16O9+fWUqVOrTBEgtxfx3Wv+jqkBchX1I6wsOWd0tgmlQTbLNpnydxoy2lqO3nwK2cbr j6P9oOQsNWP1d7JZIKVjh5nZb4d47lqDgYpHMgXrFoWifVvsVblDkzBcbPT8LYexrhXR wVFg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vk4Ko77O; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020a6567da000000b0056003c53094si11953996pgs.433.2023.08.03.01.27.47; Thu, 03 Aug 2023 01:28:00 -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=@intel.com header.s=Intel header.b=Vk4Ko77O; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 S232519AbjHCID3 (ORCPT + 99 others); Thu, 3 Aug 2023 04:03:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232452AbjHCICh (ORCPT ); Thu, 3 Aug 2023 04:02:37 -0400 Received: from mgamail.intel.com (unknown [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2B784EC4; Thu, 3 Aug 2023 00:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691049267; x=1722585267; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=33UOkSMkM9BomQxxurJheon2QdPZ9/IK7zqKAbWbDF4=; b=Vk4Ko77OAgjNirKX+etXScrOxNkre+tI3797kSrUL+1GsrvYYDkYCSL+ FTxQh6dc4iE2ouZ//upLcHwOeGzxErEYnWP4ghZW/R4fay6Li3QxD4YrX +biocdWmZ+jmzbk4D5PCECm0p+wr/SQ6v+/rVeDb7+YtJIVWUVtsMqNd/ ft2a0gorfw7wMPIlzB5gqc+EGmWxzRyFBYKZoBgZJku+NhhRAx6ZTt6SO hjIwVgGQ0bcWvm04gVUlPRX0uc/qDV2YDB/rZ+ApcHLrIw8i22X6Ik6Tx gWM3dmXNL+CG/8eBTlHHU8VONV2rzMTDTgD5Iv+bA7kEWwJic5T9buQ6R A==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="367256916" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="367256916" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2023 00:54:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="843491920" X-IronPort-AV: E=Sophos;i="6.01,251,1684825200"; d="scan'208";a="843491920" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga002.fm.intel.com with ESMTP; 03 Aug 2023 00:53:56 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 3 Aug 2023 00:53:56 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Thu, 3 Aug 2023 00:53:56 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Thu, 3 Aug 2023 00:53:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IhtYSTU3Vf1I+c0s/BTFyT6r8ZJwroKa1JfxTfE02DerqhNduqU6WtOoJk9HesWfUZYM6UinkkiinyuDgxkJBW6YDnXULCPnvkKI7webLUyNm0VGkgyIewwlWU3KzB5tafidg9O2FX/RtrG6AVX3dNIXIwKVSBXHKIvCkfd+jyWJ1V+HhltmfyTIIkCxNkG9Gngi0uUs1lXc2cqx249qcd5olIkXetMXOxcW/Y33535kn5NafdTSdCAtlfQ8RUCfO1s1PLKdp8UEaZRv2oADbwxNCLse9oeEg7IyTexxQJrqY7NAKiRQksrv8PPOfAZmWLIon1PlJTcvpYxQpYCnDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mKZjrfVh5co5lerj4AzLabSHy6gR0Diex/5DewhwKRE=; b=Ltkm09UpzHNIBvHDjAEVfia48VnNA7bDcwDT9Ck9/A1gGRrUOUT2Hi0osLKTg3wugc1pD8+N2Fme5edpRSO+fEEnsO0QmJOx0aipaNfYA3Sgcw2mg7jh2o+/XVNE1PU3DecJ2Iebpdv37h/4xAg4kINwB/uniUDQJ/yjgJCJjd3w+0eCvw1ACQ7RoptHx8+zUwsqBiJaKjg4LxmlKb6loyQxI5ib5EA6c7x0mE7P+2rdNfHEx/qDfCJQaYwtguL2uENrStXRPmXO+KEer/uwmtBwCoaPhlRabBC3KZ1/jGVOc8Tk1YpcOz2wbYxMT8/2Kr5I/zToM3piex05z0ktDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BN9PR11MB5276.namprd11.prod.outlook.com (2603:10b6:408:135::18) by PH7PR11MB6881.namprd11.prod.outlook.com (2603:10b6:510:200::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 07:53:53 +0000 Received: from BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::dcf3:7bac:d274:7bed]) by BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::dcf3:7bac:d274:7bed%4]) with mapi id 15.20.6652.020; Thu, 3 Aug 2023 07:53:53 +0000 From: "Tian, Kevin" To: Lu Baolu , Joerg Roedel , "Will Deacon" , Robin Murphy , "Jason Gunthorpe" , Jean-Philippe Brucker , Nicolin Chen CC: "Liu, Yi L" , 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 Thread-Topic: [PATCH v2 01/12] iommu: Move iommu fault data to linux/iommu.h Thread-Index: AQHZwE5Q7SSqgtjPpE6tMKfSHqVBPa/YPliQ Date: Thu, 3 Aug 2023 07:53:53 +0000 Message-ID: References: <20230727054837.147050-1-baolu.lu@linux.intel.com> <20230727054837.147050-2-baolu.lu@linux.intel.com> In-Reply-To: <20230727054837.147050-2-baolu.lu@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5276:EE_|PH7PR11MB6881:EE_ x-ms-office365-filtering-correlation-id: c1d1dbec-227a-4993-76ce-08db93f6c837 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tobp3h8qZ7Nm2xnF5wbXMgmgBAhiZXXUIDHmlKCsbsWufZmfr06g0EboOk8LBpyJsvykcgWGdR557FH2fhdeKptq2MyKmLUXXUmI5L3vvtc8V74cFi9W8ikvoRrifnKHUw6YlCaLn9PqKnOfz6N6SY4jhUbga0gYTWfb6YZKxSkGynBYEow2oR1vz+7O8wYKyXhToRmy+KwFU44FspSgkTblV24w5SN8JQGx22YgKUPaaMX5//6SzHxtE8R6loEm/rpnOMr+9aNA2UORRWOlRsjHEahbme7UQ5XHuMMsdxT12KaqEKkF/8AQXjd0m5Z9vCjLKftVOLXNNYqhwzDE2O1sAGTwffenyGbY9geTzQmjP+jucIgrw6cT5+vf+ByUgkcBRhlKdk2gi07LOkH7nQq2PD49YosAIKSK/FXYUf8CGsqW5+QRbCVCenMsNtZoFHCgx9ApM6HEMUQG83TViuJVhiJETsbN4NSzL/fufexNSLts+A5ysZGqWKMzfKfHPYCaGtLpy4LdB/NX+QFWhhnO4tRp3GsMpJi2vOuUfdqVjatYvvgpHr5qAEs3W43YLPNy5gPE4nD4uwetoPDIEq48PuPRc2fCHA9iiQSBuLKQ/g+66ei65qN4o2Q8n9Q/ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5276.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(396003)(136003)(346002)(39860400002)(376002)(366004)(451199021)(38070700005)(86362001)(33656002)(54906003)(478600001)(110136005)(55016003)(38100700002)(82960400001)(122000001)(6506007)(186003)(26005)(83380400001)(8676002)(8936002)(41300700001)(52536014)(9686003)(71200400001)(7696005)(316002)(4744005)(66446008)(66476007)(66556008)(5660300002)(4326008)(7416002)(64756008)(66946007)(2906002)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0mGIw3YpStssedKd4xTHdLvg94YswqxByhdMcSP4dtxWeOoweXa0AxMfb0p2?= =?us-ascii?Q?Oyj+yqrRnChfyICB76oKBrUu7vrbs93gJSKCL+LVGsqq19i4xzsEaLcbPjgq?= =?us-ascii?Q?2NYU9nDI07roVNP0fpQJ/deeegimgR3saTaqD1d/yW634mM/hqEx7/5PqSv6?= =?us-ascii?Q?nFxe2vbbAMSefZbQpHAFU7ulAEUjwcr4wMK+zgvDpuEjVR6wgrSy7j1RsLJW?= =?us-ascii?Q?hL9tdygLPeVCmetF68eH8YduYJkpQmE2+umNKC3eoZvzMMz28td4I+2Xr5OS?= =?us-ascii?Q?PNaI85hYZ2M9r0dmQV59S04uMQELI7dfktVUOs2FJUgsoLvB/xRLgLSSFXWV?= =?us-ascii?Q?BqB5PwKivEgg3jIY0SwvI1qYRWGblHKYTrS5E/o9XJUG9iAqX1uWFRX10iIf?= =?us-ascii?Q?VXUMSLtUzJF6vvkpYr4wsIWXtYPzR1MJsXd92+JkACbC3ktllkmHo6sWozOP?= =?us-ascii?Q?KbM6gs3VJvMzDOBFKdvO/ySBwXpEo2t/83EiavrETb/1qhtlvn6nUVIvaOdI?= =?us-ascii?Q?1a6ht9pUt8IK2F0JOTyFzf1s3FvNoShBjOIzdOLQvbWQIfTLTR6ofSElFOtm?= =?us-ascii?Q?sQylWsN7U39+V/2Qf9Id6U/8fdK3urwAJWf+oMuQLwvjqOQUGSamtZMe6nrk?=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3uLwmZWgwck1zjyGvjq96vOkTHzWlJ0O?= =?us-ascii?Q?2aRYuFILIMIgipeelL3JH6t5rLuXWWHpBJnrWYge?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5276.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1d1dbec-227a-4993-76ce-08db93f6c837 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Aug 2023 07:53:53.2817 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AYYYTKRFjJdF1oba6Tw/sExVUVEgVwE8CJiKDhkqf7GSiG0kjkQkOIP7L7/fUHb1rTn03Tfk0U1DP3qkAk1PUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6881 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 > From: Lu Baolu > Sent: Thursday, July 27, 2023 1:48 PM >=20 > 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. >=20 > With this done, uapi/linux/iommu.h becomes empty and can be removed > from > the tree. >=20 > 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 >=20 put this behind patch2/3 then there are less lines to be moved.