/openbmc/linux/net/rxrpc/ |
H A D | peer_event.c | 32 struct sock_exterr_skb *serr = SKB_EXT_ERR(skb); in rxrpc_lookup_peer_local_rcu() local 48 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_local_rcu() 49 switch (serr->ee.ee_origin) { in rxrpc_lookup_peer_local_rcu() 52 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() 57 skb_network_header(skb) + serr->addr_offset + 12, in rxrpc_lookup_peer_local_rcu() 69 switch (serr->ee.ee_origin) { in rxrpc_lookup_peer_local_rcu() 71 srx->transport.sin6.sin6_port = serr->port; in rxrpc_lookup_peer_local_rcu() 73 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() 79 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_local_rcu() 81 skb_network_header(skb) + serr->addr_offset, in rxrpc_lookup_peer_local_rcu() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | datagram.c | 310 struct sock_exterr_skb *serr; in ipv6_icmp_error() local 321 serr = SKB_EXT_ERR(skb); in ipv6_icmp_error() 322 serr->ee.ee_errno = err; in ipv6_icmp_error() 323 serr->ee.ee_origin = SO_EE_ORIGIN_ICMP6; in ipv6_icmp_error() 324 serr->ee.ee_type = icmph->icmp6_type; in ipv6_icmp_error() 325 serr->ee.ee_code = icmph->icmp6_code; in ipv6_icmp_error() 326 serr->ee.ee_pad = 0; in ipv6_icmp_error() 327 serr->ee.ee_info = info; in ipv6_icmp_error() 328 serr->ee.ee_data = 0; in ipv6_icmp_error() 329 serr->addr_offset = (u8 *)&(((struct ipv6hdr *)(icmph + 1))->daddr) - in ipv6_icmp_error() [all …]
|
/openbmc/ipmitool/contrib/ |
H A D | oem_ibm_sel_map | 88 …s Register (LSB)","Status Register (MSB)","DevFun Number","0x00","Unknown SERR/PERR detected on PC… 89 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Address of special… 91 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Received target pa… 93 …"Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Device signaled SERR" 95 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Signaled Target Ab… 97 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Received Master Ab… 99 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Split Completion D… 101 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Unexpected Split C… 103 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: Received split com… 104 …","Status Register (LSB)","Status Register (MSB)","DevFun Number","0x00","SERR: PCI-PCI bridge sec… [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | ip_sockglue.c | 417 struct sock_exterr_skb *serr; in ip_icmp_error() local 423 serr = SKB_EXT_ERR(skb); in ip_icmp_error() 424 serr->ee.ee_errno = err; in ip_icmp_error() 425 serr->ee.ee_origin = SO_EE_ORIGIN_ICMP; in ip_icmp_error() 426 serr->ee.ee_type = icmp_hdr(skb)->type; in ip_icmp_error() 427 serr->ee.ee_code = icmp_hdr(skb)->code; in ip_icmp_error() 428 serr->ee.ee_pad = 0; in ip_icmp_error() 429 serr->ee.ee_info = info; in ip_icmp_error() 430 serr->ee.ee_data = 0; in ip_icmp_error() 431 serr->addr_offset = (u8 *)&(((struct iphdr *)(icmp_hdr(skb) + 1))->daddr) - in ip_icmp_error() [all …]
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | irq.c | 423 void cxl_afu_decode_psl_serr(struct cxl_afu *afu, u64 serr) in cxl_afu_decode_psl_serr() argument 427 dev_crit(&afu->dev, "PSL_SERR_An: 0x%016llx\n", serr); in cxl_afu_decode_psl_serr() 428 if (serr & CXL_PSL_SERR_An_afuto) in cxl_afu_decode_psl_serr() 430 if (serr & CXL_PSL_SERR_An_afudis) in cxl_afu_decode_psl_serr() 433 if (serr & CXL_PSL_SERR_An_afuov) in cxl_afu_decode_psl_serr() 435 if (serr & CXL_PSL_SERR_An_badsrc) in cxl_afu_decode_psl_serr() 437 if (serr & CXL_PSL_SERR_An_badctx) in cxl_afu_decode_psl_serr() 439 if (serr & CXL_PSL_SERR_An_llcmdis) in cxl_afu_decode_psl_serr() 441 if (serr & CXL_PSL_SERR_An_llcmdto) in cxl_afu_decode_psl_serr() 443 if (serr & CXL_PSL_SERR_An_afupar) in cxl_afu_decode_psl_serr() [all …]
|
H A D | native.c | 97 u64 serr; in native_afu_reset() local 112 serr = cxl_p1n_read(afu, CXL_PSL_SERR_An); in native_afu_reset() 113 serr &= ~CXL_PSL_SERR_An_IRQ_MASKS; in native_afu_reset() 114 cxl_p1n_write(afu, CXL_PSL_SERR_An, serr); in native_afu_reset() 1101 u64 fir1, serr; in cxl_native_irq_dump_regs_psl9() local 1107 serr = cxl_p1n_read(ctx->afu, CXL_PSL_SERR_An); in cxl_native_irq_dump_regs_psl9() 1108 cxl_afu_decode_psl_serr(ctx->afu, serr); in cxl_native_irq_dump_regs_psl9() 1114 u64 fir1, fir2, fir_slice, serr, afu_debug; in cxl_native_irq_dump_regs_psl8() local 1124 serr = cxl_p1n_read(ctx->afu, CXL_PSL_SERR_An); in cxl_native_irq_dump_regs_psl8() 1125 cxl_afu_decode_psl_serr(ctx->afu, serr); in cxl_native_irq_dump_regs_psl8() [all …]
|
H A D | debugfs.c | 82 debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); in cxl_debugfs_add_afu_regs_psl9() 91 debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); in cxl_debugfs_add_afu_regs_psl8()
|
/openbmc/linux/net/can/j1939/ |
H A D | socket.c | 988 struct sock_exterr_skb *serr; in __j1939_sk_errqueue() local 1031 serr = SKB_EXT_ERR(skb); in __j1939_sk_errqueue() 1032 memset(serr, 0, sizeof(*serr)); in __j1939_sk_errqueue() 1035 serr->ee.ee_errno = ENOMSG; in __j1939_sk_errqueue() 1036 serr->ee.ee_origin = SO_EE_ORIGIN_TIMESTAMPING; in __j1939_sk_errqueue() 1037 serr->ee.ee_info = SCM_TSTAMP_ACK; in __j1939_sk_errqueue() 1041 serr->ee.ee_errno = ENOMSG; in __j1939_sk_errqueue() 1042 serr->ee.ee_origin = SO_EE_ORIGIN_TIMESTAMPING; in __j1939_sk_errqueue() 1043 serr->ee.ee_info = SCM_TSTAMP_SCHED; in __j1939_sk_errqueue() 1047 serr->ee.ee_errno = session->err; in __j1939_sk_errqueue() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | msg_zerocopy.rst | 189 struct sock_extended_err *serr; 197 serr = (void *) CMSG_DATA(cm); 198 if (serr->ee_errno != 0 || 199 serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY) 200 error(1, 0, "serr"); 202 printf("completed: %u..%u\n", serr->ee_info, serr->ee_data);
|
/openbmc/linux/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | buildebpfPlugin.py | 58 (rawout, serr) = proc.communicate() 60 if proc.returncode != 0 and len(serr) > 0: 61 foutput = serr.decode("utf-8")
|
H A D | nsPlugin.py | 137 (rawout, serr) = proc.communicate() 139 if proc.returncode != 0 and len(serr) > 0: 140 foutput = serr.decode("utf-8")
|
/openbmc/linux/net/sched/ |
H A D | sch_etf.c | 137 struct sock_exterr_skb *serr; in report_sock_error() local 149 serr = SKB_EXT_ERR(clone); in report_sock_error() 150 serr->ee.ee_errno = err; in report_sock_error() 151 serr->ee.ee_origin = SO_EE_ORIGIN_TXTIME; in report_sock_error() 152 serr->ee.ee_type = 0; in report_sock_error() 153 serr->ee.ee_code = code; in report_sock_error() 154 serr->ee.ee_pad = 0; in report_sock_error() 155 serr->ee.ee_data = (txtime >> 32); /* high part of tstamp */ in report_sock_error() 156 serr->ee.ee_info = txtime; /* low part of tstamp */ in report_sock_error()
|
/openbmc/qemu/io/ |
H A D | channel-socket.c | 733 struct sock_extended_err *serr; in qio_channel_socket_flush() local 735 char control[CMSG_SPACE(sizeof(*serr))]; in qio_channel_socket_flush() 774 serr = (void *) CMSG_DATA(cm); in qio_channel_socket_flush() 775 if (serr->ee_errno != SO_EE_ORIGIN_NONE) { in qio_channel_socket_flush() 776 error_setg_errno(errp, serr->ee_errno, in qio_channel_socket_flush() 780 if (serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY) { in qio_channel_socket_flush() 781 error_setg_errno(errp, serr->ee_origin, in qio_channel_socket_flush() 785 if (serr->ee_data < serr->ee_info) { in qio_channel_socket_flush() 786 error_setg_errno(errp, serr->ee_origin, in qio_channel_socket_flush() 792 sioc->zero_copy_sent += serr->ee_data - serr->ee_info + 1; in qio_channel_socket_flush() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 397 struct sock_extended_err *serr; in do_recv_completion() local 424 error(1, 0, "serr: wrong type: %d.%d", in do_recv_completion() 427 serr = (void *) CMSG_DATA(cm); in do_recv_completion() 429 if (serr->ee_origin != SO_EE_ORIGIN_ZEROCOPY) in do_recv_completion() 430 error(1, 0, "serr: wrong origin: %u", serr->ee_origin); in do_recv_completion() 431 if (serr->ee_errno != 0) in do_recv_completion() 432 error(1, 0, "serr: wrong error code: %u", serr->ee_errno); in do_recv_completion() 434 hi = serr->ee_data; in do_recv_completion() 435 lo = serr->ee_info; in do_recv_completion() 446 zerocopy = !(serr->ee_code & SO_EE_CODE_ZEROCOPY_COPIED); in do_recv_completion() [all …]
|
H A D | txtimestamp.c | 310 struct sock_extended_err *serr = NULL; in __recv_errmsg_cmsg() local 327 serr = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 328 if (serr->ee_errno != ENOMSG || in __recv_errmsg_cmsg() 329 serr->ee_origin != SO_EE_ORIGIN_TIMESTAMPING) { in __recv_errmsg_cmsg() 331 serr->ee_errno, in __recv_errmsg_cmsg() 332 serr->ee_origin); in __recv_errmsg_cmsg() 333 serr = NULL; in __recv_errmsg_cmsg() 349 if (serr && tss) { in __recv_errmsg_cmsg() 350 print_timestamp(tss, serr->ee_info, serr->ee_data, in __recv_errmsg_cmsg() 352 serr = NULL; in __recv_errmsg_cmsg()
|
/openbmc/openbmc/poky/scripts/lib/wic/ |
H A D | misc.py | 70 serr = subprocess.STDOUT 74 stderr=serr, shell=shell) 75 sout, serr = process.communicate() 77 out = ''.join([out.decode('utf-8') for out in [sout, serr] if out])
|
/openbmc/linux/arch/sh/drivers/pci/ |
H A D | pci-sh7780.c | 83 { SH4_PCIINT_SERR, "SERR" }, 153 /* Deassert SERR */ in sh7780_pci_serr_irq() 180 "PCI SERR interrupt", hose); in sh7780_pci_setup_irqs() 182 pr_err("PCI: Failed hooking SERR IRQ\n"); in sh7780_pci_setup_irqs() 328 * Hook up the ERR and SERR IRQs. in sh7780_pci_init()
|
H A D | pci-sh4.h | 23 #define SH4_PCICR_SERR 0x00000008 /* SERR output assert */ 37 #define SH4_PCIINT_SERR 0x00000040 /* SERR Detection Error */ 49 #define SH4_PCIINTM_SDIM BIT(6) /* SERR detection */
|
/openbmc/linux/drivers/edac/ |
H A D | i3000_edac.c | 77 * for SMI/SCI/SERR 92 * 11 SERR on MCH Thermal Sensor Event 95 * 9 SERR on LOCK to non-DRAM Memory 97 * 8 SERR on DRAM Refresh Timeout 100 * 1 SERR Multi-Bit DRAM ECC Error 102 * 0 SERR on Single-Bit ECC Error
|
H A D | i82875p_edac.c | 79 * 9 SERR on non-DRAM lock 80 * 8 SERR on ECC UE 81 * 7 SERR on ECC CE 85 * 3 SERR on invalid AGP access 87 * 1 SERR on unsupported AGP command 96 * 8 SERR enable - ro 0
|
H A D | bluefield_edac.c | 99 u32 ecc_latch_select, dram_syndrom, serr, derr, syndrom; in bluefield_gather_report_ecc() local 120 serr = FIELD_GET(MLXBF_SYNDROM__SERR, dram_syndrom); in bluefield_gather_report_ecc() 124 if ((is_single_ecc && !serr) || (!is_single_ecc && !derr)) { in bluefield_gather_report_ecc()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pci-defs.h | 1392 uint64_t serr:1; member 1416 uint64_t serr:1; 1463 uint64_t serr:1; member 1487 uint64_t serr:1; 1532 uint64_t serr:1; member 1556 uint64_t serr:1; 1609 uint64_t serr:1; member 1633 uint64_t serr:1; 1680 uint64_t serr:1; member 1704 uint64_t serr:1; [all …]
|
/openbmc/linux/samples/vfio-mdev/ |
H A D | README.rst | 63 Stepping- SERR- FastB2B- DisINTx- 65 <TAbort- <MAbort- >SERR- <PERR- INTx-
|
/openbmc/linux/include/linux/ssb/ |
H A D | ssb_driver_pci.h | 29 #define SSB_PCICORE_ISTAT_SERR 0x00000004 /* PCI SERR# (write to clear) */ 35 #define SSB_PCICORE_IMASK_SERR 0x00000004 /* PCI SERR# */
|
/openbmc/u-boot/drivers/ata/ |
H A D | dwc_ahsata.c | 37 u32 serr; member 222 /* Wait for COMINIT bit 26 (DIAG_X) in SERR */ in ahci_host_init() 224 while (!(readl(&port_mmio->serr) | SATA_PORT_SERR_DIAG_X) in ahci_host_init() 233 * For each implemented Port, clear the P#SERR in ahci_host_init() 237 tmp = readl(&port_mmio->serr); in ahci_host_init() 238 debug("P#SERR 0x%x\n", in ahci_host_init() 240 writel(tmp, &port_mmio->serr); in ahci_host_init()
|