All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] Second batch of KVM changes for Linux 4.15
@ 2017-11-21  0:06 Paolo Bonzini
  2017-11-24  3:50 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2017-11-21  0:06 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, rkrcmar, kvm

Linus,

The following changes since commit cf9b0772f2e410645fece13b749bd56505b998b8:

  Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc (2017-11-16 16:05:01 -0800)

are available in the git repository at:


  git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

for you to fetch changes up to 2444ba9dcdceb6fc60737b22d4dca0a728296ece:

  KVM: X86: Fix softlockup when get the current kvmclock (2017-11-21 00:11:31 +0100)

----------------------------------------------------------------
* GICv4 Support for KVM/ARM for v4.15
* x86 bugfixes: APIC, nested virtualization, IOAPIC, AMD+VFIO performance
issue with npt=1
* x86 guest UMIP support (real and emulated)

I am not including the host side of AMD SEV, because it wouldn't have gotten
enough time in linux-next even with a "regular-length" merge window.  It
will be in 4.16.

----------------------------------------------------------------
Christoffer Dall (3):
      Merge git://git.kernel.org/.../tip/tip.git irq/core
      KVM: arm/arm64: Fix GICv4 ITS initialization issues
      KVM: arm/arm64: Don't queue VLPIs on INV/INVALL

David Hildenbrand (1):
      KVM: x86: fix em_fxstor() sleeping while in atomic

Dr. David Alan Gilbert (2):
      KVM: lapic: Split out x2apic ldr calculation
      KVM: lapic: Fixup LDR on load in x2apic

Eric Auger (2):
      KVM: arm/arm64: register irq bypass consumer on ARM/ARM64
      KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq

Eyal Moscovici (1):
      KVM: x86: Allow suppressing prints on RDMSR/WRMSR of unhandled MSRs

Gimcuan Hui (1):
      x86: kvm: mmu: make kvm_mmu_clear_all_pte_masks static

Janakarajan Natarajan (1):
      KVM: x86: Fix CPUID function for word 6 (80000001_ECX)

Liran Alon (6):
      KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
      KVM: nVMX/nSVM: Don't intercept #UD when running L2
      KVM: x86: Exit to user-mode on #UD intercept when emulator requires
      KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure
      KVM: x86: Don't re-execute instruction when not passing CR2 value
      KVM: nVMX: Fix vmx_check_nested_events() return value in case an event was reinjected to L2

Marc Zyngier (23):
      KVM: arm: Select ARM_GIC_V3 and ARM_GIC_V3_ITS
      KVM: arm/arm64: vgic: Move kvm_vgic_destroy call around
      KVM: arm/arm64: vITS: Add MSI translation helpers
      KVM: arm/arm64: vITS: Add a helper to update the affinity of an LPI
      KVM: arm/arm64: GICv4: Add property field and per-VM predicate
      KVM: arm/arm64: GICv4: Add init/teardown of the per-VM vPE irq domain
      KVM: arm/arm64: GICv4: Wire mapping/unmapping of VLPIs in VFIO irq bypass
      KVM: arm/arm64: GICv4: Handle INT command applied to a VLPI
      KVM: arm/arm64: GICv4: Unmap VLPI when freeing an LPI
      KVM: arm/arm64: GICv4: Propagate affinity changes to the physical ITS
      KVM: arm/arm64: GICv4: Handle CLEAR applied to a VLPI
      KVM: arm/arm64: GICv4: Handle MOVALL applied to a vPE
      KVM: arm/arm64: GICv4: Propagate property updates to VLPIs
      KVM: arm/arm64: GICv4: Handle INVALL applied to a vPE
      KVM: arm/arm64: GICv4: Use pending_last as a scheduling hint
      KVM: arm/arm64: GICv4: Add doorbell interrupt handling
      KVM: arm/arm64: GICv4: Use the doorbell interrupt as an unblocking source
      KVM: arm/arm64: GICv4: Hook vPE scheduling into vgic flush/sync
      KVM: arm/arm64: GICv4: Enable virtual cpuif if VLPIs can be delivered
      KVM: arm/arm64: GICv4: Prevent a VM using GICv4 from being saved
      KVM: arm/arm64: GICv4: Prevent userspace from changing doorbell affinity
      KVM: arm/arm64: GICv4: Enable VLPI support
      KVM: arm/arm64: GICv4: Theory of operations

Nikita Leshenko (5):
      KVM: x86: ioapic: Fix level-triggered EOI and IOAPIC reconfigure race
      KVM: x86: ioapic: Don't fire level irq when Remote IRR set
      KVM: x86: ioapic: Remove redundant check for Remote IRR in ioapic_set_irq
      KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered
      KVM: x86: ioapic: Preserve read-only values in the redirection table

