From: Yan Zhao <yan.y.zhao@intel.com>
To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Yan Zhao <yan.y.zhao@intel.com>,
seanjc@google.com, intel-gfx@lists.freedesktop.org,
pbonzini@redhat.com, intel-gvt-dev@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH v2 0/3] add track_remove_slot and remove track_flush_slot
Date: Fri, 11 Nov 2022 18:32:47 +0800 [thread overview]
Message-ID: <20221111103247.22275-1-yan.y.zhao@intel.com> (raw)
This series is based on Sean's series
https://lore.kernel.org/all/20221110014821.1548347-1-seanjc@google.com/,
which allows KVM internal user of page track not to rely on the page track
hook .track_flush_slot.
Page track hook track_flush_slot is for notification of slot flush and
is called when a slot DELETE/MOVE is on-going.
Page track hook track_remove_slot is for notification of slot removal
and is called when the slot DELETE/MOVE has been committed.
As KVMGT, the only external user of page track, actually only cares about
when slot removal indeed happens, this series switches KVMGT to use the new
hook .track_remove_slot.
And as there are no users to .track_flush_slot any more, this hook is
removed.
v2:
Corrected wrong email address of Sean. sorry.
Yan Zhao (3):
KVM: x86: add a new page track hook track_remove_slot
drm/i915/gvt: switch from track_flush_slot to track_remove_slot
KVM: x86: Remove the unused page track hook track_flush_slot
arch/x86/include/asm/kvm_page_track.h | 8 ++++----
arch/x86/kvm/mmu/page_track.c | 8 ++++----
arch/x86/kvm/x86.c | 5 +++--
drivers/gpu/drm/i915/gvt/kvmgt.c | 6 +++---
4 files changed, 14 insertions(+), 13 deletions(-)
--
2.17.1
next reply other threads:[~2022-11-11 10:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 10:32 Yan Zhao [this message]
2022-11-11 10:33 ` [Intel-gfx] [PATCH v2 1/3] KVM: x86: add a new page track hook track_remove_slot Yan Zhao
2022-11-11 18:19 ` Sean Christopherson
2022-11-12 0:03 ` Yan Zhao
2022-11-12 0:43 ` Sean Christopherson
2022-11-14 1:05 ` Yan Zhao
2022-11-14 16:32 ` Sean Christopherson
2022-11-14 22:42 ` Yan Zhao
2022-11-14 23:24 ` Sean Christopherson
2022-11-14 23:22 ` Yan Zhao
2022-11-15 0:55 ` Sean Christopherson
2022-11-15 1:08 ` Yan Zhao
2022-11-11 10:34 ` [Intel-gfx] [PATCH v2 2/3] drm/i915/gvt: switch from track_flush_slot to track_remove_slot Yan Zhao
2022-11-11 17:07 ` Sean Christopherson
2022-11-12 0:05 ` Yan Zhao
2022-11-11 10:35 ` [Intel-gfx] [PATCH v2 3/3] KVM: x86: Remove the unused page track hook track_flush_slot Yan Zhao
2022-11-11 12:38 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for add track_remove_slot and remove track_flush_slot (rev2) Patchwork
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=20221111103247.22275-1-yan.y.zhao@intel.com \
--to=yan.y.zhao@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-gvt-dev@lists.freedesktop.org \
--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