Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1860848ybd; Thu, 27 Jun 2019 02:50:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNm3/UrjSVnWSuhJAeNnaQXfiTP56IeUn3ScrA6HIlPa/O7FJUBp5Tcyk9vxQwdwo8FJvA X-Received: by 2002:a17:902:788e:: with SMTP id q14mr3635357pll.234.1561629058923; Thu, 27 Jun 2019 02:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561629058; cv=none; d=google.com; s=arc-20160816; b=CUUUKYvxDnEsd2vMGq9eStIxcgitO1mHKwykjRS/HS/y9CAhDm8EbEAei/vSjTSDbe AdxJNwaCNnPMu5taNUq+uCvWb5bCddaq8ZydVI8rr4TfmvmXcHNouzJf4iFu2/BiezLW lKmo7mPsR/drbY31DsexBEQepSUjqAe9pkk2OLXiIfzjVa10LcxfrfLJLAmGu1/o2eca 17WLBXSkjO2kkERQzbFrq9J0ra5ezpkkmmFejY00hQaBVxWubf3hCu9oCCP3IM6r8J9n +Ok98NxaOm23eWtMZBtz1EM1CFIWoahFgIU7Yo+M10H70ZP5eqIPjoJkcMpLgY6GeuHc IBsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=8Xau6Txq9jQewfvZAJs10LxHpWFjBeu+ae//TvuxrF4=; b=go0JO1sh8QxdqkFVqjZiMl+jpfv8CHE37UMe5qjEYwsJQGipSOTz8BpL4O2rEyQ/Nk THqcpZDFl5xWuyNYZpVBOvnbXrVUwrl9Q3hP9B4V2QdoWOt/wCIvXv2CdiSsgr6n3QWb NoY83XTvAZm9JnDOzUBwK/kI+W68cuHhGhd4EJtCR2SKCag0+qE1YhS8Fn3PyQEjj8OM czDWOCMn7SR+JFlnRlupQS/xGYmm4vmeSrpOs6wWX+cjefY4Zb+6EF2bBD0NcBcTCixj rbN0Hn3PwGisJnEs4m5upbAdNCIZFPGytuI2xmj0WrhswNmKMok8CwCmTJDA+wb/YNn9 FLfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector1-fujitsu-onmicrosoft-com header.b=SXGozLCa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fr1si4684119pjb.57.2019.06.27.02.50.38; Thu, 27 Jun 2019 02:50:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector1-fujitsu-onmicrosoft-com header.b=SXGozLCa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726425AbfF0JuD (ORCPT + 99 others); Thu, 27 Jun 2019 05:50:03 -0400 Received: from esa20.fujitsucc.c3s2.iphmx.com ([216.71.158.65]:12314 "EHLO esa20.fujitsucc.c3s2.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbfF0JuD (ORCPT ); Thu, 27 Jun 2019 05:50:03 -0400 X-Greylist: delayed 428 seconds by postgrey-1.27 at vger.kernel.org; Thu, 27 Jun 2019 05:50:01 EDT X-IronPort-AV: E=McAfee;i="6000,8403,9300"; a="4700467" X-IronPort-AV: E=Sophos;i="5.63,423,1557154800"; d="scan'208";a="4700467" Received: from mail-os2jpn01lp2051.outbound.protection.outlook.com (HELO JPN01-OS2-obe.outbound.protection.outlook.com) ([104.47.92.51]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Jun 2019 18:41:46 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector1-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8Xau6Txq9jQewfvZAJs10LxHpWFjBeu+ae//TvuxrF4=; b=SXGozLCa+Le0qXnwncW6dt7JbMMFXRK1cQztjrhqpDDj86gVTqjrXrNcIVbyfzNHk2SpaHOLEisxOLy5F1cqwnL2OPv3LA/EYL+R/2URf+29ZyJqF80K59EW8EZQcQHsjRlb0S11UiGalPNGRXToP2EGymuUpS3RxwG+AUaDyCY= Received: from OSAPR01MB4993.jpnprd01.prod.outlook.com (20.179.178.151) by OSAPR01MB2179.jpnprd01.prod.outlook.com (52.134.234.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.17; Thu, 27 Jun 2019 09:41:43 +0000 Received: from OSAPR01MB4993.jpnprd01.prod.outlook.com ([fe80::59f0:837d:b06f:9dbd]) by OSAPR01MB4993.jpnprd01.prod.outlook.com ([fe80::59f0:837d:b06f:9dbd%5]) with mapi id 15.20.2008.017; Thu, 27 Jun 2019 09:41:43 +0000 From: "qi.fuli@fujitsu.com" To: Will Deacon , Guo Ren CC: Catalin Marinas , "julien.thierry@arm.com" , "aou@eecs.berkeley.edu" , "james.morse@arm.com" , "suzuki.poulose@arm.com" , Marc Zyngier , Anup Patel , Will Deacon , "linux-kernel@vger.kernel.org" , "rppt@linux.ibm.com" , "hch@infradead.org" , Atish Patra , Julien Grall , Palmer Dabbelt , "gary@garyguo.net" , "paul.walmsley@sifive.com" , "christoffer.dall@arm.com" , "linux-riscv@lists.infradead.org" , "kvmarm@lists.cs.columbia.edu" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file Thread-Topic: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file Thread-Index: AQHU4ARcPz9tm+J3xUqwKj8A/ooqYqaNvxWAgBVs3wCAAA0vgIAAMV6AgANNMoCAA0uhgIABKgAAgASsFgA= Date: Thu, 27 Jun 2019 09:41:42 +0000 Message-ID: References: <20190321163623.20219-1-julien.grall@arm.com> <20190321163623.20219-12-julien.grall@arm.com> <0dfe120b-066a-2ac8-13bc-3f5a29e2caa3@arm.com> <20190621141606.GF18954@arrakis.emea.arm.com> <20190624102209.ngwtosgr5fvp3ler@willie-the-truck> In-Reply-To: <20190624102209.ngwtosgr5fvp3ler@willie-the-truck> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=qi.fuli@fujitsu.com; x-originating-ip: [211.13.147.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e67b46a7-e10b-44ac-f919-08d6fae3a9b3 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:OSAPR01MB2179; x-ms-traffictypediagnostic: OSAPR01MB2179: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 008184426E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(136003)(39860400002)(396003)(189003)(199004)(31696002)(14444005)(256004)(6306002)(6512007)(53936002)(6436002)(6486002)(5660300002)(76116006)(73956011)(6246003)(66946007)(66476007)(66556008)(64756008)(66446008)(71200400001)(71190400001)(966005)(31686004)(316002)(229853002)(2906002)(54906003)(110136005)(14454004)(76176011)(7736002)(66066001)(99286004)(8936002)(6506007)(68736007)(85182001)(4326008)(25786009)(102836004)(26005)(476003)(53546011)(8676002)(186003)(7416002)(81166006)(81156014)(486006)(11346002)(478600001)(86362001)(6116002)(3846002)(446003)(305945005)(3714002)(777600001);DIR:OUT;SFP:1101;SCL:1;SRVR:OSAPR01MB2179;H:OSAPR01MB4993.jpnprd01.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: zVoC3YR9MYzDJEChb14qJgO2JqQHqjnYYNSCYmultvC+waI3cGko/WW5cp8QCdjSeFli69QotZRwIWaPfu/pearC6ydL1lMChYHEU6dP/QPEhN5aIFHuRYbhDnWXR4ADRNlGQB0bJOUrr1+Fl4MNWgUesp8q+1g+BqPtTQRHVKUez7AVeiunKkykAssuLFGA2mbOXBfgkvYMB/MofffS4x5yVDobN+xAYsO7rdomu/HU0tx/ABvq3WnubLzaphZikVxNy75WJaZyxwmgPrtnW1XJqp+IF+nuHWUBkCV1Gnd/ikma4/g2bxR6yiLE+UHcIdg8jXEXrlGm4h2amHtGmId89opcFbTluAGXMn4uziiXswsGahJCJ0Qorw+tgFfTM/K5E9oelMT/2nLyuJIhwzLw2NAOWzGN1Nxcv4cc1UM= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-Network-Message-Id: e67b46a7-e10b-44ac-f919-08d6fae3a9b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2019 09:41:43.0328 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qi.fuli@jp.fujitsu.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB2179 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kern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