[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221201021948.9259-1-aik@amd.com>
Date: Thu, 1 Dec 2022 13:19:45 +1100
From: Alexey Kardashevskiy <aik@....com>
To: Alexey Kardashevskiy <aik@....com>
CC: <kvm@...r.kernel.org>, <x86@...nel.org>,
<linux-kernel@...r.kernel.org>,
Venu Busireddy <venu.busireddy@...cle.com>,
Tony Luck <tony.luck@...el.com>,
Tom Lendacky <thomas.lendacky@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Sean Christopherson <seanjc@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Michael Sterritt <sterritt@...gle.com>,
Michael Roth <michael.roth@....com>,
Mario Limonciello <mario.limonciello@....com>,
Ingo Molnar <mingo@...hat.com>,
Heiko Carstens <hca@...ux.ibm.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Dave Hansen" <dave.hansen@...ux.intel.com>,
Borislav Petkov <bp@...en8.de>,
"Andrew Cooper" <andrew.cooper3@...rix.com>,
"Jason A. Donenfeld" <Jason@...c4.com>,
"H. Peter Anvin" <hpa@...or.com>
Subject: [PATCH kernel 0/3] KVM: SEV: Enable AMD SEV-ES DebugSwap
This is to use another AMD SEV-ES hardware assisted register swap,
more detail in 2/3. The patches are fairly independend but required in
this order.
This is based on sha1 ef4d3ea40565 and requires something like this:
https://lkml.org/lkml/2022/11/29/1229
This patchset is pushed out at
https://github.com/aik/linux/commits/debugswap
Please comment. Thanks.
Alexey Kardashevskiy (3):
x86/amd/dr_addr_mask: Cache values in percpu variables
KVM: SEV: Enable DebugSwap
x86/sev: Do not handle #VC for DR7 read/write
arch/x86/include/asm/debugreg.h | 1 +
arch/x86/include/asm/svm.h | 1 +
arch/x86/kvm/svm/svm.h | 18 ++++++++---
arch/x86/kernel/cpu/amd.c | 32 ++++++++++++++++++++
arch/x86/kernel/sev.c | 6 ++++
arch/x86/kvm/svm/sev.c | 22 +++++++++++++-
arch/x86/kvm/svm/svm.c | 6 ++--
7 files changed, 78 insertions(+), 8 deletions(-)
--
2.38.1
Powered by blists - more mailing lists