mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3] x86: SVM: Use the hardware provided GPA instead of page walk
@ 2016-12-14 19:59 Brijesh Singh
  2016-12-14 19:59 ` [PATCH v3] kvm: svm: " Brijesh Singh
  0 siblings, 1 reply; 11+ messages in thread
From: Brijesh Singh @ 2016-12-14 19:59 UTC (permalink / raw)
  To: kvm
  Cc: thomas.lendacky, rkrcmar, joro, x86, linux-kernel, mingo, hpa,
	pbonzini, tglx, bp

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH v3] x86: SVM: Use the hardware provided GPA instead of page walk
@ 2016-11-29 18:01 Brijesh Singh
  2016-11-29 18:01 ` [PATCH v3] kvm: svm: " Brijesh Singh
  0 siblings, 1 reply; 11+ messages in thread
From: Brijesh Singh @ 2016-11-29 18:01 UTC (permalink / raw)
  To: kvm
  Cc: thomas.lendacky, rkrcmar, joro, x86, linux-kernel, mingo, hpa,
	pbonzini, tglx, bp

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-12-15 13:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-14 19:59 [PATCH v3] x86: SVM: Use the hardware provided GPA instead of page walk Brijesh Singh
2016-12-14 19:59 ` [PATCH v3] kvm: svm: " Brijesh Singh
2016-12-15 12:42   ` David Hildenbrand
2016-12-15 13:06     ` Paolo Bonzini
2016-12-15 13:09       ` David Hildenbrand
2016-12-15 13:31         ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2016-11-29 18:01 [PATCH v3] x86: SVM: " Brijesh Singh
2016-11-29 18:01 ` [PATCH v3] kvm: svm: " Brijesh Singh
2016-11-29 18:10   ` Paolo Bonzini
2016-11-29 18:20   ` Thomas Gleixner
2016-11-29 19:38     ` Brijesh Singh
2016-12-08 14:53       ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®