[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH V13 1/9] linux-headers: Update MIPS KVM type defintition
From: |
Huacai Chen |
Subject: |
[PATCH V13 1/9] linux-headers: Update MIPS KVM type defintition |
Date: |
Wed, 7 Oct 2020 16:39:27 +0800 |
Update MIPS KVM type defintition from Linux 5.9-rc6.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
---
linux-headers/linux/kvm.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 6683e2e..c138b2f 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -790,9 +790,10 @@ struct kvm_ppc_resize_hpt {
#define KVM_VM_PPC_HV 1
#define KVM_VM_PPC_PR 2
-/* on MIPS, 0 forces trap & emulate, 1 forces VZ ASE */
-#define KVM_VM_MIPS_TE 0
+/* on MIPS, 0 indicates auto, 1 forces VZ ASE, 2 forces trap & emulate */
+#define KVM_VM_MIPS_AUTO 0
#define KVM_VM_MIPS_VZ 1
+#define KVM_VM_MIPS_TE 2
#define KVM_S390_SIE_PAGE_OFFSET 1
--
2.7.0
- [PATCH V13 0/9] mips: Add Loongson-3 machine support, Huacai Chen, 2020/10/07
- [PATCH V13 1/9] linux-headers: Update MIPS KVM type defintition,
Huacai Chen <=
- [PATCH V13 2/9] meson.build: Re-enable KVM support for MIPS, Huacai Chen, 2020/10/07
- [PATCH V13 3/9] target/mips: Fix PageMask with variable page size, Huacai Chen, 2020/10/07
- [PATCH V13 4/9] target/mips: Add loongson-ext lswc2 group of instructions (Part 1), Huacai Chen, 2020/10/07
- [PATCH V13 5/9] target/mips: Add loongson-ext lswc2 group of instructions (Part 2), Huacai Chen, 2020/10/07
- [PATCH V13 6/9] target/mips: Add loongson-ext lsdc2 group of instructions, Huacai Chen, 2020/10/07