From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7797CC433F5 for ; Wed, 2 Mar 2022 14:21:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0981241016; Wed, 2 Mar 2022 09:21:28 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q+qi6eCQKLrK; Wed, 2 Mar 2022 09:21:27 -0500 (EST) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 03EC049EF3; Wed, 2 Mar 2022 09:21:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 5BC2449EF1 for ; Wed, 2 Mar 2022 09:21:25 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bwpEoCf-tdKD for ; Wed, 2 Mar 2022 09:21:24 -0500 (EST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 650F441016 for ; Wed, 2 Mar 2022 09:21:24 -0500 (EST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7735A612D2; Wed, 2 Mar 2022 14:21:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D647FC004E1; Wed, 2 Mar 2022 14:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646230882; bh=Oot/1zNXbh38JXU/rihu5nB7b7TSn+STGwGJk0EmWrw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=g+e0hfBq9iDqZt18VdKFaDZaDAkaMlYWd1zXEAKeuf0z5kUYLA2QHuQOn1q7Iwe5N QEQhiLiGnsSOVjy8QSTZF+2KrnuC2jj1MCsKOnXpm8oKd8d7dYgpwLBSb4eGme+xvw un7oUP7IQAPfQJQvx5rhos98E1WwxgZ5chW6PTZIdKb1DGCTAFUVfeYEicHiyEBfjt Dr85JZac/qyXeBHQzo60SRzpIl/AM7YIEfVLoA+ioISMgUNLGqamqgfHhSLenxMxlq hM7x/DG0+yZPZGh2vUHi/0BA5D1BwS1mNOUmmwHGcTbXnfEKDcNTrGn2YXKa/kzzie cGMmgfkhBZxQg== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nPPqy-00Bhfk-B5; Wed, 02 Mar 2022 14:21:20 +0000 Date: Wed, 02 Mar 2022 14:21:20 +0000 Message-ID: <874k4g3067.wl-maz@kernel.org> From: Marc Zyngier To: Sebastian Ene Subject: Re: [PATCH kvmtool v7 1/3] aarch64: Populate the vCPU struct before target->init() In-Reply-To: <20220302140734.1015958-2-sebastianene@google.com> References: <20220302140734.1015958-1-sebastianene@google.com> <20220302140734.1015958-2-sebastianene@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: sebastianene@google.com, kvm@vger.kernel.org, qperret@google.com, kvmarm@lists.cs.columbia.edu, will@kernel.org, julien.thierry.kdev@gmail.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Cc: will@kernel.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Wed, 02 Mar 2022 14:07:33 +0000, Sebastian Ene wrote: > > Move the vCPU structure initialisation before the target->init() call to > keep a reference to the kvm structure during init(). > This is required by the pvtime peripheral to reserve a memory region > while the vCPU is beeing initialised. > > Signed-off-by: Sebastian Ene Reviewed-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm