All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: kvm-riscv@lists.infradead.org
Subject: [PATCH v12 05/84] KVM: Add kvm_release_page_unused() API to put pages that KVM never consumes
Date: Thu, 1 Aug 2024 07:43:13 -0700	[thread overview]
Message-ID: <ZqufAYyVOa9M1z76@google.com> (raw)
In-Reply-To: <87wml0egzo.fsf@draig.linaro.org>

On Thu, Aug 01, 2024, Alex Benn?e wrote:
> Sean Christopherson <seanjc@google.com> writes:
> 
> > Add an API to release an unused page, i.e. to put a page without marking
> > it accessed or dirty.  The API will be used when KVM faults-in a page but
> > bails before installing the guest mapping (and other similar flows).
> >
> > Signed-off-by: Sean Christopherson <seanjc@google.com>
> > ---
> >  include/linux/kvm_host.h | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> > index 3d9617d1de41..c5d39a337aa3 100644
> > --- a/include/linux/kvm_host.h
> > +++ b/include/linux/kvm_host.h
> > @@ -1201,6 +1201,15 @@ unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable);
> >  unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn);
> >  unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn,
> >  				      bool *writable);
> > +
> > +static inline void kvm_release_page_unused(struct page *page)
> > +{
> > +	if (!page)
> > +		return;
> > +
> > +	put_page(page);
> > +}
> 
> I guess it's unfamiliarity with the mm layout but I was trying to find
> where the get_pages come from to see the full pattern of allocate and
> return. I guess somewhere in the depths of hva_to_pfn() from
> hva_to_pfn_retry()?

If successful, get_user_page_fast_only() and get_user_pages_unlocked() grab a
reference on behalf of the caller.

As of this patch, hva_to_pfn_remapped() also grabs a reference to pages that
appear to be refcounted, which is the underlying wart this series aims to fix.
In KVM's early days, it _only_ supported GUP, i.e. if KVM got a pfn, that pfn
was (a) backed by struct page and (b) KVM had a reference to said page.  That
led to the current mess, as KVM didn't get reworked to properly track pages vs.
pfns when support for VM_MIXEDMAP was added.

	/*
	 * Get a reference here because callers of *hva_to_pfn* and
	 * *gfn_to_pfn* ultimately call kvm_release_pfn_clean on the
	 * returned pfn.  This is only needed if the VMA has VM_MIXEDMAP
	 * set, but the kvm_try_get_pfn/kvm_release_pfn_clean pair will
	 * simply do nothing for reserved pfns.
	 *
	 * Whoever called remap_pfn_range is also going to call e.g.
	 * unmap_mapping_range before the underlying pages are freed,
	 * causing a call to our MMU notifier.
	 *
	 * Certain IO or PFNMAP mappings can be backed with valid
	 * struct pages, but be allocated without refcounting e.g.,
	 * tail pages of non-compound higher order allocations, which
	 * would then underflow the refcount when the caller does the
	 * required put_page. Don't allow those pages here.
	 */
	if (!kvm_try_get_pfn(pfn))
		r = -EFAULT;


WARNING: multiple messages have this Message-ID (diff)
From: Sean Christopherson <seanjc@google.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Marc Zyngier <maz@kernel.org>,
	 Oliver Upton <oliver.upton@linux.dev>,
	Tianrui Zhao <zhaotianrui@loongson.cn>,
	 Bibo Mao <maobibo@loongson.cn>,
	Huacai Chen <chenhuacai@kernel.org>,
	 Michael Ellerman <mpe@ellerman.id.au>,
	Anup Patel <anup@brainfault.org>,
	 Paul Walmsley <paul.walmsley@sifive.com>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	 Albert Ou <aou@eecs.berkeley.edu>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	 Janosch Frank <frankja@linux.ibm.com>,
	Claudio Imbrenda <imbrenda@linux.ibm.com>,
	kvm@vger.kernel.org,  linux-arm-kernel@lists.infradead.org,
	kvmarm@lists.linux.dev,  loongarch@lists.linux.dev,
	linux-mips@vger.kernel.org,  linuxppc-dev@lists.ozlabs.org,
	kvm-riscv@lists.infradead.org,  linux-riscv@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	 David Matlack <dmatlack@google.com>,
	David Stevens <stevensd@chromium.org>
Subject: Re: [PATCH v12 05/84] KVM: Add kvm_release_page_unused() API to put pages that KVM never consumes
Date: Thu, 1 Aug 2024 07:43:13 -0700	[thread overview]
Message-ID: <ZqufAYyVOa9M1z76@google.com> (raw)
In-Reply-To: <87wml0egzo.fsf@draig.linaro.org>

