/linux/tools/testing/selftests/arm64/abi/ |
H A D | syscall-abi.c | 76 int errors = 0; in check_gpr() local 87 errors++; in check_gpr() 91 return errors; in check_gpr() 109 int errors = 0; in check_fpr() local 119 errors++; in check_fpr() 132 errors++; in check_fpr() 136 return errors; in check_fpr() 156 int errors = 0; in check_z() local 175 errors++; in check_z() 185 errors++; in check_z() [all …]
|
/linux/drivers/md/bcache/ |
H A D | io.c | 55 /* IO errors */ 58 unsigned int errors; in bch_count_backing_io_errors() local 74 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 75 if (errors < dc->error_limit) in bch_count_backing_io_errors() 96 unsigned int errors; in bch_count_io_errors() local 102 * successfully do so, we rescale the errors once: in bch_count_io_errors() 110 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 112 old = errors; in bch_count_io_errors() 113 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors() 114 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors() [all …]
|
/linux/Documentation/driver-api/soundwire/ |
H A D | error_handling.rst | 5 The SoundWire PHY was designed with care and errors on the bus are going to 7 errors. Examples of this design can be found in the synchronization 8 mechanism (sync loss after two errors) and short CRCs used for the Bulk 11 The errors can be detected with multiple mechanisms: 13 1. Bus clash or parity errors: This mechanism relies on low-level detectors 15 and audio data. The current implementation only logs such errors. 17 restarting from a known position. In the case of such errors outside of a 21 and after a number of such errors are detected the bus might be reset. Note 22 that bus clashes due to programming errors (two streams using the same bit 27 not be responsible for the errors so resetting them individually is not a [all …]
|
/linux/fs/bcachefs/ |
H A D | sb-downgrade.c | 12 #include "sb-errors.h" 18 * Upgrade, downgrade tables - run certain recovery passes, fix certain errors 20 * x(version, recovery_passes, errors...) 126 const u16 *errors; member 138 .errors = upgrade_##ver##_errors, \ 199 for (const u16 *e = i->errors; e < i->errors + i->nr_errors; e++) in bch2_sb_set_upgrade() 213 .errors = downgrade_##ver##_errors, \ 222 unsigned bytes = sizeof(*dst) + sizeof(dst->errors[0]) * le16_to_cpu(dst->nr_errors); in downgrade_table_extra() 230 bytes += sizeof(dst->errors[0]) * 2; in downgrade_table_extra() 241 dst->errors[nr_errors++] = cpu_to_le16(BCH_FSCK_ERR_alloc_key_dirty_sectors_wrong); in downgrade_table_extra() [all …]
|
H A D | error.h | 8 #include "sb-errors.h" 15 * XXX: separate out errors that indicate on disk data is inconsistent, and flag 22 * Inconsistency errors: The on disk data is inconsistent. If these occur during 28 * XXX: audit all inconsistent errors and make sure they're all recoverable, in 98 * Fsck errors: inconsistency errors we detect at mount time, and should ideally 140 /* XXX: mark in superblock that filesystem contains errors, if we ignore: */ 179 * for now, bkey fsck errors are always handled by deleting the entire key - 201 * Fatal errors: these don't indicate a bug, but we can't continue running in RW 202 * mode - pretty much just due to metadata IO errors: 223 * IO errors: either recoverable metadata IO (because we have replicas), or data
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer_stats | 5 statistical counters indicate the errors "as seen/reported by the device". 8 errors may be "seen" / reported by the link partner and not the 16 Description: List of correctable errors seen and reported by this 17 PCI device using ERR_COR. Note that since multiple errors may 20 total of all the errors in the file. Sample output:: 37 Description: List of uncorrectable fatal errors seen and reported by this 38 PCI device using ERR_FATAL. Note that since multiple errors may 41 total of all the errors in the file. Sample output:: 67 Description: List of uncorrectable nonfatal errors seen and reported by this 68 PCI device using ERR_NONFATAL. Note that since multiple errors [all …]
|
H A D | sysfs-platform-dfl-fme | 48 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie0_errors 52 Description: Read-Write. Read this file for errors detected on pcie0 link. 53 Write this file to clear errors logged in pcie0_errors. Write 57 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie1_errors 61 Description: Read-Write. Read this file for errors detected on pcie1 link. 62 Write this file to clear errors logged in pcie1_errors. Write 66 What: /sys/bus/platform/devices/dfl-fme.0/errors/nonfatal_errors 70 Description: Read-only. It returns non-fatal errors detected. 72 What: /sys/bus/platform/devices/dfl-fme.0/errors/catfatal_errors 76 Description: Read-only. It returns catastrophic and fatal errors detected. [all …]
|
H A D | sysfs-mce | 8 detected by the CPU. Uncorrected errors typically cause a 45 How often to poll for corrected machine check errors, in 52 0 means no polling for corrected machine check errors 53 (but some corrected errors might be still reported 80 Disables polling and CMCI for corrected errors. 87 Disables logging for corrected errors. 88 All reported corrected errors will be cleared silently. 91 errors.
|
/linux/drivers/fpga/ |
H A D | dfl-afu-error.c | 30 /* mask or unmask port errors by the error mask register. */ 49 /* clear port errors. */ 64 * clear Port Errors in afu_port_err_clear() 68 * - Set PORT Error mask to all 1 to mask errors in afu_port_err_clear() 69 * - Clear all errors in afu_port_err_clear() 70 * - Set Port mask to all 0 to enable errors in afu_port_err_clear() 71 * - All errors start capturing new errors in afu_port_err_clear() 78 dev_err(dev, "Could not clear errors, device in AP6 state.\n"); in afu_port_err_clear() 87 /* Mask all errors */ in afu_port_err_clear() 90 /* Clear errors if err input matches with current port errors.*/ in afu_port_err_clear() [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 585 local errors=0 589 errors=$(( $errors + $? )) 593 errors=$(( $errors + $? )) 597 errors=$(( $errors + $? )) 601 errors=$(( $errors + $? )) 605 errors=$(( $errors + $? )) 609 errors=$(( $errors + $? )) 613 errors=$(( $errors + $? )) 617 errors=$(( $errors + $? )) 621 errors=$(( $errors + $? )) [all …]
|
/linux/Documentation/driver-api/ |
H A D | libata.rst | 378 This chapter describes how errors are handled under libata. Readers are 543 Errors which aren't ATA device errors are treated as ATA device 544 errors by setting ATA_ERR bit. Better error descriptor which can 545 properly represent ATA and other errors/exceptions is needed. 556 errors and other errors quite often require reset to return to known 560 - ATA errors are directly handled in the interrupt handler and PIO 561 errors in pio_task. This is problematic for advanced error handling 600 ATA errors and exceptions 611 which are not errors (say, power or hotplug events), or to describe both 612 errors and non-error exceptional conditions. Where explicit distinction [all …]
|
/linux/Documentation/ABI/removed/ |
H A D | sysfs-mce | 27 0 always panic on uncorrected errors, log corrected errors 28 1 panic or SIGBUS on uncorrected errors, log corrected errors 29 2 SIGBUS or log uncorrected errors, log corrected errors 30 3 never panic or SIGBUS, log all errors (for testing only)
|
/linux/arch/sparc/include/asm/ |
H A D | hypervisor.h | 88 * ERRORS: This service does not return. 118 * ERRORS: HV_EBADALIGN Buffer is badly aligned 143 * ERRORS: This service does not return. 242 * ERRORS: ENOCPU Invalid CPU ID 269 * ERRORS: ENOCPU Invalid CPU ID 293 * ERRORS: No possible error. 310 * ERRORS: ENOCPU cpuid refers to a CPU that does not exist 331 * ERRORS: ENORADDR Invalid base real address 379 * ERRORS: EINVAL Invalid queue 397 * ERRORS: EBADALIGN Mondo data is not 64-byte aligned or CPU list [all …]
|
H A D | estate.h | 15 * errors 2) uncorrectable E-cache errors. Such events only occur on reads 23 * for uncorrectable ECC errors and system errors. 31 * 4) As the result of such errors on instruction vector fetch can generate any 38 /* CEEN enables the ECC_error trap for hardware corrected ECC errors. System bus
|
/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac_ethtool.c | 24 { "rx-crc-errors" }, 25 { "rx-undersize-errors" }, 26 { "rx-oversize-errors" }, 27 { "rx-short-fragment-errors" }, 28 { "rx-jabber-errors" }, 43 { "tx-crc-errors" }, 44 { "tx-undersize-errors" }, 45 { "tx-oversize-errors" },
|
/linux/include/uapi/linux/ |
H A D | sonet.h | 11 __HANDLE_ITEM(section_bip); /* section parity errors (B1) */ \ 12 __HANDLE_ITEM(line_bip); /* line parity errors (B2) */ \ 13 __HANDLE_ITEM(path_bip); /* path parity errors (B3) */ \ 14 __HANDLE_ITEM(line_febe); /* line parity errors at remote */ \ 15 __HANDLE_ITEM(path_febe); /* path parity errors at remote */ \ 16 __HANDLE_ITEM(corr_hcs); /* correctable header errors */ \ 17 __HANDLE_ITEM(uncorr_hcs); /* uncorrectable header errors */ \
|
/linux/Documentation/admin-guide/RAS/ |
H A D | main.rst | 40 hardware errors, and, when possible correcting them in runtime. It should 47 * CPU – detect errors at instruction execution and at L1/L2/L3 caches; 48 * Memory – add error correction logic (ECC) to detect and correct errors; 54 to identify if the probability of hardware errors is increasing, and, on such 56 those errors are correctable. 58 Types of errors 62 Codes that allow error correction when the number of errors on a bit packet 63 is below a threshold. If the number of errors is above, those mechanisms 70 That defines some categories of errors: 73 corrected the error. Such errors are usually not fatal, although some [all …]
|
/linux/Documentation/filesystems/ |
H A D | zonefs.rst | 179 additional conditions that result in I/O errors. 198 * Unaligned write errors: These errors result from the host issuing write 201 enforces sequential file write for sequential zones, unaligned write errors 208 * Delayed write errors: similarly to regular block devices, if the device side 209 write cache is enabled, write errors may occur in ranges of previously 212 errors can propagate through a stream of cached sequential data for a zone 215 All I/O errors detected by zonefs are notified to the user with an error code 217 actions taken by zonefs in response to I/O errors depend on the I/O type (read 221 * For read I/O errors, zonefs does not execute any particular recovery action, 226 * For write I/O errors, zonefs I/O error recovery is always executed. [all …]
|
/linux/drivers/ufs/core/ |
H A D | ufs-debugfs.c | 42 PRT("PHY Adapter Layer errors (except LINERESET): %llu\n", PA_ERR); in ufs_debugfs_stats_show() 43 PRT("Data Link Layer errors: %llu\n", DL_ERR); in ufs_debugfs_stats_show() 44 PRT("Network Layer errors: %llu\n", NL_ERR); in ufs_debugfs_stats_show() 45 PRT("Transport Layer errors: %llu\n", TL_ERR); in ufs_debugfs_stats_show() 46 PRT("Generic DME errors: %llu\n", DME_ERR); in ufs_debugfs_stats_show() 47 PRT("Auto-hibernate errors: %llu\n", AUTO_HIBERN8_ERR); in ufs_debugfs_stats_show() 48 PRT("IS Fatal errors (CEFES, SBFES, HCFES, DFES): %llu\n", FATAL_ERR); in ufs_debugfs_stats_show() 49 PRT("DME Link Startup errors: %llu\n", LINK_STARTUP_FAIL); in ufs_debugfs_stats_show() 50 PRT("PM Resume errors: %llu\n", RESUME_ERR); in ufs_debugfs_stats_show() 51 PRT("PM Suspend errors : %llu\n", SUSPEND_ERR); in ufs_debugfs_stats_show()
|
/linux/drivers/acpi/apei/ |
H A D | Kconfig | 15 APEI allows to report errors (for example from the chipset) 28 platform hardware errors (such as that from chipset). It 30 errors are reported to firmware firstly, then reported to 40 PCIe AER errors may be reported via APEI firmware first mode. 52 Memory errors may be reported via APEI firmware first mode. 70 Availability and which errors are supported is dependent on
|
/linux/drivers/mtd/tests/ |
H A D | nandbiterrs.c | 11 * 0 - artificially inserting bit errors until the ECC fails 18 * Depending on the NAND, the first bit errors will appear after 23 * exceptionally good and not generate bit errors before that. Try 55 MODULE_PARM_DESC(mode, "0=incremental errors, 1=overwrite test"); 126 /* Reads page into rbuffer. Returns number of corrected bit errors (>=0) 199 * errors into the page, while verifying each step. */ 223 pr_info("Read reported %d corrected bit errors\n", err); in incremental_errors_test() 237 pr_info("Successfully corrected %d bit errors per subpage\n", in incremental_errors_test() 254 This eventually develops bit errors (bits written as '1' will slowly become 262 /* We don't expect more than this many correctable bit errors per in overwrite_test() [all …]
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_scsi.h | 97 * ready errors 100 * ready errors 104 * errors. 107 uint32_t n_busy_error; /* No. of -EBUSY errors */ 109 uint32_t n_rsperror; /* No. of response errors */ 111 uint32_t n_ovflerror; /* No. of overflow errors */ 112 uint32_t n_unflerror; /* No. of underflow errors */ 114 * ready errors 116 uint32_t n_rdev_lost_error;/* No. of rdev lost errors */ 117 uint32_t n_rdev_logo_error;/* No. of rdev logo errors */ [all …]
|
/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_net.c | 45 u64 errors; member 53 u64 errors; member 134 u64 requests = 0, errors = 0, successes = 0; in vdpasim_handle_cvq() local 154 ++errors; in vdpasim_handle_cvq() 169 ++errors; in vdpasim_handle_cvq() 191 net->cq_stats.errors += errors; in vdpasim_handle_cvq() 273 net->tx_stats.errors += tx_errors; in vdpasim_net_work() 280 net->rx_stats.errors += rx_errors; in vdpasim_net_work() 302 rx_errors = net->rx_stats.errors; in vdpasim_net_get_stats() 320 "rx errors")) in vdpasim_net_get_stats() [all …]
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 261 uint32_t *in, uint32_t *out, int *errors) in check_u32() argument 266 (*errors)++; in check_u32() 338 int errors = 0; in ptrace_set_sve_get_sve_data() local 396 errors++; in ptrace_set_sve_get_sve_data() 405 errors++; in ptrace_set_sve_get_sve_data() 410 read_buf + SVE_PT_SVE_FPSR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 412 read_buf + SVE_PT_SVE_FPCR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 414 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data() 434 int errors = 0; in ptrace_set_sve_get_fpsimd_data() local 490 errors++; in ptrace_set_sve_get_fpsimd_data() [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pid.c | 46 st->errors[i] = error; in wf_pid_run() 53 st->errors[st->index] = error; in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 62 deriv = st->errors[st->index] - in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 101 st->errors[i] = error; in wf_cpu_pid_run() 109 st->errors[st->index] = error; in wf_cpu_pid_run() 116 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
|