[PATCH v3] x86: SVM: Use the hardware provided GPA instead of page walk

From: Brijesh Singh
Date: Tue Nov 29 2016 - 13:01:49 EST


This patch series is taken from SEV RFC series [1]. These patches do not
depend on the SEV feature and can be reviewed and merged on their own.

- Use the hardware provided GPA instead of page walk

[1] http://marc.info/?l=linux-mm&m=147190814023863&w=2

---

Droping the following patches from series since they are already accepted

- Add support for additional SVM NFP error codes
- Add kvm_fast_pio_in support


Changes since v2:
- move String op identifier check into new emulator_is_string_op().
- move gpa_available check in emulator_read_write_onepage().

Changes since v1:
- remove redundant gpa_avail check

Tom Lendacky (1):
kvm: svm: Use the hardware provided GPA instead of page walk


arch/x86/include/asm/kvm_emulate.h | 1 +
arch/x86/include/asm/kvm_host.h | 3 ++
arch/x86/kvm/emulate.c | 8 +++++++
arch/x86/kvm/svm.c | 2 ++
arch/x86/kvm/x86.c | 44 ++++++++++++++++++++++++++++--------
5 files changed, 48 insertions(+), 10 deletions(-)

--

Brijesh Singh