On Thu, Aug 01, 2024, Alex Bennée wrote:
> Sean Christopherson <seanjc@google.com> writes:
> 
> > Add an API to release an unused page, i.e. to put a page without marking
> > it accessed or dirty.  The API will be used when KVM faults-in a page but
> > bails before installing the guest mapping (and other similar flows).
> >
> > Signed-off-by: Sean Christopherson <seanjc@google.com>
> > ---
> >  include/linux/kvm_host.h | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> > index 3d9617d1de41..c5d39a337aa3 100644
> > --- a/include/linux/kvm_host.h
> > +++ b/include/linux/kvm_host.h
> > @@ -1201,6 +1201,15 @@ unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable);
> >  unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn);
> >  unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn,
> >  				      bool *writable);
> > +
> > +static inline void kvm_release_page_unused(struct page *page)
> > +{
> > +	if (!page)
> > +		return;
> > +
> > +	put_page(page);
> > +}
> 
> I guess it's unfamiliarity with the mm layout but I was trying to find
> where the get_pages come from to see the full pattern of allocate and
> return. I guess somewhere in the depths of hva_to_pfn() from
> hva_to_pfn_retry()?

If successful, get_user_page_fast_only() and get_user_pages_unlocked() grab a
reference on behalf of the caller.

As of this patch, hva_to_pfn_remapped() also grabs a reference to pages that
appear to be refcounted, which is the underlying wart this series aims to fix.
In KVM's early days, it _only_ supported GUP, i.e. if KVM got a pfn, that pfn
was (a) backed by struct page and (b) KVM had a reference to said page.  That
led to the current mess, as KVM didn't get reworked to properly track pages vs.
pfns when support for VM_MIXEDMAP was added.

	/*
	 * Get a reference here because callers of *hva_to_pfn* and
	 * *gfn_to_pfn* ultimately call kvm_release_pfn_clean on the
	 * returned pfn.  This is only needed if the VMA has VM_MIXEDMAP
	 * set, but the kvm_try_get_pfn/kvm_release_pfn_clean pair will
	 * simply do nothing for reserved pfns.
	 *
	 * Whoever called remap_pfn_range is also going to call e.g.
	 * unmap_mapping_range before the underlying pages are freed,
	 * causing a call to our MMU notifier.
	 *
	 * Certain IO or PFNMAP mappings can be backed with valid
	 * struct pages, but be allocated without refcounting e.g.,
	 * tail pages of non-compound higher order allocations, which
	 * would then underflow the refcount when the caller does the
	 * required put_page. Don't allow those pages here.
	 */
	if (!kvm_try_get_pfn(pfn))
		r = -EFAULT;

WARNING: multiple messages have this Message-ID (diff)
From: Sean Christopherson <seanjc@google.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Marc Zyngier <maz@kernel.org>,
	 Oliver Upton <oliver.upton@linux.dev>,
	Tianrui Zhao <zhaotianrui@loongson.cn>,
	 Bibo Mao <maobibo@loongson.cn>,
	Huacai Chen <chenhuacai@kernel.org>,
	 Michael Ellerman <mpe@ellerman.id.au>,
	Anup Patel <anup@brainfault.org>,
	 Paul Walmsley <paul.walmsley@sifive.com>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	 Albert Ou <aou@eecs.berkeley.edu>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	 Janosch Frank <frankja@linux.ibm.com>,
	Claudio Imbrenda <imbrenda@linux.ibm.com>,
	kvm@vger.kernel.org,  linux-arm-kernel@lists.infradead.org,
	kvmarm@lists.linux.dev,  loongarch@lists.linux.dev,
	linux-mips@vger.kernel.org,  linuxppc-dev@lists.ozlabs.org,
	kvm-riscv@lists.infradead.org,  linux-riscv@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	 David Matlack <dmatlack@google.com>,
	David Stevens <stevensd@chromium.org>
Subject: Re: [PATCH v12 05/84] KVM: Add kvm_release_page_unused() API to put pages that KVM never consumes
Date: Thu, 1 Aug 2024 07:43:13 -0700	[thread overview]
Message-ID: <ZqufAYyVOa9M1z76@google.com> (raw)
In-Reply-To: <87wml0egzo.fsf@draig.linaro.org>

On Thu, Aug 01, 2024, Alex Bennée wrote:
> Sean Christopherson <seanjc@google.com> writes:
> 
> > Add an API to release an unused page, i.e. to put a page without marking
> > it accessed or dirty.  The API will be used when KVM faults-in a page but
> > bails before installing the guest mapping (and other similar flows).
> >
> > Signed-off-by: Sean Christopherson <seanjc@google.com>
> > ---
> >  include/linux/kvm_host.h | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> > index 3d9617d1de41..c5d39a337aa3 100644
> > --- a/include/linux/kvm_host.h
> > +++ b/include/linux/kvm_host.h
> > @@ -1201,6 +1201,15 @@ unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable);
> >  unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn);
> >  unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn,
> >  				      bool *writable);
> > +
> > +static inline void kvm_release_page_unused(struct page *page)
> > +{
> > +	if (!page)
> > +		return;
> > +
> > +	put_page(page);
> > +}
> 
> I guess it's unfamiliarity with the mm layout but I was trying to find
> where the get_pages come from to see the full pattern of allocate and
> return. I guess somewhere in the depths of hva_to_pfn() from
> hva_to_pfn_retry()?

