History

Merge branch 'kvm-arm64/writable-midr' into kvmarm/next

* 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

Oliver Upton committed 1 year ago

Commit 4f2774c2 parents 1b1d1b1 5980a6911 files · +244 −119Browse files

Showing the changes to include/uapi/linux (1 of 11 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -929,6 +929,7 @@ struct kvm_enable_cap { · 928 unmodified lines
929929 #define KVM_CAP_PRE_FAULT_MEMORY 236
930930 #define KVM_CAP_X86_APIC_BUS_CYCLES_NS 237
931931 #define KVM_CAP_X86_GUEST_MODE 238
932+#define KVM_CAP_ARM_WRITABLE_IMP_ID_REGS 239
932933
933934 struct kvm_irq_routing_irqchip {
934935 __u32 irqchip;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t