All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shukla, Manali" <mashukla@amd.com>
To: Sean Christopherson <seanjc@google.com>
Cc: pbonzini@redhat.com, kvm@vger.kernel.org
Subject: Re: [kvm-unit-tests PATCH v4 2/8] x86: nSVM: Move all nNPT test cases from svm_tests.c to a separate file.
Date: Mon, 20 Jun 2022 07:33:35 +0530	[thread overview]
Message-ID: <d9cac7fe-c38a-1470-2048-3319eb9d3470@amd.com> (raw)
In-Reply-To: <Yqpur6a7oYqUEfGd@google.com>



On 6/16/2022 5:13 AM, Sean Christopherson wrote:
> On Thu, Apr 28, 2022, Manali Shukla wrote:
>> nNPT test cases are moved to a separate file svm_npt.c
>> so that they can be run independently with PTE_USER_MASK disabled.
> 
> Nit, phrase changelogs as command.  Referring to the patch in the past tense is
> confusing because it's not always obvious if the author is referring to this
> patch or something else that happened from long ago.
> 
> And kind of a nit, but not really because I suggested this and still forgot why
> moving to a new file helps.  Moving to a new file isn't what's important, it's
> having a separate setup that we really care about.  So something like:
> 
>   Move the nNPT testcases to their own test and file, svm_npt.c, so that the
>   nNPT tests can run without the USER bit set in the host PTEs (in order to
>   toggle CR4.SMEP) without preventing other nSVM testacases from running code
>   in usersmode.
> 
>> Rest of the test cases can be run with PTE_USER_MASK enabled.
>>
>> No functional change intended.
> 
> Heh, this isn't technically true, as running the "svm" testcase will no do
> different things.

Hi Sean,

Thank you for the review comments.

I will work on comments.

Manali

  reply	other threads:[~2022-06-20  2:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28  7:08 [kvm-unit-tests PATCH v4 0/8] Move npt test cases and NPT code improvements Manali Shukla
2022-04-28  7:08 ` [kvm-unit-tests PATCH v4 1/8] x86: nSVM: Move common functionality of the main() to helper run_svm_tests Manali Shukla
2022-04-28  7:08 ` [kvm-unit-tests PATCH v4 2/8] x86: nSVM: Move all nNPT test cases from svm_tests.c to a separate file Manali Shukla
2022-06-15 23:43   ` Sean Christopherson
2022-06-20  2:03     ` Shukla, Manali [this message]
2022-04-28  7:08 ` [kvm-unit-tests PATCH v4 3/8] x86: nSVM: Allow nSVM tests run with PT_USER_MASK enabled Manali Shukla
2022-06-15 23:47   ` Sean Christopherson
2022-04-28  7:08 ` [kvm-unit-tests PATCH v4 4/8] x86: Improve set_mmu_range() to implement npt Manali Shukla
2022-06-15 23:58   ` Sean Christopherson
2022-06-16  0:04     ` Sean Christopherson
2022-06-22 15:32       ` Shukla, Manali
2022-06-24  0:46         ` Sean Christopherson
2022-04-28  7:08 ` [kvm-unit-tests PATCH v4 5/8] x86: nSVM: Build up the nested page table dynamically Manali Shukla
2022-06-16  0:06   ` Sean Christopherson
2022-04-28  7:08 ` [kvm-unit-tests PATCH v4 6/8] x86: nSVM: Correct indentation for svm.c Manali Shukla
2022-04-28  7:16 ` [kvm-unit-tests PATCH v4 7/8] x86: nSVM: Correct indentation for svm_tests.c part-1 Manali Shukla
2022-04-28  8:05 ` [kvm-unit-tests PATCH v4 8/8] x86: nSVM: Correct indentation for svm_tests.c part-2 Manali Shukla
2022-05-09  4:12 ` [kvm-unit-tests PATCH v4 0/8] Move npt test cases and NPT code improvements Shukla, Manali
2022-05-16  4:45   ` Shukla, Manali
2022-06-09  7:29     ` Shukla, Manali
2022-06-14  0:56       ` Sean Christopherson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d9cac7fe-c38a-1470-2048-3319eb9d3470@amd.com \
    --to=mashukla@amd.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seanjc@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.