Skip to content

KVM: arm64: Fix splat/misbehavior for MMIO SEA injection

Oliver Upton kvmarm stable 2 versions – Applied

Status from this message: Applied to kvmarm/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Make it clear that the series is referring to synchronous external aborts (i.e. SEAs)
- Move helper out of header
- Pull esr + friends into tools, for use in KVM selftests

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: arm64: Don't retire aborted MMIO instructionarch/arm64/kvm/mmio.c+30 -20 replies
2/4tools: arm64: Grab a copy of esr.h from kerneltools/arch/arm64/include/asm/brk-imm.h tools/arch/arm64/include/asm/esr.h+497 -00 replies
3/4KVM: arm64: selftests: Convert to kernel's ESR terminologytools/testing/selftests/kvm/aarch64/debug-exceptions.c tools/testing/selftests/kvm/aarch64/no-vgic-v3.c tools/testing/selftests/kvm/aarch64/page_fault_test.c +3 more+19 -300 replies
4/4KVM: arm64: selftests: Add tests for MMIO external abort injectiontools/testing/selftests/kvm/Makefile tools/testing/selftests/kvm/aarch64/mmio_abort.c+160 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc Zyngier
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] KVM: arm64: Fix splat/misbehavior for MMIO SEA injection

v1 -> v2:
- Make it clear that the series is referring to synchronous external aborts (i.e. SEAs)
- Move helper out of header
- Pull esr + friends into tools, for use in KVM selftests

v2: https://lore.kernel.org/kvmarm/[email protected]/

Oliver Upton (4):
KVM: arm64: Don't retire aborted MMIO instruction
tools: arm64: Grab a copy of esr.h from kernel
KVM: arm64: selftests: Convert to kernel's ESR terminology
KVM: arm64: selftests: Add tests for MMIO external abort injection

 arch/arm64/kvm/mmio.c                         |  32 +-
 tools/arch/arm64/include/asm/brk-imm.h        |  42 ++
 tools/arch/arm64/include/asm/esr.h            | 455 ++++++++++++++++++
 tools/testing/selftests/kvm/Makefile          |   1 +
 .../selftests/kvm/aarch64/debug-exceptions.c  |  10 +-
 .../selftests/kvm/aarch64/mmio_abort.c        | 159 ++++++
 .../selftests/kvm/aarch64/no-vgic-v3.c        |   2 +-
 .../selftests/kvm/aarch64/page_fault_test.c   |   4 +-
 .../kvm/aarch64/vpmu_counter_access.c         |  12 +-
 .../selftests/kvm/include/aarch64/processor.h |  15 +-
 .../selftests/kvm/lib/aarch64/processor.c     |   6 +-
 11 files changed, 706 insertions(+), 32 deletions(-)
 create mode 100644 tools/arch/arm64/include/asm/brk-imm.h
 create mode 100644 tools/arch/arm64/include/asm/esr.h
 create mode 100644 tools/testing/selftests/kvm/aarch64/mmio_abort.c

base-commit: 8e929cb546ee42c9a61d24fae60605e9e3192354

Signature · 1 line
2.47.0.163.g1226f6d8fa-goog