Paolo Bonzini (11):
      Merge tag 'kvm-arm-gicv4-for-v4.15' of git://git.kernel.org/.../kvmarm/kvmarm into HEAD
      KVM: SVM: obey guest PAT
      kvm: vmx: Reinstate support for CPUs without virtual NMI
      kvm: vmx: Allow disabling virtual NMI support
      KVM: x86: inject exceptions produced by x86_decode_insn
      KVM: vmx: use X86_CR4_UMIP and X86_FEATURE_UMIP
      KVM: x86: add support for UMIP
      KVM: x86: emulate sldt and str
      KVM: x86: add support for emulating UMIP
      KVM: vmx: add support for emulating UMIP
      KVM: x86: emulate RDPID

Wanpeng Li (4):
      KVM: X86: Fix operand/address-size during instruction decoding
      KVM: nVMX: Validate the IA32_BNDCFGS on nested VM-entry
      KVM: nVMX: Fix mmu context after VMLAUNCH/VMRESUME failure
      KVM: X86: Fix softlockup when get the current kvmclock

 Documentation/admin-guide/kernel-parameters.txt    |   4 +
 Documentation/virtual/kvm/devices/arm-vgic-its.txt |   2 +
 arch/arm/kvm/Kconfig                               |   5 +
 arch/arm/kvm/Makefile                              |   1 +
 arch/arm64/kvm/Kconfig                             |   3 +
 arch/arm64/kvm/Makefile                            |   1 +
 arch/x86/include/asm/kvm_host.h                    |   6 +-
 arch/x86/kvm/cpuid.c                               |  13 +-
 arch/x86/kvm/cpuid.h                               |   2 +-
 arch/x86/kvm/emulate.c                             | 101 +++++-
 arch/x86/kvm/ioapic.c                              |  34 +-
 arch/x86/kvm/lapic.c                               |  12 +-
 arch/x86/kvm/mmu.c                                 |   2 +-
 arch/x86/kvm/svm.c                                 |  24 +-
 arch/x86/kvm/vmx.c                                 | 277 ++++++++++++----
 arch/x86/kvm/x86.c                                 |  38 ++-
 include/kvm/arm_vgic.h                             |  41 ++-
 virt/kvm/arm/arch_timer.c                          |  24 +-
 virt/kvm/arm/arm.c                                 |  48 ++-
 virt/kvm/arm/hyp/vgic-v3-sr.c                      |   9 +-
 virt/kvm/arm/vgic/vgic-init.c                      |   7 +
 virt/kvm/arm/vgic/vgic-its.c                       | 204 ++++++++----
 virt/kvm/arm/vgic/vgic-mmio-v3.c                   |   5 +
 virt/kvm/arm/vgic/vgic-v3.c                        |  14 +
 virt/kvm/arm/vgic/vgic-v4.c                        | 364 +++++++++++++++++++++
 virt/kvm/arm/vgic/vgic.c                           |  67 +++-
 virt/kvm/arm/vgic/vgic.h                           |  10 +
 27 files changed, 1092 insertions(+), 226 deletions(-)
 create mode 100644 virt/kvm/arm/vgic/vgic-v4.c

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Second batch of KVM changes for Linux 4.15
  2017-11-21  0:06 [GIT PULL] Second batch of KVM changes for Linux 4.15 Paolo Bonzini
@ 2017-11-24  3:50 ` Linus Torvalds
  2017-11-24  9:36   ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2017-11-24  3:50 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Linux Kernel Mailing List, Radim Krčmář, KVM list

On Mon, Nov 20, 2017 at 2:06 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> I am not including the host side of AMD SEV, because it wouldn't have gotten
> enough time in linux-next even with a "regular-length" merge window.  It
> will be in 4.16.

So I pulled it, but then checked,

None of this was in linux-next 20171117 either,

So I unpulled it,

             Linus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Second batch of KVM changes for Linux 4.15
  2017-11-24  3:50 ` Linus Torvalds
@ 2017-11-24  9:36   ` Paolo Bonzini
       [not found]     ` <CA+55aFwwvdL2t9POHzQp3BEzOGyNXh4KWwda1=r26QcujJ-5rQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2017-11-24  9:36 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, Radim Krčmář, KVM list

On 24/11/2017 04:50, Linus Torvalds wrote:
> On Mon, Nov 20, 2017 at 2:06 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>
>> I am not including the host side of AMD SEV, because it wouldn't have gotten
>> enough time in linux-next even with a "regular-length" merge window.  It
>> will be in 4.16.
> 
> So I pulled it, but then checked,
> 
> None of this was in linux-next 20171117 either,
> 
> So I unpulled it,

The ARM parts certainly were.

UMIP emulation wasn't, because I asked several times the x86 maintainers
to help with a topic branch but they didn't.

Everything else is bugfixes and confined to arch/x86/kvm.

Anyway, will submit again for 4.16.

Paolo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Second batch of KVM changes for Linux 4.15
       [not found]     ` <CA+55aFwwvdL2t9POHzQp3BEzOGyNXh4KWwda1=r26QcujJ-5rQ@mail.gmail.com>
@ 2017-11-27 10:35       ` Paolo Bonzini
  2017-11-27 19:16         ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2017-11-27 10:35 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, Radim Krčmář, KVM list

