Home
last modified time | relevance | path

Searched full:aer (Results 1 – 25 of 250) sorted by relevance

12345678910

/kernel/linux/linux-5.10/Documentation/PCI/
Dpcieaer-howto.rst20 Reporting (AER) driver and provides information on how to use it, as
22 PCI Express AER driver.
25 What is the PCI Express AER Driver?
37 The PCI Express AER driver provides the infrastructure to support PCI
38 Express Advanced Error Reporting capability. The PCI Express AER
45 AER driver only attaches root ports which support PCI-Express AER
52 Include the PCI Express AER Root Driver into the Linux Kernel
55 The PCI Express AER Root driver is a Root Port service driver attached
61 Load PCI Express AER Root Driver
64 Some systems have AER support in firmware. Enabling Linux AER support at
[all …]
/kernel/linux/linux-5.10/drivers/pci/pcie/
Daer.c3 * 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
52 /* AER stats for the device */
56 * Fields for all AER capable devices. They indicate the errors
58 * end point is causing problems, the AER counters may increment
144 int aer = dev->aer_cap; in enable_ecrc_checking() local
147 if (!aer) in enable_ecrc_checking()
150 pci_read_config_dword(dev, aer + PCI_ERR_CAP, &reg32); in enable_ecrc_checking()
155 pci_write_config_dword(dev, aer + PCI_ERR_CAP, reg32); in enable_ecrc_checking()
[all …]
DKconfig30 (AER) driver support. Error reporting messages sent to Root
31 Port will be handled by PCI Express AER driver.
39 (AER) software error injector.
41 Debugging AER code is quite difficult because it is hard
44 help of a user space helper tool aer-inject, which can be
46 https://www.kernel.org/pub/linux/utils/pci/aer-inject/
Dportdrv_core.c17 #include <linux/aer.h>
41 * Fill in *pme, *aer, *dpc with the relevant Interrupt Message Numbers if
46 u32 *pme, u32 *aer, u32 *dpc) in pcie_message_numbers() argument
73 *aer = (reg32 & PCI_ERR_ROOT_AER_IRQ) >> 27; in pcie_message_numbers()
74 nvec = max(nvec, *aer + 1); in pcie_message_numbers()
104 u32 pme = 0, aer = 0, dpc = 0; in pcie_port_enable_irq_vec() local
113 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec()
149 irqs[PCIE_PORT_SERVICE_AER_SHIFT] = pci_irq_vector(dev, aer); in pcie_port_enable_irq_vec()
229 * Disable AER on this port in case it's been enabled by the in get_port_device_capability()
230 * BIOS (the AER service driver will enable it when necessary). in get_port_device_capability()
[all …]
Daer_inject.c3 * 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://www.kernel.org/pub/linux/utils/pci/aer-inject/
352 pci_err(dev, "Device doesn't support AER\n"); in aer_inject()
363 pci_err(rpdev, "Root port doesn't support AER\n"); in aer_inject()
473 pci_warn(edev->port, "AER service is not initialized\n"); in aer_inject()
481 pci_err(rpdev, "AER device not found\n"); in aer_inject()
553 MODULE_DESCRIPTION("PCIe AER software error injector");
/kernel/linux/linux-6.6/drivers/pci/pcie/
Daer.c3 * 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, &reg32); in enable_ecrc_checking()
156 pci_write_config_dword(dev, aer + PCI_ERR_CAP, reg32); in enable_ecrc_checking()
[all …]
DKconfig34 (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/
Daer_inject.c3 * 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");
Derr.c13 #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()
/kernel/linux/linux-6.6/Documentation/PCI/
Dpcieaer-howto.rst20 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dlayerscape-pcie-gen4.txt16 "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";
Dlayerscape-pci.txt35 "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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dlayerscape-pcie-gen4.txt16 "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";
/kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst99 <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> :=
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst99 <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> :=
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-aer_stats1 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
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-aer_stats1 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
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcper.c22 #include <linux/aer.h>
406 /* Fatal errors call __ghes_panic() before AER handler prints this */ in cper_print_pcie()
409 struct aer_capability_regs *aer; in cper_print_pcie() local
411 aer = (struct aer_capability_regs *)pcie->aer_info; in cper_print_pcie()
413 pfx, aer->uncor_status, aer->uncor_mask); in cper_print_pcie()
415 pfx, aer->uncor_severity); in cper_print_pcie()
417 aer->header_log.dw0, aer->header_log.dw1, in cper_print_pcie()
418 aer->header_log.dw2, aer->header_log.dw3); in cper_print_pcie()
/kernel/linux/linux-6.6/drivers/firmware/efi/
Dcper.c22 #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()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c210 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c210 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 …]
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
Dpci_stub.c33 /*Add sem for sync AER handling and xen_pcibk remove/reconfigue ops,
34 * We want to avoid in middle of AER ops, xen_pcibk devices is being removed
281 * pcistub and xen_pcibk when AER is in processing in pcistub_put_pci_dev()
680 /*PV AER handlers will set this flag*/ in kill_domain_by_device()
692 /* For each aer recovery step error_detected, mmio_enabled, etc, front_end and
706 /*with PV AER drivers*/ in common_process()
722 /*local flag to mark there's aer request, xen_pcibk callback will use in common_process()
723 * this flag to judge whether we need to check pci-front give aer in common_process()
752 "pcifront aer process not responding!\n"); in common_process()
802 "guest with no AER driver should have been killed\n"); in xen_pcibk_slot_reset()
[all …]
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/
Dpci_stub.c34 /*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 …]
/kernel/linux/linux-5.10/include/linux/
Daer.h44 /* PCIe port driver needs this function to enable AER */
68 struct aer_capability_regs *aer);
/kernel/linux/linux-5.10/drivers/acpi/apei/
DKconfig37 bool "APEI PCIe AER logging/recovering support"
40 PCIe AER errors may be reported via APEI firmware first mode.

12345678910