All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Yosry Ahmed <yosry@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Jim Mattson <jmattson@google.com>,
	kvm@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] KVM: selftests: Add a test for gPAT handling in L2
Date: Thu, 28 May 2026 10:58:56 -0700	[thread overview]
Message-ID: <ahiCYBf_WQ5IzX1n@google.com> (raw)
In-Reply-To: <CAO9r8zM5YDdGY0nJ6E_0OFtiTosPG7owhSEZ-cd9hRJvaPagSw@mail.gmail.com>

On Thu, May 28, 2026, Yosry Ahmed wrote:
> > If we're going to use macro shenanigans, let's actually use them!  I've got this
> > working, I'll post a v4.
> >
> > #define gpat_test(test_name, guest_code, npt_input)                     \
> > do {                                                                    \
> >         npt_input;                                                      \
> 
> Oh I like this very much. Passing in "npt = true" or "npt = false" is
> great. I wouldn't call it npt_input (maybe npt_setting or sth), but
> that doesn't matter much.

I like npt_setting.

      reply	other threads:[~2026-05-28 17:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-21 17:59 [PATCH v3] KVM: selftests: Add a test for gPAT handling in L2 Yosry Ahmed
2026-05-28  1:01 ` Sean Christopherson
2026-05-28 17:47   ` Yosry Ahmed
2026-05-28 17:58     ` Sean Christopherson [this message]

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=ahiCYBf_WQ5IzX1n@google.com \
    --to=seanjc@google.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=yosry@kernel.org \
    /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.