Re: [Question] Can KVM run on Freescale IMX6 SABRE board?

2016-02-25 Thread Christoffer Dall
On Thu, Feb 25, 2016 at 12:45:45PM -0500, xu mike wrote: > Hi Peter, > > 2016-02-25 10:30 GMT-05:00 Peter Maydell : > > > > On 25 February 2016 at 15:17, xu mike wrote: > > > I'm a student from the University of Pennsylvania. I want to try KVM on > > > ARM > > > boards. > > > > > > I have a Free

Re: [Question] Can KVM run on Freescale IMX6 SABRE board?

2016-02-25 Thread xu mike
Hi Peter, 2016-02-25 10:30 GMT-05:00 Peter Maydell : > > On 25 February 2016 at 15:17, xu mike wrote: > > I'm a student from the University of Pennsylvania. I want to try KVM on ARM > > boards. > > > > I have a Freescale IMX6 board [1] which has ARM Cortex A9 processors. > > I'm wondering if KVM

Re: [Qemu-devel] [PATCH] virt: Lift the maximum RAM limit from 30GB to 255GB

2016-02-25 Thread Peter Maydell
[Typoed the kvmarm list address; sorry... -- PMM] On 25 February 2016 at 12:09, Peter Maydell wrote: > The virt board restricts guests to only 30GB of RAM. This is a > hangover from the vexpress-a15 board, and there's inherent reason > for it. 30GB is smaller than you might reasonably want to pro

Re: [Question] Can KVM run on Freescale IMX6 SABRE board?

2016-02-25 Thread Peter Maydell
On 25 February 2016 at 15:17, xu mike wrote: > I'm a student from the University of Pennsylvania. I want to try KVM on ARM > boards. > > I have a Freescale IMX6 board [1] which has ARM Cortex A9 processors. > I'm wondering if KVM can run on the Freescale IMX6 board? or > Can KVM run on any ARM boa

[Question] Can KVM run on Freescale IMX6 SABRE board?

2016-02-25 Thread xu mike
Hi, I'm a student from the University of Pennsylvania. I want to try KVM on ARM boards. I have a Freescale IMX6 board [1] which has ARM Cortex A9 processors. I'm wondering if KVM can run on the Freescale IMX6 board? or Can KVM run on any ARM board with ARM Cortex A9 processors? I noticed at [2]

Re: [PATCH v13 01/20] ARM64: Move PMU register related defines to asm/perf_event.h

2016-02-25 Thread Will Deacon
On Thu, Feb 25, 2016 at 10:02:00AM +0800, Shannon Zhao wrote: > On 2016/2/25 1:52, Will Deacon wrote: > > On Wed, Feb 24, 2016 at 01:08:21PM +0800, Shannon Zhao wrote: > >> From: Shannon Zhao > >> > >> To use the ARMv8 PMU related register defines from the KVM code, we move > >> the relevant defin

[PATCH v2 1/8] arm64: hwcaps: Cleanup naming

2016-02-25 Thread Suzuki K Poulose
We use hwcaps for referring to ELF hwcaps capability information. However this can be confusing with 'cpu_hwcaps' which stands for the CPU capability bit field. This patch cleans up the names to make it a bit more readable. Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/cpufeature.c | 1

[PATCH v2 8/8] arm64: kvm: Check support for AArch32 for 32bit guests

2016-02-25 Thread Suzuki K Poulose
Add a check to make sure the system supports AArch32 state before initialising a 32bit guest. Cc: Christoffer Dall Cc: Marc Zyngier Cc: kvmarm@lists.cs.columbia.edu Signed-off-by: Suzuki K Poulose --- I really wanted to pass kvm_vcpu down to the helpers. But then, I can't define the arch spec

[PATCH v2 0/8] arm64: Support for systems without AArch32 state

2016-02-25 Thread Suzuki K Poulose
This series add checks to make sure that the AArch32 state is supported before we process the 32bit ID registers. Also checks the same for COMPAT binary execution. (Painfully) applies on top of 4.5-rc5 + [1] + [2]. Or it is available here : git://linux-arm.org/linux-skp.git noaarch32/v2-4.5-rc5

[PATCH v2 3/8] arm64: Add helpers for detecting AArch32 support at EL0

2016-02-25 Thread Suzuki K Poulose
Adds a helper to extract the support for AArch32 at EL0 Signed-off-by: Suzuki K Poulose --- arch/arm64/include/asm/cpufeature.h |7 +++ arch/arm64/include/asm/sysreg.h |1 + 2 files changed, 8 insertions(+) diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/a

[PATCH v2 7/8] arm64: compat: Check for AArch32 state

2016-02-25 Thread Suzuki K Poulose
From: Yury Norov Make sure we have AArch32 state available for running COMPAT binaries and also for switching the personality to PER_LINUX32. Signed-off-by: Yury Norov [ Added checks for ELF HWCAP, Use cap bit in cap_hwcaps ] Signed-off-by: Suzuki K Poulose --- arch/arm64/include/asm/elf.h

[PATCH v2 4/8] arm64: cpufeature: Check availability of AArch32

2016-02-25 Thread Suzuki K Poulose
On ARMv8 support for AArch32 state is optional. Hence it is not safe to check the AArch32 ID registers for sanity, which could lead to false warnings. This patch makes sure that the AArch32 state is implemented before we keep track of the 32bit ID registers. As per ARM ARM (D.1.21.2 - Support for

[PATCH v2 6/8] arm64: Add a wrapper for personality() syscall

2016-02-25 Thread Suzuki K Poulose
In order to prevent setting PER_LINUX32 on systems without 32bit EL0 support, add a wrapper for personality() syscall. Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/sys.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c index

[PATCH v2 5/8] arm64: cpufeature: Track 32bit EL0 support

2016-02-25 Thread Suzuki K Poulose
Keep track of the support for 32bit EL0. Signed-off-by: Suzuki K Poulose --- arch/arm64/include/asm/cpufeature.h |8 +++- arch/arm64/kernel/cpufeature.c |9 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64

[PATCH v2 2/8] arm64: HWCAP: Split COMPAT HWCAP table entries

2016-02-25 Thread Suzuki K Poulose
In order to handle systems which do not support 32bit at EL0, split the COMPAT HWCAP entries into a separate table which can be processed, only if the support is available. Signed-off-by: Suzuki K Poulose --- arch/arm64/kernel/cpufeature.c | 78 1 file

Re: [PULL] KVM/ARM fixes for 4.5-rc6

2016-02-25 Thread Paolo Bonzini
On 24/02/2016 18:33, Marc Zyngier wrote: > git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git > tags/kvm-arm-for-4.5-rc6 Pulled, thanks. Paolo ___ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/l