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 8FE66C433E0 for ; Wed, 29 Jul 2020 13:23:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7AB432083E for ; Wed, 29 Jul 2020 13:23:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727109AbgG2NWt (ORCPT ); Wed, 29 Jul 2020 09:22:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727032AbgG2NWr (ORCPT ); Wed, 29 Jul 2020 09:22:47 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33655C061794; Wed, 29 Jul 2020 06:22:47 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 0062B3EC; Wed, 29 Jul 2020 15:22:44 +0200 (CEST) From: Joerg Roedel To: Paolo Bonzini Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] KVM: SVM: SEV-ES groundwork Date: Wed, 29 Jul 2020 15:22:30 +0200 Message-Id: <20200729132234.2346-1-joro@8bytes.org> X-Mailer: git-send-email 2.17.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Paolo, here are some 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. 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 | 118 ++++++++++++++++++++++++++++++++++--- arch/x86/kvm/svm/nested.c | 44 +++++++++----- arch/x86/kvm/svm/svm.c | 2 + 3 files changed, 143 insertions(+), 21 deletions(-) -- 2.17.1