From: Nicholas Piggin <npiggin@gmail.com>
To: kvm-ppc@vger.kernel.org
Cc: Nicholas Piggin <npiggin@gmail.com>, linuxppc-dev@lists.ozlabs.org
Subject: [RFC PATCH 0/5] KVM TLB flushing improvements
Date: Tue, 10 Apr 2018 12:48:37 +0000 [thread overview]
Message-ID: <20180410124842.30184-1-npiggin@gmail.com> (raw)
This series adds powerpc:tlbie tracepoints for radix partition
scoped invalidations. After I started getting some traces on a
32 vCPU radix guest it showed a problem with partition scoped
faults/invalidates, so I had a try at fixing it. This seems to
stable be on radix so far (haven't tested hash yet).
Thanks,
Nick
Nicholas Piggin (5):
powerpc/64s/mm: Implement LPID based TLB flushes to be used by KVM
KVM: PPC: Book3S HV: kvmppc_radix_tlbie_page use Linux flush function
KVM: PPC: Book3S HV: kvmhv_p9_set_lpcr use Linux flush function
KVM: PPC: Book3S HV: handle need_tlb_flush in C before low-level guest
entry
KVM: PPC: Book3S HV: Radix do not clear partition scoped page table
when page fault races with other vCPUs.
.../include/asm/book3s/64/tlbflush-hash.h | 2 +
.../include/asm/book3s/64/tlbflush-radix.h | 5 ++
arch/powerpc/kvm/book3s_64_mmu_radix.c | 65 +++++++-------
arch/powerpc/kvm/book3s_hv.c | 21 ++++-
arch/powerpc/kvm/book3s_hv_builtin.c | 14 ++-
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 43 +--------
arch/powerpc/mm/hash_native_64.c | 8 ++
arch/powerpc/mm/tlb-radix.c | 87 +++++++++++++++++++
8 files changed, 157 insertions(+), 88 deletions(-)
--
2.17.0
WARNING: multiple messages have this Message-ID (diff)
From: Nicholas Piggin <npiggin@gmail.com>
To: kvm-ppc@vger.kernel.org
Cc: Nicholas Piggin <npiggin@gmail.com>, linuxppc-dev@lists.ozlabs.org
Subject: [RFC PATCH 0/5] KVM TLB flushing improvements
Date: Tue, 10 Apr 2018 22:48:37 +1000 [thread overview]
Message-ID: <20180410124842.30184-1-npiggin@gmail.com> (raw)
This series adds powerpc:tlbie tracepoints for radix partition
scoped invalidations. After I started getting some traces on a
32 vCPU radix guest it showed a problem with partition scoped
faults/invalidates, so I had a try at fixing it. This seems to
stable be on radix so far (haven't tested hash yet).
Thanks,
Nick
Nicholas Piggin (5):
powerpc/64s/mm: Implement LPID based TLB flushes to be used by KVM
KVM: PPC: Book3S HV: kvmppc_radix_tlbie_page use Linux flush function
KVM: PPC: Book3S HV: kvmhv_p9_set_lpcr use Linux flush function
KVM: PPC: Book3S HV: handle need_tlb_flush in C before low-level guest
entry
KVM: PPC: Book3S HV: Radix do not clear partition scoped page table
when page fault races with other vCPUs.
.../include/asm/book3s/64/tlbflush-hash.h | 2 +
.../include/asm/book3s/64/tlbflush-radix.h | 5 ++
arch/powerpc/kvm/book3s_64_mmu_radix.c | 65 +++++++-------
arch/powerpc/kvm/book3s_hv.c | 21 ++++-
arch/powerpc/kvm/book3s_hv_builtin.c | 14 ++-
arch/powerpc/kvm/book3s_hv_rmhandlers.S | 43 +--------
arch/powerpc/mm/hash_native_64.c | 8 ++
arch/powerpc/mm/tlb-radix.c | 87 +++++++++++++++++++
8 files changed, 157 insertions(+), 88 deletions(-)
--
2.17.0
next reply other threads:[~2018-04-10 12:48 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-10 12:48 Nicholas Piggin [this message]
2018-04-10 12:48 ` [RFC PATCH 0/5] KVM TLB flushing improvements Nicholas Piggin
2018-04-10 12:48 ` [RFC PATCH 1/5] powerpc/64s/mm: Implement LPID based TLB flushes to be used by KVM Nicholas Piggin
2018-04-10 12:48 ` Nicholas Piggin
2018-04-10 12:48 ` [RFC PATCH 2/5] KVM: PPC: Book3S HV: kvmppc_radix_tlbie_page use Linux flush function Nicholas Piggin
2018-04-10 12:48 ` Nicholas Piggin
2018-04-10 12:48 ` [RFC PATCH 3/5] KVM: PPC: Book3S HV: kvmhv_p9_set_lpcr " Nicholas Piggin
2018-04-10 12:48 ` Nicholas Piggin
2018-04-10 12:48 ` [RFC PATCH 4/5] KVM: PPC: Book3S HV: handle need_tlb_flush in C before low-level guest entry Nicholas Piggin
2018-04-10 12:48 ` Nicholas Piggin
2018-04-11 1:32 ` Benjamin Herrenschmidt
2018-04-11 1:32 ` Benjamin Herrenschmidt
2018-04-11 2:19 ` Nicholas Piggin
2018-04-11 2:19 ` Nicholas Piggin
2018-04-15 5:28 ` Nicholas Piggin
2018-04-15 5:28 ` Nicholas Piggin
2018-04-10 12:48 ` [RFC PATCH 5/5] KVM: PPC: Book3S HV: Radix do not clear partition scoped page table when page fault Nicholas Piggin
2018-04-10 12:48 ` [RFC PATCH 5/5] KVM: PPC: Book3S HV: Radix do not clear partition scoped page table when page fault races with other vCPUs Nicholas Piggin
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=20180410124842.30184-1-npiggin@gmail.com \
--to=npiggin@gmail.com \
--cc=kvm-ppc@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.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.