Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp654378yba; Wed, 24 Apr 2019 07:31:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5PwUKAVjQu7UfPPTSoccV7auxDqUPWr3i7kAHo5BouEYI3bgEr+ZT1dIuxfIMjdtq8uYG X-Received: by 2002:a65:648c:: with SMTP id e12mr30950868pgv.346.1556116293119; Wed, 24 Apr 2019 07:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556116293; cv=none; d=google.com; s=arc-20160816; b=h27f6Nr7dgj/1Tx4yWIv9xgp/2n9VD4LzL5XgU0aybGwS6qBlAL+B0TEvEKlubaIJk rxh2CUUA7tgg/zX+rmoBdLA3pxrjGhKpMENdF/vmWePjo4KFKt+aFI2lU0SmZmrIXVZ0 WE6qfQivx0NOycW0d6pIp6TwagjmJfl4KQefUIAIKG1fbElJ7psmIQA0Almmfc6yssAF DM3LltD2dkayKskXUY5LjpG0C7AZ+6Muq35YdwERxhDDRxJ7PlOdohOMj+A1GasMRZBH o/zp+rI926BKhxNS8fDz/NW8/wx95RfNktijRd599p9ikLT8bijgjutiTYZydLU/kOb2 IzDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=WjR4HTV7qgFEVgSxaDBz+HL+YULhchp0ntpB/fbNwAo=; b=Q67FIBpKCa84h88Z/5LQ1+wwXOOfus7mhOmw3su/475/1DO/v7Nq/5zgHd5Ncrr3TR p5H1aYlbY52rWDSPcsH/HRAO69qqshdnRYRIneir/z8e40uilbjKlFlEfKXJvhwoBxEV vOp5+mmOdbPhzaAnU2co2Yww/8MAl1Tl6/Y0h/uQmRJj7R4g8b8JPTFr1oxCSrzwN0Le KFmEJ/O2A9LzSY0TtSIisdRb4Xk3w3YOkrTgEmCNL8CeSlgpqI+eA5zDtji4v8e5Thw+ Pv5nfzMmh5SzHT6BUhTt4VEERM7n0wOW9S9gu2pZIYPqNoifCb/3t+858cyAfcmJ2Gjm ERwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="nl0K/trf"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12si17675420pgl.264.2019.04.24.07.31.17; Wed, 24 Apr 2019 07:31:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="nl0K/trf"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730622AbfDXO3t (ORCPT + 99 others); Wed, 24 Apr 2019 10:29:49 -0400 Received: from casper.infradead.org ([85.118.1.10]:45130 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbfDXO3s (ORCPT ); Wed, 24 Apr 2019 10:29:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WjR4HTV7qgFEVgSxaDBz+HL+YULhchp0ntpB/fbNwAo=; b=nl0K/trfcEFfl0fgUuvgB/Cy7s p5Su2AVROlsAVpv7mQl2w/BdxTiTlI14jiLTM9n8S4NnERt+Id5SvFsdWx/wMTK1pvf0CrbgBuyOM HA2isB2qRyojA6i8EfF2Fe62oXVCIfY7moAnjrYczDHnHKfbpgObq3KZWDZ8HJ67N9Yd+B+hFcmVG lqRX7u4ffK9zcpt/UK8O64BwSabPiVd0l5YE/dKOw1K4ijUg0JYFs00i36K3y/Wxhz5a2A+1qUH67 vqjro7xuJ/aMZ6/hIfl2nVdB/tlj+sdp9jWWNJofmt657NEho5xbxWRx6SOboM5DuLx620VQEXz+A jVfoLK1A==; Received: from 177.17.136.231.dynamic.adsl.gvt.net.br ([177.17.136.231] helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJIu7-0007Pd-QY; Wed, 24 Apr 2019 14:29:44 +0000 Date: Wed, 24 Apr 2019 11:29:37 -0300 From: Mauro Carvalho Chehab To: Changbin Du Cc: Jonathan Corbet , Bjorn Helgaas , rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, fenghua.yu@intel.com, linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v4 19/63] Documentation: ACPI: move apei/output_format.txt to firmware-guide/acpi and convert to reST Message-ID: <20190424112937.7b0f2b01@coco.lan> In-Reply-To: <20190423162932.21428-20-changbin.du@gmail.com> References: <20190423162932.21428-1-changbin.du@gmail.com> <20190423162932.21428-20-changbin.du@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 24 Apr 2019 00:28:48 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du For the conversion changes: Reviewed-by: Mauro Carvalho Chehab > --- > Documentation/acpi/apei/output_format.txt | 147 ----------------- > .../acpi/apei/output_format.rst | 150 ++++++++++++++++++ > Documentation/firmware-guide/acpi/index.rst | 1 + > 3 files changed, 151 insertions(+), 147 deletions(-) > delete mode 100644 Documentation/acpi/apei/output_format.txt > create mode 100644 Documentation/firmware-guide/acpi/apei/output_format.rst > > diff --git a/Documentation/acpi/apei/output_format.txt b/Documentation/acpi/apei/output_format.txt > deleted file mode 100644 > index 0c49c197c47a..000000000000 > --- a/Documentation/acpi/apei/output_format.txt > +++ /dev/null > @@ -1,147 +0,0 @@ > - APEI output format > - ~~~~~~~~~~~~~~~~~~ > - > -APEI uses printk as hardware error reporting interface, the output > -format is as follow. > - > - := > -APEI generic hardware error status > -severity: , > -section: , severity: , > -flags: > -
> -fru_id: > -fru_text: > -section_type:
> -
> - > -* := recoverable | fatal | corrected | info > - > -
# := > -[primary][, containment warning][, reset][, threshold exceeded]\ > -[, resource not accessible][, latent error] > - > -
:= generic processor error | memory error | \ > -PCIe error | unknown, > - > -
:= > - | | \ > - | > - > - := > -[processor_type: , ] > -[processor_isa: , ] > -[error_type: > -] > -[operation: , ] > -[flags: > -] > -[level: ] > -[version_info: ] > -[processor_id: ] > -[target_address: ] > -[requestor_id: ] > -[responder_id: ] > -[IP: ] > - > -* := IA32/X64 | IA64 > - > -* := IA32 | IA64 | X64 > - > -# := > -[cache error][, TLB error][, bus error][, micro-architectural error] > - > -* := unknown or generic | data read | data write | \ > -instruction execution > - > -# := > -[restartable][, precise IP][, overflow][, corrected] > - > - := > -[error_status: ] > -[physical_address: ] > -[physical_address_mask: ] > -[node: ] > -[card: ] > -[module: ] > -[bank: ] > -[device: ] > -[row: ] > -[column: ] > -[bit_position: ] > -[requestor_id: ] > -[responder_id: ] > -[target_id: ] > -[error_type: , ] > - > -* := > -unknown | no error | single-bit ECC | multi-bit ECC | \ > -single-symbol chipkill ECC | multi-symbol chipkill ECC | master abort | \ > -target abort | parity error | watchdog timeout | invalid address | \ > -mirror Broken | memory sparing | scrub corrected error | \ > -scrub uncorrected error > - > - := > -[port_type: , ] > -[version: .] > -[command: , status: ] > -[device_id: ::. > -slot: > -secondary_bus: > -vendor_id: , device_id: > -class_code: ] > -[serial number: , ] > -[bridge: secondary_status: , control: ] > -[aer_status: , aer_mask: > - > -[aer_uncor_severity: ] > -aer_layer=, aer_agent= > -aer_tlp_header: ] > - > -* := PCIe end point | legacy PCI end point | \ > -unknown | unknown | root port | upstream switch port | \ > -downstream switch port | PCIe to PCI/PCI-X bridge | \ > -PCI/PCI-X to PCIe bridge | root complex integrated endpoint device | \ > -root complex event collector > - > -if section severity is fatal or recoverable > -# := > -unknown | unknown | unknown | unknown | Data Link Protocol | \ > -unknown | unknown | unknown | unknown | unknown | unknown | unknown | \ > -Poisoned TLP | Flow Control Protocol | Completion Timeout | \ > -Completer Abort | Unexpected Completion | Receiver Overflow | \ > -Malformed TLP | ECRC | Unsupported Request > -else > -# := > -Receiver Error | unknown | unknown | unknown | unknown | unknown | \ > -Bad TLP | Bad DLLP | RELAY_NUM Rollover | unknown | unknown | unknown | \ > -Replay Timer Timeout | Advisory Non-Fatal > -fi > - > - := > -Physical Layer | Data Link Layer | Transaction Layer > - > - := > -Receiver ID | Requester ID | Completer ID | Transmitter ID > - > -Where, [] designate corresponding content is optional > - > -All description with * has the following format: > - > -field: , > - > -Where value of should be the position of "string" in -string> description. Otherwise, will be "unknown". > - > -All description with # has the following format: > - > -field: > - > - > -Where each string in corresponding to one set bit of > -. The bit position is the position of "string" in -strings> description. > - > -For more detailed explanation of every field, please refer to UEFI > -specification version 2.3 or later, section Appendix N: Common > -Platform Error Record. > diff --git a/Documentation/firmware-guide/acpi/apei/output_format.rst b/Documentation/firmware-guide/acpi/apei/output_format.rst > new file mode 100644 > index 000000000000..c2e7ebddb529 > --- /dev/null > +++ b/Documentation/firmware-guide/acpi/apei/output_format.rst > @@ -0,0 +1,150 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +================== > +APEI output format > +================== > + > +APEI uses printk as hardware error reporting interface, the output > +format is as follow:: > + > + := > + APEI generic hardware error status > + severity: , > + section: , severity: , > + flags: > +
> + fru_id: > + fru_text: > + section_type:
> +
> + > + * := recoverable | fatal | corrected | info > + > +
# := > + [primary][, containment warning][, reset][, threshold exceeded]\ > + [, resource not accessible][, latent error] > + > +
:= generic processor error | memory error | \ > + PCIe error | unknown, > + > +
:= > + | | \ > + | > + > + := > + [processor_type: , ] > + [processor_isa: , ] > + [error_type: > + ] > + [operation: , ] > + [flags: > + ] > + [level: ] > + [version_info: ] > + [processor_id: ] > + [target_address: ] > + [requestor_id: ] > + [responder_id: ] > + [IP: ] > + > + * := IA32/X64 | IA64 > + > + * := IA32 | IA64 | X64 > + > + # := > + [cache error][, TLB error][, bus error][, micro-architectural error] > + > + * := unknown or generic | data read | data write | \ > + instruction execution > + > + # := > + [restartable][, precise IP][, overflow][, corrected] > + > + := > + [error_status: ] > + [physical_address: ] > + [physical_address_mask: ] > + [node: ] > + [card: ] > + [module: ] > + [bank: ] > + [device: ] > + [row: ] > + [column: ] > + [bit_position: ] > + [requestor_id: ] > + [responder_id: ] > + [target_id: ] > + [error_type: , ] > + > + * := > + unknown | no error | single-bit ECC | multi-bit ECC | \ > + single-symbol chipkill ECC | multi-symbol chipkill ECC | master abort | \ > + target abort | parity error | watchdog timeout | invalid address | \ > + mirror Broken | memory sparing | scrub corrected error | \ > + scrub uncorrected error > + > + := > + [port_type: , ] > + [version: .] > + [command: , status: ] > + [device_id: ::. > + slot: > + secondary_bus: > + vendor_id: , device_id: > + class_code: ] > + [serial number: , ] > + [bridge: secondary_status: , control: ] > + [aer_status: , aer_mask: > + > + [aer_uncor_severity: ] > + aer_layer=, aer_agent= > + aer_tlp_header: ] > + > + * := PCIe end point | legacy PCI end point | \ > + unknown | unknown | root port | upstream switch port | \ > + downstream switch port | PCIe to PCI/PCI-X bridge | \ > + PCI/PCI-X to PCIe bridge | root complex integrated endpoint device | \ > + root complex event collector > + > + if section severity is fatal or recoverable > + # := > + unknown | unknown | unknown | unknown | Data Link Protocol | \ > + unknown | unknown | unknown | unknown | unknown | unknown | unknown | \ > + Poisoned TLP | Flow Control Protocol | Completion Timeout | \ > + Completer Abort | Unexpected Completion | Receiver Overflow | \ > + Malformed TLP | ECRC | Unsupported Request > + else > + # := > + Receiver Error | unknown | unknown | unknown | unknown | unknown | \ > + Bad TLP | Bad DLLP | RELAY_NUM Rollover | unknown | unknown | unknown | \ > + Replay Timer Timeout | Advisory Non-Fatal > + fi > + > + := > + Physical Layer | Data Link Layer | Transaction Layer > + > + := > + Receiver ID | Requester ID | Completer ID | Transmitter ID > + > +Where, [] designate corresponding content is optional > + > +All description with * has the following format:: > + > + field: , > + > +Where value of should be the position of "string" in +string> description. Otherwise, will be "unknown". > + > +All description with # has the following format:: > + > + field: > + > + > +Where each string in corresponding to one set bit of > +. The bit position is the position of "string" in +strings> description. > + > +For more detailed explanation of every field, please refer to UEFI > +specification version 2.3 or later, section Appendix N: Common > +Platform Error Record. > diff --git a/Documentation/firmware-guide/acpi/index.rst b/Documentation/firmware-guide/acpi/index.rst > index e9f253d54897..869badba6d7a 100644 > --- a/Documentation/firmware-guide/acpi/index.rst > +++ b/Documentation/firmware-guide/acpi/index.rst > @@ -17,6 +17,7 @@ ACPI Support > DSD-properties-rules > debug > aml-debugger > + apei/output_format > gpio-properties > i2c-muxes > acpi-lid Thanks, Mauro