public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, seanjc@google.com
Subject: Re: [PATCH 2/2] kvm: selftests: introduce and use more page size-related constants
Date: Thu, 21 Apr 2022 15:38:05 -0400	[thread overview]
Message-ID: <YmGynbRAdiFPPWl7@xz-m1.local> (raw)
In-Reply-To: <20220421162825.1412792-3-pbonzini@redhat.com>

On Thu, Apr 21, 2022 at 12:28:25PM -0400, Paolo Bonzini wrote:
> Clean up code that was hardcoding masks for various fields,
> now that the masks are included in processor.h.
> 
> For more cleanup, define PAGE_SIZE and PAGE_MASK just like in Linux.
> PAGE_SIZE in particular was defined by several tests.
> 
> Suggested-by: Sean Christopherson <seanjc@google.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Reviewed-by: Peter Xu <peterx@redhat.com>

-- 
Peter Xu


      reply	other threads:[~2022-04-21 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 16:28 [PATCH 0/2] kvm: selftests: cleanup PTE definitions Paolo Bonzini
2022-04-21 16:28 ` [PATCH 1/2] kvm: selftests: do not use bitfields larger than 32-bits for PTEs Paolo Bonzini
2022-04-21 16:28 ` [PATCH 2/2] kvm: selftests: introduce and use more page size-related constants Paolo Bonzini
2022-04-21 19:38   ` Peter Xu [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=YmGynbRAdiFPPWl7@xz-m1.local \
    --to=peterx@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox