From: "Jan Beulich" Subject: Re: [PATCH] x86/hvm: implement save/restore for posted interrupts Date: Mon, 28 Jul 2014 07:46:34 +0100 Message-ID: <53D60DEA02000078000265F9@mail.emea.novell.com> References: <1404400159-27346-1-git-send-email-olaf@aepfle.de> <53D242490200007800025EF6@mail.emea.novell.com> <53D27EEB02000078000260B6@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Kevin Tian Cc: Olaf Hering , Keir Fraser , Eddie Dong , Donald D Dugger , "xen-devel@lists.xen.org" , Dongxiao Xu , Jun Nakajima , Yang Z Zhang List-Id: xen-devel@lists.xenproject.org >>> On 25.07.14 at 23:31, wrote: > Well, my read of this patch is that it hides some problem other place by > forcing posted injection at restore. As Yang has pointed out, it is not > necessary once the notification has been synced to IRR it's done (will > be noted before vmentry). So at restore path, it's just about how pending > IRR is handled. Now the problem is that Yang can't reproduce the problem > locally (let's see any change with Olaf's further information), so we need > Olaf's help to figure out the real culprit with our input. Searching the SDM I can't find any reference to IRR uses during interrupt recognition. The only reference I can find is that during delivery the IRR bit gets cleared and the new RVI determined by scanning IRR. Hence I wonder whether setting RVI post-restore instead of sync-ing IRR to PIR is what is needed? Jan