History

MIPS: KVM: Wire up MSA capability

Now that the code is in place for KVM to support MIPS SIMD Architecutre (MSA) in MIPS guests, wire up the new KVM_CAP_MIPS_MSA capability. For backwards compatibility, the capability must be explicitly enabled in order to detect or make use of MSA from the guest. The capability is not supported if the hardware supports MSA vector partitioning, since the extra support cannot be tested yet and it extends the state that the userland program would have to save.

James Hogan committed 11 years ago

Commit d952bd01 parent ab86bd63 files · +31 −0Browse files

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

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -803,6 +803,7 @@ struct kvm_ppc_smmu_info { · 802 unmodified lines
803803 #define KVM_CAP_S390_USER_STSI 109
804804 #define KVM_CAP_S390_SKEYS 110
805805 #define KVM_CAP_MIPS_FPU 111
806+#define KVM_CAP_MIPS_MSA 112
806807
807808 #ifdef KVM_CAP_IRQ_ROUTING
808809

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