linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: ARM: enable Cortex A7 hosts
@ 2013-09-19 12:01 Ulrich Hecht
  2013-09-25  5:32 ` Simon Horman
  2013-09-26 11:50 ` Ulrich Hecht
  0 siblings, 2 replies; 4+ messages in thread
From: Ulrich Hecht @ 2013-09-19 12:01 UTC (permalink / raw)
  To: kvm; +Cc: linux-sh, magnus.damm, Ulrich Hecht

KVM runs fine on Cortex A7 cores, so they should be enabled. Tested on an
APE6EVM board (r8a73a4 SoC).

Signed-off-by: Ulrich Hecht <ulrich.hecht@gmail.com>
---
 arch/arm/kvm/guest.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/kvm/guest.c b/arch/arm/kvm/guest.c
index 152d036..05c62d5 100644
--- a/arch/arm/kvm/guest.c
+++ b/arch/arm/kvm/guest.c
@@ -192,6 +192,8 @@ int __attribute_const__ kvm_target_cpu(void)
 	switch (part_number) {
 	case ARM_CPU_PART_CORTEX_A15:
 		return KVM_ARM_TARGET_CORTEX_A15;
+	case ARM_CPU_PART_CORTEX_A7:
+		return KVM_ARM_TARGET_CORTEX_A15;
 	default:
 		return -EINVAL;
 	}
-- 
1.8.3.1


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

end of thread, other threads:[~2013-09-26 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19 12:01 [PATCH] KVM: ARM: enable Cortex A7 hosts Ulrich Hecht
2013-09-25  5:32 ` Simon Horman
2013-09-25  6:06   ` Gleb Natapov
2013-09-26 11:50 ` Ulrich Hecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).