All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] KVM/ARM: Fixes for 4.12-rc1
@ 2017-05-02 13:30 ` Marc Zyngier
  0 siblings, 0 replies; 44+ messages in thread
From: Marc Zyngier @ 2017-05-02 13:30 UTC (permalink / raw)
  To: Christoffer Dall; +Cc: kvm, kvmarm, linux-arm-kernel

Here's a handful of random fixes I've queued locally that didn't have
a chance to make it in 4.11.

The first two patches avoid stack-protector messing with the HYP code,
as this ends up being a complete disaster.

The following two patches fix a bug introduced in the new vgic, where
we may queue HW interrupts with the Pending+Active state, which is
illegal.

The final patch fixes a misinterpretation of the spec, where we
compute the number of APxRn register based on the number of priorities
instead of using the number of preemption levels.

I've tagged the first 4 patches for stable, given that we're doing
something potentially harmful. The last patch is more of a theoretical
issue at this stage, so probably need for a backport.

Marc Zyngier (5):
  arm64: KVM: Do not use stack-protector to compile EL2 code
  arm: KVM: Do not use stack-protector to compile HYP code
  KVM: arm/arm64: vgic-v2: Do not use Active+Pending state for a HW
    interrupt
  KVM: arm/arm64: vgic-v3: Do not use Active+Pending state for a HW
    interrupt
  KVM: arm/arm64: vgic-v3: Use PREbits to infer the number of
    ICH_APxRn_EL2 registers

 arch/arm/kvm/hyp/Makefile     |  2 ++
 arch/arm64/kvm/hyp/Makefile   |  2 ++
 virt/kvm/arm/hyp/vgic-v3-sr.c | 18 +++++++++---------
 virt/kvm/arm/vgic/vgic-v2.c   |  7 +++++++
 virt/kvm/arm/vgic/vgic-v3.c   |  7 +++++++
 5 files changed, 27 insertions(+), 9 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-05-15  9:33 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02 13:30 [PATCH 0/5] KVM/ARM: Fixes for 4.12-rc1 Marc Zyngier
2017-05-02 13:30 ` Marc Zyngier
2017-05-02 13:30 ` [PATCH 1/5] arm64: KVM: Do not use stack-protector to compile EL2 code Marc Zyngier
2017-05-02 13:30   ` Marc Zyngier
2017-05-02 14:40   ` Catalin Marinas
2017-05-02 14:40     ` Catalin Marinas
2017-05-02 14:48     ` Ard Biesheuvel
2017-05-02 14:48       ` Ard Biesheuvel
2017-05-02 14:50     ` Marc Zyngier
2017-05-02 14:50       ` Marc Zyngier
2017-05-11 16:02       ` Marc Zyngier
2017-05-11 16:02         ` Marc Zyngier
2017-05-11 16:11         ` Ard Biesheuvel
2017-05-11 16:11           ` Ard Biesheuvel
2017-05-11 16:36           ` Ard Biesheuvel
2017-05-11 16:36             ` Ard Biesheuvel
2017-05-11 16:42             ` Marc Zyngier
2017-05-11 16:42               ` Marc Zyngier
2017-05-11 17:01               ` Ard Biesheuvel
2017-05-11 17:01                 ` Ard Biesheuvel
2017-05-12 15:07                 ` Marc Zyngier
2017-05-12 15:07                   ` Marc Zyngier
2017-05-02 13:30 ` [PATCH 2/5] arm: KVM: Do not use stack-protector to compile HYP code Marc Zyngier
2017-05-02 13:30   ` Marc Zyngier
2017-05-02 13:30 ` [PATCH 3/5] KVM: arm/arm64: vgic-v2: Do not use Active+Pending state for a HW interrupt Marc Zyngier
2017-05-02 13:30   ` Marc Zyngier
2017-05-02 20:56   ` Christoffer Dall
2017-05-02 20:56     ` Christoffer Dall
2017-05-02 13:30 ` [PATCH 4/5] KVM: arm/arm64: vgic-v3: " Marc Zyngier
2017-05-02 13:30   ` Marc Zyngier
2017-05-02 20:56   ` Christoffer Dall
2017-05-02 20:56     ` Christoffer Dall
2017-05-02 13:30 ` [PATCH 5/5] KVM: arm/arm64: vgic-v3: Use PREbits to infer the number of ICH_APxRn_EL2 registers Marc Zyngier
2017-05-02 13:30   ` Marc Zyngier
2017-05-15  9:30   ` Christoffer Dall
2017-05-15  9:30     ` Christoffer Dall
2017-05-02 14:44 ` [PATCH 0/5] KVM/ARM: Fixes for 4.12-rc1 Paolo Bonzini
2017-05-02 14:44   ` Paolo Bonzini
2017-05-02 15:00   ` Marc Zyngier
2017-05-02 15:00     ` Marc Zyngier
2017-05-02 17:15     ` Christoffer Dall
2017-05-02 17:15       ` Christoffer Dall
2017-05-15  9:33 ` Christoffer Dall
2017-05-15  9:33   ` Christoffer Dall

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.