From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Auger Subject: Re: [PATCH v2 14/15] KVM: arm64: implement MSI injection in ITS emulation Date: Mon, 03 Aug 2015 17:37:28 +0200 Message-ID: <55BF8AB8.5050408@linaro.org> References: <1436538111-4294-1-git-send-email-andre.przywara@arm.com> <1436538111-4294-15-git-send-email-andre.przywara@arm.com> <55BB7678.5080105@linaro.org> <55BE7BA1.40403@arm.com> <00a201d0cdb7$70a623f0$51f26bd0$@samsung.com> <55BF2F51.6020701@linaro.org> <00f101d0cdcd$146a6090$3d3f21b0$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org To: Pavel Fedin , 'Andre Przywara' , 'Marc Zyngier' , christoffer.dall@linaro.org, kvmarm@lists.cs.columbia.edu Return-path: Received: from mail-wi0-f170.google.com ([209.85.212.170]:36690 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbbHCPiL (ORCPT ); Mon, 3 Aug 2015 11:38:11 -0400 Received: by wicgj17 with SMTP id gj17so111110871wic.1 for ; Mon, 03 Aug 2015 08:38:10 -0700 (PDT) In-Reply-To: <00f101d0cdcd$146a6090$3d3f21b0$@samsung.com> Sender: kvm-owner@vger.kernel.org List-ID: Andre, Pavel, On 08/03/2015 11:16 AM, Pavel Fedin wrote: > Hello! > >> Again the case that leaves me uncomfortable is the one where the >> userspace does not provide the devid whereas it must (GICv3 ITS case). > > Hypothetical broken userland which does not exist for now ? Yes but that's the rule to be not confident in *any* userspace, isn't it? As of now I prefer keeping the flags at uapi level and propagate it downto the kernel, as long as I don't have any answer for the unset devid discrimination question. Please apologize for my stubbornness ;-) Best Regards Eric > IMHO the userland should just know, that if it supports ITS, it has to provide devIDs. > > Kind regards, > Pavel Fedin > Expert Engineer > Samsung Electronics Research center Russia > >