Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp337232iog; Thu, 30 Jun 2022 01:38:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uDGfuUq9aXjRbszR2NHzv4BSa3LdXgt+4a3+CT/Qm7ajsCn5CWJvMefketcxe0Y4uohKfq X-Received: by 2002:aa7:cb01:0:b0:437:8a8a:dbb3 with SMTP id s1-20020aa7cb01000000b004378a8adbb3mr9729486edt.74.1656578284398; Thu, 30 Jun 2022 01:38:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656578284; cv=pass; d=google.com; s=arc-20160816; b=WMWrGwakpgPworbnF2Ufi3gCepznB8zxyRv46s6Mpa6y+lq92GrRCX785KirvKFMIv gtV5ZVxaSy5ghxj60A/JPlffwzlB2K+DD/ANNLQKU50jRrSdWpzMqQtQY/nnARE15PE6 crVvG+yz6QSB3s1aJv2LtbeQH49k2z+8E4QQv3O/RKikpw64PEhnLdkl45FCfJ+D2e0E 6qX69qavrs2em9yMOy7Wq/vXczbtyGYIAILMhkLQazJkdfqvslc89xGi1H7/g2dN7B1H +OjhJNUd1ejfFf34Zf38bYhxlAfOWEN9pw370bFvl9jJE7O24RP6aNWl92oatUvy0IUW j0bQ== 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=tf5FJYcVhSZ64Hgi69WtbXmPLNX2PQlr/xut/J8NP0c=; b=uFo8Ln046v4Mw8OjbPhVxiDmCxlIp3gGynIbo2faTScEpInhiJ0TkmHyTTT/xwTS13 yE6qtgWc40+eUcNtWprkObsPCw4XZLV9aJyNM8vaAjYVsSMK0ycxqAEa3bRqDN+t5fzS 2mWWcT0pm0hQjiRrfqHQg58xm9flVJCsrs2PDN+vxJIVYjK6z4ae544uh7QkDsIll6Nw R51/0iroiJ2xvhz3HnZDmP4+IuIT+FrhhRtQQ+EhMWrxkncRySl6UgQOZRuMXEf4l8ZX KSnO75WMO+42lZ9X/HP5C39MNAkfpt5WTlIn8KCHZEd4miNU65tNrlUVZrbUDvvysB1N C2vw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=VcS8GwAX; 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 r20-20020a05640251d400b004357bd3964csi26035111edd.236.2022.06.30.01.37.39; Thu, 30 Jun 2022 01:38:04 -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=VcS8GwAX; 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 S233541AbiF3I37 (ORCPT + 99 others); Thu, 30 Jun 2022 04:29:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233715AbiF3I35 (ORCPT ); Thu, 30 Jun 2022 04:29:57 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39812B85E for ; Thu, 30 Jun 2022 01:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656577796; x=1688113796; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=tf5FJYcVhSZ64Hgi69WtbXmPLNX2PQlr/xut/J8NP0c=; b=VcS8GwAXcp3gEAQZg0a8/O+AzcXykrJ7eKEt49WQ5jOxcudXzMc9vWxt GWv8OZ1ZfMeDgCKASv6+daVWCo9JLx7j2DHkoBZTjbLeWZleF6wBRvY8p 34mMFx3qKKYiHSDjU8rCWUAvOW1fbQAoXQZKcjJv4HpG6iUt92e570WS4 TPSnZOeAXsg2JRG1osaLMICgAxLLfqfVHBmhkM1wDewpInnVVofOEQ+wB LGlbXtDHVJiL5QJ6HMUio9dhwf6XRVwvJyNrOcvI4zaM93BI7e3tF6DZb 7747P1umLHsOl1QBE/DTrhS4h/ZXLLgmwvVAFong95jmI6qW0pR1duAjt A==; X-IronPort-AV: E=McAfee;i="6400,9594,10393"; a="283019793" X-IronPort-AV: E=Sophos;i="5.92,233,1650956400"; d="scan'208";a="283019793" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2022 01:29:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,233,1650956400"; d="scan'208";a="565768372" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga006.jf.intel.com with ESMTP; 30 Jun 2022 01:29:53 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) 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.2308.27; Thu, 30 Jun 2022 01:29:53 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 30 Jun 2022 01:29:53 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 30 Jun 2022 01:29:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HZ/WxUSGAVy7Jy4pPwV0AWgkMaRpz0m+ZKvvGG8AdWiFkOLZ/i3vuudfOMdfpRbyasAe8U+FyRLJxZQVEfniOYckMoXCKulgjdP62u5Zf6LUQb4i9WeuWBDA+xObl30Fqxkm+e0cWHcSqOGiU3Rmh0l39q+/vWsBdGcxgcBuYEFCS/r3dc830XwXAk9mvV/8lceX2docV4AGBmGCR8lJcDVDRxxGwfXoytKN/U1nLbW1iypE1O7uETBXMhp+sA6UQc13T4lPsvAn+MoN9T458jUMrA/ooW6UHQn55xEFimHfipiSpMCfyTLAb0q+r9n3iv/pi5SbPRsg2unbgMsrIQ== 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=tf5FJYcVhSZ64Hgi69WtbXmPLNX2PQlr/xut/J8NP0c=; b=io7CekFRMpkBRLEAFrCHPx9qYGk56OvTjk3INeYo5jx07RAZkxsVhYhDXGyAXbrx2WH4myMgphFrb/2vMV5HrmwemqIBaaIxIzvRCJMNMqb+Wkrjmt5wBVwsg72N3ws8Swy+rmhSGQcfB72UuM4xTuha7YWXHPNhJtS1o0Vf0xCRiDb84KeO85Vqyy2o4UEEEXuC8rNL9Q/R7W8/j4SoEXJqEt60Ks/GJK+UTqO4LY99GGMFGbDCnLEp60TgVtews9DNtWncPY72N+azeptZBcndhYoRc6i7uw+PuDLn/2pJikaV4uOzVPI4cN8+vetlNqFGwuA745xuOs/RZbE6qQ== 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 BYAPR11MB3413.namprd11.prod.outlook.com (2603:10b6:a03:8c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.16; Thu, 30 Jun 2022 08:29:45 +0000 Received: from BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::8435:5a99:1e28:b38c]) by BN9PR11MB5276.namprd11.prod.outlook.com ([fe80::8435:5a99:1e28:b38c%2]) with mapi id 15.20.5373.025; Thu, 30 Jun 2022 08:29:45 +0000 From: "Tian, Kevin" To: Lu Baolu , Joerg Roedel , Steve Wahl CC: David Woodhouse , Jerry Snitselaar , Mike Travis , Dimitri Sivanich , "Anderson, Russ" , "iommu@lists.linux.dev" , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v1 5/6] iommu/vt-d: Remove global g_iommus array Thread-Topic: [PATCH v1 5/6] iommu/vt-d: Remove global g_iommus array Thread-Index: AQHYiJMLbEan5IpEykiriMcRyEQqKK1npdxQ Date: Thu, 30 Jun 2022 08:29:45 +0000 Message-ID: References: <20220625125204.2199437-1-baolu.lu@linux.intel.com> <20220625125204.2199437-6-baolu.lu@linux.intel.com> In-Reply-To: <20220625125204.2199437-6-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-office365-filtering-correlation-id: 8dc68036-32e6-4c75-52f3-08da5a72b03c x-ms-traffictypediagnostic: BYAPR11MB3413:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3AdGy2/9U+g+7yBaXNE16WTjNAazM9Zgc3uF9BoTdNGVOBA6nEcf8AomqEnAvefQx88kdFkh7kLRPwW0kcr1F/NHLW8mlNvOaiMDTbYS2dHnHZuRXGWHJBUZqx1Yvd/PPrzVfNTTPf4fiErowdnLW141V0wme9gm+WuL4VYnu8x4Q3lTGf/QVCvqinuajtvl/WQHFy40m6W3DB3B7L7PlwYtFHjzYIJKg8dAAPOz0fx4/AOfLZ0BKZGvtbTBQjV9uMgLG//XJ143cIcA793JxgwHbw6NrN5hMlFkzRUN8xWzu8Hmw6bW7SfbwwPovsTd3QgB1ppw3F3UcHlldkpbi9qoj6IcSRgGaHRHg7rr6PRHv7ZE5c2GIuqZ3peM3wQvV3dsVhyHKESAZu6Nt4Sgxn1ri/X+IkS43BnIfOSw/jhNsrQjXFzZxtl/+cKvoqCV98DJRzwDm6xdaxd2czoXMSAoyZruJeacGSyfn7Fut0xWr/t6/iSaix9AXl+0soA/ZjBQ2My5X/gjV9F4+4hhsOcGGiGX22ImO73WdZPJR2cd/tDVAeyVWwL8Oo0HuqUxbH1LhB+wZlLzxzskKyti6LToFCJf9ZpAiykzra2P8RkEW2QocISFIqWRkgYHcIkglyiXlj/yvxErKKIuB/vXQWGTOmMFGpOZS4baGmomT/lZj6HGc9KRv5NEMRnUqAwV0gTaw2CBAWZRLHsVXygfyjlmUVwwB9BFyF2usyqDOKVCsFuA0BQFZCRtxTgcicNwvimxfOtI2GBZSUD7F9tRzOC7/QnYNEt9g9pdOzqENc2gjopQ3EOuHuofNX/L86hd 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:(13230016)(39860400002)(346002)(376002)(396003)(136003)(366004)(7696005)(33656002)(7416002)(2906002)(5660300002)(55016003)(52536014)(54906003)(38070700005)(186003)(64756008)(122000001)(66446008)(8676002)(66946007)(8936002)(26005)(66476007)(38100700002)(9686003)(76116006)(41300700001)(316002)(6506007)(86362001)(110136005)(71200400001)(558084003)(4326008)(82960400001)(66556008)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JYtY8CK3aXiI5WD5NRTKMdBLyCOatDj5JZDStkxLU3U78jPki1WkeYkoB3SE?= =?us-ascii?Q?Ju9UJS2quJmCc51ng+UBJsUd1JfQMQWhbNhXf2V1TufTCP0sx1q9+kqM3Whv?= =?us-ascii?Q?AHUFFY+yzPZNW+fq3uAC2Vsb0/6KT5yrMaItVk9kgRhSLkx3PaVTLQMioiyM?= =?us-ascii?Q?cpE3dgIfykEBVJG7K0qVig25JAQbJWeIHHiL/vggw+lPADMxpeEhyvycjPCm?= =?us-ascii?Q?qLcjyoCSisX+u0ldrC9UC6uEYstyVpS+3pqtV4GD7qrmvAbN/KQyExkOwCMQ?= =?us-ascii?Q?ZhRbVj1OHI4QuUEVyP3EC/9WZIl/C+2XEw2geFSOuF8J/FWp0vTHqYW8a4IN?= =?us-ascii?Q?KZOgcFnTkzoDYHtbjOI/eyO0dukQM8A0WcHNB/CejPvzCfC53ShohMDEM39r?= =?us-ascii?Q?I+cQ++0Dsl07vPqm3IA+r847QjJwQWlF1CffECE1GrQ+xGf29N7IbOB3c34j?= =?us-ascii?Q?K4i6tY8fUreBSo54NBhzlr2lLLUej6P9SihCXToOkuOJSwVaBKNIZKmQ/Oiq?= =?us-ascii?Q?BM2nwEJoxuBPH1ooMFzOEq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D?= =?us-ascii?Q?6pxSm1OsF1Mu4aeA3/uKbzA2H5JVb24ngpksKqQ+3wEgzQixCWpCM3VeWo++?= =?us-ascii?Q?8fFXCnoahdVHf7p3mLL11LjTqQDvWPkISOfWYxH4T5il+bou3U0Azmd95hPE?= =?us-ascii?Q?P2IdEVB2vBS7pZuYFgoWi0D92Wc59Q6XXzE7Zwcf?= 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: 8dc68036-32e6-4c75-52f3-08da5a72b03c X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2022 08:29:45.5549 (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: Nkut1nlBQhSMOon/SkZ8bm4QwLLxsGlkqkndjzqFpdZDrdVNlubBl221IETs8II2DGdTiwY/skFEiX5qaDl0rw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3413 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: Saturday, June 25, 2022 8:52 PM >=20 > The g_iommus is not used anywhere. Remove it to avoid dead code. >=20 > Signed-off-by: Lu Baolu Reviewed-by: Kevin Tian