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 5118CC433E0 for ; Mon, 3 Aug 2020 12:27:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 350722086A for ; Mon, 3 Aug 2020 12:27:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728541AbgHCM11 (ORCPT ); Mon, 3 Aug 2020 08:27:27 -0400 Received: from 8bytes.org ([81.169.241.247]:34650 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728530AbgHCM1Y (ORCPT ); Mon, 3 Aug 2020 08:27:24 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id E244D423; Mon, 3 Aug 2020 14:27:21 +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 v3 0/4] KVM: SVM: SEV-ES groundwork Date: Mon, 3 Aug 2020 14:27:04 +0200 Message-Id: <20200803122708.5942-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 is v3 of the groundwork patches for the upcoming SEV-ES support in the Linux kernel. They are part of both the client patch-set and 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 define the Guest Hypervisor Communication Block (GHCB) and accessor functions. 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 | 100 ++++++++++++++++++++++++++++++++++--- arch/x86/kvm/svm/nested.c | 47 +++++++++++------ arch/x86/kvm/svm/svm.c | 2 + 3 files changed, 128 insertions(+), 21 deletions(-) -- 2.17.1