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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86D6CC433DF for ; Thu, 30 Jul 2020 15:43:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70A162082E for ; Thu, 30 Jul 2020 15:43:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729799AbgG3Pnq (ORCPT ); Thu, 30 Jul 2020 11:43:46 -0400 Received: from 8bytes.org ([81.169.241.247]:34072 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgG3Pnq (ORCPT ); Thu, 30 Jul 2020 11:43:46 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 7771697F; Thu, 30 Jul 2020 17:43:44 +0200 (CEST) From: Joerg Roedel To: Paolo Bonzini Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Tom Lendacky , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] KVM: SVM: SEV-ES groundwork Date: Thu, 30 Jul 2020 17:43:36 +0200 Message-Id: <20200730154340.14021-1-joro@8bytes.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paolo, here is v2 of the groundwork patches for the upcoming SEV-ES support in the Linux kernel. They are part of both the client patch-set and of the KVM hypervisor patches (under development). Patch 1 necesary to fix a compile warning about a stack-frame getting too large. The other 3 patches are currently posted as part of the SEV-ES client patch-set. This version addresses the review comments from Sean. It would be great if you could consider them for v5.9, so that the client and the hypervisor patch-sets can be developed more independently of each other. Please let me know what you think. Regards, Joerg Borislav Petkov (1): KVM: SVM: Use __packed shorthand Joerg Roedel (2): KVM: SVM: nested: Don't allocate VMCB structures on stack KVM: SVM: Add GHCB Accessor functions Tom Lendacky (1): KVM: SVM: Add GHCB definitions arch/x86/include/asm/svm.h | 103 ++++++++++++++++++++++++++++++++++--- arch/x86/kvm/svm/nested.c | 47 ++++++++++++----- arch/x86/kvm/svm/svm.c | 2 + 3 files changed, 131 insertions(+), 21 deletions(-) -- 2.17.1