From: "Jan Beulich" Subject: Re: [PATCH] x86/APIC: don't make wrong implications on constants Date: Wed, 01 Oct 2014 09:31:25 +0100 Message-ID: <542BD7FD020000780003B5F0@mail.emea.novell.com> References: <542BC9AE020000780003B53D@mail.emea.novell.com> <542BB831.1050003@citrix.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 1XZFJp-0000Rw-Ob for xen-devel@lists.xenproject.org; Wed, 01 Oct 2014 08:31:29 +0000 In-Reply-To: <542BB831.1050003@citrix.com> 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: Andrew Cooper Cc: xen-devel , Boris Ostrovsky , Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> On 01.10.14 at 10:15, wrote: > On 01/10/14 08:30, Jan Beulich wrote: >> For the physical APIC oprofile code was abusing APIC_DM_NMI as a mask. > > I think you need a comma after APIC for this sentence to parse correctly. I had one there and the dropped it. I'm never really sure about the punctuation differences between German and English. >> For the virtual APIC a wrong assumption was made that LVTPC could be Wouldn't a comma then be needed after APIC here too? >> programmed to only fixed or NMI delivery modes. While other modes are >> invalid here, we still shouldn't inject an NMI into the guest in such >> a case. Instead just do nothing. >> >> In the course of adjusting this it became obvious that what value >> vpmu_do_interrupt() returns on its various return paths was pretty >> arbitrary. With its only caller ignoring the return value, simply make >> the function's return type "void". >> >> Signed-off-by: Jan Beulich > > Content wise, Reviewed-by: Andrew Cooper Thanks, Jan