From: Christoffer Dall <cdall@kernel.org>
To: kvmarm@lists.cs.columbia.edu,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Radim Krčmář" <rkrcmar@redhat.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>,
kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PULL 00/19] KVM/ARM Fixes for v4.15
Date: Mon, 4 Dec 2017 14:56:03 +0100 [thread overview]
Message-ID: <20171204135622.21568-1-cdall@kernel.org> (raw)
From: Christoffer Dall <christoffer.dall@linaro.org>
Hi Paolo and Radim,
Here's the first round of fixes for KVM/ARM for v4.15. This is a fairly large
set of fixes, partially because we spotted a handful of issues from running the
SMATCH static analysis on the code (thanks to AKASHI Takahiro).
In more details, this pull request fixes:
- A number of issues in the vgic discovered using SMATCH
- A bit one-off calculation in out stage base address mask (32-bit and
64-bit)
- Fixes to single-step debugging instructions that trap for other
reasons such as MMMIO aborts
- Printing unavailable hyp mode as error
- Potential spinlock deadlock in the vgic
- Avoid calling vgic vcpu free more than once
- Broken bit calculation for big endian systems
The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:
Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvm-arm-fixes-for-v4.15-1
for you to fetch changes up to fc396e066318c0a02208c1d3f0b62950a7714999:
KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion (2017-12-04 14:25:33 +0100)
Thanks,
-Christoffer
Alex Bennée (5):
KVM: arm/arm64: debug: Introduce helper for single-step
kvm: arm64: handle single-stepping trapped instructions
kvm: arm64: handle single-step of userspace mmio instructions
kvm: arm64: handle single-step during SError exceptions
kvm: arm64: handle single-step of hyp emulated mmio instructions
Andre Przywara (1):
KVM: arm/arm64: VGIC: extend !vgic_is_initialized guard
Andrew Jones (1):
KVM: arm/arm64: kvm_arch_destroy_vm cleanups
Ard Biesheuvel (1):
kvm: arm: don't treat unavailable HYP mode as an error
Christoffer Dall (3):
KVM: arm/arm64: Don't enable/disable physical timer access on VHE
KVM: arm/arm64: Avoid attempting to load timer vgic state without a
vgic
KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
Kristina Martsenko (1):
arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
Marc Zyngier (7):
KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
KVM: arm/arm64: vgic: Preserve the revious read from the pending table
KVM: arm/arm64: vgic-its: Preserve the revious read from the pending
table
KVM: arm/arm64: vgic-its: Check result of allocation before use
KVM: arm/arm64: vgic-v4: Only perform an unmap for valid vLPIs
arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
KVM: arm/arm64: Fix spinlock acquisition in vgic_set_owner
arch/arm/include/asm/kvm_arm.h | 3 +--
arch/arm/include/asm/kvm_host.h | 5 ++++
arch/arm64/include/asm/kvm_arm.h | 3 +--
arch/arm64/include/asm/kvm_host.h | 1 +
arch/arm64/kvm/debug.c | 21 +++++++++++++++
arch/arm64/kvm/handle_exit.c | 57 ++++++++++++++++++++++++++++-----------
arch/arm64/kvm/hyp/switch.c | 37 ++++++++++++++++++++-----
include/kvm/arm_arch_timer.h | 3 ---
virt/kvm/arm/arch_timer.c | 11 +++-----
virt/kvm/arm/arm.c | 7 +++--
virt/kvm/arm/hyp/timer-sr.c | 48 ++++++++++++++-------------------
virt/kvm/arm/hyp/vgic-v2-sr.c | 4 ---
virt/kvm/arm/vgic/vgic-irqfd.c | 3 +--
virt/kvm/arm/vgic/vgic-its.c | 4 ++-
virt/kvm/arm/vgic/vgic-v3.c | 2 +-
virt/kvm/arm/vgic/vgic-v4.c | 6 +++--
virt/kvm/arm/vgic/vgic.c | 8 +++---
17 files changed, 144 insertions(+), 79 deletions(-)
--
2.14.2
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
WARNING: multiple messages have this Message-ID (diff)
From: cdall@kernel.org (Christoffer Dall)
To: linux-arm-kernel@lists.infradead.org
Subject: [PULL 00/19] KVM/ARM Fixes for v4.15
Date: Mon, 4 Dec 2017 14:56:03 +0100 [thread overview]
Message-ID: <20171204135622.21568-1-cdall@kernel.org> (raw)
From: Christoffer Dall <christoffer.dall@linaro.org>
Hi Paolo and Radim,
Here's the first round of fixes for KVM/ARM for v4.15. This is a fairly large
set of fixes, partially because we spotted a handful of issues from running the
SMATCH static analysis on the code (thanks to AKASHI Takahiro).
In more details, this pull request fixes:
- A number of issues in the vgic discovered using SMATCH
- A bit one-off calculation in out stage base address mask (32-bit and
64-bit)
- Fixes to single-step debugging instructions that trap for other
reasons such as MMMIO aborts
- Printing unavailable hyp mode as error
- Potential spinlock deadlock in the vgic
- Avoid calling vgic vcpu free more than once
- Broken bit calculation for big endian systems
The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:
Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvm-arm-fixes-for-v4.15-1
for you to fetch changes up to fc396e066318c0a02208c1d3f0b62950a7714999:
KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion (2017-12-04 14:25:33 +0100)
Thanks,
-Christoffer
Alex Benn?e (5):
KVM: arm/arm64: debug: Introduce helper for single-step
kvm: arm64: handle single-stepping trapped instructions
kvm: arm64: handle single-step of userspace mmio instructions
kvm: arm64: handle single-step during SError exceptions
kvm: arm64: handle single-step of hyp emulated mmio instructions
Andre Przywara (1):
KVM: arm/arm64: VGIC: extend !vgic_is_initialized guard
Andrew Jones (1):
KVM: arm/arm64: kvm_arch_destroy_vm cleanups
Ard Biesheuvel (1):
kvm: arm: don't treat unavailable HYP mode as an error
Christoffer Dall (3):
KVM: arm/arm64: Don't enable/disable physical timer access on VHE
KVM: arm/arm64: Avoid attempting to load timer vgic state without a
vgic
KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
Kristina Martsenko (1):
arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
Marc Zyngier (7):
KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
KVM: arm/arm64: vgic: Preserve the revious read from the pending table
KVM: arm/arm64: vgic-its: Preserve the revious read from the pending
table
KVM: arm/arm64: vgic-its: Check result of allocation before use
KVM: arm/arm64: vgic-v4: Only perform an unmap for valid vLPIs
arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
KVM: arm/arm64: Fix spinlock acquisition in vgic_set_owner
arch/arm/include/asm/kvm_arm.h | 3 +--
arch/arm/include/asm/kvm_host.h | 5 ++++
arch/arm64/include/asm/kvm_arm.h | 3 +--
arch/arm64/include/asm/kvm_host.h | 1 +
arch/arm64/kvm/debug.c | 21 +++++++++++++++
arch/arm64/kvm/handle_exit.c | 57 ++++++++++++++++++++++++++++-----------
arch/arm64/kvm/hyp/switch.c | 37 ++++++++++++++++++++-----
include/kvm/arm_arch_timer.h | 3 ---
virt/kvm/arm/arch_timer.c | 11 +++-----
virt/kvm/arm/arm.c | 7 +++--
virt/kvm/arm/hyp/timer-sr.c | 48 ++++++++++++++-------------------
virt/kvm/arm/hyp/vgic-v2-sr.c | 4 ---
virt/kvm/arm/vgic/vgic-irqfd.c | 3 +--
virt/kvm/arm/vgic/vgic-its.c | 4 ++-
virt/kvm/arm/vgic/vgic-v3.c | 2 +-
virt/kvm/arm/vgic/vgic-v4.c | 6 +++--
virt/kvm/arm/vgic/vgic.c | 8 +++---
17 files changed, 144 insertions(+), 79 deletions(-)
--
2.14.2
next reply other threads:[~2017-12-04 13:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 13:56 Christoffer Dall [this message]
2017-12-04 13:56 ` [PULL 00/19] KVM/ARM Fixes for v4.15 Christoffer Dall
2017-12-04 14:28 ` Christoffer Dall
2017-12-04 14:28 ` Christoffer Dall
-- strict thread matches above, loose matches on Subject: below --
2017-12-04 13:56 Christoffer Dall
2017-12-04 13:56 ` Christoffer Dall
2017-12-05 17:59 ` Radim Krčmář
2017-12-05 17:59 ` Radim Krčmář
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=20171204135622.21568-1-cdall@kernel.org \
--to=cdall@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=marc.zyngier@arm.com \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
/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.