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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D685C433FE for ; Thu, 21 Oct 2021 08:08:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 53E94610D0 for ; Thu, 21 Oct 2021 08:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231506AbhJUIK6 (ORCPT ); Thu, 21 Oct 2021 04:10:58 -0400 Received: from 8bytes.org ([81.169.241.247]:34326 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231464AbhJUIK4 (ORCPT ); Thu, 21 Oct 2021 04:10:56 -0400 Received: from cap.home.8bytes.org (p4ff2b5b0.dip0.t-ipconnect.de [79.242.181.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by theia.8bytes.org (Postfix) with ESMTPSA id E8E227F; Thu, 21 Oct 2021 10:08:36 +0200 (CEST) From: Joerg Roedel To: x86@kernel.org Cc: Joerg Roedel , Joerg Roedel , hpa@zytor.com, Andy Lutomirski , Dave Hansen , Peter Zijlstra , Jiri Slaby , Dan Williams , Tom Lendacky , Juergen Gross , Kees Cook , David Rientjes , Marc Orr , Cfir Cohen , Erdem Aktas , Masami Hiramatsu , Mike Stunes , Sean Christopherson , Martin Radev , Arvind Sankar , Xinyang Ge , linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: [PATCH 0/2] x86/sev: Two fixes for SEV-ES VC stack handling Date: Thu, 21 Oct 2021 10:08:31 +0200 Message-Id: <20211021080833.30875-1-joro@8bytes.org> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Joerg Roedel Hi, here are two fixes for recently discovered issues in the handling of VC handler stack. Please review. Thanks, Joerg Joerg Roedel (2): x86/sev: Fix stack type check in vc_switch_off_ist() x86/sev: Allow #VC exceptions on the VC2 stack arch/x86/kernel/sev.c | 21 +++++++++++++++++---- arch/x86/kernel/traps.c | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) base-commit: 519d81956ee277b4419c723adfb154603c2565ba -- 2.33.1