LKML Archive on
help / color / mirror / Atom feed
From: Mingwei Zhang <>
To: Sean Christopherson <>
Cc: Paolo Bonzini <>, kvm <>,
	LKML <>,
	David Matlack <>,
	Jing Zhang <>, Peter Xu <>,
	Ben Gardon <>
Subject: Re: [PATCH v2 1/2] selftests: KVM: align guest physical memory base address to 1GB
Date: Mon, 6 Sep 2021 12:56:46 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

> 1gb may not be appropriate for all architectures and we don't want to _just_
> test 1gb aligned memslots.  The alignment should be tied to the backing store,
> even if the test is hardcoded to use THP, that way the alignment logic works
> without modification if the backing store is changed.

Agree on that.
> I had a patch[1] that did this, let me go resurrect that series.  My series got
> put on the backburner in favor of Yanan's series[2] which did a much better
> job of identifying/handling the host virtual address alignment, but IIRC my
> approach for handling GPA was correct.
> [1]
> [2]

Thanks for the info. I will use patch [1] instead of mine in the next version.


  reply	other threads:[~2021-09-06 19:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29 18:26 [PATCH v2 0/2] selftests: verify page stats in kvm x86/mmu Mingwei Zhang
2021-08-29 18:26 ` [PATCH v2 1/2] selftests: KVM: align guest physical memory base address to 1GB Mingwei Zhang
2021-08-31 16:54   ` Sean Christopherson
2021-09-06 19:56     ` Mingwei Zhang [this message]
2021-08-29 18:26 ` [PATCH v2 2/2] selftests: KVM: use dirty logging to check if page stats work correctly Mingwei Zhang
2021-08-30  4:02   ` kernel test robot
2021-08-30  4:42     ` Mingwei Zhang

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:

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

  git send-email \
    --in-reply-to='' \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v2 1/2] selftests: KVM: align guest physical memory base address to 1GB' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).