[RFC v2-fix-v2 0/2] x86/tdx: Handle in-kernel MMIO

From: Kuppuswamy Sathyanarayanan
Date: Wed Jun 02 2021 - 15:42:49 EST


This patchset addresses the review comments in the patch titled
"x86/tdx: Handle in-kernel MMIO". Since it requires
patch split, sending these together.

Changes since RFC v2-fix:
* Introduced "x86/sev-es: Abstract out MMIO instruction
decoding" patch for sharing common code between TDX
and SEV.
* Modified TDX MMIO code to utilize common shared functions.
* Modified commit log to reflect latest changes and to
address review comments.

Changes since RFC v2:
* Fixed commit log as per Dave's review.

Kirill A. Shutemov (2):
x86/sev-es: Abstract out MMIO instruction decoding
x86/tdx: Handle in-kernel MMIO

arch/x86/include/asm/insn-eval.h | 13 +++
arch/x86/kernel/sev.c | 171 ++++++++-----------------------
arch/x86/kernel/tdx.c | 108 +++++++++++++++++++
arch/x86/lib/insn-eval.c | 102 ++++++++++++++++++
4 files changed, 263 insertions(+), 131 deletions(-)

--
2.25.1