From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZyKW-0006Bn-9I for qemu-devel@nongnu.org; Thu, 10 Sep 2015 05:39:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZyKU-0007u7-Qh for qemu-devel@nongnu.org; Thu, 10 Sep 2015 05:39:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZyKU-0007tr-L7 for qemu-devel@nongnu.org; Thu, 10 Sep 2015 05:39:42 -0400 From: Paolo Bonzini Date: Thu, 10 Sep 2015 11:39:35 +0200 Message-Id: <1441877978-31156-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1441877978-31156-1-git-send-email-pbonzini@redhat.com> References: <1441877978-31156-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 1/4] pci: remove Link Training error from AER error list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: cornelia.huck@de.ibm.com, mst@redhat.com The spec says: Undefined =E2=80=93 The value read from this bit is undefined. In previous versions of this specification, this bit was used to indicate a Link Training Error. System software must ignore the value read from this bit. System software is permitted to write any value to this bit. Do not allow injecting it. Suggested-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini --- hw/pci/pcie_aer.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/pci/pcie_aer.c b/hw/pci/pcie_aer.c index f1847ac..46e0ad8 100644 --- a/hw/pci/pcie_aer.c +++ b/hw/pci/pcie_aer.c @@ -827,10 +827,6 @@ typedef struct PCIEAERErrorName { */ static const struct PCIEAERErrorName pcie_aer_error_list[] =3D { { - .name =3D "TRAIN", - .val =3D PCI_ERR_UNC_TRAIN, - .correctable =3D false, - }, { .name =3D "DLP", .val =3D PCI_ERR_UNC_DLP, .correctable =3D false, --=20 2.4.3