[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <148174555164.13485.11526818510637119259.stgit@brijesh-build-machine>
Date: Wed, 14 Dec 2016 14:59:11 -0500
From: Brijesh Singh <brijesh.singh@....com>
To: <kvm@...r.kernel.org>
CC: <thomas.lendacky@....com>, <rkrcmar@...hat.com>, <joro@...tes.org>,
<x86@...nel.org>, <linux-kernel@...r.kernel.org>,
<mingo@...hat.com>, <hpa@...or.com>, <pbonzini@...hat.com>,
<tglx@...utronix.de>, <bp@...e.de>
Subject: [PATCH v3] x86: SVM: Use the hardware provided GPA instead of page
walk
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:
- add TwoMemOps flag to detect a opcode with two memory operand.
- remove emulator_is_string_op() and add emulator_can_use_gpa().
emulator_can_use_gpa() returns true if its safe to use HW provided GPA.
Changes since v1:
- move String op identifier check into new emulator_is_string_op().
- move gpa_available check in emulator_read_write_onepage().
- 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 | 20 +++++++++++++---
arch/x86/kvm/svm.c | 2 ++
arch/x86/kvm/x86.c | 45 ++++++++++++++++++++++++++++--------
5 files changed, 57 insertions(+), 14 deletions(-)
--
Brijesh Singh
Powered by blists - more mailing lists