From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH v3 8/9] KVM: arm/arm64: Disallow userspace control of in-kernel IRQ lines Date: Thu, 08 Jun 2017 15:14:37 +0100 Message-ID: <8737bain1u.fsf@arm.com> References: <20170608133446.3875-1-cdall@linaro.org> <20170608133446.3875-9-cdall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org To: Christoffer Dall Return-path: In-Reply-To: <20170608133446.3875-9-cdall@linaro.org> (Christoffer Dall's message of "Thu, 8 Jun 2017 15:34:45 +0200") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu List-Id: kvm.vger.kernel.org On Thu, Jun 08 2017 at 3:34:45 pm BST, Christoffer Dall wrote: > When injecting an IRQ to the VGIC, you now have to present an owner > token for that IRQ line to show that you are the owner of that line. > > IRQ lines driven from userspace or via an irqfd do not have an owner and > will simply pass a NULL pointer. > > Also get rid of the unused kvm_vgic_inject_mapped_irq prototype. > > Signed-off-by: Christoffer Dall Acked-by: Marc Zyngier M. -- Jazz is not dead, it just smell funny.