All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 17/17] KVM: compat: riscv: Prevent KVM_COMPAT from being selected
@ 2022-01-20  7:39 ` guoren
  0 siblings, 0 replies; 12+ messages in thread
From: guoren @ 2022-01-20  7:39 UTC (permalink / raw)
  To: guoren, palmer, arnd, anup, gregkh, liush, wefu, drew,
	wangjunqiang, hch, hch
  Cc: linux-kernel, linux-riscv, linux-csky, linux-s390, sparclinux,
	linuxppc-dev, inux-parisc, linux-mips, linux-arm-kernel, x86,
	Guo Ren

From: Guo Ren <guoren@linux.alibaba.com>

Current riscv doesn't support the 32bit KVM/arm API. Let's make it
clear by not selecting KVM_COMPAT.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
---
 virt/kvm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index f4834c20e4a6..a8c5c9f06b3c 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -53,7 +53,7 @@ config KVM_GENERIC_DIRTYLOG_READ_PROTECT
 
 config KVM_COMPAT
        def_bool y
-       depends on KVM && COMPAT && !(S390 || ARM64)
+       depends on KVM && COMPAT && !(S390 || ARM64 || RISCV)
 
 config HAVE_KVM_IRQ_BYPASS
        bool
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-01-21  6:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20  7:39 [PATCH V3 17/17] KVM: compat: riscv: Prevent KVM_COMPAT from being selected guoren
2022-01-20  7:39 ` guoren
2022-01-20  7:39 ` guoren
2022-01-20  7:39 ` guoren
2022-01-20 10:10 ` Arnd Bergmann
2022-01-20 10:10   ` Arnd Bergmann
2022-01-20 10:10   ` Arnd Bergmann
2022-01-20 10:10   ` Arnd Bergmann
2022-01-21  6:35   ` Guo Ren
2022-01-21  6:35     ` Guo Ren
2022-01-21  6:35     ` Guo Ren
2022-01-21  6:35     ` Guo Ren

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.