Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-06 Thread Marc Zyngier
On 05/08/15 18:07, nick wrote: > > > On 2015-08-05 12:59 PM, Paolo Bonzini wrote: >> >> >> On 05/08/2015 18:48, Nicholas Krause wrote: >>> This fixes the error handling in the function vgic_v3_probe >>> for when calling the function kvm_register_device_ops to check >>> if the call to this functio

Re: [PATCH v4 1/2] arm64: KVM: Optimize arm64 skip 30-50% vfp/simd save/restore on exits

2015-08-06 Thread Christoffer Dall
On Wed, Aug 05, 2015 at 05:11:37PM +0100, Marc Zyngier wrote: > On 16/07/15 22:29, Mario Smarduch wrote: > > This patch only saves and restores FP/SIMD registers on Guest access. To do > > this cptr_el2 FP/SIMD trap is set on Guest entry and later checked on exit. > > lmbench, hackbench show signif

Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-06 Thread Paolo Bonzini
On 06/08/2015 10:06, Marc Zyngier wrote: > > If this structure of function pointers can handle function pointers with a > > return type of > > void I will be glad to do what you request otherwise this would require a > > major rewrite > > of kvm arm subsystem for a very simple bug fix. > > Ju

RE: [PATCH v3 0/7] KVM: arm/arm64: gsi routing support

2015-08-06 Thread Pavel Fedin
Tested-by: Pavel Fedin Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia > -Original Message- > From: Eric Auger [mailto:eric.au...@linaro.org] > Sent: Monday, August 03, 2015 6:31 PM > To: eric.au...@st.com; eric.au...@linaro.org; > linux-arm-ker...@l

Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-06 Thread Christoffer Dall
On Thu, Aug 06, 2015 at 02:00:55PM +0200, Paolo Bonzini wrote: > > > On 06/08/2015 10:06, Marc Zyngier wrote: > > > If this structure of function pointers can handle function pointers with > > > a return type of > > > void I will be glad to do what you request otherwise this would require a >

Re: [PATCH v4 1/2] arm64: KVM: Optimize arm64 skip 30-50% vfp/simd save/restore on exits

2015-08-06 Thread Marc Zyngier
Hi Christoffer, On 06/08/15 12:54, Christoffer Dall wrote: > On Wed, Aug 05, 2015 at 05:11:37PM +0100, Marc Zyngier wrote: >> On 16/07/15 22:29, Mario Smarduch wrote: >>> This patch only saves and restores FP/SIMD registers on Guest access. To do >>> this cptr_el2 FP/SIMD trap is set on Guest entr

Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-06 Thread nick
On 2015-08-06 08:00 AM, Paolo Bonzini wrote: > > > On 06/08/2015 10:06, Marc Zyngier wrote: >>> If this structure of function pointers can handle function pointers with a >>> return type of >>> void I will be glad to do what you request otherwise this would require a >>> major rewrite >>> of

Re: [PATCH 11/13] arm64: Panic when VHE and non VHE CPUs coexist

2015-08-06 Thread Catalin Marinas
On Wed, Jul 08, 2015 at 05:19:14PM +0100, Marc Zyngier wrote: > Having both VHE and non-VHE capable CPUs in the same system > is likely to be a recipe for disaster. > > If the boot CPU has VHE, but a secondary is not, we won't be > able to downgrade and run the kernel at EL1. Add CPU hotplug > to

Re: [PATCH v3 09/11] KVM: arm/arm64: vgic: Prevent userspace injection of a mapped interrupt

2015-08-06 Thread Marc Zyngier
On 05/08/15 14:47, Christoffer Dall wrote: > On Wed, Aug 05, 2015 at 01:47:27PM +0200, Eric Auger wrote: >> On 08/05/2015 12:53 PM, Christoffer Dall wrote: >>> On Wed, Aug 05, 2015 at 10:44:09AM +0100, Marc Zyngier wrote: On 05/08/15 08:32, Eric Auger wrote: > Hi Marc, > On 08/04/2015

Re: [PATCH 00/13] arm64: Virtualization Host Extension support

2015-08-06 Thread Catalin Marinas
On Wed, Jul 08, 2015 at 05:19:03PM +0100, Marc Zyngier wrote: > Marc Zyngier (13): > arm/arm64: Add new is_kernel_in_hyp_mode predicate > arm64: Allow the arch timer to use the HYP timer > arm64: Add ARM64_HAS_VIRT_HOST_EXTN feature > arm64: KVM: skip HYP setup when already running in HYP >

Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-06 Thread nick
On 2015-08-06 08:47 PM, Krzysztof Kozlowski wrote: > 2015-08-06 22:16 GMT+09:00 nick : >> >> >> On 2015-08-06 08:00 AM, Paolo Bonzini wrote: >>> >>> >>> On 06/08/2015 10:06, Marc Zyngier wrote: > If this structure of function pointers can handle function pointers with > a return type of

Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-06 Thread nick
On 2015-08-06 09:36 PM, Krzysztof Kozlowski wrote: > On 07.08.2015 10:31, nick wrote: >> >> >> On 2015-08-06 08:47 PM, Krzysztof Kozlowski wrote: >>> 2015-08-06 22:16 GMT+09:00 nick : On 2015-08-06 08:00 AM, Paolo Bonzini wrote: > > > On 06/08/2015 10:06, Marc Zyngier w