Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp491987pxf; Thu, 11 Mar 2021 08:11:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjd0myeqn6QnIHp0FmeXM7WrB8tfq6jJGaaTwXYt14u5HLd56Z1dM6nwCU/1yPdxn5HL3J X-Received: by 2002:aa7:df14:: with SMTP id c20mr9271235edy.197.1615479065755; Thu, 11 Mar 2021 08:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615479065; cv=none; d=google.com; s=arc-20160816; b=KQoJO6rbkURP7/K+QF7AOX4QkVOM1QPQtrOIUryhqKE4T5XG0MqiGYh+QCTOyDR4hI 318uRBDDtTJ/U6ArMHx/7P6l/DMrM0gCx707z+aHCob24ZR7o7hSYWt5g+UEJugo65w+ AVlva7hjk5dyL2T6MSANqrrQY/dSrsJh3XGUAdSWFiBmCX4Js73EEQ2/qXyKCvPbuKnu 7P62EVxRpK2cNkefmHZsgBnffib85jIxHrPtNiyzFMFEQ8SOtj88gQV1Bci4NIDT7SIZ hd1TKYMTTQxPGGEwzlh8e5dCD4HXcU098jIDpXLSV3a9xYTvZhrsneYArOTJ40xaigF4 Fatg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=fBi0bx0ASFaziQeFwlFLIMbT3GzZdbNlU0fojd4SpT8=; b=GGl11tJGirDIgTmVsgUqGLPymnc/NHpIaUBHDGSDCD/PAeqDytal8qEm0dhY+XthKq CVOoypeiV4TIiNmAcat/qZCSuq6oGAREf7IWLG7HnSgpP2FX4cATbURzEkw0hMDqk6f5 M+Lrs+leSE9PEFbdVvTFZg0kv6aeYjkD3I6j3pHPzAB7Q79nKWbfgwIc/qnHM0dSnZcE itecrNGZ9rvp7J0B+3zn/aG38zMwUZr6KsEUOxCSx5bc1MzUvH+4RbUX0DosN4t4xffF wICfMiutLTbKYKT1p3gefycndi5MQmFwjgeCtiASQmhPNghv982g2g0alqqLOupu3QIb GAog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fwm0z8S4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v15si2279350edl.21.2021.03.11.08.10.43; Thu, 11 Mar 2021 08:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fwm0z8S4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234382AbhCKQJq (ORCPT + 99 others); Thu, 11 Mar 2021 11:09:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:49948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234176AbhCKQJ1 (ORCPT ); Thu, 11 Mar 2021 11:09:27 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5ADE964D5D; Thu, 11 Mar 2021 16:09:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615478966; bh=CMKCM7h0YQHLp6ZA1+GQSMClZW5GB0avjdcUEF2pvzs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fwm0z8S4cbkmBI9wGOic+8gXazddLFOq+1WS0pmt2WIgCo8ilgf2CYIvNtECwnV+Y XaYEthzmQGBxR89fkBTfPZzUWe/Rr7c18eePTkUBJiBMw1JJasc4DXIUSo2ALGxOFB zlNhoVrlBOs+l8JYlCyyP/4JfnKQRuFEeoLQIl7oyBVsgZ5nT0XDiRARuJPIp3wArB AesXYfsTIGOsKHVN4B7fIwl8+EBKKYvx5V94kYCyF/ZupTGHO167M0sXqq28Xh8q6f kWn+P9jA33sbDslbET4BuzIGsvfgVYLaTaIdV6cQTkeQ+3xJKSPcBgxTKW0zfvaIWM 1qXrNDcdpNpZA== Date: Thu, 11 Mar 2021 16:09:19 +0000 From: Will Deacon To: Quentin Perret Cc: catalin.marinas@arm.com, maz@kernel.org, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, android-kvm@google.com, linux-kernel@vger.kernel.org, kernel-team@android.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, tabba@google.com, mark.rutland@arm.com, dbrazdil@google.com, mate.toth-pal@arm.com, seanjc@google.com, robh+dt@kernel.org, ardb@kernel.org Subject: Re: [PATCH v4 06/34] KVM: arm64: Factor memory allocation out of pgtable.c Message-ID: <20210311160919.GA31206@willie-the-truck> References: <20210310175751.3320106-1-qperret@google.com> <20210310175751.3320106-7-qperret@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210310175751.3320106-7-qperret@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2021 at 05:57:23PM +0000, Quentin Perret wrote: > In preparation for enabling the creation of page-tables at EL2, factor > all memory allocation out of the page-table code, hence making it > re-usable with any compatible memory allocator. > > No functional changes intended. > > Signed-off-by: Quentin Perret > --- > arch/arm64/include/asm/kvm_pgtable.h | 41 +++++++++++- > arch/arm64/kvm/hyp/pgtable.c | 98 +++++++++++++++++----------- > arch/arm64/kvm/mmu.c | 66 ++++++++++++++++++- > 3 files changed, 163 insertions(+), 42 deletions(-) Thanks, looks good to me now: Acked-by: Will Deacon Will