From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tian, Kevin" Subject: Re: [PATCH v9 08/17] vmx: Suppress posting interrupts when 'SN' is set Date: Tue, 24 Nov 2015 07:29:47 +0000 Message-ID: References: <1446540207-4806-1-git-send-email-feng.wu@intel.com> <1446540207-4806-9-git-send-email-feng.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1446540207-4806-9-git-send-email-feng.wu@intel.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Wu, Feng" , "xen-devel@lists.xen.org" Cc: Andrew Cooper , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org > From: Wu, Feng > Sent: Tuesday, November 03, 2015 4:43 PM N' is set > > Currently, we don't support urgent interrupt, all interrupts > are recognized as non-urgent interrupt, so we cannot send > posted-interrupt when 'SN' is set. > > CC: Kevin Tian > CC: Keir Fraser > CC: Jan Beulich > CC: Andrew Cooper > Signed-off-by: Feng Wu > Reviewed-by: Konrad Rzeszutek Wilk > Reviewed-by: Jan Beulich Acked-by: Kevin Tian , with one small comment: > + do { > + /* > + * Currently, we don't support urgent interrupt, all > + * interrupts are recognized as non-urgent interrupt, > + * so we cannot send posted-interrupt when 'SN' is set. > + * Besides that, if 'ON' is already set, we cannot set > + * posted-interrupts as well. > + */ Is above comment accurate. "cannot set" is too strong for 'ON' already set, right? Ideally there's no correctness issue if you still deliver another posted-interrupt even when ON is already set. To me it's more like an optimization then it's cleaner to say "we can avoid"... Thanks Kevin