If successful, get_user_page_fast_only() and get_user_pages_unlocked() grab a
reference on behalf of the caller.

As of this patch, hva_to_pfn_remapped() also grabs a reference to pages that
appear to be refcounted, which is the underlying wart this series aims to fix.
In KVM's early days, it _only_ supported GUP, i.e. if KVM got a pfn, that pfn
was (a) backed by struct page and (b) KVM had a reference to said page.  That
led to the current mess, as KVM didn't get reworked to properly track pages vs.
pfns when support for VM_MIXEDMAP was added.

	/*
	 * Get a reference here because callers of *hva_to_pfn* and
	 * *gfn_to_pfn* ultimately call kvm_release_pfn_clean on the
	 * returned pfn.  This is only needed if the VMA has VM_MIXEDMAP
	 * set, but the kvm_try_get_pfn/kvm_release_pfn_clean pair will
	 * simply do nothing for reserved pfns.
	 *
	 * Whoever called remap_pfn_range is also going to call e.g.
	 * unmap_mapping_range before the underlying pages are freed,
	 * causing a call to our MMU notifier.
	 *
	 * Certain IO or PFNMAP mappings can be backed with valid
	 * struct pages, but be allocated without refcounting e.g.,
	 * tail pages of non-compound higher order allocations, which
	 * would then underflow the refcount when the caller does the
	 * required put_page. Don't allow those pages here.
	 */
	if (!kvm_try_get_pfn(pfn))
		r = -EFAULT;

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

WARNING: multiple messages have this Message-ID (diff)
From: Sean Christopherson <seanjc@google.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	David Matlack <dmatlack@google.com>,
	linux-riscv@lists.infradead.org,
	Claudio Imbrenda <imbrenda@linux.ibm.com>,
	Janosch Frank <frankja@linux.ibm.com>,
	Marc Zyngier <maz@kernel.org>,
	Huacai Chen <chenhuacai@kernel.org>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	Albert Ou <aou@eecs.berkeley.edu>, Bibo Mao <maobibo@loongson.cn>,
	loongarch@lists.linux.dev,
	Paul Walmsley <paul.walmsley@sifive.com>,
	kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-mips@vger.kernel.org, Oliver Upton <oliver.upton@linux.dev>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	David Stevens <stevensd@chromium.org>,
	kvm-riscv@lists.infradead.org, Anup Patel <anup@brainfault.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Tianrui Zhao <zhaotianrui@loongson.cn>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v12 05/84] KVM: Add kvm_release_page_unused() API to put pages that KVM never consumes
Date: Thu, 1 Aug 2024 07:43:13 -0700	[thread overview]
Message-ID: <ZqufAYyVOa9M1z76@google.com> (raw)
In-Reply-To: <87wml0egzo.fsf@draig.linaro.org>

On Thu, Aug 01, 2024, Alex Bennée wrote:
> Sean Christopherson <seanjc@google.com> writes:
> 
> > Add an API to release an unused page, i.e. to put a page without marking
> > it accessed or dirty.  The API will be used when KVM faults-in a page but
> > bails before installing the guest mapping (and other similar flows).
> >
> > Signed-off-by: Sean Christopherson <seanjc@google.com>
> > ---
> >  include/linux/kvm_host.h | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
> > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
> > index 3d9617d1de41..c5d39a337aa3 100644
> > --- a/include/linux/kvm_host.h
> > +++ b/include/linux/kvm_host.h
> > @@ -1201,6 +1201,15 @@ unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable);
> >  unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn);
> >  unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn,
> >  				      bool *writable);
> > +
> > +static inline void kvm_release_page_unused(struct page *page)
> > +{
> > +	if (!page)
> > +		return;
> > +
> > +	put_page(page);
> > +}
> 
> I guess it's unfamiliarity with the mm layout but I was trying to find
> where the get_pages come from to see the full pattern of allocate and
> return. I guess somewhere in the depths of hva_to_pfn() from
> hva_to_pfn_retry()?

If successful, get_user_page_fast_only() and get_user_pages_unlocked() grab a
reference on behalf of the caller.

