/openbmc/linux/drivers/pci/pcie/ |
H A D | aer.c | 3 * Implement the AER root port service driver. The driver registers an IRQ 4 * handler. When a root port triggers an AER interrupt, the IRQ handler 15 #define pr_fmt(fmt) "AER: " fmt 53 /* AER stats for the device */ 57 * Fields for all AER capable devices. They indicate the errors 59 * end point is causing problems, the AER counters may increment 145 int aer = dev->aer_cap; in enable_ecrc_checking() local 148 if (!aer) in enable_ecrc_checking() 151 pci_read_config_dword(dev, aer + PCI_ERR_CAP, ®32); in enable_ecrc_checking() 156 pci_write_config_dword(dev, aer + PCI_ERR_CAP, reg32); in enable_ecrc_checking() [all …]
|
H A D | Kconfig | 34 (AER) driver support. Error reporting messages sent to Root 35 Port will be handled by PCI Express AER driver. 43 (AER) software error injector. 45 Debugging AER code is quite difficult because it is hard 48 help of a user space helper tool aer-inject, which can be 50 https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/
|
H A D | aer_inject.c | 3 * PCIe AER software error injection support. 5 * Debugging PCIe AER code is quite difficult because it is hard to 8 * user space helper tool aer-inject, which can be gotten from: 9 * https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/ 347 pci_err(dev, "Device doesn't support AER\n"); in aer_inject() 358 pci_err(rpdev, "Root port doesn't support AER\n"); in aer_inject() 468 pci_warn(edev->port, "AER service is not initialized\n"); in aer_inject() 476 pci_err(rpdev, "AER device not found\n"); in aer_inject() 547 MODULE_DESCRIPTION("PCIe AER software error injector");
|
H A D | err.c | 13 #define dev_fmt(fmt) "AER: " fmt 20 #include <linux/aer.h> 175 * pci_walk_bridge - walk bridges potentially AER affected 260 * If we have native control of AER, clear error status in the device in pcie_do_recovery() 261 * that detected the error. If the platform retained control of AER, in pcie_do_recovery()
|
H A D | portdrv.c | 19 #include <linux/aer.h> 52 * Fill in *pme, *aer, *dpc with the relevant Interrupt Message Numbers if 57 u32 *pme, u32 *aer, u32 *dpc) in pcie_message_numbers() argument 84 *aer = (reg32 & PCI_ERR_ROOT_AER_IRQ) >> 27; in pcie_message_numbers() 85 nvec = max(nvec, *aer + 1); in pcie_message_numbers() 115 u32 pme = 0, aer = 0, dpc = 0; in pcie_port_enable_irq_vec() local 124 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec() 160 irqs[PCIE_PORT_SERVICE_AER_SHIFT] = pci_irq_vector(dev, aer); in pcie_port_enable_irq_vec() 260 * permission to use AER. in get_port_device_capability()
|
/openbmc/linux/Documentation/PCI/ |
H A D | pcieaer-howto.rst | 20 Reporting (AER) driver and provides information on how to use it, as 22 the PCIe AER driver. 25 What is the PCIe AER Driver? 37 The PCIe AER driver provides the infrastructure to support PCIe Advanced 38 Error Reporting capability. The PCIe AER driver provides three basic 45 The AER driver only attaches to Root Ports and RCECs that support the PCIe 46 AER capability. 52 Include the PCIe AER Root Driver into the Linux Kernel 55 The PCIe AER driver is a Root Port service driver attached 60 Load PCIe AER Root Driver [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/aer-inject/ |
H A D | aer-inject_1.0.bb | 1 SUMMARY = "Inject PCIE AER errors on the software level into a running Linux kernel." 3 aer-inject allows to inject PCIE AER errors on the software \ 6 PCIE AER core handler." 7 HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/" 13 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git;protocol=https;br… 29 FILES:${PN} += "${prefix}/aer-inject"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/aer-inject/aer-inject/ |
H A D | 0001-include-libgen.h-for-basename.patch | 15 aer-inject.c | 1 + 18 diff --git a/aer-inject.c b/aer-inject.c 20 --- a/aer-inject.c 21 +++ b/aer-inject.c
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | layerscape-pcie-gen4.txt | 16 "aer": Asserted for aer interrupt when chip support the aer interrupt with 17 none MSI/MSI-X/INTx mode,but there is interrupt line for aer. 33 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */ 36 interrupt-names = "aer", "pme", "intr";
|
H A D | layerscape-pci.txt | 35 "aer": Used for interrupt line which reports AER events when 41 events(could include AER and PME events). 61 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ 62 interrupt-names = "aer";
|
H A D | baikal,bt1-pcie.yaml | 42 MSI, AER, PME, Hot-plug, Link Bandwidth Management, Link Equalization 57 - const: aer 151 "msi", "aer", "pme", "hp", "bw_mg",
|
/openbmc/linux/Documentation/firmware-guide/acpi/apei/ |
H A D | output_format.rst | 99 <aer status string> 101 aer_layer=<aer layer string>, aer_agent=<aer agent string> 111 <aer status string># := 118 <aer status string># := 124 <aer layer string> := 127 <aer agent string> :=
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer_stats | 1 PCIe Device AER statistics 4 These attributes show up under all the devices that are AER capable. These 6 Note that this may mean that if an endpoint is causing problems, the AER 93 PCIe Rootport AER statistics 97 collectors) that are AER capable. These indicate the number of error messages as
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/ |
H A D | rasdaemon_0.8.0.bb | 20 PACKAGECONFIG ??= "sqlite3 mce aer extlog devlink diskerror" 23 PACKAGECONFIG[aer] = "--enable-aer,--disable-aer"
|
/openbmc/qemu/include/hw/pci/ |
H A D | pcie_aer.h | 43 /* AER log */ 68 /* aer error message: error signaling message has only error severity and 95 /* aer root port */
|
H A D | pcie_regs.h | 89 /* AER */ 113 /* aer root error command/status */
|
/openbmc/linux/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 210 u64 hret, aer, aerr; in ehea_destroy_cq() local 217 ehea_error_data(cq->adapter, cq->fw_handle, &aer, &aerr); in ehea_destroy_cq() 336 u64 hret, aer, aerr; in ehea_destroy_eq() local 344 ehea_error_data(eq->adapter, eq->fw_handle, &aer, &aerr); in ehea_destroy_eq() 515 u64 hret, aer, aerr; in ehea_destroy_qp() local 523 ehea_error_data(qp->adapter, qp->fw_handle, &aer, &aerr); in ehea_destroy_qp() 959 pr_err("QP (resource=%llX) state: AER=0x%llX, AERR=0x%llX, port=%llX\n", in print_error_data() 962 pr_err("CQ (resource=%llX) state: AER=0x%llX\n", in print_error_data() 965 pr_err("EQ (resource=%llX) state: AER=0x%llX\n", in print_error_data() 972 u64 *aer, u64 *aerr) in ehea_error_data() argument [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | cper.c | 22 #include <linux/aer.h> 437 /* Fatal errors call __ghes_panic() before AER handler prints this */ in cper_print_pcie() 440 struct aer_capability_regs *aer; in cper_print_pcie() local 442 aer = (struct aer_capability_regs *)pcie->aer_info; in cper_print_pcie() 444 pfx, aer->uncor_status, aer->uncor_mask); in cper_print_pcie() 446 pfx, aer->uncor_severity); in cper_print_pcie() 448 aer->header_log.dw0, aer->header_log.dw1, in cper_print_pcie() 449 aer->header_log.dw2, aer->header_log.dw3); in cper_print_pcie()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 34 /*Add sem for sync AER handling and xen_pcibk remove/reconfigue ops, 35 * We want to avoid in middle of AER ops, xen_pcibk devices is being removed 280 * pcistub and xen_pcibk when AER is in processing in pcistub_put_pci_dev() 679 /*PV AER handlers will set this flag*/ in kill_domain_by_device() 691 /* For each aer recovery step error_detected, mmio_enabled, etc, front_end and 705 /*with PV AER drivers*/ in common_process() 721 /*local flag to mark there's aer request, xen_pcibk callback will use in common_process() 722 * this flag to judge whether we need to check pci-front give aer in common_process() 751 "pcifront aer process not responding!\n"); in common_process() 801 "guest with no AER driver should have been killed\n"); in xen_pcibk_slot_reset() [all …]
|
H A D | pciback.h | 152 * Add for domain0 PCIE-AER handling. Get guest domain/bus/devfn in xen_pcibk 153 * before sending aer request to pcifront, so that guest could identify 154 * device, coopearte with xen_pcibk to finish aer recovery job if device driver
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | Kconfig | 37 bool "APEI PCIe AER logging/recovering support" 40 PCIe AER errors may be reported via APEI firmware first mode.
|
/openbmc/linux/drivers/pci/ |
H A D | xen-pcifront.c | 106 dev_dbg(&pdev->xdev->dev, "schedule aer frontend job\n"); in schedule_pcifront_aer_op() 157 * aer pcifront service. in do_pci_op() 162 "schedule aer pcifront service\n"); in do_pci_op() 585 "pcifront AER process: cmd %x (bus:%x, devfn%x)", in pcifront_common_process() 590 dev_err(&pdev->xdev->dev, "device or AER driver is NULL\n"); in pcifront_common_process() 597 pci_dbg(pcidev, "trying to call AER service\n"); in pcifront_common_process() 610 "bad request in aer recovery operation!\n"); in pcifront_common_process() 628 * before service aer op in pcifront_do_aer() 631 "pcifront service aer bus %x devfn %x\n", in pcifront_do_aer() 641 /*in case of we lost an aer request in four lines time_window*/ in pcifront_do_aer() [all …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | trace.h | 134 #define aer_name(aer) { aer, #aer } argument
|
/openbmc/linux/drivers/nvme/host/ |
H A D | trace.h | 115 #define aer_name(aer) { aer, #aer } argument
|
/openbmc/linux/Documentation/translations/zh_CN/PCI/ |
H A D | pciebus-howto.rst | 42 高级错误报告支持(AER)和虚拟通道支持(VC)。这些服务可以由一个复杂的驱动程序 183 PCI Express电源管理(PME)、高级错误报告(AER)、热插拔(HP)和虚拟通道(VC)的服务
|