Re: [PATCH v3 0/5] kvm: fix latent guest entry/exit bugs

From: Mark Rutland
Date: Tue Feb 01 2022 - 11:22:56 EST


On Tue, Feb 01, 2022 at 04:59:47PM +0100, Paolo Bonzini wrote:
> On 2/1/22 14:29, Mark Rutland wrote:
> > I've pushed the series (based on v5.17-rc2) to my kvm/entry-rework branch:
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/log/?h=kvm/entry-rework
> > git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git kvm/entry-rework
>
> Thanks! I cherry-picked the basic, x86 and mips patches to kvm.git's master
> branch (I did not use your branch in order to leave arm64 and riscv to the
> respective maintainers).

Since everything's dependent upon that core patch, IIUC that's going to make it
a pain for them to queue things.

How are you expecting the arm64 and riscv maintainers to queue things? Queue
their own copies of that core patch?

Thanks,
Mark.

> Paolo
>
> > This version of the series is tagged as kvm-entry-rework-20220201.
> >
> > [1] https://lore.kernel.org/r/20220111153539.2532246-1-mark.rutland@xxxxxxx/
> > [2] https://lore.kernel.org/r/20220119105854.3160683-1-mark.rutland@xxxxxxx/
> >
> > Thanks,
> >
> >
> > Mark Rutland (5):
> > kvm: add guest_state_{enter,exit}_irqoff()
> > kvm/arm64: rework guest entry logic
> > kvm/x86: rework guest entry logic
> > kvm/riscv: rework guest entry logic
> > kvm/mips: rework guest entry logic
> >
> > arch/arm64/kvm/arm.c | 51 +++++++++++-------
> > arch/mips/kvm/mips.c | 50 +++++++++++++++--
> > arch/riscv/kvm/vcpu.c | 44 +++++++++------
> > arch/x86/kvm/svm/svm.c | 4 +-
> > arch/x86/kvm/vmx/vmx.c | 4 +-
> > arch/x86/kvm/x86.c | 4 +-
> > arch/x86/kvm/x86.h | 45 ----------------
> > include/linux/kvm_host.h | 112 +++++++++++++++++++++++++++++++++++++--
> > 8 files changed, 222 insertions(+), 92 deletions(-)
> >
>