As of this patch, hva_to_pfn_remapped() also grabs a reference to pages that
appear to be refcounted, which is the underlying wart this series aims to fix.
In KVM's early days, it _only_ supported GUP, i.e. if KVM got a pfn, that pfn
was (a) backed by struct page and (b) KVM had a reference to said page.  That
led to the current mess, as KVM didn't get reworked to properly track pages vs.
pfns when support for VM_MIXEDMAP was added.

	/*
	 * Get a reference here because callers of *hva_to_pfn* and
	 * *gfn_to_pfn* ultimately call kvm_release_pfn_clean on the
	 * returned pfn.  This is only needed if the VMA has VM_MIXEDMAP
	 * set, but the kvm_try_get_pfn/kvm_release_pfn_clean pair will
	 * simply do nothing for reserved pfns.
	 *
	 * Whoever called remap_pfn_range is also going to call e.g.
	 * unmap_mapping_range before the underlying pages are freed,
	 * causing a call to our MMU notifier.
	 *
	 * Certain IO or PFNMAP mappings can be backed with valid
	 * struct pages, but be allocated without refcounting e.g.,
	 * tail pages of non-compound higher order allocations, which
	 * would then underflow the refcount when the caller does the
	 * required put_page. Don't allow those pages here.
	 */
	if (!kvm_try_get_pfn(pfn))
		r = -EFAULT;

  reply	other threads:[~2024-08-01 14:43 UTC|newest]

