From: "Jan Beulich" Subject: Re: [PATCH] x86: restore (optional) forwarding of PCI SERR induced NMI to Dom0 Date: Mon, 21 Jan 2013 16:57:30 +0000 Message-ID: <50FD818A02000078000B806A@nat28.tlf.novell.com> References: <50FD76BD02000078000B7FBF@nat28.tlf.novell.com> <50FD69CF.8030507@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50FD69CF.8030507@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 , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org >>> On 21.01.13 at 17:16, Andrew Cooper wrote: > On 21/01/13 16:11, Jan Beulich wrote: >> --- a/xen/include/public/nmi.h >> +++ b/xen/include/public/nmi.h >> @@ -36,9 +36,14 @@ >> /* I/O-check error reported via ISA port 0x61, bit 6. */ >> #define _XEN_NMIREASON_io_error 0 >> #define XEN_NMIREASON_io_error (1UL << _XEN_NMIREASON_io_error) >> + /* PCI SERR reported via ISA port 0x61, bit 7. */ >> +#define _XEN_NMIREASON_pci_serr 1 >> +#define XEN_NMIREASON_pci_serr (1UL << _XEN_NMIREASON_pci_serr) >> +#if __XEN_INTERFACE_VERSION__ < 0x00040300 /* legacy alias of the above */ >> /* Parity error reported via ISA port 0x61, bit 7. */ > > These seem wrong. Both SERR and Parity error have the same comment and > definition. Sure - did you look at the history of this (particularly the c/s mentioned in the description)? > Furthermore, the definition disagrees with the comment. In what way? Jan