Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp429939ybi; Wed, 19 Jun 2019 01:54:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8ZC+qwDcPUqV5ojvqkO41a/xGSqm5IKUYiNo0Bi+JOXCap/zivYGT7et8JDO+IdmEmGVt X-Received: by 2002:a17:902:54d:: with SMTP id 71mr6851481plf.140.1560934487903; Wed, 19 Jun 2019 01:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560934487; cv=none; d=google.com; s=arc-20160816; b=bKFWenTfFt/0UTG94FYl+8iA3GOD2FnPBENFreI/VoGoK2ZtHAZQ0r+PiVNFUCC07Y cbSE0wVE1Qlq+RtiGNRYFTFCCKafSiiGEZPQNZ0V7qxeV4Cf2R1fTtAjLBJs6DxpMARC 7YWJYlfdAPwTUuCTEVGkk3T3sftv+IKg5kDSelq1RoAmxljsaI6rpICt5z3vFG+SZAtD 5pmeM2L8XhKUSwEfDzTgeLJWvBEY8lzuTO3ndHUdRe+etNowei92+ewELHGL8QqBoTAh 602iZY70XboAq7w/EVvjNI9CahOQQUzK/hPaG+DaNTDAT6c2bGUCU0tgfv1qNqHC6pZ0 mPyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=L+/jVHorPMu8g5r1HTKioeOkuBqEMd5z6yRNkVQAxxY=; b=NKKNkgjZySnIDNjMaOD3Om12Xm0qFicBRn1XtuvERpJS9iuvMkdQ7Y0gVNHrALAFfO 3n+szvJBD3nf6imkMzbgWgoZ0JZm+jx09EIvdLGYh1VvmljQTtwTSn5HRLBaI0NKhWqV KYWYw+GovV3CCTovZrxZ/q2KDGapPZE2IAebh50XAWU4pqCunlaVwOC0bXlHL/Tm1sqM jfW/RuzT8mxAHmmjcCoRSADEQT+R07IDmPAajYgzwg33dMKv3PA49ayzg85p+l4YVoYM fG2VlaZ89o7evogWClQyzi0y9an3S4FFo7nCJSP+xcUWD+cmibVdvSCpA90R6vWN/Ds7 yHbg== ARC-Authentication-Results: i=1; mx.google.com; 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 x10si17264523pfj.93.2019.06.19.01.54.32; Wed, 19 Jun 2019 01:54:47 -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; 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 S1731218AbfFSIy2 (ORCPT + 99 others); Wed, 19 Jun 2019 04:54:28 -0400 Received: from foss.arm.com ([217.140.110.172]:56492 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730783AbfFSIy2 (ORCPT ); Wed, 19 Jun 2019 04:54:28 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8981ECFC; Wed, 19 Jun 2019 01:54:27 -0700 (PDT) Received: from [10.37.12.160] (unknown [10.37.12.160]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3A5CD3F246; Wed, 19 Jun 2019 01:54:22 -0700 (PDT) Subject: Re: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file To: Guo Ren Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, aou@eecs.berkeley.edu, gary@garyguo.net, Atish.Patra@wdc.com, hch@infradead.org, paul.walmsley@sifive.com, rppt@linux.ibm.com, linux-riscv@lists.infradead.org, Anup Patel , Palmer Dabbelt , suzuki.poulose@arm.com, Marc Zyngier , catalin.marinas@arm.com, julien.thierry@arm.com, will.deacon@arm.com, christoffer.dall@arm.com, james.morse@arm.com References: <20190321163623.20219-1-julien.grall@arm.com> <20190321163623.20219-12-julien.grall@arm.com> <0dfe120b-066a-2ac8-13bc-3f5a29e2caa3@arm.com> From: Julien Grall Message-ID: Date: Wed, 19 Jun 2019 09:54:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/19/19 9:07 AM, Guo Ren wrote: > Hi Julien, Hi, > > You forgot CCing C-SKY folks :P I wasn't aware you could be interested :). > > Move arm asid allocator code in a generic one is a agood idea, I've > made a patchset for C-SKY and test is on processing, See: > https://lore.kernel.org/linux-csky/1560930553-26502-1-git-send-email-guoren@kernel.org/ > > If you plan to seperate it into generic one, I could co-work with you. Was the ASID allocator work out of box on C-Sky? If so, I can easily move the code in a generic place (maybe lib/asid.c). Cheers, -- Julien Grall