From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] x86/MSI: fix guest unmasking when handling IRQ via event channel Date: Fri, 10 Jul 2015 11:29:35 +0100 Message-ID: <1436524175.23508.227.camel@citrix.com> References: <559D01DE020000780008E03C@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZDVYt-000094-Vg for xen-devel@lists.xenproject.org; Fri, 10 Jul 2015 10:29:44 +0000 In-Reply-To: <559D01DE020000780008E03C@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Keir Fraser , Stefano Stabellini , Andrew Cooper , Ian Jackson , Tim Deegan , Sander Eikelenboom , xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2015-07-08 at 09:56 +0100, Jan Beulich wrote: > Rather than assuming only PV guests need special treatment (and > dealing with that directly when an IRQ gets set up), keep all guest MSI > IRQs masked until either the (HVM) guest unmasks them via vMSI or the > (PV, PVHVM, or PVH) guest sets up an event channel for it. > > To not further clutter the common evtchn_bind_pirq() with x86-specific > code, introduce an arch_evtchn_bind_pirq() hook instead. > > Reported-by: Sander Eikelenboom > Signed-off-by: Jan Beulich > Tested-by: Sander Eikelenboom For the ARM impact; Acked-by: Ian Campbell