public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for 3.14.y stable 00/47] Backport fixes of KVM/ARM to 3.14.y stable kernel
@ 2015-05-04  1:51 shannon.zhao
  2015-05-04  1:51 ` [PATCH for 3.14.y stable 01/47] arm64: KVM: force cache clean on page fault when caches are off shannon.zhao
                   ` (47 more replies)
  0 siblings, 48 replies; 58+ messages in thread
From: shannon.zhao @ 2015-05-04  1:51 UTC (permalink / raw)
  To: stable; +Cc: gregkh, christoffer.dall, shannon.zhao

From: Shannon Zhao <shannon.zhao@linaro.org>

For KVM/ARM there are many fixes which have been applied upstream while
not committed to stable kernels. Here we backport the important fixes
to 3.14.y stable kernel.

We have compile-tested each patch on arm/arm64/x86 to make sure the
series are bisectable and have booted the resulting kernel on Fastmodel
and started 2 VMs for arm/arm64, and have boot-tested on TC2 and
started a guest.

These patches are applied on the top of 3.14.40. They can be fetched
from following address:
https://git.linaro.org/people/shannon.zhao/linux-stable.git linux-3.14.y

Thanks,
Shannon

Alex Bennée (1):
  arm64: KVM: export demux regids as KVM_REG_ARM64

Andre Przywara (1):
  KVM: arm/arm64: vgic: fix GICD_ICFGR register accesses

Ard Biesheuvel (3):
  ARM/arm64: KVM: fix use of WnR bit in kvm_is_write_fault()
  arm/arm64: KVM: fix potential NULL dereference in user_mem_abort()
  arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn()

Christoffer Dall (11):
  arm/arm64: KVM: Fix and refactor unmap_range
  arm/arm64: KVM: Fix set_clear_sgi_pend_reg offset
  arm/arm64: KVM: Ensure memslots are within KVM_PHYS_SIZE
  arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create()
  arm/arm64: KVM: Don't clear the VCPU_POWER_OFF flag
  arm/arm64: KVM: Correct KVM_ARM_VCPU_INIT power off option
  arm/arm64: KVM: Reset the HCR on each vcpu when resetting the vcpu
  arm/arm64: KVM: Introduce stage2_unmap_vm
  arm/arm64: KVM: Don't allow creating VCPUs after vgic_initialized
  arm/arm64: KVM: Require in-kernel vgic for the arch timers
  arm/arm64: KVM: Keep elrsr/aisr in sync with software model

Eric Auger (1):
  ARM: KVM: Unmap IPA on memslot delete/move

Geoff Levand (1):
  arm64/kvm: Fix assembler compatibility of macros

Haibin Wang (1):
  KVM: ARM: vgic: Fix the overlap check action about setting the GICD &
    GICC base address.

Joel Schopp (1):
  arm/arm64: KVM: Fix VTTBR_BADDR_MASK and pgd alloc

Kim Phillips (1):
  ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping

Li Liu (1):
  ARM: virt: fix wrong HSCTLR.EE bit setting

Marc Zyngier (15):
  arm64: KVM: force cache clean on page fault when caches are off
  arm64: KVM: allows discrimination of AArch32 sysreg access
  arm64: KVM: trap VM system registers until MMU and caches are ON
  ARM: KVM: introduce kvm_p*d_addr_end
  arm64: KVM: flush VM pages before letting the guest enable caches
  ARM: KVM: force cache clean on page fault when caches are off
  ARM: KVM: fix handling of trapped 64bit coprocessor accesses
  ARM: KVM: fix ordering of 64bit coprocessor accesses
  ARM: KVM: introduce per-vcpu HYP Configuration Register
  ARM: KVM: add world-switch for AMAIR{0,1}
  ARM: KVM: trap VM system registers until MMU and caches are ON
  KVM: ARM: vgic: plug irq injection race
  arm64: KVM: Fix TLB invalidation by IPA/VMID
  arm64: KVM: Fix HCR setting for 32bit guests
  arm64: KVM: Do not use pgd_index to index stage-2 pgd

