All of lore.kernel.org
 help / color / mirror / Atom feed
From: Huacai Chen <zltjiangshi@gmail.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Aleksandar Markovic" <aleksandar.qemu.devel@gmail.com>
Cc: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>,
	Huacai Chen <chenhuacai@gmail.com>,
	qemu-devel@nongnu.org, Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Huacai Chen <chenhc@lemote.com>,
	Aurelien Jarno <aurelien@aurel32.net>
Subject: [PATCH V13 1/9] linux-headers: Update MIPS KVM type defintition
Date: Wed,  7 Oct 2020 16:39:27 +0800	[thread overview]
Message-ID: <1602059975-10115-2-git-send-email-chenhc@lemote.com> (raw)
In-Reply-To: <1602059975-10115-1-git-send-email-chenhc@lemote.com>

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



  reply	other threads:[~2020-10-07  8:43 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-07  8:39 [PATCH V13 0/9] mips: Add Loongson-3 machine support Huacai Chen
2020-10-07  8:39 ` Huacai Chen [this message]
2020-10-10  8:25   ` [PATCH V13 1/9] linux-headers: Update MIPS KVM type defintition Philippe Mathieu-Daudé
2020-10-10 12:59   ` Peter Maydell
2020-10-10 13:11     ` Philippe Mathieu-Daudé
2020-10-07  8:39 ` [PATCH V13 2/9] meson.build: Re-enable KVM support for MIPS Huacai Chen
2020-10-07  8:51   ` Paolo Bonzini
2020-11-17 17:17   ` Philippe Mathieu-Daudé
2020-11-20  4:28     ` Huacai Chen
2020-11-20 10:55       ` Philippe Mathieu-Daudé
2020-11-20 10:55         ` Philippe Mathieu-Daudé
2020-11-22  3:31         ` Huacai Chen
2020-11-22  3:31           ` Huacai Chen
2021-03-23 13:56           ` Philippe Mathieu-Daudé
2021-03-23 13:56             ` Philippe Mathieu-Daudé
2021-03-24  1:22             ` Jiaxun Yang
2021-03-24  1:22               ` Jiaxun Yang
2021-03-24  2:12               ` YunQiang Su
2021-03-24  2:12                 ` YunQiang Su
2020-10-07  8:39 ` [PATCH V13 3/9] target/mips: Fix PageMask with variable page size Huacai Chen
2020-10-07  8:39 ` [PATCH V13 4/9] target/mips: Add loongson-ext lswc2 group of instructions (Part 1) Huacai Chen
2020-10-07  8:39 ` [PATCH V13 5/9] target/mips: Add loongson-ext lswc2 group of instructions (Part 2) Huacai Chen
2020-10-07  8:39 ` [PATCH V13 6/9] target/mips: Add loongson-ext lsdc2 group of instructions Huacai Chen
2020-10-10 13:07   ` Philippe Mathieu-Daudé
2020-10-11  3:02     ` Huacai Chen
2020-10-11 11:13       ` Philippe Mathieu-Daudé
2020-10-12 10:33         ` Huacai Chen
2020-10-12 11:04           ` Philippe Mathieu-Daudé
2020-10-07  8:39 ` [PATCH V13 7/9] hw/mips: Implement fw_cfg_arch_key_name() Huacai Chen
2020-10-07  8:39 ` [PATCH V13 8/9] hw/mips: Add Loongson-3 machine support Huacai Chen
2020-10-10  9:09   ` Philippe Mathieu-Daudé
2020-10-11  2:53     ` Huacai Chen
2020-10-12  8:12       ` Philippe Mathieu-Daudé
2020-10-13 11:12         ` Huacai Chen
2020-10-13 13:45           ` Philippe Mathieu-Daudé
2020-10-14  1:28             ` Huacai Chen
2020-10-07  8:39 ` [PATCH V13 9/9] docs/system: Update MIPS machine documentation Huacai Chen
2020-10-09 15:29   ` Philippe Mathieu-Daudé
2020-10-10  1:47     ` Huacai Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1602059975-10115-2-git-send-email-chenhc@lemote.com \
    --to=zltjiangshi@gmail.com \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=aleksandar.rikalo@syrmia.com \
    --cc=aurelien@aurel32.net \
    --cc=chenhc@lemote.com \
    --cc=chenhuacai@gmail.com \
    --cc=f4bug@amsat.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.