[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210720043338.2123695-1-sathyanarayanan.kuppuswamy@linux.intel.com>
Date: Mon, 19 Jul 2021 21:33:34 -0700
From: Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...nel.org>
Cc: Peter H Anvin <hpa@...or.com>, Dave Hansen <dave.hansen@...el.com>,
Tony Luck <tony.luck@...el.com>,
Dan Williams <dan.j.williams@...el.com>,
Andi Kleen <ak@...ux.intel.com>,
Kirill Shutemov <kirill.shutemov@...ux.intel.com>,
Sean Christopherson <seanjc@...gle.com>,
Kuppuswamy Sathyanarayanan <knsathya@...nel.org>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/4] Add TDX Guest Support (Debug support)
Hi All,
Intel's Trust Domain Extensions (TDX) protect guest VMs from malicious
hosts and some physical attacks.
Following patches adds tracepoint support for TDX Guest TDCALL requests
and #VE exceptions. It also includes helper function to detect TD-DEBUG
mode which will be used by patches in other TDX series to add TD-DEBUG
mode specific features support.
This series is the continuation of the following TDX guest related patches.
[set 1] - https://lore.kernel.org/patchwork/project/lkml/list/?series=508773
[set 2] - https://lore.kernel.org/patchwork/project/lkml/list/?series=508792
[set 3] - https://lore.kernel.org/patchwork/project/lkml/list/?series=508794
[set 4] - https://lore.kernel.org/patchwork/project/lkml/list/?series=508795
Also please note that this series alone is not necessarily fully
functional. You need to apply all the above 4 patch series to get
a fully functional TDX guest.
Changes since v1:
* Rebased on top of v5.14-rc1.
Kuppuswamy Sathyanarayanan (3):
x86/tdx: Add TDCALL tracepoint
x86/tdx: Expose TDX Guest #VE count in /proc/interrupts
x86/tdx: Add tdg_debug_enabled() interface
Sean Christopherson (1):
x86/tdx: Add #VE tracepoint
arch/x86/include/asm/hardirq.h | 3 +
arch/x86/include/asm/tdx.h | 1 +
arch/x86/include/asm/trace/tdx.h | 150 +++++++++++++++++++++++++++++++
arch/x86/kernel/irq.c | 6 ++
arch/x86/kernel/tdx.c | 71 ++++++++++++---
arch/x86/kernel/traps.c | 2 +
6 files changed, 220 insertions(+), 13 deletions(-)
create mode 100644 arch/x86/include/asm/trace/tdx.h
--
2.25.1
Powered by blists - more mailing lists