Thread overview: 597+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26 23:51 [PATCH v12 00/84] KVM: Stop grabbing references to PFNMAP'd pages Sean Christopherson
2024-07-26 23:51 ` Sean Christopherson
2024-07-26 23:51 ` Sean Christopherson
2024-07-26 23:51 ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 01/84] KVM: arm64: Release pfn, i.e. put page, if copying MTE tags hits ZONE_DEVICE Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-31 16:23   ` Alex Bennée
2024-07-31 16:23     ` Alex Bennée
2024-07-31 16:23     ` Alex Bennée
2024-07-31 16:23     ` Alex Bennée
2024-07-31 20:36     ` Sean Christopherson
2024-07-31 20:36       ` Sean Christopherson
2024-07-31 20:36       ` Sean Christopherson
2024-07-31 20:36       ` Sean Christopherson
2024-08-01 10:07   ` Marc Zyngier
2024-08-01 10:07     ` Marc Zyngier
2024-08-01 10:07     ` Marc Zyngier
2024-08-01 10:07     ` Marc Zyngier
2024-08-07 14:15   ` Catalin Marinas
2024-08-07 14:15     ` Catalin Marinas
2024-08-07 14:15     ` Catalin Marinas
2024-08-07 14:15     ` Catalin Marinas
2024-08-08  9:54     ` Steven Price
2024-08-08  9:54       ` Steven Price
2024-08-08  9:54       ` Steven Price
2024-08-08  9:54       ` Steven Price
2024-08-22 14:24   ` (subset) " Marc Zyngier
2024-08-22 14:24     ` Marc Zyngier
2024-08-22 14:24     ` Marc Zyngier
2024-07-26 23:51 ` [PATCH v12 02/84] KVM: arm64: Disallow copying MTE to guest memory while KVM is dirty logging Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  7:34   ` Aneesh Kumar K.V
2024-08-01  7:34     ` Aneesh Kumar K.V
2024-08-01  7:34     ` Aneesh Kumar K.V
2024-08-01  7:34     ` Aneesh Kumar K.V
2024-08-01 18:01     ` Sean Christopherson
2024-08-01 18:01       ` Sean Christopherson
2024-08-01 18:01       ` Sean Christopherson
2024-08-01 18:01       ` Sean Christopherson
2024-08-05  7:57       ` Aneesh Kumar K.V
2024-08-05  7:57         ` Aneesh Kumar K.V
2024-08-05  7:57         ` Aneesh Kumar K.V
2024-08-05  7:57         ` Aneesh Kumar K.V
2024-08-05 22:09         ` Sean Christopherson
2024-08-05 22:09           ` Sean Christopherson
2024-08-05 22:09           ` Sean Christopherson
2024-08-05 22:09           ` Sean Christopherson
2024-08-07 16:21   ` Catalin Marinas
2024-08-07 16:21     ` Catalin Marinas
2024-08-07 16:21     ` Catalin Marinas
2024-08-07 16:21     ` Catalin Marinas
2024-08-08  9:54     ` Steven Price
2024-08-08  9:54       ` Steven Price
2024-08-08  9:54       ` Steven Price
2024-08-08  9:54       ` Steven Price
2024-08-22 14:24   ` (subset) " Marc Zyngier
2024-08-22 14:24     ` Marc Zyngier
2024-08-22 14:24     ` Marc Zyngier
2024-07-26 23:51 ` [PATCH v12 03/84] KVM: Drop KVM_ERR_PTR_BAD_PAGE and instead return NULL to indicate an error Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  8:57   ` Alex Bennée
2024-08-01  8:57     ` Alex Bennée
2024-08-01  8:57     ` Alex Bennée
2024-08-01  8:57     ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 04/84] KVM: Allow calling kvm_release_page_{clean,dirty}() on a NULL page pointer Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  9:03   ` Alex Bennée
2024-08-01  9:03     ` Alex Bennée
2024-08-01  9:03     ` Alex Bennée
2024-08-01  9:03     ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 05/84] KVM: Add kvm_release_page_unused() API to put pages that KVM never consumes Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  9:20   ` Alex Bennée
2024-08-01  9:20     ` Alex Bennée
2024-08-01  9:20     ` Alex Bennée
2024-08-01  9:20     ` Alex Bennée
2024-08-01 14:43     ` Sean Christopherson [this message]
2024-08-01 14:43       ` Sean Christopherson
2024-08-01 14:43       ` Sean Christopherson
2024-08-01 14:43       ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 06/84] KVM: x86/mmu: Skip the "try unsync" path iff the old SPTE was a leaf SPTE Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 07/84] KVM: x86/mmu: Mark folio dirty when creating SPTE, not when zapping/modifying Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 08/84] KVM: x86/mmu: Mark page/folio accessed only when zapping leaf SPTEs Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 09/84] KVM: x86/mmu: Don't force flush if SPTE update clears Accessed bit Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 10/84] KVM: x86/mmu: Use gfn_to_page_many_atomic() when prefetching indirect PTEs Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 11/84] KVM: Rename gfn_to_page_many_atomic() to kvm_prefetch_pages() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-02 11:16   ` Alex Bennée
2024-08-02 11:16     ` Alex Bennée
2024-08-02 11:16     ` Alex Bennée
2024-08-02 11:16     ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 12/84] KVM: Drop @atomic param from gfn=>pfn and hva=>pfn APIs Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  9:31   ` Alex Bennée
2024-08-01  9:31     ` Alex Bennée
2024-08-01  9:31     ` Alex Bennée
2024-08-01  9:31     ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 13/84] KVM: Annotate that all paths in hva_to_pfn() might sleep Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-08 12:00   ` Alex Bennée
2024-08-08 12:00     ` Alex Bennée
2024-08-08 12:00     ` Alex Bennée
2024-08-08 12:00     ` Alex Bennée
2024-08-08 13:16     ` Sean Christopherson
2024-08-08 13:16       ` Sean Christopherson
2024-08-08 13:16       ` Sean Christopherson
2024-08-08 13:16       ` Sean Christopherson
2024-08-08 15:18       ` Alex Bennée
2024-08-08 15:18         ` Alex Bennée
2024-08-08 15:18         ` Alex Bennée
2024-08-08 15:18         ` Alex Bennée
2024-08-08 15:31         ` Sean Christopherson
2024-08-08 15:31           ` Sean Christopherson
2024-08-08 15:31           ` Sean Christopherson
2024-08-08 15:31           ` Sean Christopherson
2024-08-08 16:16           ` Alex Bennée
2024-08-08 16:16             ` Alex Bennée
2024-08-08 16:16             ` Alex Bennée
2024-08-08 16:16             ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 14/84] KVM: Replace "async" pointer in gfn=>pfn with "no_wait" and error code Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 15/84] KVM: x86/mmu: Drop kvm_page_fault.hva, i.e. don't track intermediate hva Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 16/84] KVM: Drop unused "hva" pointer from __gfn_to_pfn_memslot() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 17/84] KVM: Introduce kvm_follow_pfn() to eventually replace "gfn_to_pfn" APIs Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 18/84] KVM: Remove pointless sanity check on @map param to kvm_vcpu_(un)map() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 19/84] KVM: Explicitly initialize all fields at the start of kvm_vcpu_map() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 20/84] KVM: Use NULL for struct page pointer to indicate mremapped memory Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 21/84] KVM: nVMX: Rely on kvm_vcpu_unmap() to track validity of eVMCS mapping Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 22/84] KVM: nVMX: Drop pointless msr_bitmap_map field from struct nested_vmx Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 23/84] KVM: nVMX: Add helper to put (unmap) vmcs12 pages Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 24/84] KVM: Use plain "struct page" pointer instead of single-entry array Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  9:53   ` Alex Bennée
2024-08-01  9:53     ` Alex Bennée
2024-08-01  9:53     ` Alex Bennée
2024-08-01  9:53     ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 25/84] KVM: Provide refcounted page as output field in struct kvm_follow_pfn Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 26/84] KVM: Move kvm_{set,release}_page_{clean,dirty}() helpers up in kvm_main.c Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-08-01  9:55   ` Alex Bennée
2024-08-01  9:55     ` Alex Bennée
2024-08-01  9:55     ` Alex Bennée
2024-08-01  9:55     ` Alex Bennée
2024-07-26 23:51 ` [PATCH v12 27/84] KVM: pfncache: Precisely track refcounted pages Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 28/84] KVM: Migrate kvm_vcpu_map() to kvm_follow_pfn() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 29/84] KVM: Pin (as in FOLL_PIN) pages during kvm_vcpu_map() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 30/84] KVM: nVMX: Mark vmcs12's APIC access page dirty when unmapping Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 31/84] KVM: Pass in write/dirty to kvm_vcpu_map(), not kvm_vcpu_unmap() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 32/84] KVM: Get writable mapping for __kvm_vcpu_map() only when necessary Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 33/84] KVM: Disallow direct access (w/o mmu_notifier) to unpinned pfn by default Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 34/84] KVM: Add a helper to lookup a pfn without grabbing a reference Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-30 10:41   ` Paolo Bonzini
2024-07-30 10:41     ` Paolo Bonzini
2024-07-30 10:41     ` Paolo Bonzini
2024-07-30 10:41     ` Paolo Bonzini
2024-07-30 20:15     ` Sean Christopherson
2024-07-30 20:15       ` Sean Christopherson
2024-07-30 20:15       ` Sean Christopherson
2024-07-30 20:15       ` Sean Christopherson
2024-07-31 10:11       ` Paolo Bonzini
2024-07-31 10:11         ` Paolo Bonzini
2024-07-31 10:11         ` Paolo Bonzini
2024-07-31 10:11         ` Paolo Bonzini
2024-07-26 23:51 ` [PATCH v12 35/84] KVM: x86: Use kvm_lookup_pfn() to check if retrying #PF is useful Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 36/84] KVM: x86: Use kvm_lookup_pfn() to check if APIC access page was installed Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 37/84] KVM: x86/mmu: Add "mmu" prefix fault-in helpers to free up generic names Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 38/84] KVM: x86/mmu: Put direct prefetched pages via kvm_release_page_clean() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 39/84] KVM: x86/mmu: Add common helper to handle prefetching SPTEs Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 40/84] KVM: x86/mmu: Add helper to "finish" handling a guest page fault Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 41/84] KVM: x86/mmu: Mark pages/folios dirty at the origin of make_spte() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-30  8:57   ` Paolo Bonzini
2024-07-30  8:57     ` Paolo Bonzini
2024-07-30  8:57     ` Paolo Bonzini
2024-07-30  8:57     ` Paolo Bonzini
2024-07-26 23:51 ` [PATCH v12 42/84] KVM: Move declarations of memslot accessors up in kvm_host.h Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 43/84] KVM: Add kvm_faultin_pfn() to specifically service guest page faults Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 44/84] KVM: x86/mmu: Convert page fault paths to kvm_faultin_pfn() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 45/84] KVM: guest_memfd: Provide "struct page" as output from kvm_gmem_get_pfn() Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-30  9:05   ` Paolo Bonzini
2024-07-30  9:05     ` Paolo Bonzini
2024-07-30  9:05     ` Paolo Bonzini
2024-07-30  9:05     ` Paolo Bonzini
2024-07-30 20:00     ` Sean Christopherson
2024-07-30 20:00       ` Sean Christopherson
2024-07-30 20:00       ` Sean Christopherson
2024-07-30 20:00       ` Sean Christopherson
2024-07-31 10:12       ` Paolo Bonzini
2024-07-31 10:12         ` Paolo Bonzini
2024-07-31 10:12         ` Paolo Bonzini
2024-07-31 10:12         ` Paolo Bonzini
2024-07-26 23:51 ` [PATCH v12 46/84] KVM: x86/mmu: Put refcounted pages instead of blindly releasing pfns Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 47/84] KVM: x86/mmu: Don't mark unused faultin pages as accessed Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 48/84] KVM: Move x86's API to release a faultin page to common KVM Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-30  8:58   ` Paolo Bonzini
2024-07-30  8:58     ` Paolo Bonzini
2024-07-30  8:58     ` Paolo Bonzini
2024-07-30  8:58     ` Paolo Bonzini
2024-07-30 19:15     ` Sean Christopherson
2024-07-30 19:15       ` Sean Christopherson
2024-07-30 19:15       ` Sean Christopherson
2024-07-30 19:15       ` Sean Christopherson
2024-07-31 10:18       ` Paolo Bonzini
2024-07-31 10:18         ` Paolo Bonzini
2024-07-31 10:18         ` Paolo Bonzini
2024-07-31 10:18         ` Paolo Bonzini
2024-07-26 23:51 ` [PATCH v12 49/84] KVM: VMX: Hold mmu_lock until page is released when updating APIC access page Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51 ` [PATCH v12 50/84] KVM: VMX: Use __kvm_faultin_page() to get APIC access page/pfn Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-26 23:51   ` Sean Christopherson
2024-07-30  8:59   ` Paolo Bonzini
2024-07-30  8:59     ` Paolo Bonzini
2024-07-30  8:59     ` Paolo Bonzini
2024-07-30  8:59     ` Paolo Bonzini
2024-07-26 23:52 ` [PATCH v12 51/84] KVM: PPC: e500: Mark "struct page" dirty in kvmppc_e500_shadow_map() Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 52/84] KVM: PPC: e500: Mark "struct page" pfn accessed before dropping mmu_lock Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 53/84] KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 54/84] KVM: arm64: Mark "struct page" pfns accessed/dirty before dropping mmu_lock Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-08-05 23:25   ` Oliver Upton
2024-08-05 23:25     ` Oliver Upton
2024-08-05 23:25     ` Oliver Upton
2024-08-05 23:25     ` Oliver Upton
2024-08-05 23:26     ` Oliver Upton
2024-08-05 23:26       ` Oliver Upton
2024-08-05 23:26       ` Oliver Upton
2024-08-05 23:26       ` Oliver Upton
2024-08-05 23:53       ` Sean Christopherson
2024-08-05 23:53         ` Sean Christopherson
2024-08-05 23:53         ` Sean Christopherson
2024-08-05 23:53         ` Sean Christopherson
2024-08-05 23:56         ` Oliver Upton
2024-08-05 23:56           ` Oliver Upton
2024-08-05 23:56           ` Oliver Upton
2024-08-05 23:56           ` Oliver Upton
2024-08-06  8:55       ` Marc Zyngier
2024-08-06  8:55         ` Marc Zyngier
2024-08-06  8:55         ` Marc Zyngier
2024-08-06  8:55         ` Marc Zyngier
2024-08-06 15:19         ` Sean Christopherson
2024-08-06 15:19           ` Sean Christopherson
2024-08-06 15:19           ` Sean Christopherson
2024-08-06 15:19           ` Sean Christopherson
2024-08-06  8:24     ` Fuad Tabba
2024-08-06  8:24       ` Fuad Tabba
2024-08-06  8:24       ` Fuad Tabba
2024-08-06  8:24       ` Fuad Tabba
2024-07-26 23:52 ` [PATCH v12 55/84] KVM: arm64: Use __kvm_faultin_pfn() to handle memory aborts Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 56/84] KVM: RISC-V: Mark "struct page" pfns dirty iff a stage-2 PTE is installed Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-31  8:11   ` Andrew Jones
2024-07-31  8:11     ` Andrew Jones
2024-07-31  8:11     ` Andrew Jones
2024-07-31  8:11     ` Andrew Jones
2024-08-06 15:03   ` Anup Patel
2024-08-06 15:03     ` Anup Patel
2024-08-06 15:03     ` Anup Patel
2024-08-06 15:03     ` Anup Patel
2024-07-26 23:52 ` [PATCH v12 57/84] KVM: RISC-V: Mark "struct page" pfns accessed before dropping mmu_lock Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-31  8:12   ` Andrew Jones
2024-07-31  8:12     ` Andrew Jones
2024-07-31  8:12     ` Andrew Jones
2024-07-31  8:12     ` Andrew Jones
2024-08-06 15:04   ` Anup Patel
2024-08-06 15:04     ` Anup Patel
2024-08-06 15:04     ` Anup Patel
2024-08-06 15:04     ` Anup Patel
2024-07-26 23:52 ` [PATCH v12 58/84] KVM: RISC-V: Use kvm_faultin_pfn() when mapping pfns into the guest Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-31  8:11   ` Andrew Jones
2024-07-31  8:11     ` Andrew Jones
2024-07-31  8:11     ` Andrew Jones
2024-07-31  8:11     ` Andrew Jones
2024-08-06 15:04   ` Anup Patel
2024-08-06 15:04     ` Anup Patel
2024-08-06 15:04     ` Anup Patel
2024-08-06 15:04     ` Anup Patel
2024-07-26 23:52 ` [PATCH v12 59/84] KVM: PPC: Use __kvm_faultin_pfn() to handle page faults on Book3s HV Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 60/84] KVM: PPC: Use __kvm_faultin_pfn() to handle page faults on Book3s Radix Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 61/84] KVM: PPC: Drop unused @kvm_ro param from kvmppc_book3s_instantiate_page() Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 62/84] KVM: PPC: Book3S: Mark "struct page" pfns dirty/accessed after installing PTE Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 63/84] KVM: PPC: Use kvm_faultin_pfn() to handle page faults on Book3s PR Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 64/84] KVM: LoongArch: Mark "struct page" pfns dirty only in "slow" page fault path Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-08-02  7:53   ` maobibo
2024-08-02  7:53     ` maobibo via Linuxppc-dev
2024-08-02  7:53     ` maobibo
2024-08-02  7:53     ` maobibo
2024-08-02 19:32     ` Sean Christopherson
2024-08-02 19:32       ` Sean Christopherson
2024-08-02 19:32       ` Sean Christopherson
2024-08-02 19:32       ` Sean Christopherson
2024-08-03  3:02       ` maobibo
2024-08-03  3:02         ` maobibo
2024-08-03  3:02         ` maobibo
2024-08-03  3:02         ` maobibo
2024-08-05 23:22         ` Sean Christopherson
2024-08-05 23:22           ` Sean Christopherson
2024-08-05 23:22           ` Sean Christopherson
2024-08-05 23:22           ` Sean Christopherson
2024-08-06  1:16           ` maobibo
2024-08-06  1:16             ` maobibo
2024-08-06  1:16             ` maobibo
2024-08-06  1:16             ` maobibo
2024-08-08 11:38   ` maobibo
2024-08-08 11:38     ` maobibo
2024-08-08 11:38     ` maobibo
2024-08-08 11:38     ` maobibo
2024-07-26 23:52 ` [PATCH v12 65/84] KVM: LoongArch: Mark "struct page" pfns accessed " Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-08-02  7:34   ` maobibo
2024-08-02  7:34     ` maobibo via Linuxppc-dev
2024-08-02  7:34     ` maobibo
2024-08-02  7:34     ` maobibo
2024-07-26 23:52 ` [PATCH v12 66/84] KVM: LoongArch: Mark "struct page" pfn accessed before dropping mmu_lock Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-08-08 11:47   ` maobibo
2024-08-08 11:47     ` maobibo
2024-08-08 11:47     ` maobibo
2024-08-08 11:47     ` maobibo
2024-07-26 23:52 ` [PATCH v12 67/84] KVM: LoongArch: Use kvm_faultin_pfn() to map pfns into the guest Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 68/84] KVM: MIPS: Mark "struct page" pfns dirty only in "slow" page fault path Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 69/84] KVM: MIPS: Mark "struct page" pfns accessed " Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 70/84] KVM: MIPS: Mark "struct page" pfns accessed prior to dropping mmu_lock Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 71/84] KVM: MIPS: Use kvm_faultin_pfn() to map pfns into the guest Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 72/84] KVM: PPC: Remove extra get_page() to fix page refcount leak Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 73/84] KVM: PPC: Use kvm_vcpu_map() to map guest memory to patch dcbz instructions Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 74/84] KVM: Convert gfn_to_page() to use kvm_follow_pfn() Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 75/84] KVM: Add support for read-only usage of gfn_to_page() Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 76/84] KVM: arm64: Use __gfn_to_page() when copying MTE tags to/from userspace Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 77/84] KVM: PPC: Explicitly require struct page memory for Ultravisor sharing Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 78/84] KVM: Drop gfn_to_pfn() APIs now that all users are gone Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 79/84] KVM: s390: Use kvm_release_page_dirty() to unpin "struct page" memory Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 80/84] KVM: Make kvm_follow_pfn.refcounted_page a required field Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 81/84] KVM: x86/mmu: Don't mark "struct page" accessed when zapping SPTEs Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 82/84] KVM: arm64: Don't mark "struct page" accessed when making SPTE young Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52 ` [PATCH v12 83/84] KVM: Drop APIs that manipulate "struct page" via pfns Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-08-02 11:03   ` Alex Bennée
2024-08-02 11:03     ` Alex Bennée
2024-08-02 11:03     ` Alex Bennée
2024-08-02 11:03     ` Alex Bennée
2024-07-26 23:52 ` [PATCH v12 84/84] KVM: Don't grab reference on VM_MIXEDMAP pfns that have a "struct page" Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-26 23:52   ` Sean Christopherson
2024-07-30 11:38   ` Paolo Bonzini
2024-07-30 11:38     ` Paolo Bonzini
2024-07-30 11:38     ` Paolo Bonzini
2024-07-30 11:38     ` Paolo Bonzini
2024-07-30 20:21     ` Sean Christopherson
2024-07-30 20:21       ` Sean Christopherson
2024-07-30 20:21       ` Sean Christopherson
2024-07-30 20:21       ` Sean Christopherson
2024-07-31  9:50       ` Paolo Bonzini
2024-07-31  9:50         ` Paolo Bonzini
2024-07-31  9:50         ` Paolo Bonzini
2024-07-31  9:50         ` Paolo Bonzini
2024-07-30 11:52 ` [PATCH v12 00/84] KVM: Stop grabbing references to PFNMAP'd pages Paolo Bonzini
2024-07-30 11:52   ` Paolo Bonzini
2024-07-30 11:52   ` Paolo Bonzini
2024-07-30 11:52   ` Paolo Bonzini
2024-07-30 22:35   ` Sean Christopherson
2024-07-30 22:35     ` Sean Christopherson
2024-07-30 22:35     ` Sean Christopherson
2024-07-30 22:35     ` Sean Christopherson
2024-08-27  9:06 ` Alex Bennée
2024-08-27  9:06   ` Alex Bennée
2024-08-27  9:06   ` Alex Bennée

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=ZqufAYyVOa9M1z76@google.com \
    --to=seanjc@google.com \
    --cc=kvm-riscv@lists.infradead.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.