On 25/11/2017 02:59, Linus Torvalds wrote:
> 
> 
> On Nov 23, 2017 23:36, "Paolo Bonzini" <pbonzini@redhat.com
> <mailto:pbonzini@redhat.com>> wrote:
> 
>     On 24/11/2017 04:50, Linus Torvalds wrote:
>     >
>     > So I pulled it, but then checked,
>     >
>     > None of this was in linux-next 20171117 either,
>     >
>     > So I unpulled it,
> 
>     The ARM parts certainly were.
> 
> Were those rebased or something?

They came from the submaintainers' tree, so technically it wasn't in *my*
linux-next tree; if you looked at "linux-next as of the kvm/linux-next merge",
you wouldn't have found them.  But they were not rebased at least between
20171113 and 20171117:

+Merging kvm-arm/next (95b110ab9a09 KVM: arm/arm64: Don't queue VLPIs on INV/INVALL)
+$ git merge kvm-arm/next
+Auto-merging virt/kvm/arm/vgic/vgic-its.c
+Auto-merging virt/kvm/arm/arm.c
+Auto-merging arch/arm64/kvm/Makefile
+Auto-merging arch/arm64/kvm/Kconfig
+Auto-merging arch/arm/kvm/Makefile
+Auto-merging arch/arm/kvm/Kconfig
+Auto-merging Documentation/admin-guide/kernel-parameters.txt
+Merge made by the 'recursive' strategy.
+ Documentation/admin-guide/kernel-parameters.txt    |   4 +
+ Documentation/virtual/kvm/devices/arm-vgic-its.txt |   2 +
+ arch/arm/kvm/Kconfig                               |   5 +
+ arch/arm/kvm/Makefile                              |   1 +
+ arch/arm64/kvm/Kconfig                             |   3 +
+ arch/arm64/kvm/Makefile                            |   1 +
+ include/kvm/arm_vgic.h                             |  41 ++-
+ virt/kvm/arm/arch_timer.c                          |  24 +-
+ virt/kvm/arm/arm.c                                 |  48 ++-
+ virt/kvm/arm/hyp/vgic-v3-sr.c                      |   9 +-
+ virt/kvm/arm/vgic/vgic-init.c                      |   7 +
+ virt/kvm/arm/vgic/vgic-its.c                       | 204 ++++++++----
+ virt/kvm/arm/vgic/vgic-mmio-v3.c                   |   5 +
+ virt/kvm/arm/vgic/vgic-v3.c                        |  14 +
+ virt/kvm/arm/vgic/vgic-v4.c                        | 364 +++++++++++++++++++++
+ virt/kvm/arm/vgic/vgic.c                           |  67 +++-
+ virt/kvm/arm/vgic/vgic.h                           |  10 +
+ 17 files changed, 695 insertions(+), 114 deletions(-)
+ create mode 100644 virt/kvm/arm/vgic/vgic-v4.c

(from https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/diff/Next/merge.log?h=next-20171113&id=c348a99ee55feac43b5b62a5957c6d8e2b6c3abe)

> One of the issues with rebasing is literally that it just looks like a
> different commit entirely. If you then mix stuff in that really wasn't
> there in any form at all, it *all* looks new.

No, KVM pretty much never rebases what goes in linux-next (this applies to
both the generic+x86 tree that Radim and I maintain, and the submaintainer
trees).

This does have the side effect of giving slightly less linux-next exposure to
very early bugfixes, which is exactly what happened for this pull request.
We'll fix that.

For UMIP, the main reason for me to include it wasn't really the KVM parts, but
rather making it possible to test core UMIP support through KVM's emulation.
But it was indeed a bit fast-and-loose, so, lesson learnt.

Thanks,

Paolo

Paolo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] Second batch of KVM changes for Linux 4.15
  2017-11-27 10:35       ` Paolo Bonzini
@ 2017-11-27 19:16         ` Linus Torvalds
  0 siblings, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 2017-11-27 19:16 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Linux Kernel Mailing List, Radim Krčmář, KVM list

On Mon, Nov 27, 2017 at 2:35 AM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> They came from the submaintainers' tree, so technically it wasn't in *my*
> linux-next tree; if you looked at "linux-next as of the kvm/linux-next merge",
> you wouldn't have found them.  But they were not rebased at least between
> 20171113 and 20171117:

I don't look into specific branches, I looked just at the status at 20171117.

Basically I do a fetch of the requested branch, and then check what is
in the fetch that wasn't in next-20171117. There was a lot there,
which is why I complained.

                  Linus

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-27 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21  0:06 [GIT PULL] Second batch of KVM changes for Linux 4.15 Paolo Bonzini
2017-11-24  3:50 ` Linus Torvalds
2017-11-24  9:36   ` Paolo Bonzini
     [not found]     ` <CA+55aFwwvdL2t9POHzQp3BEzOGyNXh4KWwda1=r26QcujJ-5rQ@mail.gmail.com>
2017-11-27 10:35       ` Paolo Bonzini
2017-11-27 19:16         ` Linus Torvalds

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.