* kvm-arm64/writable-midr: : Writable implementation ID registers, courtesy of Sebastian Ott : : Introduce a new capability that allows userspace to set the : ID registers that identify a CPU implementation: MIDR_EL1, REVIDR_EL1, : and AIDR_EL1. Also plug a hole in KVM's trap configuration where : SMIDR_EL1 was readable at EL1, despite the fact that KVM does not : support SME. KVM: arm64: Fix documentation for KVM_CAP_ARM_WRITABLE_IMP_ID_REGS KVM: arm64: Copy MIDR_EL1 into hyp VM when it is writable KVM: arm64: Copy guest CTR_EL0 into hyp VM KVM: selftests: arm64: Test writes to MIDR,REVIDR,AIDR KVM: arm64: Allow userspace to change the implementation ID registers KVM: arm64: Load VPIDR_EL2 with the VM's MIDR_EL1 value KVM: arm64: Maintain per-VM copy of implementation ID regs KVM: arm64: Set HCR_EL2.TID1 unconditionally
Showing the changes to include/uapi/linux (1 of 11 files). Show all
Unified · Split
| @@ -929,6 +929,7 @@ struct kvm_enable_cap { · 928 unmodified lines | ||
| 929 | 929 | #define KVM_CAP_PRE_FAULT_MEMORY 236 |
| 930 | 930 | #define KVM_CAP_X86_APIC_BUS_CYCLES_NS 237 |
| 931 | 931 | #define KVM_CAP_X86_GUEST_MODE 238 |
| 932 | +#define KVM_CAP_ARM_WRITABLE_IMP_ID_REGS 239 | |
| 932 | 933 | |
| 933 | 934 | struct kvm_irq_routing_irqchip { |
| 934 | 935 | __u32 irqchip; |