Home
last modified time | relevance | path

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

1234

/linux/Documentation/PCI/
H A 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 …]
/linux/drivers/pci/pcie/
H A 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
58 /* AER info for the device */
62 * Fields for all AER capable devices. They indicate the errors
64 * Endpoint is causing problems, the AER counters may increment
164 int aer = dev->aer_cap; in enable_ecrc_checking() local
167 if (!aer) in enable_ecrc_checking()
170 pci_read_config_dword(dev, aer + PCI_ERR_CAP, &reg32); in enable_ecrc_checking()
175 pci_write_config_dword(dev, aer + PCI_ERR_CAP, reg32); in enable_ecrc_checking()
[all …]
H A 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://github.com/intel/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 Dtlp.c8 #include <linux/aer.h>
17 * aer_tlp_log_len - Calculate AER Capability TLP Header/Prefix Log length
19 * @aercc: AER Capabilities and Control register value
59 * Fill @log from TLP Header Log registers, e.g., AER or DPC.
H A Derr.c13 #define dev_fmt(fmt) "AER: " fmt
20 #include <linux/aer.h>
188 * pci_walk_bridge - walk bridges potentially AER affected
276 * If we have native control of AER, clear error status in the device in pcie_do_recovery()
277 * that detected the error. If the platform retained control of AER, in pcie_do_recovery()
H A Dportdrv.c20 #include <linux/aer.h>
53 * Fill in *pme, *aer, *dpc with the relevant Interrupt Message Numbers if
58 u32 *pme, u32 *aer, u32 *dpc) in pcie_message_numbers() argument
85 *aer = FIELD_GET(PCI_ERR_ROOT_AER_IRQ, reg32); in pcie_message_numbers()
86 nvec = max(nvec, *aer + 1); in pcie_message_numbers()
116 u32 pme = 0, aer = 0, dpc = 0; in pcie_port_enable_irq_vec() local
125 nvec = pcie_message_numbers(dev, mask, &pme, &aer, &dpc); in pcie_port_enable_irq_vec()
161 irqs[PCIE_PORT_SERVICE_AER_SHIFT] = pci_irq_vector(dev, aer); in pcie_port_enable_irq_vec()
263 * permission to use AER. in get_port_device_capability()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-aer1 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
121 PCIe AER ratelimits
124 These attributes show up under all the devices that are AER capable.
129 What: /sys/bus/pci/devices/<dev>/aer/correctable_ratelimit_interval_ms
133 Description: Writing 0 disables AER correctable error log ratelimiting.
137 What: /sys/bus/pci/devices/<dev>/aer/correctable_ratelimit_burst
[all …]
/linux/Documentation/firmware-guide/acpi/apei/
H A 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> :=
/linux/drivers/firmware/efi/
H A Dcper.c22 #include <linux/aer.h>
438 * Print all valid AER info. Record may be from BERT (boot-time) or GHES (run-time). in cper_print_pcie()
440 * Fatal errors call __ghes_panic() before AER handler prints this. in cper_print_pcie()
443 struct aer_capability_regs *aer; in cper_print_pcie() local
445 aer = (struct aer_capability_regs *)pcie->aer_info; in cper_print_pcie()
447 pfx, aer->cor_status, aer->cor_mask); in cper_print_pcie()
449 pfx, aer->uncor_status, aer->uncor_mask); in cper_print_pcie()
451 pfx, aer->uncor_severity); in cper_print_pcie()
453 aer->header_log.dw[0], aer->header_log.dw[1], in cper_print_pcie()
454 aer->header_log.dw[2], aer->header_log.dw[3]); in cper_print_pcie()
/linux/Documentation/devicetree/bindings/pci/
H A Dfsl,layerscape-pcie.yaml118 - const: aer
146 - const: aer
163 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
164 interrupt-names = "aer";
H A Dbaikal,bt1-pcie.yaml42 MSI, AER, PME, Hot-plug, Link Bandwidth Management, Link Equalization
57 - const: aer
151 "msi", "aer", "pme", "hp", "bw_mg",
H A Dsnps,dw-pcie.yaml179 register of the AER capability. It's asserted when the RC
182 const: aer
/linux/drivers/net/ethernet/ibm/ehea/
H A 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 …]
/linux/drivers/xen/xen-pciback/
H A Dpci_stub.c37 /*Add sem for sync AER handling and xen_pcibk remove/reconfigue ops,
38 * We want to avoid in middle of AER ops, xen_pcibk devices is being removed
297 * pcistub and xen_pcibk when AER is in processing in pcistub_put_pci_dev()
722 /*PV AER handlers will set this flag*/ in kill_domain_by_device()
734 /* For each aer recovery step error_detected, mmio_enabled, etc, front_end and
748 /*with PV AER drivers*/ in common_process()
764 /*local flag to mark there's aer request, xen_pcibk callback will use in common_process()
765 * this flag to judge whether we need to check pci-front give aer in common_process()
794 "pcifront aer process not responding!\n"); in common_process()
844 "guest with no AER driver should have been killed\n"); in xen_pcibk_slot_reset()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dutils.c59 IWL_ERR(trans, "iwlwifi device AER capability structure:\n"); in iwl_trans_pcie_dump_regs()
81 /* Print root port AER registers */ in iwl_trans_pcie_dump_regs()
87 IWL_ERR(trans, "iwlwifi root port (%s) AER cap structure:\n", in iwl_trans_pcie_dump_regs()
/linux/drivers/pci/
H A Dxen-pcifront.c106 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 …]
/linux/drivers/nvme/host/
H A Dtrace.h115 #define aer_name(aer) { aer, #aer } argument
/linux/drivers/nvme/target/
H A Dtrace.h134 #define aer_name(aer) { aer, #aer } argument
/linux/Documentation/translations/zh_CN/PCI/
H A Dpciebus-howto.rst42 高级错误报告支持(AER)和虚拟通道支持(VC)。这些服务可以由一个复杂的驱动程序
183 PCI Express电源管理(PME)、高级错误报告(AER)、热插拔(HP)和虚拟通道(VC)的服务
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a.dtsi1173 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1176 interrupt-names = "aer", "pme", "intr";
1201 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1204 interrupt-names = "aer", "pme", "intr";
1229 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1232 interrupt-names = "aer", "pme", "intr";
1257 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1260 interrupt-names = "aer", "pme", "intr";
1285 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
1288 interrupt-names = "aer", "pme", "intr";
[all …]
H A Dfsl-ls1088a.dtsi569 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
570 interrupt-names = "aer";
608 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
609 interrupt-names = "aer";
646 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
647 interrupt-names = "aer";
/linux/Documentation/scsi/
H A DChangeLog.arcmsr57 ** 1.implement PCI-Express error recovery function and AER capability
64 ** specially thanks to Yanmin Zhang's openhanded help about AER
/linux/drivers/mmc/host/
H A Dsdhci-pci-gli.c294 int aer; in sdhci_gli_mask_replay_timer_timeout() local
297 /* mask the replay timer timeout of AER */ in sdhci_gli_mask_replay_timer_timeout()
298 aer = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_ERR); in sdhci_gli_mask_replay_timer_timeout()
299 if (aer) { in sdhci_gli_mask_replay_timer_timeout()
300 pci_read_config_dword(pdev, aer + PCI_ERR_COR_MASK, &value); in sdhci_gli_mask_replay_timer_timeout()
302 pci_write_config_dword(pdev, aer + PCI_ERR_COR_MASK, value); in sdhci_gli_mask_replay_timer_timeout()
643 /* mask the replay timer timeout of AER */ in gl9750_hw_setting()
852 /* mask the replay timer timeout of AER */ in gl9755_hw_setting()
1851 /* mask the replay timer timeout of AER */ in gl9763e_hw_setting()
/linux/net/ipv4/
H A Dtcp_scalable.c12 /* These factors derived from the recommended values in the aer:
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c439 * enablement of the ECRC is solely determined by the AER in dw_pcie_enable_ecrc()
442 * Because of this, even when the ECRC is enabled through AER in dw_pcie_enable_ecrc()
444 * Digest as there is no way the PCI core AER code could program in dw_pcie_enable_ecrc()
452 * When ECRC is enabled in AER registers, everything works normally in dw_pcie_enable_ecrc()
453 * When ECRC is NOT enabled in AER registers, then, in dw_pcie_enable_ecrc()
464 * in AER registers, received TLP Digest is just ignored. in dw_pcie_enable_ecrc()

1234