Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1612042 > unrolled thread

Re: [RFC PATCH v2 18/32] kvm: svm: Use the hardware provided GPA instead of page walk

Started byBorislav Petkov <bp@suse.de>
First post2017-03-29 17:20 +0200
Last post2017-03-29 17:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH v2 18/32] kvm: svm: Use the hardware provided GPA  instead of page walk Borislav Petkov <bp@suse.de> - 2017-03-29 17:20 +0200

#1612042 — Re: [RFC PATCH v2 18/32] kvm: svm: Use the hardware provided GPA instead of page walk

FromBorislav Petkov <bp@suse.de>
Date2017-03-29 17:20 +0200
SubjectRe: [RFC PATCH v2 18/32] kvm: svm: Use the hardware provided GPA instead of page walk
Message-ID<tqnyb-ea-37@gated-at.bofh.it>
On Thu, Mar 02, 2017 at 10:16:05AM -0500, Brijesh Singh wrote:
> From: Tom Lendacky <thomas.lendacky@amd.com>
> 
> When a guest causes a NPF which requires emulation, KVM sometimes walks
> the guest page tables to translate the GVA to a GPA. This is unnecessary
> most of the time on AMD hardware since the hardware provides the GPA in
> EXITINFO2.
> 
> The only exception cases involve string operations involving rep or
> operations that use two memory locations. With rep, the GPA will only be
> the value of the initial NPF and with dual memory locations we won't know
> which memory address was translated into EXITINFO2.
> 
> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
> Reviewed-by: Borislav Petkov <bp@suse.de>

I think I already asked you to remove Revewed-by tags when you have to
change an already reviewed patch in non-trivial manner. Why does this
one still have my Reviewed-by tag?

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web