All of lore.kernel.org
 help / color / mirror / Atom feed
* KVM on ARM Cortex A53 in 32-bit Mode
@ 2017-03-02 14:57 Yasutaka Tanaka
  2017-03-07  9:55 ` Christoffer Dall
  0 siblings, 1 reply; 7+ messages in thread
From: Yasutaka Tanaka @ 2017-03-02 14:57 UTC (permalink / raw)
  To: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 1305 bytes --]

Hello KVM/ARM community,

I am now trying to execute KVM on Raspberry Pi 3 Model B (RPI3).
Does anyone know whether KVM/ARM can run with 32-bit mode on ARM Cortex A53?

The CPU of RPI3 is ARM Cortex A53 which can be executed in both 32-bit and
64-bit mode. I've managed to display /dev/kvm on 64-bit mode execution
(i.e. with a 64-bit linux kernel) on RPI3, but I failed to do so in 32-bit
mode.

In 32-bit mode, an KVM error messages says CPU not supported. I guess the
reason for the error message is KVM_ARM_TARGET_CORTEX_A53 is only returned
in /arch/arm64/kvm/guest.c not under/arch/arm/kvm/guest.c.

So I'm wondering whether it's possible or not. What I'd like to do is to
compare the execution speed of KVM between 32-bit and 64-bit mode. The
second plan is to compare between KVMs of 32-bit RPI2 and 64-bit RPI3 (I
have both), but since RPI2 spec is a little low and I'm worried that some
numeric comparisons become unfair.

(I was also notified by an KVM/ARM expert that since RPI doesn't have a GIC
and I need to apply some patches)

The 64-bit kernel I used is the official RPI3 one here:
https://github.com/raspberrypi/linux
I compiled after make bcmrpi3_defconfig config:
https://github.com/raspberrypi/linux/blob/rpi-4.9.y/arch/arm64/configs/bcmrpi3_defconfig

Best regards,
Yasutaka Tanaka

[-- Attachment #1.2: Type: text/html, Size: 4296 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

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

end of thread, other threads:[~2017-03-17  8:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-02 14:57 KVM on ARM Cortex A53 in 32-bit Mode Yasutaka Tanaka
2017-03-07  9:55 ` Christoffer Dall
2017-03-08 17:41   ` Yasutaka, T
2017-03-15 23:50   ` Yasutaka, T
2017-03-16  9:38     ` Christoffer Dall
2017-03-17  5:09       ` Yasutaka, T
2017-03-17  8:52         ` Christoffer Dall

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.