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 227FBC43334 for ; Tue, 19 Jul 2022 09:42:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 7F61F4C967; Tue, 19 Jul 2022 05:42:09 -0400 (EDT) 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 PHgfhQndaMXK; Tue, 19 Jul 2022 05:42:08 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 3131B4C874; Tue, 19 Jul 2022 05:42:08 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 61BAF4C872 for ; Tue, 19 Jul 2022 05:42:07 -0400 (EDT) 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 MepX-Qt+5l09 for ; Tue, 19 Jul 2022 05:42:06 -0400 (EDT) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 4836B4C83A for ; Tue, 19 Jul 2022 05:42:06 -0400 (EDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id E1670B817CA; Tue, 19 Jul 2022 09:42:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99AE0C341C6; Tue, 19 Jul 2022 09:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658223723; bh=jKIdQPkWEOh8e30IPJOeebwxTkhQSgMcelfIrS/y3wk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=enN/Xk2fojtRbFXricI7dmE0v2C9fOXihXJl28iJebjUG1wHBdnEHaLgKUzhFboOC wEVSRlxSt1e+bNRz+9ryCeV9TeDkxnQNqLJr5xRC1FJ4iH1YQX4q2l82ZVUB82Ekqn SlryS/GA5EO4ZZDWF2IBCV/IYPChHKkQs+nmBifkhQkFkqEmfDPWuAfKamKOQ5y3z5 oFIucmmamO29jV2rNEnP4prssUqLwrH7/DDjmmq7UUYorld6g+qe2wF3O/5uuPHwQo ktlVWxYLzKEt/+CbzubA1mhckt7rONymQaYOzgnZ+kxt+GUy+oYca/OMopx2UFVbnq 6RfMpQOLw76EA== 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.95) (envelope-from ) id 1oDjjs-008RPq-9f; Tue, 19 Jul 2022 10:42:00 +0100 Date: Tue, 19 Jul 2022 10:41:59 +0100 Message-ID: <87lespzbfc.wl-maz@kernel.org> From: Marc Zyngier To: Vincent Donnefort Subject: Re: [PATCH v2 12/24] KVM: arm64: Introduce shadow VM state at EL2 In-Reply-To: References: <20220630135747.26983-1-will@kernel.org> <20220630135747.26983-13-will@kernel.org> 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: vdonnefort@google.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, ardb@kernel.org, seanjc@google.com, alexandru.elisei@arm.com, luto@amacapital.net, catalin.marinas@arm.com, james.morse@arm.com, chao.p.peng@linux.intel.com, qperret@google.com, suzuki.poulose@arm.com, michael.roth@amd.com, mark.rutland@arm.com, tabba@google.com, oliver.upton@linux.dev, kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Cc: kernel-team@android.com, kvm@vger.kernel.org, Oliver Upton , Andy Lutomirski , linux-arm-kernel@lists.infradead.org, Michael Roth , Catalin Marinas , Chao Peng , Will Deacon , kvmarm@lists.cs.columbia.edu 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 Mon, 18 Jul 2022 19:40:05 +0100, Vincent Donnefort wrote: > > [...] > > In the end, we don't seem to use much from the struct kvm_cpu. Is it for > convinience that a smaller struct kvm_shadow_cpu hasn't been created, or we do > anticipate a later wider usage? The alternative would be to repaint the whole of the core KVM/arm64 code to be able to take the new structure in parallel with the standard one. There is very little to gain from such a move. 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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4EA3C43334 for ; Tue, 19 Jul 2022 09:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=feFMgZZZ3G7xzlqwAwk9BniU7fv49PtKxGWrLt+b/w0=; b=tqedWi5Ty5paHp In3I0gPkElK/nZe1vVmPtEfXRsigGb1Eha95CLD+XHCnjiySeRsUPNf4AAnRHu3qgd7blO1nXcfPA FJE37ixkIMvRi98XBhRY6Mu29+WVXzik1qSiq0If0n458uTesliOZjGn2W9Y9eyC9KnR7ldSKaLcx clQ9LZTpb+GladHC7BCP99TwMlMXe1YZTD9oUe4BKoOQA6UniiniCWSLYMxTcF18T+Mj3PBSN+Otw j+D6ncsW9sgHHDDOXUxiFVyQw3lmu+sagdtpM5RYAoneDfeaHduZH/PwB8KQFRTkKcx9Ae+Cq5kim bJziiuvrTvAOp6F4FGVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDjk1-007W6X-9P; Tue, 19 Jul 2022 09:42:09 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDjjy-007W1i-MR for linux-arm-kernel@lists.infradead.org; Tue, 19 Jul 2022 09:42:08 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id E1670B817CA; Tue, 19 Jul 2022 09:42:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99AE0C341C6; Tue, 19 Jul 2022 09:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658223723; bh=jKIdQPkWEOh8e30IPJOeebwxTkhQSgMcelfIrS/y3wk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=enN/Xk2fojtRbFXricI7dmE0v2C9fOXihXJl28iJebjUG1wHBdnEHaLgKUzhFboOC wEVSRlxSt1e+bNRz+9ryCeV9TeDkxnQNqLJr5xRC1FJ4iH1YQX4q2l82ZVUB82Ekqn SlryS/GA5EO4ZZDWF2IBCV/IYPChHKkQs+nmBifkhQkFkqEmfDPWuAfKamKOQ5y3z5 oFIucmmamO29jV2rNEnP4prssUqLwrH7/DDjmmq7UUYorld6g+qe2wF3O/5uuPHwQo ktlVWxYLzKEt/+CbzubA1mhckt7rONymQaYOzgnZ+kxt+GUy+oYca/OMopx2UFVbnq 6RfMpQOLw76EA== 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.95) (envelope-from ) id 1oDjjs-008RPq-9f; Tue, 19 Jul 2022 10:42:00 +0100 Date: Tue, 19 Jul 2022 10:41:59 +0100 Message-ID: <87lespzbfc.wl-maz@kernel.org> From: Marc Zyngier To: Vincent Donnefort Cc: Will Deacon , kvmarm@lists.cs.columbia.edu, Ard Biesheuvel , Sean Christopherson , Alexandru Elisei , Andy Lutomirski , Catalin Marinas , James Morse , Chao Peng , Quentin Perret , Suzuki K Poulose , Michael Roth , Mark Rutland , Fuad Tabba , Oliver Upton , kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 12/24] KVM: arm64: Introduce shadow VM state at EL2 In-Reply-To: References: <20220630135747.26983-1-will@kernel.org> <20220630135747.26983-13-will@kernel.org> 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: vdonnefort@google.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, ardb@kernel.org, seanjc@google.com, alexandru.elisei@arm.com, luto@amacapital.net, catalin.marinas@arm.com, james.morse@arm.com, chao.p.peng@linux.intel.com, qperret@google.com, suzuki.poulose@arm.com, michael.roth@amd.com, mark.rutland@arm.com, tabba@google.com, oliver.upton@linux.dev, kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220719_024206_904965_F36D598B X-CRM114-Status: GOOD ( 16.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 18 Jul 2022 19:40:05 +0100, Vincent Donnefort wrote: > > [...] > > In the end, we don't seem to use much from the struct kvm_cpu. Is it for > convinience that a smaller struct kvm_shadow_cpu hasn't been created, or we do > anticipate a later wider usage? The alternative would be to repaint the whole of the core KVM/arm64 code to be able to take the new structure in parallel with the standard one. There is very little to gain from such a move. M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B21ECC433EF for ; Tue, 19 Jul 2022 09:42:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234749AbiGSJmK (ORCPT ); Tue, 19 Jul 2022 05:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230274AbiGSJmJ (ORCPT ); Tue, 19 Jul 2022 05:42:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C696C2717B for ; Tue, 19 Jul 2022 02:42:04 -0700 (PDT) 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 5D03061879 for ; Tue, 19 Jul 2022 09:42:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99AE0C341C6; Tue, 19 Jul 2022 09:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658223723; bh=jKIdQPkWEOh8e30IPJOeebwxTkhQSgMcelfIrS/y3wk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=enN/Xk2fojtRbFXricI7dmE0v2C9fOXihXJl28iJebjUG1wHBdnEHaLgKUzhFboOC wEVSRlxSt1e+bNRz+9ryCeV9TeDkxnQNqLJr5xRC1FJ4iH1YQX4q2l82ZVUB82Ekqn SlryS/GA5EO4ZZDWF2IBCV/IYPChHKkQs+nmBifkhQkFkqEmfDPWuAfKamKOQ5y3z5 oFIucmmamO29jV2rNEnP4prssUqLwrH7/DDjmmq7UUYorld6g+qe2wF3O/5uuPHwQo ktlVWxYLzKEt/+CbzubA1mhckt7rONymQaYOzgnZ+kxt+GUy+oYca/OMopx2UFVbnq 6RfMpQOLw76EA== 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.95) (envelope-from ) id 1oDjjs-008RPq-9f; Tue, 19 Jul 2022 10:42:00 +0100 Date: Tue, 19 Jul 2022 10:41:59 +0100 Message-ID: <87lespzbfc.wl-maz@kernel.org> From: Marc Zyngier To: Vincent Donnefort Cc: Will Deacon , kvmarm@lists.cs.columbia.edu, Ard Biesheuvel , Sean Christopherson , Alexandru Elisei , Andy Lutomirski , Catalin Marinas , James Morse , Chao Peng , Quentin Perret , Suzuki K Poulose , Michael Roth , Mark Rutland , Fuad Tabba , Oliver Upton , kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 12/24] KVM: arm64: Introduce shadow VM state at EL2 In-Reply-To: References: <20220630135747.26983-1-will@kernel.org> <20220630135747.26983-13-will@kernel.org> 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") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: vdonnefort@google.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, ardb@kernel.org, seanjc@google.com, alexandru.elisei@arm.com, luto@amacapital.net, catalin.marinas@arm.com, james.morse@arm.com, chao.p.peng@linux.intel.com, qperret@google.com, suzuki.poulose@arm.com, michael.roth@amd.com, mark.rutland@arm.com, tabba@google.com, oliver.upton@linux.dev, kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, 18 Jul 2022 19:40:05 +0100, Vincent Donnefort wrote: > > [...] > > In the end, we don't seem to use much from the struct kvm_cpu. Is it for > convinience that a smaller struct kvm_shadow_cpu hasn't been created, or we do > anticipate a later wider usage? The alternative would be to repaint the whole of the core KVM/arm64 code to be able to take the new structure in parallel with the standard one. There is very little to gain from such a move. M. -- Without deviation from the norm, progress is not possible.