Mark Rutland (1):
  arm64: KVM: fix unmapping with 48-bit VAs

Steve Capper (1):
  arm: kvm: STRICT_MM_TYPECHECKS fix for user_mem_abort

Victor Kamensky (1):
  ARM64: KVM: store kvm_vcpu_fault_info est_el2 as word

Vladimir Murzin (1):
  arm: kvm: fix CPU hotplug

Will Deacon (6):
  arm64: kvm: use inner-shareable barriers for inner-shareable
    maintenance
  kvm: arm64: vgic: fix hyp panic with 64k pages on juno platform
  KVM: ARM/arm64: fix non-const declaration of function returning const
  KVM: ARM/arm64: fix broken __percpu annotation
  KVM: ARM/arm64: avoid returning negative error code as bool
  KVM: vgic: return int instead of bool when checking I/O ranges

 Documentation/virtual/kvm/api.txt    |   3 +-
 arch/arm/include/asm/kvm_arm.h       |   4 +-
 arch/arm/include/asm/kvm_asm.h       |   4 +-
 arch/arm/include/asm/kvm_emulate.h   |   5 +
 arch/arm/include/asm/kvm_host.h      |  11 +-
 arch/arm/include/asm/kvm_mmu.h       |  55 +++--
 arch/arm/kernel/asm-offsets.c        |   1 +
 arch/arm/kernel/hyp-stub.S           |   4 +-
 arch/arm/kvm/arm.c                   |  73 +++----
 arch/arm/kvm/coproc.c                |  86 ++++++--
 arch/arm/kvm/coproc.h                |  14 +-
 arch/arm/kvm/coproc_a15.c            |   2 +-
 arch/arm/kvm/coproc_a7.c             |   2 +-
 arch/arm/kvm/interrupts_head.S       |  21 +-
 arch/arm/kvm/mmu.c                   | 398 ++++++++++++++++++++++++++++-------
 arch/arm64/include/asm/kvm_arm.h     |  35 ++-
 arch/arm64/include/asm/kvm_asm.h     |   3 +-
 arch/arm64/include/asm/kvm_emulate.h |   7 +
 arch/arm64/include/asm/kvm_host.h    |   4 +-
 arch/arm64/include/asm/kvm_mmu.h     |  58 +++--
 arch/arm64/kvm/guest.c               |   1 -
 arch/arm64/kvm/hyp.S                 |  15 +-
 arch/arm64/kvm/reset.c               |   1 -
 arch/arm64/kvm/sys_regs.c            | 103 +++++++--
 arch/arm64/kvm/sys_regs.h            |   2 +
 include/kvm/arm_arch_timer.h         |  10 +-
 virt/kvm/arm/arch_timer.c            |  30 ++-
 virt/kvm/arm/vgic.c                  |  65 ++++--
 28 files changed, 756 insertions(+), 261 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2015-05-11 20:17 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04  1:51 [PATCH for 3.14.y stable 00/47] Backport fixes of KVM/ARM to 3.14.y stable kernel shannon.zhao
