From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 1/2] VT-d: use proper error codes in iommu_enable_x2apic_IR() Date: Tue, 29 Sep 2015 13:27:01 +0100 Message-ID: <560A8395.3030408@citrix.com> References: <560A92D002000078000A6981@prv-mh.provo.novell.com> <560A95DB02000078000A69A9@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zgu17-0000eB-4a for xen-devel@lists.xenproject.org; Tue, 29 Sep 2015 12:28:21 +0000 In-Reply-To: <560A95DB02000078000A69A9@prv-mh.provo.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 , xen-devel Cc: Yang Z Zhang , Kevin Tian List-Id: xen-devel@lists.xenproject.org On 29/09/15 12:44, Jan Beulich wrote: > ... allowing to suppress a confusing messeage combination: When > ACPI_DMAR_X2APIC_OPT_OUT is set, so far we first logged a message > that IR could not be enabled (hence not using x2APIC), followed by > one indicating successful initialization of IR (if no other problems > prevented that). > > Also adjust the return type of iommu_supports_eim() and fix some > broken indentation in the function. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper