From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbdKHPOp (ORCPT ); Wed, 8 Nov 2017 10:14:45 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34270 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbdKHPOn (ORCPT ); Wed, 8 Nov 2017 10:14:43 -0500 Subject: Re: [PATCH v5 25/26] KVM: arm/arm64: GICv4: Enable VLPI support To: Auger Eric , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mark Rutland , Christoffer Dall , Andre Przywara , Shameerali Kolothum Thodi , Christoffer Dall , Shanker Donthineni References: <20171027142855.21584-1-marc.zyngier@arm.com> <20171027142855.21584-26-marc.zyngier@arm.com> <2d20a22e-214d-3835-7f61-29fc5e88413a@redhat.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Wed, 8 Nov 2017 15:14:39 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <2d20a22e-214d-3835-7f61-29fc5e88413a@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/11/17 08:44, Auger Eric wrote: > Hi Marc, > > On 27/10/2017 16:28, Marc Zyngier wrote: >> All it takes is the has_v4 flag to be set in gic_kvm_info >> as well as "kvm-arm.vgic_v4_enable=1" being passed on the >> command line for GICv4 to be enabled in KVM. > > What did you motivate your choice of having an enable option instead of > a disable option? Currently, SW MSI injection works really well. It's been validated, plenty of people are using it. On the other hand, GICv4 is new and probably buggy. I only know of 2 other people having tried it. I'm also not sure it gives the best possible performance in the general use case (oversubscribed host with freely migrating vcpus). Given that, I'm not keen on making it the default. But if you can report that it is better and more reliable than SW injection, I'll switch the default the other way around! ;-) Thanks, M. -- Jazz is not dead. It just smells funny...