2015-05-04  1:51 ` [PATCH for 3.14.y stable 01/47] arm64: KVM: force cache clean on page fault when caches are off shannon.zhao
2015-05-04  1:51 ` [PATCH for 3.14.y stable 02/47] arm64: KVM: allows discrimination of AArch32 sysreg access shannon.zhao
2015-05-04  1:51 ` [PATCH for 3.14.y stable 03/47] arm64: KVM: trap VM system registers until MMU and caches are ON shannon.zhao
2015-05-04  1:51 ` [PATCH for 3.14.y stable 04/47] ARM: KVM: introduce kvm_p*d_addr_end shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 05/47] arm64: KVM: flush VM pages before letting the guest enable caches shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 06/47] ARM: KVM: force cache clean on page fault when caches are off shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 07/47] ARM: KVM: fix handling of trapped 64bit coprocessor accesses shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 08/47] ARM: KVM: fix ordering of " shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 09/47] ARM: KVM: introduce per-vcpu HYP Configuration Register shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 10/47] ARM: KVM: add world-switch for AMAIR{0,1} shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 11/47] ARM: KVM: trap VM system registers until MMU and caches are ON shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 12/47] KVM: arm/arm64: vgic: fix GICD_ICFGR register accesses shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 13/47] KVM: ARM: vgic: Fix the overlap check action about setting the GICD & GICC base address shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 14/47] arm64: kvm: use inner-shareable barriers for inner-shareable maintenance shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 15/47] kvm: arm64: vgic: fix hyp panic with 64k pages on juno platform shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 16/47] arm/arm64: KVM: Fix and refactor unmap_range shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 17/47] ARM: KVM: Unmap IPA on memslot delete/move shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 18/47] ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 19/47] arm64: KVM: export demux regids as KVM_REG_ARM64 shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 20/47] ARM: virt: fix wrong HSCTLR.EE bit setting shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 21/47] ARM64: KVM: store kvm_vcpu_fault_info est_el2 as word shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 22/47] KVM: ARM/arm64: fix non-const declaration of function returning const shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 23/47] KVM: ARM/arm64: fix broken __percpu annotation shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 24/47] KVM: ARM/arm64: avoid returning negative error code as bool shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 25/47] KVM: vgic: return int instead of bool when checking I/O ranges shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 26/47] ARM/arm64: KVM: fix use of WnR bit in kvm_is_write_fault() shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 27/47] KVM: ARM: vgic: plug irq injection race shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 28/47] arm/arm64: KVM: Fix set_clear_sgi_pend_reg offset shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 29/47] arm/arm64: KVM: Fix VTTBR_BADDR_MASK and pgd alloc shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 30/47] arm: kvm: fix CPU hotplug shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 31/47] arm/arm64: KVM: fix potential NULL dereference in user_mem_abort() shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 32/47] arm/arm64: KVM: Ensure memslots are within KVM_PHYS_SIZE shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 33/47] arm: kvm: STRICT_MM_TYPECHECKS fix for user_mem_abort shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 34/47] arm64: KVM: fix unmapping with 48-bit VAs shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 35/47] arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create() shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 36/47] arm64/kvm: Fix assembler compatibility of macros shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 37/47] arm/arm64: kvm: drop inappropriate use of kvm_is_mmio_pfn() shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 38/47] arm/arm64: KVM: Don't clear the VCPU_POWER_OFF flag shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 39/47] arm/arm64: KVM: Correct KVM_ARM_VCPU_INIT power off option shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 40/47] arm/arm64: KVM: Reset the HCR on each vcpu when resetting the vcpu shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 41/47] arm/arm64: KVM: Introduce stage2_unmap_vm shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 42/47] arm/arm64: KVM: Don't allow creating VCPUs after vgic_initialized shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 43/47] arm/arm64: KVM: Require in-kernel vgic for the arch timers shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 44/47] arm64: KVM: Fix TLB invalidation by IPA/VMID shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 45/47] arm64: KVM: Fix HCR setting for 32bit guests shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 46/47] arm64: KVM: Do not use pgd_index to index stage-2 pgd shannon.zhao
2015-05-04  1:52 ` [PATCH for 3.14.y stable 47/47] arm/arm64: KVM: Keep elrsr/aisr in sync with software model shannon.zhao
2015-05-11 15:17   ` Greg KH
2015-05-11 18:44     ` Christoffer Dall
2015-05-11 18:47       ` Greg KH
2015-05-11  9:39 ` [PATCH for 3.14.y stable 00/47] Backport fixes of KVM/ARM to 3.14.y stable kernel Shannon Zhao
2015-05-11 12:21   ` Greg KH
2015-05-11 15:03     ` Shannon Zhao
2015-05-11 15:20     ` Greg KH
2015-05-11 18:48       ` Christoffer Dall
2015-05-11 20:07         ` Greg KH
2015-05-11 20:17           ` Christoffer Dall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox