Skip to content

KVM: arm64: Remove the target table

James Morse kvmarm linux-arm-kernel lkml 1 version Applied

Status from this message: Applied to kvm-arm64/next-5.9, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: arm64: Drop the target_table[] indirectionarch/arm64/include/asm/kvm_coproc.h arch/arm64/kvm/sys_regs.c arch/arm64/kvm/sys_regs.h +1 more+9 -270 replies
2/5KVM: arm64: Tolerate an empty target_table listarch/arm64/kvm/sys_regs.c+4 -10 replies
3/5KVM: arm64: Move ACTLR_EL1 emulation to the sys_reg_descs arrayarch/arm64/kvm/sys_regs.c arch/arm64/kvm/sys_regs_generic_v8.c+28 -300 replies
4/5KVM: arm64: Remove target_table from exit handlersarch/arm64/kvm/sys_regs.c+16 -710 replies
5/5KVM: arm64: Remove the target tablearch/arm64/include/asm/kvm_coproc.h arch/arm64/kvm/Makefile arch/arm64/kvm/sys_regs.c +2 more+12 -1110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] KVM: arm64: Remove the target table

Hi guys,

KVM's target_table indirection is a relic from 32bit where different CPUs had different reset values for ACTLR. All 64bit CPUs have the same behaviour here, but we support different targets, that all map to the same behaviour.

This series removes the indirection and the fiddly handling of two tables.

We still need to offer user-space the preferred target, and check it selects a supported target, but we no longer do anything with the information.

This series based on v5.8-rc1, and can be retrieved from:
git://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git kvm-arm64/kill_target_table/v1

Thanks,

James Morse (5):
KVM: arm64: Drop the target_table[] indirection
KVM: arm64: Tolerate an empty target_table list
KVM: arm64: Move ACTLR_EL1 emulation to the sys_reg_descs array
KVM: arm64: Remove target_table from exit handlers
KVM: arm64: Remove the target table

 arch/arm64/include/asm/kvm_coproc.h  |   8 --
 arch/arm64/kvm/Makefile              |   2 +-
 arch/arm64/kvm/sys_regs.c            | 177 +++++++++------------------
 arch/arm64/kvm/sys_regs_generic_v8.c |  96 ---------------
 4 files changed, 56 insertions(+), 227 deletions(-)
 delete mode 100644 arch/arm64/kvm/sys_regs_generic_v8.c
Signature · 6 lines
2.20.1

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm