diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-11-11 02:21:37 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-11-11 02:40:39 +0300 |
commit | c9eb66546bc5c72ff6a4424f5c73ada67d0aeaa8 (patch) | |
tree | 4a18f83f5979766f6a360805a97500e9b2beeb75 | |
parent | 638336990198a7f36d43cfd21a42b25d9dcb6efc (diff) | |
download | ydb-c9eb66546bc5c72ff6a4424f5c73ada67d0aeaa8.tar.gz |
Update contrib/libs/linux-headers to 6.5.9
82 files changed, 2616 insertions, 237 deletions
diff --git a/build/sysincl/linux-headers.yml b/build/sysincl/linux-headers.yml index 49159843c4..b26b327093 100644 --- a/build/sysincl/linux-headers.yml +++ b/build/sysincl/linux-headers.yml @@ -455,6 +455,7 @@ - linux/erspan.h - linux/ethtool.h - linux/ethtool_netlink.h + - linux/eventfd.h - linux/eventpoll.h - linux/ext4.h - linux/f2fs.h @@ -986,6 +987,7 @@ - linux/tipc_sockets_diag.h - linux/tls.h - linux/toshiba.h + - linux/tps6594_pfsm.h - linux/tty.h - linux/tty_flags.h - linux/types.h diff --git a/contrib/libs/linux-headers/.yandex_meta/devtools.copyrights.report b/contrib/libs/linux-headers/.yandex_meta/devtools.copyrights.report index d25f3acfd5..cbe36edad3 100644 --- a/contrib/libs/linux-headers/.yandex_meta/devtools.copyrights.report +++ b/contrib/libs/linux-headers/.yandex_meta/devtools.copyrights.report @@ -2016,6 +2016,16 @@ BELONGS ya.make Files with this license: asm/posix_types_arm.h [5:5] +KEEP COPYRIGHT_SERVICE_LABEL 60532bdfaa2b41c68103d7a9323d14a0 +BELONGS ya.make + Note: matched license text is too long. Read it in the source files. + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + linux/nl80211.h [6:14] + KEEP COPYRIGHT_SERVICE_LABEL 61375807ab2a77a803ab8d0797577f87 BELONGS ya.make License text: @@ -2747,16 +2757,6 @@ BELONGS ya.make Files with this license: linux/nbd.h [3:8] -KEEP COPYRIGHT_SERVICE_LABEL 868e48910e495ab3c256b805ace087a1 -BELONGS ya.make - Note: matched license text is too long. Read it in the source files. - Scancode info: - Original SPDX id: COPYRIGHT_SERVICE_LABEL - Score : 100.00 - Match type : COPYRIGHT - Files with this license: - linux/nl80211.h [6:14] - KEEP COPYRIGHT_SERVICE_LABEL 86c051674d566ea96b9121ecd0bcf668 BELONGS ya.make License text: @@ -3918,6 +3918,17 @@ BELONGS ya.make Files with this license: linux/user_events.h [3:3] +KEEP COPYRIGHT_SERVICE_LABEL b01abb53587a86c0201fc5f45514f4e0 +BELONGS ya.make + License text: + * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ + Scancode info: + Original SPDX id: COPYRIGHT_SERVICE_LABEL + Score : 100.00 + Match type : COPYRIGHT + Files with this license: + linux/tps6594_pfsm.h [5:5] + KEEP COPYRIGHT_SERVICE_LABEL b0641d3ff2c648b2fb9cf946110ed25e BELONGS ya.make License text: diff --git a/contrib/libs/linux-headers/.yandex_meta/devtools.licenses.report b/contrib/libs/linux-headers/.yandex_meta/devtools.licenses.report index 3f0d5c2bc5..d0bb638b53 100644 --- a/contrib/libs/linux-headers/.yandex_meta/devtools.licenses.report +++ b/contrib/libs/linux-headers/.yandex_meta/devtools.licenses.report @@ -163,8 +163,8 @@ BELONGS ya.make KEEP GPL-2.0-only WITH Linux-syscall-note 0a81ea6890789c282ee36f30d20ccf57 BELONGS ya.make -FILE_INCLUDE LICENSES/exceptions/Linux-syscall-note found in files: _nf/linux/netfilter/xt_CONNMARK.h at line 1, _nf/linux/netfilter/xt_DSCP.h at line 1, _nf/linux/netfilter/xt_MARK.h at line 1, _nf/linux/netfilter/xt_RATEEST.h at line 1, _nf/linux/netfilter/xt_TCPMSS.h at line 1, _nf/linux/netfilter_ipv4/ipt_ECN.h at line 1, _nf/linux/netfilter_ipv4/ipt_TTL.h at line 1, _nf/linux/netfilter_ipv6/ip6t_HL.h at line 1, asm-generic/bitsperlong.h at line 1, asm-generic/errno-base.h at line 1, asm-generic/errno.h at line 1, asm-generic/fcntl.h at line 1, asm-generic/int-l64.h at line 1, asm-generic/int-ll64.h at line 1, asm-generic/ioctl.h at line 1, asm-generic/ioctls.h at line 1, asm-generic/ipcbuf.h at line 1, asm-generic/mman-common.h at line 1, asm-generic/mman.h at line 1, asm-generic/msgbuf.h at line 1, asm-generic/param.h at line 1, asm-generic/poll.h at line 1, asm-generic/posix_types.h at line 1, asm-generic/resource.h at line 1, asm-generic/sembuf.h at line 1, asm-generic/setup.h at line 1, asm-generic/shmbuf.h at line 1, asm-generic/siginfo.h at line 1, asm-generic/signal-defs.h at line 1, asm-generic/signal.h at line 1, asm-generic/socket.h at line 1, asm-generic/sockios.h at line 1, asm-generic/stat.h at line 1, asm-generic/statfs.h at line 1, asm-generic/swab.h at line 1, asm-generic/termbits-common.h at line 1, asm-generic/termbits.h at line 1, asm-generic/termios.h at line 1, asm-generic/types.h at line 1, asm-generic/ucontext.h at line 1, asm-generic/unistd.h at line 1, asm/a.out_x86.h at line 1, asm/amd_hsmp_x86.h at line 1, asm/auxvec_arm.h at line 1, asm/auxvec_arm64.h at line 1, asm/auxvec_powerpc.h at line 1, asm/auxvec_x86.h at line 1, asm/bitsperlong_arm64.h at line 1, asm/bitsperlong_powerpc.h at line 1, asm/bitsperlong_x86.h at line 1, asm/boot_x86.h at line 1, asm/bootparam_x86.h at line 1, asm/bootx_powerpc.h at line 1, asm/bpf_perf_event_arm64.h at line 1, asm/byteorder_arm.h at line 1, asm/byteorder_arm64.h at line 1, asm/byteorder_x86.h at line 1, asm/cputable_powerpc.h at line 1, asm/debugreg_x86.h at line 1, asm/e820_x86.h at line 1, asm/eeh_powerpc.h at line 1, asm/errno_powerpc.h at line 1, asm/fcntl_arm.h at line 1, asm/fcntl_arm64.h at line 1, asm/fcntl_powerpc.h at line 1, asm/hw_breakpoint_x86.h at line 1, asm/hwcap2_x86.h at line 1, asm/hwcap_arm.h at line 1, asm/hwcap_arm64.h at line 1, asm/ioctl_powerpc.h at line 1, asm/ioctls_arm.h at line 1, asm/ioctls_powerpc.h at line 1, asm/kvm_arm64.h at line 1, asm/kvm_para_powerpc.h at line 1, asm/kvm_para_x86.h at line 1, asm/kvm_perf_x86.h at line 1, asm/kvm_powerpc.h at line 1, asm/kvm_x86.h at line 1, asm/ldt_x86.h at line 1, asm/mce_x86.h at line 1, asm/mman_arm64.h at line 1, asm/mman_x86.h at line 1, asm/msgbuf_powerpc.h at line 1, asm/msgbuf_x86.h at line 1, asm/msr_x86.h at line 1, asm/papr_pdsm_powerpc.h at line 1, asm/param_arm64.h at line 1, asm/perf_event_powerpc.h at line 1, asm/perf_regs_arm.h at line 1, asm/perf_regs_arm64.h at line 1, asm/perf_regs_powerpc.h at line 1, asm/perf_regs_x86.h at line 1, asm/posix_types_32_x86.h at line 1, asm/posix_types_64_x86.h at line 1, asm/posix_types_arm.h at line 1, asm/posix_types_arm64.h at line 1, asm/posix_types_powerpc.h at line 1, asm/posix_types_x32_x86.h at line 1, asm/posix_types_x86.h at line 1, asm/prctl_x86.h at line 1, asm/processor-flags_x86.h at line 1, asm/ps3fb_powerpc.h at line 1, asm/ptrace-abi_x86.h at line 1, asm/ptrace_arm.h at line 1, asm/ptrace_arm64.h at line 1, asm/ptrace_x86.h at line 1, asm/sembuf_x86.h at line 1, asm/setup_arm.h at line 1, asm/setup_arm64.h at line 1, asm/setup_powerpc.h at line 1, asm/sgx_x86.h at line 1, asm/shmbuf_x86.h at line 1, asm/sigcontext32_x86.h at line 1, asm/sigcontext_arm.h at line 1, asm/sigcontext_arm64.h at line 1, asm/sigcontext_x86.h at line 1, asm/siginfo_x86.h at line 1, asm/signal_arm.h at line 1, asm/signal_arm64.h at line 1, asm/signal_powerpc.h at line 1, asm/signal_x86.h at line 1, asm/stat_arm.h at line 1, asm/stat_x86.h at line 1, asm/statfs_arm.h at line 1, asm/statfs_arm64.h at line 1, asm/statfs_x86.h at line 1, asm/sve_context_arm64.h at line 1, asm/svm_x86.h at line 1, asm/swab_arm.h at line 1, asm/swab_x86.h at line 1, asm/tm_powerpc.h at line 1, asm/types_arm.h at line 1, asm/ucontext_arm64.h at line 1, asm/ucontext_powerpc.h at line 1, asm/ucontext_x86.h at line 1, asm/unistd_arm.h at line 1, asm/unistd_arm64.h at line 1, asm/unistd_x86.h at line 1, asm/vm86_x86.h at line 1, asm/vmx_x86.h at line 1, asm/vsyscall_x86.h at line 1, drm/armada_drm.h at line 1, drm/etnaviv_drm.h at line 1, drm/omap_drm.h at line 1, linux/a.out_x86.h at line 1, linux/acct.h at line 1, linux/acrn.h at line 1, linux/adb.h at line 1, linux/adfs_fs.h at line 1, linux/affs_hardblocks.h at line 1, linux/am437x-vpfe.h at line 1, linux/android/binder.h at line 1, linux/android/binderfs.h at line 1, linux/arcfb.h at line 1, linux/arm_sdei.h at line 1, linux/atalk.h at line 1, linux/atm.h at line 1, linux/atm_eni.h at line 1, linux/atm_he.h at line 1, linux/atm_idt77105.h at line 1, linux/atm_nicstar.h at line 1, linux/atm_tcp.h at line 1, linux/atm_zatm.h at line 1, linux/atmapi.h at line 1, linux/atmarp.h at line 1, linux/atmbr2684.h at line 1, linux/atmclip.h at line 1, linux/atmdev.h at line 1, linux/atmioc.h at line 1, linux/atmlec.h at line 1, linux/atmmpc.h at line 1, linux/atmppp.h at line 1, linux/atmsap.h at line 1, linux/atmsvc.h at line 1, linux/auxvec.h at line 1, linux/ax25.h at line 1, linux/baycom.h at line 1, linux/bcm933xx_hcs.h at line 1, linux/bfs_fs.h at line 1, linux/binfmts.h at line 1, linux/blkpg.h at line 1, linux/blktrace_api.h at line 1, linux/blkzoned.h at line 1, linux/bpf.h at line 1, linux/bpf_common.h at line 1, linux/bpf_perf_event.h at line 1, linux/bpfilter.h at line 1, linux/bpqether.h at line 1, linux/bsg.h at line 1, linux/btf.h at line 1, linux/btrfs.h at line 1, linux/btrfs_tree.h at line 1, linux/byteorder/big_endian.h at line 1, linux/byteorder/little_endian.h at line 1, linux/cachefiles.h at line 1, linux/caif/caif_socket.h at line 1, linux/caif/if_caif.h at line 1, linux/capability.h at line 1, linux/capi.h at line 1, linux/cciss_defs.h at line 1, linux/cciss_ioctl.h at line 1, linux/cdrom.h at line 1, linux/chio.h at line 1, linux/close_range.h at line 1, linux/coff.h at line 1, linux/const.h at line 1, linux/coresight-stm.h at line 1, linux/counter.h at line 1, linux/cramfs_fs.h at line 1, linux/cryptouser.h at line 1, linux/cuda.h at line 1, linux/cxl_mem.h at line 1, linux/cyclades.h at line 1, linux/dcbnl.h at line 1, linux/dccp.h at line 1, linux/dlm.h at line 1, linux/dlm_device.h at line 1, linux/dlm_plock.h at line 1, linux/dlmconstants.h at line 1, linux/dma-buf.h at line 1, linux/dma-heap.h at line 1, linux/edd.h at line 1, linux/efs_fs_sb.h at line 1, linux/elf-em.h at line 1, linux/elf.h at line 1, linux/errqueue.h at line 1, linux/erspan.h at line 1, linux/ethtool.h at line 1, linux/ext4.h at line 1, linux/f2fs.h at line 1, linux/fadvise.h at line 1, linux/falloc.h at line 1, linux/fanotify.h at line 1, linux/fb.h at line 1, linux/fcntl.h at line 1, linux/fd.h at line 1, linux/fdreg.h at line 1, linux/fib_rules.h at line 1, linux/fiemap.h at line 1, linux/filter.h at line 1, linux/fpga-dfl.h at line 1, linux/fs.h at line 1, linux/fscrypt.h at line 1, linux/fsl_mc.h at line 1, linux/fsmap.h at line 1, linux/fsverity.h at line 1, linux/futex.h at line 1, linux/gameport.h at line 1, linux/gen_stats.h at line 1, linux/genetlink.h at line 1, linux/genwqe/genwqe_card.h at line 1, linux/gfs2_ondisk.h at line 1, linux/gsmmux.h at line 1, linux/gtp.h at line 1, linux/hdlc.h at line 1, linux/hdlc/ioctl.h at line 1, linux/hdlcdrv.h at line 1, linux/hdreg.h at line 1, linux/hidraw.h at line 1, linux/hpet.h at line 1, linux/hsi/cs-protocol.h at line 1, linux/hsi/hsi_char.h at line 1, linux/hw_breakpoint.h at line 1, linux/hyperv.h at line 1, linux/icmpv6.h at line 1, linux/if_addr.h at line 1, linux/if_addrlabel.h at line 1, linux/if_eql.h at line 1, linux/if_link.h at line 1, linux/if_ltalk.h at line 1, linux/if_packet.h at line 1, linux/if_phonet.h at line 1, linux/if_slip.h at line 1, linux/if_tunnel.h at line 1, linux/if_xdp.h at line 1, linux/ife.h at line 1, linux/iio/buffer.h at line 1, linux/iio/events.h at line 1, linux/iio/types.h at line 1, linux/ila.h at line 1, linux/in_route.h at line 1, linux/inet_diag.h at line 1, linux/inotify.h at line 1, linux/input.h at line 1, linux/ioctl.h at line 1, linux/iommu.h at line 1, linux/iommufd.h at line 1, linux/ioprio.h at line 1, linux/ip6_tunnel.h at line 1, linux/ip_vs.h at line 1, linux/ipc.h at line 1, linux/ipmi_bmc.h at line 1, linux/ipsec.h at line 1, linux/ipv6.h at line 1, linux/isdn/capicmd.h at line 1, linux/iso_fs.h at line 1, linux/isst_if.h at line 1, linux/kcm.h at line 1, linux/kcmp.h at line 1, linux/kcov.h at line 1, linux/kd.h at line 1, linux/kdev_t.h at line 1, linux/kernel-page-flags.h at line 1, linux/kernel.h at line 1, linux/kernelcapi.h at line 1, linux/kexec.h at line 1, linux/keyboard.h at line 1, linux/kvm_arm64.h at line 1, linux/kvm_para.h at line 1, linux/kvm_powerpc.h at line 1, linux/kvm_x86.h at line 1, linux/l2tp.h at line 1, linux/landlock.h at line 1, linux/libc-compat.h at line 1, linux/limits.h at line 1, linux/lirc.h at line 1, linux/loadpin.h at line 1, linux/lp.h at line 1, linux/lwtunnel.h at line 1, linux/magic.h at line 1, linux/major.h at line 1, linux/matroxfb.h at line 1, linux/max2175.h at line 1, linux/mctp.h at line 1, linux/mdio.h at line 1, linux/media-bus-format.h at line 1, linux/media.h at line 1, linux/mei_uuid.h at line 1, linux/memfd.h at line 1, linux/mempolicy.h at line 1, linux/mii.h at line 1, linux/minix_fs.h at line 1, linux/misc/bcm_vk.h at line 1, linux/mman.h at line 1, linux/mmc/ioctl.h at line 1, linux/mmtimer.h at line 1, linux/module.h at line 1, linux/mpls.h at line 1, linux/mroute.h at line 1, linux/mroute6.h at line 1, linux/msdos_fs.h at line 1, linux/msg.h at line 1, linux/mtio.h at line 1, linux/nbd-netlink.h at line 1, linux/neighbour.h at line 1, linux/net_dropmon.h at line 1, linux/net_namespace.h at line 1, linux/net_tstamp.h at line 1, linux/netconf.h at line 1, linux/netfilter.h at line 1, linux/netfilter/ipset/ip_set.h at line 1, linux/netfilter/ipset/ip_set_bitmap.h at line 1, linux/netfilter/ipset/ip_set_hash.h at line 1, linux/netfilter/ipset/ip_set_list.h at line 1, linux/netfilter/nf_conntrack_common.h at line 1, linux/netfilter/nf_conntrack_ftp.h at line 1, linux/netfilter/nf_conntrack_sctp.h at line 1, linux/netfilter/nf_conntrack_tcp.h at line 1, linux/netfilter/nf_conntrack_tuple_common.h at line 1, linux/netfilter/nf_log.h at line 1, linux/netfilter/nf_nat.h at line 1, linux/netfilter/nf_synproxy.h at line 1, linux/netfilter/nf_tables.h at line 1, linux/netfilter/nf_tables_compat.h at line 1, linux/netfilter/nfnetlink.h at line 1, linux/netfilter/nfnetlink_acct.h at line 1, linux/netfilter/nfnetlink_compat.h at line 1, linux/netfilter/nfnetlink_conntrack.h at line 1, linux/netfilter/nfnetlink_cthelper.h at line 1, linux/netfilter/nfnetlink_cttimeout.h at line 1, linux/netfilter/nfnetlink_hook.h at line 1, linux/netfilter/nfnetlink_log.h at line 1, linux/netfilter/nfnetlink_queue.h at line 1, linux/netfilter/x_tables.h at line 1, linux/netfilter/xt_AUDIT.h at line 1, linux/netfilter/xt_CHECKSUM.h at line 1, linux/netfilter/xt_CLASSIFY.h at line 1, linux/netfilter/xt_CONNSECMARK.h at line 1, linux/netfilter/xt_CT.h at line 1, linux/netfilter/xt_HMARK.h at line 1, linux/netfilter/xt_LED.h at line 1, linux/netfilter/xt_LOG.h at line 1, linux/netfilter/xt_NFLOG.h at line 1, linux/netfilter/xt_NFQUEUE.h at line 1, linux/netfilter/xt_SECMARK.h at line 1, linux/netfilter/xt_SYNPROXY.h at line 1, linux/netfilter/xt_TCPOPTSTRIP.h at line 1, linux/netfilter/xt_TEE.h at line 1, linux/netfilter/xt_TPROXY.h at line 1, linux/netfilter/xt_addrtype.h at line 1, linux/netfilter/xt_bpf.h at line 1, linux/netfilter/xt_cgroup.h at line 1, linux/netfilter/xt_cluster.h at line 1, linux/netfilter/xt_comment.h at line 1, linux/netfilter/xt_connbytes.h at line 1, linux/netfilter/xt_connlabel.h at line 1, linux/netfilter/xt_connlimit.h at line 1, linux/netfilter/xt_cpu.h at line 1, linux/netfilter/xt_dccp.h at line 1, linux/netfilter/xt_devgroup.h at line 1, linux/netfilter/xt_dscp.h at line 1, linux/netfilter/xt_ecn.h at line 1, linux/netfilter/xt_esp.h at line 1, linux/netfilter/xt_hashlimit.h at line 1, linux/netfilter/xt_helper.h at line 1, linux/netfilter/xt_ipcomp.h at line 1, linux/netfilter/xt_iprange.h at line 1, linux/netfilter/xt_ipvs.h at line 1, linux/netfilter/xt_l2tp.h at line 1, linux/netfilter/xt_length.h at line 1, linux/netfilter/xt_limit.h at line 1, linux/netfilter/xt_mac.h at line 1, linux/netfilter/xt_mark.h at line 1, linux/netfilter/xt_multiport.h at line 1, linux/netfilter/xt_nfacct.h at line 1, linux/netfilter/xt_owner.h at line 1, linux/netfilter/xt_physdev.h at line 1, linux/netfilter/xt_pkttype.h at line 1, linux/netfilter/xt_policy.h at line 1, linux/netfilter/xt_quota.h at line 1, linux/netfilter/xt_rateest.h at line 1, linux/netfilter/xt_realm.h at line 1, linux/netfilter/xt_recent.h at line 1, linux/netfilter/xt_rpfilter.h at line 1, linux/netfilter/xt_sctp.h at line 1, linux/netfilter/xt_set.h at line 1, linux/netfilter/xt_socket.h at line 1, linux/netfilter/xt_state.h at line 1, linux/netfilter/xt_statistic.h at line 1, linux/netfilter/xt_string.h at line 1, linux/netfilter/xt_tcpmss.h at line 1, linux/netfilter/xt_tcpudp.h at line 1, linux/netfilter/xt_time.h at line 1, linux/netfilter/xt_u32.h at line 1, linux/netfilter_arp/arp_tables.h at line 1, linux/netfilter_arp/arpt_mangle.h at line 1, linux/netfilter_bridge.h at line 1, linux/netfilter_bridge/ebt_802_3.h at line 1, linux/netfilter_bridge/ebt_among.h at line 1, linux/netfilter_bridge/ebt_arp.h at line 1, linux/netfilter_bridge/ebt_arpreply.h at line 1, linux/netfilter_bridge/ebt_ip.h at line 1, linux/netfilter_bridge/ebt_ip6.h at line 1, linux/netfilter_bridge/ebt_limit.h at line 1, linux/netfilter_bridge/ebt_log.h at line 1, linux/netfilter_bridge/ebt_mark_m.h at line 1, linux/netfilter_bridge/ebt_mark_t.h at line 1, linux/netfilter_bridge/ebt_nat.h at line 1, linux/netfilter_bridge/ebt_nflog.h at line 1, linux/netfilter_bridge/ebt_pkttype.h at line 1, linux/netfilter_bridge/ebt_redirect.h at line 1, linux/netfilter_bridge/ebt_stp.h at line 1, linux/netfilter_bridge/ebt_vlan.h at line 1, linux/netfilter_bridge/ebtables.h at line 1, linux/netfilter_ipv4.h at line 1, linux/netfilter_ipv4/ip_tables.h at line 1, linux/netfilter_ipv4/ipt_CLUSTERIP.h at line 1, linux/netfilter_ipv4/ipt_LOG.h at line 1, linux/netfilter_ipv4/ipt_REJECT.h at line 1, linux/netfilter_ipv4/ipt_ah.h at line 1, linux/netfilter_ipv4/ipt_ecn.h at line 1, linux/netfilter_ipv4/ipt_ttl.h at line 1, linux/netfilter_ipv6.h at line 1, linux/netfilter_ipv6/ip6_tables.h at line 1, linux/netfilter_ipv6/ip6t_LOG.h at line 1, linux/netfilter_ipv6/ip6t_NPT.h at line 1, linux/netfilter_ipv6/ip6t_REJECT.h at line 1, linux/netfilter_ipv6/ip6t_ah.h at line 1, linux/netfilter_ipv6/ip6t_frag.h at line 1, linux/netfilter_ipv6/ip6t_hl.h at line 1, linux/netfilter_ipv6/ip6t_ipv6header.h at line 1, linux/netfilter_ipv6/ip6t_mh.h at line 1, linux/netfilter_ipv6/ip6t_opts.h at line 1, linux/netfilter_ipv6/ip6t_rt.h at line 1, linux/netfilter_ipv6/ip6t_srh.h at line 1, linux/netlink.h at line 1, linux/netlink_diag.h at line 1, linux/netrom.h at line 1, linux/nexthop.h at line 1, linux/nfs.h at line 1, linux/nfs2.h at line 1, linux/nfs3.h at line 1, linux/nfs4.h at line 1, linux/nfs4_mount.h at line 1, linux/nfs_fs.h at line 1, linux/nfs_mount.h at line 1, linux/nfsacl.h at line 1, linux/nfsd/debug.h at line 1, linux/nfsd/export.h at line 1, linux/nfsd/stats.h at line 1, linux/nitro_enclaves.h at line 1, linux/nl80211-vnd-intel.h at line 1, linux/nsfs.h at line 1, linux/nubus.h at line 1, linux/nvme_ioctl.h at line 1, linux/nvram.h at line 1, linux/omap3isp.h at line 1, linux/oom.h at line 1, linux/openat2.h at line 1, linux/openvswitch.h at line 1, linux/packet_diag.h at line 1, linux/param.h at line 1, linux/patchkey.h at line 1, linux/pci.h at line 1, linux/pci_regs.h at line 1, linux/pcitest.h at line 1, linux/perf_event.h at line 1, linux/personality.h at line 1, linux/pfkeyv2.h at line 1, linux/pfrut.h at line 1, linux/phonet.h at line 1, linux/pidfd.h at line 1, linux/pkt_cls.h at line 1, linux/pkt_sched.h at line 1, linux/pktcdvd.h at line 1, linux/pmu.h at line 1, linux/posix_types.h at line 1, linux/ppp-comp.h at line 1, linux/ppp-ioctl.h at line 1, linux/ppp_defs.h at line 1, linux/pr.h at line 1, linux/prctl.h at line 1, linux/psample.h at line 1, linux/psci.h at line 1, linux/ptrace.h at line 1, linux/qnx4_fs.h at line 1, linux/qnxtypes.h at line 1, linux/qrtr.h at line 1, linux/radeonfb.h at line 1, linux/random.h at line 1, linux/reboot.h at line 1, linux/reiserfs_fs.h at line 1, linux/reiserfs_xattr.h at line 1, linux/resource.h at line 1, linux/romfs_fs.h at line 1, linux/rose.h at line 1, linux/rpmsg.h at line 1, linux/rpmsg_types.h at line 1, linux/rtc.h at line 1, linux/rtnetlink.h at line 1, linux/scc.h at line 1, linux/sched.h at line 1, linux/sched/types.h at line 1, linux/screen_info.h at line 1, linux/seccomp.h at line 1, linux/securebits.h at line 1, linux/sed-opal.h at line 1, linux/seg6_genl.h at line 1, linux/seg6_hmac.h at line 1, linux/selinux_netlink.h at line 1, linux/sem.h at line 1, linux/serio.h at line 1, linux/shm.h at line 1, linux/signal.h at line 1, linux/signalfd.h at line 1, linux/smc.h at line 1, linux/smc_diag.h at line 1, linux/smiapp.h at line 1, linux/snmp.h at line 1, linux/sock_diag.h at line 1, linux/socket.h at line 1, linux/sonet.h at line 1, linux/sound.h at line 1, linux/stat.h at line 1, linux/stddef.h at line 1, linux/stm.h at line 1, linux/string.h at line 1, linux/sunrpc/debug.h at line 1, linux/suspend_ioctls.h at line 1, linux/swab.h at line 1, linux/switchtec_ioctl.h at line 1, linux/sysctl.h at line 1, linux/sysinfo.h at line 1, linux/target_core_user.h at line 1, linux/tc_act/tc_connmark.h at line 1, linux/tc_act/tc_csum.h at line 1, linux/tc_act/tc_ct.h at line 1, linux/tc_act/tc_ctinfo.h at line 1, linux/tc_act/tc_defact.h at line 1, linux/tc_act/tc_gact.h at line 1, linux/tc_act/tc_ife.h at line 1, linux/tc_act/tc_ipt.h at line 1, linux/tc_act/tc_mirred.h at line 1, linux/tc_act/tc_mpls.h at line 1, linux/tc_act/tc_nat.h at line 1, linux/tc_act/tc_pedit.h at line 1, linux/tc_act/tc_sample.h at line 1, linux/tc_act/tc_skbedit.h at line 1, linux/tc_ematch/tc_em_cmp.h at line 1, linux/tc_ematch/tc_em_ipt.h at line 1, linux/tc_ematch/tc_em_meta.h at line 1, linux/tc_ematch/tc_em_nbyte.h at line 1, linux/tc_ematch/tc_em_text.h at line 1, linux/tcp_metrics.h at line 1, linux/tdx-guest.h at line 1, linux/termios.h at line 1, linux/thermal.h at line 1, linux/time.h at line 1, linux/time_types.h at line 1, linux/timerfd.h at line 1, linux/times.h at line 1, linux/tiocl.h at line 1, linux/tipc_sockets_diag.h at line 1, linux/tty.h at line 1, linux/tty_flags.h at line 1, linux/types.h at line 1, linux/ublk_cmd.h at line 1, linux/udf_fs_i.h at line 1, linux/udmabuf.h at line 1, linux/ultrasound.h at line 1, linux/un.h at line 1, linux/unistd.h at line 1, linux/unix_diag.h at line 1, linux/usb/audio.h at line 1, linux/usb/cdc-wdm.h at line 1, linux/usb/cdc.h at line 1, linux/usb/ch11.h at line 1, linux/usb/ch9.h at line 1, linux/usb/functionfs.h at line 1, linux/usb/gadgetfs.h at line 1, linux/usb/midi.h at line 1, linux/usb/raw_gadget.h at line 1, linux/usb/tmc.h at line 1, linux/usb/video.h at line 1, linux/usbip.h at line 1, linux/user_events.h at line 1, linux/userfaultfd.h at line 1, linux/utime.h at line 1, linux/utsname.h at line 1, linux/uvcvideo.h at line 1, linux/v4l2-dv-timings.h at line 1, linux/v4l2-mediabus.h at line 1, linux/v4l2-subdev.h at line 1, linux/vduse.h at line 1, linux/veth.h at line 1, linux/vfio.h at line 1, linux/vfio_ccw.h at line 1, linux/vfio_zdev.h at line 1, linux/vhost.h at line 1, linux/vhost_types.h at line 1, linux/virtio_gpio.h at line 1, linux/vm_sockets.h at line 1, linux/vm_sockets_diag.h at line 1, linux/vmcore.h at line 1, linux/vsockmon.h at line 1, linux/vt.h at line 1, linux/vtpm_proxy.h at line 1, linux/wait.h at line 1, linux/watch_queue.h at line 1, linux/watchdog.h at line 1, linux/wireless.h at line 1, linux/x25.h at line 1, linux/xattr.h at line 1, linux/xdp_diag.h at line 1, linux/xfrm.h at line 1, linux/xilinx-v4l2-controls.h at line 1, linux/zorro.h at line 1, linux/zorro_ids.h at line 1, misc/fastrpc.h at line 1, misc/pvpanic.h at line 1, mtd/inftl-user.h at line 1, rdma/rdma_netlink.h at line 1, scsi/fc/fc_els.h at line 1, scsi/fc/fc_fs.h at line 1, scsi/fc/fc_gs.h at line 1, scsi/fc/fc_ns.h at line 1, scsi/scsi_bsg_ufs.h at line 1, sound/asoc.h at line 1, sound/compress_offload.h at line 1, sound/firewire.h at line 1, sound/intel/avs/tokens.h at line 1, sound/skl-tplg-interface.h at line 1, sound/snd_ar_tokens.h at line 1, sound/snd_sst_tokens.h at line 1, video/edid.h at line 1, video/uvesafb.h at line 1 -FILE_INCLUDE LICENSES/preferred/GPL-2.0 found in files: _nf/linux/netfilter/xt_CONNMARK.h at line 1, _nf/linux/netfilter/xt_DSCP.h at line 1, _nf/linux/netfilter/xt_MARK.h at line 1, _nf/linux/netfilter/xt_RATEEST.h at line 1, _nf/linux/netfilter/xt_TCPMSS.h at line 1, _nf/linux/netfilter_ipv4/ipt_ECN.h at line 1, _nf/linux/netfilter_ipv4/ipt_TTL.h at line 1, _nf/linux/netfilter_ipv6/ip6t_HL.h at line 1, asm-generic/bitsperlong.h at line 1, asm-generic/errno-base.h at line 1, asm-generic/errno.h at line 1, asm-generic/fcntl.h at line 1, asm-generic/int-l64.h at line 1, asm-generic/int-ll64.h at line 1, asm-generic/ioctl.h at line 1, asm-generic/ioctls.h at line 1, asm-generic/ipcbuf.h at line 1, asm-generic/mman-common.h at line 1, asm-generic/mman.h at line 1, asm-generic/msgbuf.h at line 1, asm-generic/param.h at line 1, asm-generic/poll.h at line 1, asm-generic/posix_types.h at line 1, asm-generic/resource.h at line 1, asm-generic/sembuf.h at line 1, asm-generic/setup.h at line 1, asm-generic/shmbuf.h at line 1, asm-generic/siginfo.h at line 1, asm-generic/signal-defs.h at line 1, asm-generic/signal.h at line 1, asm-generic/socket.h at line 1, asm-generic/sockios.h at line 1, asm-generic/stat.h at line 1, asm-generic/statfs.h at line 1, asm-generic/swab.h at line 1, asm-generic/termbits-common.h at line 1, asm-generic/termbits.h at line 1, asm-generic/termios.h at line 1, asm-generic/types.h at line 1, asm-generic/ucontext.h at line 1, asm-generic/unistd.h at line 1, asm/a.out_x86.h at line 1, asm/amd_hsmp_x86.h at line 1, asm/auxvec_arm.h at line 1, asm/auxvec_arm64.h at line 1, asm/auxvec_powerpc.h at line 1, asm/auxvec_x86.h at line 1, asm/bitsperlong_arm64.h at line 1, asm/bitsperlong_powerpc.h at line 1, asm/bitsperlong_x86.h at line 1, asm/boot_x86.h at line 1, asm/bootparam_x86.h at line 1, asm/bootx_powerpc.h at line 1, asm/bpf_perf_event_arm64.h at line 1, asm/byteorder_arm.h at line 1, asm/byteorder_arm64.h at line 1, asm/byteorder_x86.h at line 1, asm/cputable_powerpc.h at line 1, asm/debugreg_x86.h at line 1, asm/e820_x86.h at line 1, asm/eeh_powerpc.h at line 1, asm/errno_powerpc.h at line 1, asm/fcntl_arm.h at line 1, asm/fcntl_arm64.h at line 1, asm/fcntl_powerpc.h at line 1, asm/hw_breakpoint_x86.h at line 1, asm/hwcap2_x86.h at line 1, asm/hwcap_arm.h at line 1, asm/hwcap_arm64.h at line 1, asm/ioctl_powerpc.h at line 1, asm/ioctls_arm.h at line 1, asm/ioctls_powerpc.h at line 1, asm/kvm_arm64.h at line 1, asm/kvm_para_powerpc.h at line 1, asm/kvm_para_x86.h at line 1, asm/kvm_perf_x86.h at line 1, asm/kvm_powerpc.h at line 1, asm/kvm_x86.h at line 1, asm/ldt_x86.h at line 1, asm/mce_x86.h at line 1, asm/mman_arm64.h at line 1, asm/mman_x86.h at line 1, asm/msgbuf_powerpc.h at line 1, asm/msgbuf_x86.h at line 1, asm/msr_x86.h at line 1, asm/papr_pdsm_powerpc.h at line 1, asm/param_arm64.h at line 1, asm/perf_event_powerpc.h at line 1, asm/perf_regs_arm.h at line 1, asm/perf_regs_arm64.h at line 1, asm/perf_regs_powerpc.h at line 1, asm/perf_regs_x86.h at line 1, asm/posix_types_32_x86.h at line 1, asm/posix_types_64_x86.h at line 1, asm/posix_types_arm.h at line 1, asm/posix_types_arm64.h at line 1, asm/posix_types_powerpc.h at line 1, asm/posix_types_x32_x86.h at line 1, asm/posix_types_x86.h at line 1, asm/prctl_x86.h at line 1, asm/processor-flags_x86.h at line 1, asm/ps3fb_powerpc.h at line 1, asm/ptrace-abi_x86.h at line 1, asm/ptrace_arm.h at line 1, asm/ptrace_arm64.h at line 1, asm/ptrace_x86.h at line 1, asm/sembuf_x86.h at line 1, asm/setup_arm.h at line 1, asm/setup_arm64.h at line 1, asm/setup_powerpc.h at line 1, asm/sgx_x86.h at line 1, asm/shmbuf_x86.h at line 1, asm/sigcontext32_x86.h at line 1, asm/sigcontext_arm.h at line 1, asm/sigcontext_arm64.h at line 1, asm/sigcontext_x86.h at line 1, asm/siginfo_x86.h at line 1, asm/signal_arm.h at line 1, asm/signal_arm64.h at line 1, asm/signal_powerpc.h at line 1, asm/signal_x86.h at line 1, asm/stat_arm.h at line 1, asm/stat_x86.h at line 1, asm/statfs_arm.h at line 1, asm/statfs_arm64.h at line 1, asm/statfs_x86.h at line 1, asm/sve_context_arm64.h at line 1, asm/svm_x86.h at line 1, asm/swab_arm.h at line 1, asm/swab_x86.h at line 1, asm/tm_powerpc.h at line 1, asm/types_arm.h at line 1, asm/ucontext_arm64.h at line 1, asm/ucontext_powerpc.h at line 1, asm/ucontext_x86.h at line 1, asm/unistd_arm.h at line 1, asm/unistd_arm64.h at line 1, asm/unistd_x86.h at line 1, asm/vm86_x86.h at line 1, asm/vmx_x86.h at line 1, asm/vsyscall_x86.h at line 1, drm/armada_drm.h at line 1, drm/etnaviv_drm.h at line 1, drm/omap_drm.h at line 1, linux/a.out_x86.h at line 1, linux/acct.h at line 1, linux/acrn.h at line 1, linux/adb.h at line 1, linux/adfs_fs.h at line 1, linux/affs_hardblocks.h at line 1, linux/am437x-vpfe.h at line 1, linux/android/binder.h at line 1, linux/android/binderfs.h at line 1, linux/arcfb.h at line 1, linux/arm_sdei.h at line 1, linux/atalk.h at line 1, linux/atm.h at line 1, linux/atm_eni.h at line 1, linux/atm_he.h at line 1, linux/atm_idt77105.h at line 1, linux/atm_nicstar.h at line 1, linux/atm_tcp.h at line 1, linux/atm_zatm.h at line 1, linux/atmapi.h at line 1, linux/atmarp.h at line 1, linux/atmbr2684.h at line 1, linux/atmclip.h at line 1, linux/atmdev.h at line 1, linux/atmioc.h at line 1, linux/atmlec.h at line 1, linux/atmmpc.h at line 1, linux/atmppp.h at line 1, linux/atmsap.h at line 1, linux/atmsvc.h at line 1, linux/auxvec.h at line 1, linux/ax25.h at line 1, linux/baycom.h at line 1, linux/bcm933xx_hcs.h at line 1, linux/bfs_fs.h at line 1, linux/binfmts.h at line 1, linux/blkpg.h at line 1, linux/blktrace_api.h at line 1, linux/blkzoned.h at line 1, linux/bpf.h at line 1, linux/bpf_common.h at line 1, linux/bpf_perf_event.h at line 1, linux/bpfilter.h at line 1, linux/bpqether.h at line 1, linux/bsg.h at line 1, linux/btf.h at line 1, linux/btrfs.h at line 1, linux/btrfs_tree.h at line 1, linux/byteorder/big_endian.h at line 1, linux/byteorder/little_endian.h at line 1, linux/cachefiles.h at line 1, linux/caif/caif_socket.h at line 1, linux/caif/if_caif.h at line 1, linux/capability.h at line 1, linux/capi.h at line 1, linux/cciss_defs.h at line 1, linux/cciss_ioctl.h at line 1, linux/cdrom.h at line 1, linux/chio.h at line 1, linux/close_range.h at line 1, linux/coff.h at line 1, linux/const.h at line 1, linux/coresight-stm.h at line 1, linux/counter.h at line 1, linux/cramfs_fs.h at line 1, linux/cryptouser.h at line 1, linux/cuda.h at line 1, linux/cxl_mem.h at line 1, linux/cyclades.h at line 1, linux/dcbnl.h at line 1, linux/dccp.h at line 1, linux/dlm.h at line 1, linux/dlm_device.h at line 1, linux/dlm_plock.h at line 1, linux/dlmconstants.h at line 1, linux/dma-buf.h at line 1, linux/dma-heap.h at line 1, linux/edd.h at line 1, linux/efs_fs_sb.h at line 1, linux/elf-em.h at line 1, linux/elf.h at line 1, linux/errqueue.h at line 1, linux/erspan.h at line 1, linux/ethtool.h at line 1, linux/ext4.h at line 1, linux/f2fs.h at line 1, linux/fadvise.h at line 1, linux/falloc.h at line 1, linux/fanotify.h at line 1, linux/fb.h at line 1, linux/fcntl.h at line 1, linux/fd.h at line 1, linux/fdreg.h at line 1, linux/fib_rules.h at line 1, linux/fiemap.h at line 1, linux/filter.h at line 1, linux/fpga-dfl.h at line 1, linux/fs.h at line 1, linux/fscrypt.h at line 1, linux/fsl_mc.h at line 1, linux/fsmap.h at line 1, linux/fsverity.h at line 1, linux/futex.h at line 1, linux/gameport.h at line 1, linux/gen_stats.h at line 1, linux/genetlink.h at line 1, linux/genwqe/genwqe_card.h at line 1, linux/gfs2_ondisk.h at line 1, linux/gsmmux.h at line 1, linux/gtp.h at line 1, linux/hdlc.h at line 1, linux/hdlc/ioctl.h at line 1, linux/hdlcdrv.h at line 1, linux/hdreg.h at line 1, linux/hidraw.h at line 1, linux/hpet.h at line 1, linux/hsi/cs-protocol.h at line 1, linux/hsi/hsi_char.h at line 1, linux/hw_breakpoint.h at line 1, linux/hyperv.h at line 1, linux/icmpv6.h at line 1, linux/if_addr.h at line 1, linux/if_addrlabel.h at line 1, linux/if_eql.h at line 1, linux/if_link.h at line 1, linux/if_ltalk.h at line 1, linux/if_packet.h at line 1, linux/if_phonet.h at line 1, linux/if_slip.h at line 1, linux/if_tunnel.h at line 1, linux/if_xdp.h at line 1, linux/ife.h at line 1, linux/iio/buffer.h at line 1, linux/iio/events.h at line 1, linux/iio/types.h at line 1, linux/ila.h at line 1, linux/in_route.h at line 1, linux/inet_diag.h at line 1, linux/inotify.h at line 1, linux/input.h at line 1, linux/ioctl.h at line 1, linux/iommu.h at line 1, linux/iommufd.h at line 1, linux/ioprio.h at line 1, linux/ip6_tunnel.h at line 1, linux/ip_vs.h at line 1, linux/ipc.h at line 1, linux/ipmi_bmc.h at line 1, linux/ipsec.h at line 1, linux/ipv6.h at line 1, linux/isdn/capicmd.h at line 1, linux/iso_fs.h at line 1, linux/isst_if.h at line 1, linux/kcm.h at line 1, linux/kcmp.h at line 1, linux/kcov.h at line 1, linux/kd.h at line 1, linux/kdev_t.h at line 1, linux/kernel-page-flags.h at line 1, linux/kernel.h at line 1, linux/kernelcapi.h at line 1, linux/kexec.h at line 1, linux/keyboard.h at line 1, linux/kvm_arm64.h at line 1, linux/kvm_para.h at line 1, linux/kvm_powerpc.h at line 1, linux/kvm_x86.h at line 1, linux/l2tp.h at line 1, linux/landlock.h at line 1, linux/libc-compat.h at line 1, linux/limits.h at line 1, linux/lirc.h at line 1, linux/loadpin.h at line 1, linux/lp.h at line 1, linux/lwtunnel.h at line 1, linux/magic.h at line 1, linux/major.h at line 1, linux/matroxfb.h at line 1, linux/max2175.h at line 1, linux/mctp.h at line 1, linux/mdio.h at line 1, linux/media-bus-format.h at line 1, linux/media.h at line 1, linux/mei_uuid.h at line 1, linux/memfd.h at line 1, linux/mempolicy.h at line 1, linux/mii.h at line 1, linux/minix_fs.h at line 1, linux/misc/bcm_vk.h at line 1, linux/mman.h at line 1, linux/mmc/ioctl.h at line 1, linux/mmtimer.h at line 1, linux/module.h at line 1, linux/mpls.h at line 1, linux/mroute.h at line 1, linux/mroute6.h at line 1, linux/msdos_fs.h at line 1, linux/msg.h at line 1, linux/mtio.h at line 1, linux/nbd-netlink.h at line 1, linux/neighbour.h at line 1, linux/net_dropmon.h at line 1, linux/net_namespace.h at line 1, linux/net_tstamp.h at line 1, linux/netconf.h at line 1, linux/netfilter.h at line 1, linux/netfilter/ipset/ip_set.h at line 1, linux/netfilter/ipset/ip_set_bitmap.h at line 1, linux/netfilter/ipset/ip_set_hash.h at line 1, linux/netfilter/ipset/ip_set_list.h at line 1, linux/netfilter/nf_conntrack_common.h at line 1, linux/netfilter/nf_conntrack_ftp.h at line 1, linux/netfilter/nf_conntrack_sctp.h at line 1, linux/netfilter/nf_conntrack_tcp.h at line 1, linux/netfilter/nf_conntrack_tuple_common.h at line 1, linux/netfilter/nf_log.h at line 1, linux/netfilter/nf_nat.h at line 1, linux/netfilter/nf_synproxy.h at line 1, linux/netfilter/nf_tables.h at line 1, linux/netfilter/nf_tables_compat.h at line 1, linux/netfilter/nfnetlink.h at line 1, linux/netfilter/nfnetlink_acct.h at line 1, linux/netfilter/nfnetlink_compat.h at line 1, linux/netfilter/nfnetlink_conntrack.h at line 1, linux/netfilter/nfnetlink_cthelper.h at line 1, linux/netfilter/nfnetlink_cttimeout.h at line 1, linux/netfilter/nfnetlink_hook.h at line 1, linux/netfilter/nfnetlink_log.h at line 1, linux/netfilter/nfnetlink_queue.h at line 1, linux/netfilter/x_tables.h at line 1, linux/netfilter/xt_AUDIT.h at line 1, linux/netfilter/xt_CHECKSUM.h at line 1, linux/netfilter/xt_CLASSIFY.h at line 1, linux/netfilter/xt_CONNSECMARK.h at line 1, linux/netfilter/xt_CT.h at line 1, linux/netfilter/xt_HMARK.h at line 1, linux/netfilter/xt_LED.h at line 1, linux/netfilter/xt_LOG.h at line 1, linux/netfilter/xt_NFLOG.h at line 1, linux/netfilter/xt_NFQUEUE.h at line 1, linux/netfilter/xt_SECMARK.h at line 1, linux/netfilter/xt_SYNPROXY.h at line 1, linux/netfilter/xt_TCPOPTSTRIP.h at line 1, linux/netfilter/xt_TEE.h at line 1, linux/netfilter/xt_TPROXY.h at line 1, linux/netfilter/xt_addrtype.h at line 1, linux/netfilter/xt_bpf.h at line 1, linux/netfilter/xt_cgroup.h at line 1, linux/netfilter/xt_cluster.h at line 1, linux/netfilter/xt_comment.h at line 1, linux/netfilter/xt_connbytes.h at line 1, linux/netfilter/xt_connlabel.h at line 1, linux/netfilter/xt_connlimit.h at line 1, linux/netfilter/xt_cpu.h at line 1, linux/netfilter/xt_dccp.h at line 1, linux/netfilter/xt_devgroup.h at line 1, linux/netfilter/xt_dscp.h at line 1, linux/netfilter/xt_ecn.h at line 1, linux/netfilter/xt_esp.h at line 1, linux/netfilter/xt_hashlimit.h at line 1, linux/netfilter/xt_helper.h at line 1, linux/netfilter/xt_ipcomp.h at line 1, linux/netfilter/xt_iprange.h at line 1, linux/netfilter/xt_ipvs.h at line 1, linux/netfilter/xt_l2tp.h at line 1, linux/netfilter/xt_length.h at line 1, linux/netfilter/xt_limit.h at line 1, linux/netfilter/xt_mac.h at line 1, linux/netfilter/xt_mark.h at line 1, linux/netfilter/xt_multiport.h at line 1, linux/netfilter/xt_nfacct.h at line 1, linux/netfilter/xt_owner.h at line 1, linux/netfilter/xt_physdev.h at line 1, linux/netfilter/xt_pkttype.h at line 1, linux/netfilter/xt_policy.h at line 1, linux/netfilter/xt_quota.h at line 1, linux/netfilter/xt_rateest.h at line 1, linux/netfilter/xt_realm.h at line 1, linux/netfilter/xt_recent.h at line 1, linux/netfilter/xt_rpfilter.h at line 1, linux/netfilter/xt_sctp.h at line 1, linux/netfilter/xt_set.h at line 1, linux/netfilter/xt_socket.h at line 1, linux/netfilter/xt_state.h at line 1, linux/netfilter/xt_statistic.h at line 1, linux/netfilter/xt_string.h at line 1, linux/netfilter/xt_tcpmss.h at line 1, linux/netfilter/xt_tcpudp.h at line 1, linux/netfilter/xt_time.h at line 1, linux/netfilter/xt_u32.h at line 1, linux/netfilter_arp/arp_tables.h at line 1, linux/netfilter_arp/arpt_mangle.h at line 1, linux/netfilter_bridge.h at line 1, linux/netfilter_bridge/ebt_802_3.h at line 1, linux/netfilter_bridge/ebt_among.h at line 1, linux/netfilter_bridge/ebt_arp.h at line 1, linux/netfilter_bridge/ebt_arpreply.h at line 1, linux/netfilter_bridge/ebt_ip.h at line 1, linux/netfilter_bridge/ebt_ip6.h at line 1, linux/netfilter_bridge/ebt_limit.h at line 1, linux/netfilter_bridge/ebt_log.h at line 1, linux/netfilter_bridge/ebt_mark_m.h at line 1, linux/netfilter_bridge/ebt_mark_t.h at line 1, linux/netfilter_bridge/ebt_nat.h at line 1, linux/netfilter_bridge/ebt_nflog.h at line 1, linux/netfilter_bridge/ebt_pkttype.h at line 1, linux/netfilter_bridge/ebt_redirect.h at line 1, linux/netfilter_bridge/ebt_stp.h at line 1, linux/netfilter_bridge/ebt_vlan.h at line 1, linux/netfilter_bridge/ebtables.h at line 1, linux/netfilter_ipv4.h at line 1, linux/netfilter_ipv4/ip_tables.h at line 1, linux/netfilter_ipv4/ipt_CLUSTERIP.h at line 1, linux/netfilter_ipv4/ipt_LOG.h at line 1, linux/netfilter_ipv4/ipt_REJECT.h at line 1, linux/netfilter_ipv4/ipt_ah.h at line 1, linux/netfilter_ipv4/ipt_ecn.h at line 1, linux/netfilter_ipv4/ipt_ttl.h at line 1, linux/netfilter_ipv6.h at line 1, linux/netfilter_ipv6/ip6_tables.h at line 1, linux/netfilter_ipv6/ip6t_LOG.h at line 1, linux/netfilter_ipv6/ip6t_NPT.h at line 1, linux/netfilter_ipv6/ip6t_REJECT.h at line 1, linux/netfilter_ipv6/ip6t_ah.h at line 1, linux/netfilter_ipv6/ip6t_frag.h at line 1, linux/netfilter_ipv6/ip6t_hl.h at line 1, linux/netfilter_ipv6/ip6t_ipv6header.h at line 1, linux/netfilter_ipv6/ip6t_mh.h at line 1, linux/netfilter_ipv6/ip6t_opts.h at line 1, linux/netfilter_ipv6/ip6t_rt.h at line 1, linux/netfilter_ipv6/ip6t_srh.h at line 1, linux/netlink.h at line 1, linux/netlink_diag.h at line 1, linux/netrom.h at line 1, linux/nexthop.h at line 1, linux/nfs.h at line 1, linux/nfs2.h at line 1, linux/nfs3.h at line 1, linux/nfs4.h at line 1, linux/nfs4_mount.h at line 1, linux/nfs_fs.h at line 1, linux/nfs_mount.h at line 1, linux/nfsacl.h at line 1, linux/nfsd/debug.h at line 1, linux/nfsd/export.h at line 1, linux/nfsd/stats.h at line 1, linux/nitro_enclaves.h at line 1, linux/nl80211-vnd-intel.h at line 1, linux/nsfs.h at line 1, linux/nubus.h at line 1, linux/nvme_ioctl.h at line 1, linux/nvram.h at line 1, linux/omap3isp.h at line 1, linux/oom.h at line 1, linux/openat2.h at line 1, linux/openvswitch.h at line 1, linux/packet_diag.h at line 1, linux/param.h at line 1, linux/patchkey.h at line 1, linux/pci.h at line 1, linux/pci_regs.h at line 1, linux/pcitest.h at line 1, linux/perf_event.h at line 1, linux/personality.h at line 1, linux/pfkeyv2.h at line 1, linux/pfrut.h at line 1, linux/phonet.h at line 1, linux/pidfd.h at line 1, linux/pkt_cls.h at line 1, linux/pkt_sched.h at line 1, linux/pktcdvd.h at line 1, linux/pmu.h at line 1, linux/posix_types.h at line 1, linux/ppp-comp.h at line 1, linux/ppp-ioctl.h at line 1, linux/ppp_defs.h at line 1, linux/pr.h at line 1, linux/prctl.h at line 1, linux/psample.h at line 1, linux/psci.h at line 1, linux/ptrace.h at line 1, linux/qnx4_fs.h at line 1, linux/qnxtypes.h at line 1, linux/qrtr.h at line 1, linux/radeonfb.h at line 1, linux/random.h at line 1, linux/reboot.h at line 1, linux/reiserfs_fs.h at line 1, linux/reiserfs_xattr.h at line 1, linux/resource.h at line 1, linux/romfs_fs.h at line 1, linux/rose.h at line 1, linux/rpmsg.h at line 1, linux/rpmsg_types.h at line 1, linux/rtc.h at line 1, linux/rtnetlink.h at line 1, linux/scc.h at line 1, linux/sched.h at line 1, linux/sched/types.h at line 1, linux/screen_info.h at line 1, linux/seccomp.h at line 1, linux/securebits.h at line 1, linux/sed-opal.h at line 1, linux/seg6_genl.h at line 1, linux/seg6_hmac.h at line 1, linux/selinux_netlink.h at line 1, linux/sem.h at line 1, linux/serio.h at line 1, linux/shm.h at line 1, linux/signal.h at line 1, linux/signalfd.h at line 1, linux/smc.h at line 1, linux/smc_diag.h at line 1, linux/smiapp.h at line 1, linux/snmp.h at line 1, linux/sock_diag.h at line 1, linux/socket.h at line 1, linux/sonet.h at line 1, linux/sound.h at line 1, linux/stat.h at line 1, linux/stddef.h at line 1, linux/stm.h at line 1, linux/string.h at line 1, linux/sunrpc/debug.h at line 1, linux/suspend_ioctls.h at line 1, linux/swab.h at line 1, linux/switchtec_ioctl.h at line 1, linux/sysctl.h at line 1, linux/sysinfo.h at line 1, linux/target_core_user.h at line 1, linux/tc_act/tc_connmark.h at line 1, linux/tc_act/tc_csum.h at line 1, linux/tc_act/tc_ct.h at line 1, linux/tc_act/tc_ctinfo.h at line 1, linux/tc_act/tc_defact.h at line 1, linux/tc_act/tc_gact.h at line 1, linux/tc_act/tc_ife.h at line 1, linux/tc_act/tc_ipt.h at line 1, linux/tc_act/tc_mirred.h at line 1, linux/tc_act/tc_mpls.h at line 1, linux/tc_act/tc_nat.h at line 1, linux/tc_act/tc_pedit.h at line 1, linux/tc_act/tc_sample.h at line 1, linux/tc_act/tc_skbedit.h at line 1, linux/tc_ematch/tc_em_cmp.h at line 1, linux/tc_ematch/tc_em_ipt.h at line 1, linux/tc_ematch/tc_em_meta.h at line 1, linux/tc_ematch/tc_em_nbyte.h at line 1, linux/tc_ematch/tc_em_text.h at line 1, linux/tcp_metrics.h at line 1, linux/tdx-guest.h at line 1, linux/termios.h at line 1, linux/thermal.h at line 1, linux/time.h at line 1, linux/time_types.h at line 1, linux/timerfd.h at line 1, linux/times.h at line 1, linux/tiocl.h at line 1, linux/tipc_sockets_diag.h at line 1, linux/tty.h at line 1, linux/tty_flags.h at line 1, linux/types.h at line 1, linux/ublk_cmd.h at line 1, linux/udf_fs_i.h at line 1, linux/udmabuf.h at line 1, linux/ultrasound.h at line 1, linux/un.h at line 1, linux/unistd.h at line 1, linux/unix_diag.h at line 1, linux/usb/audio.h at line 1, linux/usb/cdc-wdm.h at line 1, linux/usb/cdc.h at line 1, linux/usb/ch11.h at line 1, linux/usb/ch9.h at line 1, linux/usb/functionfs.h at line 1, linux/usb/gadgetfs.h at line 1, linux/usb/midi.h at line 1, linux/usb/raw_gadget.h at line 1, linux/usb/tmc.h at line 1, linux/usb/video.h at line 1, linux/usbip.h at line 1, linux/user_events.h at line 1, linux/userfaultfd.h at line 1, linux/utime.h at line 1, linux/utsname.h at line 1, linux/uvcvideo.h at line 1, linux/v4l2-dv-timings.h at line 1, linux/v4l2-mediabus.h at line 1, linux/v4l2-subdev.h at line 1, linux/vduse.h at line 1, linux/veth.h at line 1, linux/vfio.h at line 1, linux/vfio_ccw.h at line 1, linux/vfio_zdev.h at line 1, linux/vhost.h at line 1, linux/vhost_types.h at line 1, linux/virtio_gpio.h at line 1, linux/vm_sockets.h at line 1, linux/vm_sockets_diag.h at line 1, linux/vmcore.h at line 1, linux/vsockmon.h at line 1, linux/vt.h at line 1, linux/vtpm_proxy.h at line 1, linux/wait.h at line 1, linux/watch_queue.h at line 1, linux/watchdog.h at line 1, linux/wireless.h at line 1, linux/x25.h at line 1, linux/xattr.h at line 1, linux/xdp_diag.h at line 1, linux/xfrm.h at line 1, linux/xilinx-v4l2-controls.h at line 1, linux/zorro.h at line 1, linux/zorro_ids.h at line 1, misc/fastrpc.h at line 1, misc/pvpanic.h at line 1, mtd/inftl-user.h at line 1, rdma/rdma_netlink.h at line 1, scsi/fc/fc_els.h at line 1, scsi/fc/fc_fs.h at line 1, scsi/fc/fc_gs.h at line 1, scsi/fc/fc_ns.h at line 1, scsi/scsi_bsg_ufs.h at line 1, sound/asoc.h at line 1, sound/compress_offload.h at line 1, sound/firewire.h at line 1, sound/intel/avs/tokens.h at line 1, sound/skl-tplg-interface.h at line 1, sound/snd_ar_tokens.h at line 1, sound/snd_sst_tokens.h at line 1, video/edid.h at line 1, video/uvesafb.h at line 1 +FILE_INCLUDE LICENSES/exceptions/Linux-syscall-note found in files: _nf/linux/netfilter/xt_CONNMARK.h at line 1, _nf/linux/netfilter/xt_DSCP.h at line 1, _nf/linux/netfilter/xt_MARK.h at line 1, _nf/linux/netfilter/xt_RATEEST.h at line 1, _nf/linux/netfilter/xt_TCPMSS.h at line 1, _nf/linux/netfilter_ipv4/ipt_ECN.h at line 1, _nf/linux/netfilter_ipv4/ipt_TTL.h at line 1, _nf/linux/netfilter_ipv6/ip6t_HL.h at line 1, asm-generic/bitsperlong.h at line 1, asm-generic/errno-base.h at line 1, asm-generic/errno.h at line 1, asm-generic/fcntl.h at line 1, asm-generic/int-l64.h at line 1, asm-generic/int-ll64.h at line 1, asm-generic/ioctl.h at line 1, asm-generic/ioctls.h at line 1, asm-generic/ipcbuf.h at line 1, asm-generic/mman-common.h at line 1, asm-generic/mman.h at line 1, asm-generic/msgbuf.h at line 1, asm-generic/param.h at line 1, asm-generic/poll.h at line 1, asm-generic/posix_types.h at line 1, asm-generic/resource.h at line 1, asm-generic/sembuf.h at line 1, asm-generic/setup.h at line 1, asm-generic/shmbuf.h at line 1, asm-generic/siginfo.h at line 1, asm-generic/signal-defs.h at line 1, asm-generic/signal.h at line 1, asm-generic/socket.h at line 1, asm-generic/sockios.h at line 1, asm-generic/stat.h at line 1, asm-generic/statfs.h at line 1, asm-generic/swab.h at line 1, asm-generic/termbits-common.h at line 1, asm-generic/termbits.h at line 1, asm-generic/termios.h at line 1, asm-generic/types.h at line 1, asm-generic/ucontext.h at line 1, asm-generic/unistd.h at line 1, asm/a.out_x86.h at line 1, asm/amd_hsmp_x86.h at line 1, asm/auxvec_arm.h at line 1, asm/auxvec_arm64.h at line 1, asm/auxvec_powerpc.h at line 1, asm/auxvec_x86.h at line 1, asm/bitsperlong_arm64.h at line 1, asm/bitsperlong_powerpc.h at line 1, asm/bitsperlong_x86.h at line 1, asm/boot_x86.h at line 1, asm/bootparam_x86.h at line 1, asm/bootx_powerpc.h at line 1, asm/bpf_perf_event_arm64.h at line 1, asm/byteorder_arm.h at line 1, asm/byteorder_arm64.h at line 1, asm/byteorder_x86.h at line 1, asm/cputable_powerpc.h at line 1, asm/debugreg_x86.h at line 1, asm/e820_x86.h at line 1, asm/eeh_powerpc.h at line 1, asm/errno_powerpc.h at line 1, asm/fcntl_arm.h at line 1, asm/fcntl_arm64.h at line 1, asm/fcntl_powerpc.h at line 1, asm/hw_breakpoint_x86.h at line 1, asm/hwcap2_x86.h at line 1, asm/hwcap_arm.h at line 1, asm/hwcap_arm64.h at line 1, asm/ioctl_powerpc.h at line 1, asm/ioctls_arm.h at line 1, asm/ioctls_powerpc.h at line 1, asm/kvm_arm64.h at line 1, asm/kvm_para_powerpc.h at line 1, asm/kvm_para_x86.h at line 1, asm/kvm_perf_x86.h at line 1, asm/kvm_powerpc.h at line 1, asm/kvm_x86.h at line 1, asm/ldt_x86.h at line 1, asm/mce_x86.h at line 1, asm/mman_arm64.h at line 1, asm/mman_x86.h at line 1, asm/msgbuf_powerpc.h at line 1, asm/msgbuf_x86.h at line 1, asm/msr_x86.h at line 1, asm/papr_pdsm_powerpc.h at line 1, asm/param_arm64.h at line 1, asm/perf_event_powerpc.h at line 1, asm/perf_regs_arm.h at line 1, asm/perf_regs_arm64.h at line 1, asm/perf_regs_powerpc.h at line 1, asm/perf_regs_x86.h at line 1, asm/posix_types_32_x86.h at line 1, asm/posix_types_64_x86.h at line 1, asm/posix_types_arm.h at line 1, asm/posix_types_arm64.h at line 1, asm/posix_types_powerpc.h at line 1, asm/posix_types_x32_x86.h at line 1, asm/posix_types_x86.h at line 1, asm/prctl_x86.h at line 1, asm/processor-flags_x86.h at line 1, asm/ps3fb_powerpc.h at line 1, asm/ptrace-abi_x86.h at line 1, asm/ptrace_arm.h at line 1, asm/ptrace_arm64.h at line 1, asm/ptrace_x86.h at line 1, asm/sembuf_x86.h at line 1, asm/setup_arm.h at line 1, asm/setup_arm64.h at line 1, asm/setup_powerpc.h at line 1, asm/sgx_x86.h at line 1, asm/shmbuf_x86.h at line 1, asm/sigcontext32_x86.h at line 1, asm/sigcontext_arm.h at line 1, asm/sigcontext_arm64.h at line 1, asm/sigcontext_x86.h at line 1, asm/siginfo_x86.h at line 1, asm/signal_arm.h at line 1, asm/signal_arm64.h at line 1, asm/signal_powerpc.h at line 1, asm/signal_x86.h at line 1, asm/stat_arm.h at line 1, asm/stat_x86.h at line 1, asm/statfs_arm.h at line 1, asm/statfs_arm64.h at line 1, asm/statfs_x86.h at line 1, asm/sve_context_arm64.h at line 1, asm/svm_x86.h at line 1, asm/swab_arm.h at line 1, asm/swab_x86.h at line 1, asm/tm_powerpc.h at line 1, asm/types_arm.h at line 1, asm/ucontext_arm64.h at line 1, asm/ucontext_powerpc.h at line 1, asm/ucontext_x86.h at line 1, asm/unistd_arm.h at line 1, asm/unistd_arm64.h at line 1, asm/unistd_x86.h at line 1, asm/vm86_x86.h at line 1, asm/vmx_x86.h at line 1, asm/vsyscall_x86.h at line 1, drm/armada_drm.h at line 1, drm/etnaviv_drm.h at line 1, drm/omap_drm.h at line 1, linux/a.out_x86.h at line 1, linux/acct.h at line 1, linux/acrn.h at line 1, linux/adb.h at line 1, linux/adfs_fs.h at line 1, linux/affs_hardblocks.h at line 1, linux/am437x-vpfe.h at line 1, linux/android/binder.h at line 1, linux/android/binderfs.h at line 1, linux/arcfb.h at line 1, linux/arm_sdei.h at line 1, linux/atalk.h at line 1, linux/atm.h at line 1, linux/atm_eni.h at line 1, linux/atm_he.h at line 1, linux/atm_idt77105.h at line 1, linux/atm_nicstar.h at line 1, linux/atm_tcp.h at line 1, linux/atm_zatm.h at line 1, linux/atmapi.h at line 1, linux/atmarp.h at line 1, linux/atmbr2684.h at line 1, linux/atmclip.h at line 1, linux/atmdev.h at line 1, linux/atmioc.h at line 1, linux/atmlec.h at line 1, linux/atmmpc.h at line 1, linux/atmppp.h at line 1, linux/atmsap.h at line 1, linux/atmsvc.h at line 1, linux/auxvec.h at line 1, linux/ax25.h at line 1, linux/baycom.h at line 1, linux/bcm933xx_hcs.h at line 1, linux/bfs_fs.h at line 1, linux/binfmts.h at line 1, linux/blkpg.h at line 1, linux/blktrace_api.h at line 1, linux/blkzoned.h at line 1, linux/bpf.h at line 1, linux/bpf_common.h at line 1, linux/bpf_perf_event.h at line 1, linux/bpfilter.h at line 1, linux/bpqether.h at line 1, linux/bsg.h at line 1, linux/btf.h at line 1, linux/btrfs.h at line 1, linux/btrfs_tree.h at line 1, linux/byteorder/big_endian.h at line 1, linux/byteorder/little_endian.h at line 1, linux/cachefiles.h at line 1, linux/caif/caif_socket.h at line 1, linux/caif/if_caif.h at line 1, linux/capability.h at line 1, linux/capi.h at line 1, linux/cciss_defs.h at line 1, linux/cciss_ioctl.h at line 1, linux/cdrom.h at line 1, linux/chio.h at line 1, linux/close_range.h at line 1, linux/coff.h at line 1, linux/const.h at line 1, linux/coresight-stm.h at line 1, linux/counter.h at line 1, linux/cramfs_fs.h at line 1, linux/cryptouser.h at line 1, linux/cuda.h at line 1, linux/cxl_mem.h at line 1, linux/cyclades.h at line 1, linux/dcbnl.h at line 1, linux/dccp.h at line 1, linux/dlm.h at line 1, linux/dlm_device.h at line 1, linux/dlm_plock.h at line 1, linux/dlmconstants.h at line 1, linux/dma-buf.h at line 1, linux/dma-heap.h at line 1, linux/edd.h at line 1, linux/efs_fs_sb.h at line 1, linux/elf-em.h at line 1, linux/elf.h at line 1, linux/errqueue.h at line 1, linux/erspan.h at line 1, linux/ethtool.h at line 1, linux/eventfd.h at line 1, linux/ext4.h at line 1, linux/f2fs.h at line 1, linux/fadvise.h at line 1, linux/falloc.h at line 1, linux/fanotify.h at line 1, linux/fb.h at line 1, linux/fcntl.h at line 1, linux/fd.h at line 1, linux/fdreg.h at line 1, linux/fib_rules.h at line 1, linux/fiemap.h at line 1, linux/filter.h at line 1, linux/fpga-dfl.h at line 1, linux/fs.h at line 1, linux/fscrypt.h at line 1, linux/fsl_mc.h at line 1, linux/fsmap.h at line 1, linux/fsverity.h at line 1, linux/futex.h at line 1, linux/gameport.h at line 1, linux/gen_stats.h at line 1, linux/genetlink.h at line 1, linux/genwqe/genwqe_card.h at line 1, linux/gfs2_ondisk.h at line 1, linux/gsmmux.h at line 1, linux/gtp.h at line 1, linux/hdlc.h at line 1, linux/hdlc/ioctl.h at line 1, linux/hdlcdrv.h at line 1, linux/hdreg.h at line 1, linux/hidraw.h at line 1, linux/hpet.h at line 1, linux/hsi/cs-protocol.h at line 1, linux/hsi/hsi_char.h at line 1, linux/hw_breakpoint.h at line 1, linux/hyperv.h at line 1, linux/icmpv6.h at line 1, linux/if_addr.h at line 1, linux/if_addrlabel.h at line 1, linux/if_eql.h at line 1, linux/if_link.h at line 1, linux/if_ltalk.h at line 1, linux/if_packet.h at line 1, linux/if_phonet.h at line 1, linux/if_slip.h at line 1, linux/if_tunnel.h at line 1, linux/if_xdp.h at line 1, linux/ife.h at line 1, linux/iio/buffer.h at line 1, linux/iio/events.h at line 1, linux/iio/types.h at line 1, linux/ila.h at line 1, linux/in_route.h at line 1, linux/inet_diag.h at line 1, linux/inotify.h at line 1, linux/input.h at line 1, linux/ioctl.h at line 1, linux/iommu.h at line 1, linux/iommufd.h at line 1, linux/ioprio.h at line 1, linux/ip6_tunnel.h at line 1, linux/ip_vs.h at line 1, linux/ipc.h at line 1, linux/ipmi_bmc.h at line 1, linux/ipsec.h at line 1, linux/ipv6.h at line 1, linux/isdn/capicmd.h at line 1, linux/iso_fs.h at line 1, linux/isst_if.h at line 1, linux/kcm.h at line 1, linux/kcmp.h at line 1, linux/kcov.h at line 1, linux/kd.h at line 1, linux/kdev_t.h at line 1, linux/kernel-page-flags.h at line 1, linux/kernel.h at line 1, linux/kernelcapi.h at line 1, linux/kexec.h at line 1, linux/keyboard.h at line 1, linux/kvm_arm64.h at line 1, linux/kvm_para.h at line 1, linux/kvm_powerpc.h at line 1, linux/kvm_x86.h at line 1, linux/l2tp.h at line 1, linux/landlock.h at line 1, linux/libc-compat.h at line 1, linux/limits.h at line 1, linux/lirc.h at line 1, linux/loadpin.h at line 1, linux/lp.h at line 1, linux/lwtunnel.h at line 1, linux/magic.h at line 1, linux/major.h at line 1, linux/matroxfb.h at line 1, linux/max2175.h at line 1, linux/mctp.h at line 1, linux/mdio.h at line 1, linux/media-bus-format.h at line 1, linux/media.h at line 1, linux/mei_uuid.h at line 1, linux/memfd.h at line 1, linux/mempolicy.h at line 1, linux/mii.h at line 1, linux/minix_fs.h at line 1, linux/misc/bcm_vk.h at line 1, linux/mman.h at line 1, linux/mmc/ioctl.h at line 1, linux/mmtimer.h at line 1, linux/module.h at line 1, linux/mpls.h at line 1, linux/mroute.h at line 1, linux/mroute6.h at line 1, linux/msdos_fs.h at line 1, linux/msg.h at line 1, linux/mtio.h at line 1, linux/nbd-netlink.h at line 1, linux/neighbour.h at line 1, linux/net_dropmon.h at line 1, linux/net_namespace.h at line 1, linux/net_tstamp.h at line 1, linux/netconf.h at line 1, linux/netfilter.h at line 1, linux/netfilter/ipset/ip_set.h at line 1, linux/netfilter/ipset/ip_set_bitmap.h at line 1, linux/netfilter/ipset/ip_set_hash.h at line 1, linux/netfilter/ipset/ip_set_list.h at line 1, linux/netfilter/nf_conntrack_common.h at line 1, linux/netfilter/nf_conntrack_ftp.h at line 1, linux/netfilter/nf_conntrack_sctp.h at line 1, linux/netfilter/nf_conntrack_tcp.h at line 1, linux/netfilter/nf_conntrack_tuple_common.h at line 1, linux/netfilter/nf_log.h at line 1, linux/netfilter/nf_nat.h at line 1, linux/netfilter/nf_synproxy.h at line 1, linux/netfilter/nf_tables.h at line 1, linux/netfilter/nf_tables_compat.h at line 1, linux/netfilter/nfnetlink.h at line 1, linux/netfilter/nfnetlink_acct.h at line 1, linux/netfilter/nfnetlink_compat.h at line 1, linux/netfilter/nfnetlink_conntrack.h at line 1, linux/netfilter/nfnetlink_cthelper.h at line 1, linux/netfilter/nfnetlink_cttimeout.h at line 1, linux/netfilter/nfnetlink_hook.h at line 1, linux/netfilter/nfnetlink_log.h at line 1, linux/netfilter/nfnetlink_queue.h at line 1, linux/netfilter/x_tables.h at line 1, linux/netfilter/xt_AUDIT.h at line 1, linux/netfilter/xt_CHECKSUM.h at line 1, linux/netfilter/xt_CLASSIFY.h at line 1, linux/netfilter/xt_CONNSECMARK.h at line 1, linux/netfilter/xt_CT.h at line 1, linux/netfilter/xt_HMARK.h at line 1, linux/netfilter/xt_LED.h at line 1, linux/netfilter/xt_LOG.h at line 1, linux/netfilter/xt_NFLOG.h at line 1, linux/netfilter/xt_NFQUEUE.h at line 1, linux/netfilter/xt_SECMARK.h at line 1, linux/netfilter/xt_SYNPROXY.h at line 1, linux/netfilter/xt_TCPOPTSTRIP.h at line 1, linux/netfilter/xt_TEE.h at line 1, linux/netfilter/xt_TPROXY.h at line 1, linux/netfilter/xt_addrtype.h at line 1, linux/netfilter/xt_bpf.h at line 1, linux/netfilter/xt_cgroup.h at line 1, linux/netfilter/xt_cluster.h at line 1, linux/netfilter/xt_comment.h at line 1, linux/netfilter/xt_connbytes.h at line 1, linux/netfilter/xt_connlabel.h at line 1, linux/netfilter/xt_connlimit.h at line 1, linux/netfilter/xt_cpu.h at line 1, linux/netfilter/xt_dccp.h at line 1, linux/netfilter/xt_devgroup.h at line 1, linux/netfilter/xt_dscp.h at line 1, linux/netfilter/xt_ecn.h at line 1, linux/netfilter/xt_esp.h at line 1, linux/netfilter/xt_hashlimit.h at line 1, linux/netfilter/xt_helper.h at line 1, linux/netfilter/xt_ipcomp.h at line 1, linux/netfilter/xt_iprange.h at line 1, linux/netfilter/xt_ipvs.h at line 1, linux/netfilter/xt_l2tp.h at line 1, linux/netfilter/xt_length.h at line 1, linux/netfilter/xt_limit.h at line 1, linux/netfilter/xt_mac.h at line 1, linux/netfilter/xt_mark.h at line 1, linux/netfilter/xt_multiport.h at line 1, linux/netfilter/xt_nfacct.h at line 1, linux/netfilter/xt_owner.h at line 1, linux/netfilter/xt_physdev.h at line 1, linux/netfilter/xt_pkttype.h at line 1, linux/netfilter/xt_policy.h at line 1, linux/netfilter/xt_quota.h at line 1, linux/netfilter/xt_rateest.h at line 1, linux/netfilter/xt_realm.h at line 1, linux/netfilter/xt_recent.h at line 1, linux/netfilter/xt_rpfilter.h at line 1, linux/netfilter/xt_sctp.h at line 1, linux/netfilter/xt_set.h at line 1, linux/netfilter/xt_socket.h at line 1, linux/netfilter/xt_state.h at line 1, linux/netfilter/xt_statistic.h at line 1, linux/netfilter/xt_string.h at line 1, linux/netfilter/xt_tcpmss.h at line 1, linux/netfilter/xt_tcpudp.h at line 1, linux/netfilter/xt_time.h at line 1, linux/netfilter/xt_u32.h at line 1, linux/netfilter_arp/arp_tables.h at line 1, linux/netfilter_arp/arpt_mangle.h at line 1, linux/netfilter_bridge.h at line 1, linux/netfilter_bridge/ebt_802_3.h at line 1, linux/netfilter_bridge/ebt_among.h at line 1, linux/netfilter_bridge/ebt_arp.h at line 1, linux/netfilter_bridge/ebt_arpreply.h at line 1, linux/netfilter_bridge/ebt_ip.h at line 1, linux/netfilter_bridge/ebt_ip6.h at line 1, linux/netfilter_bridge/ebt_limit.h at line 1, linux/netfilter_bridge/ebt_log.h at line 1, linux/netfilter_bridge/ebt_mark_m.h at line 1, linux/netfilter_bridge/ebt_mark_t.h at line 1, linux/netfilter_bridge/ebt_nat.h at line 1, linux/netfilter_bridge/ebt_nflog.h at line 1, linux/netfilter_bridge/ebt_pkttype.h at line 1, linux/netfilter_bridge/ebt_redirect.h at line 1, linux/netfilter_bridge/ebt_stp.h at line 1, linux/netfilter_bridge/ebt_vlan.h at line 1, linux/netfilter_bridge/ebtables.h at line 1, linux/netfilter_ipv4.h at line 1, linux/netfilter_ipv4/ip_tables.h at line 1, linux/netfilter_ipv4/ipt_CLUSTERIP.h at line 1, linux/netfilter_ipv4/ipt_LOG.h at line 1, linux/netfilter_ipv4/ipt_REJECT.h at line 1, linux/netfilter_ipv4/ipt_ah.h at line 1, linux/netfilter_ipv4/ipt_ecn.h at line 1, linux/netfilter_ipv4/ipt_ttl.h at line 1, linux/netfilter_ipv6.h at line 1, linux/netfilter_ipv6/ip6_tables.h at line 1, linux/netfilter_ipv6/ip6t_LOG.h at line 1, linux/netfilter_ipv6/ip6t_NPT.h at line 1, linux/netfilter_ipv6/ip6t_REJECT.h at line 1, linux/netfilter_ipv6/ip6t_ah.h at line 1, linux/netfilter_ipv6/ip6t_frag.h at line 1, linux/netfilter_ipv6/ip6t_hl.h at line 1, linux/netfilter_ipv6/ip6t_ipv6header.h at line 1, linux/netfilter_ipv6/ip6t_mh.h at line 1, linux/netfilter_ipv6/ip6t_opts.h at line 1, linux/netfilter_ipv6/ip6t_rt.h at line 1, linux/netfilter_ipv6/ip6t_srh.h at line 1, linux/netlink.h at line 1, linux/netlink_diag.h at line 1, linux/netrom.h at line 1, linux/nexthop.h at line 1, linux/nfs.h at line 1, linux/nfs2.h at line 1, linux/nfs3.h at line 1, linux/nfs4.h at line 1, linux/nfs4_mount.h at line 1, linux/nfs_fs.h at line 1, linux/nfs_mount.h at line 1, linux/nfsacl.h at line 1, linux/nfsd/debug.h at line 1, linux/nfsd/export.h at line 1, linux/nfsd/stats.h at line 1, linux/nitro_enclaves.h at line 1, linux/nl80211-vnd-intel.h at line 1, linux/nsfs.h at line 1, linux/nubus.h at line 1, linux/nvme_ioctl.h at line 1, linux/nvram.h at line 1, linux/omap3isp.h at line 1, linux/oom.h at line 1, linux/openat2.h at line 1, linux/openvswitch.h at line 1, linux/packet_diag.h at line 1, linux/param.h at line 1, linux/patchkey.h at line 1, linux/pci.h at line 1, linux/pci_regs.h at line 1, linux/pcitest.h at line 1, linux/perf_event.h at line 1, linux/personality.h at line 1, linux/pfkeyv2.h at line 1, linux/pfrut.h at line 1, linux/phonet.h at line 1, linux/pidfd.h at line 1, linux/pkt_cls.h at line 1, linux/pkt_sched.h at line 1, linux/pktcdvd.h at line 1, linux/pmu.h at line 1, linux/posix_types.h at line 1, linux/ppp-comp.h at line 1, linux/ppp-ioctl.h at line 1, linux/ppp_defs.h at line 1, linux/pr.h at line 1, linux/prctl.h at line 1, linux/psample.h at line 1, linux/psci.h at line 1, linux/ptrace.h at line 1, linux/qnx4_fs.h at line 1, linux/qnxtypes.h at line 1, linux/qrtr.h at line 1, linux/radeonfb.h at line 1, linux/random.h at line 1, linux/reboot.h at line 1, linux/reiserfs_fs.h at line 1, linux/reiserfs_xattr.h at line 1, linux/resource.h at line 1, linux/romfs_fs.h at line 1, linux/rose.h at line 1, linux/rpmsg.h at line 1, linux/rpmsg_types.h at line 1, linux/rtc.h at line 1, linux/rtnetlink.h at line 1, linux/scc.h at line 1, linux/sched.h at line 1, linux/sched/types.h at line 1, linux/screen_info.h at line 1, linux/seccomp.h at line 1, linux/securebits.h at line 1, linux/sed-opal.h at line 1, linux/seg6_genl.h at line 1, linux/seg6_hmac.h at line 1, linux/selinux_netlink.h at line 1, linux/sem.h at line 1, linux/serio.h at line 1, linux/shm.h at line 1, linux/signal.h at line 1, linux/signalfd.h at line 1, linux/smc.h at line 1, linux/smc_diag.h at line 1, linux/smiapp.h at line 1, linux/snmp.h at line 1, linux/sock_diag.h at line 1, linux/socket.h at line 1, linux/sonet.h at line 1, linux/sound.h at line 1, linux/stat.h at line 1, linux/stddef.h at line 1, linux/stm.h at line 1, linux/string.h at line 1, linux/sunrpc/debug.h at line 1, linux/suspend_ioctls.h at line 1, linux/swab.h at line 1, linux/switchtec_ioctl.h at line 1, linux/sysctl.h at line 1, linux/sysinfo.h at line 1, linux/target_core_user.h at line 1, linux/tc_act/tc_connmark.h at line 1, linux/tc_act/tc_csum.h at line 1, linux/tc_act/tc_ct.h at line 1, linux/tc_act/tc_ctinfo.h at line 1, linux/tc_act/tc_defact.h at line 1, linux/tc_act/tc_gact.h at line 1, linux/tc_act/tc_ife.h at line 1, linux/tc_act/tc_ipt.h at line 1, linux/tc_act/tc_mirred.h at line 1, linux/tc_act/tc_mpls.h at line 1, linux/tc_act/tc_nat.h at line 1, linux/tc_act/tc_pedit.h at line 1, linux/tc_act/tc_sample.h at line 1, linux/tc_act/tc_skbedit.h at line 1, linux/tc_ematch/tc_em_cmp.h at line 1, linux/tc_ematch/tc_em_ipt.h at line 1, linux/tc_ematch/tc_em_meta.h at line 1, linux/tc_ematch/tc_em_nbyte.h at line 1, linux/tc_ematch/tc_em_text.h at line 1, linux/tcp_metrics.h at line 1, linux/tdx-guest.h at line 1, linux/termios.h at line 1, linux/thermal.h at line 1, linux/time.h at line 1, linux/time_types.h at line 1, linux/timerfd.h at line 1, linux/times.h at line 1, linux/tiocl.h at line 1, linux/tipc_sockets_diag.h at line 1, linux/tps6594_pfsm.h at line 1, linux/tty.h at line 1, linux/tty_flags.h at line 1, linux/types.h at line 1, linux/ublk_cmd.h at line 1, linux/udf_fs_i.h at line 1, linux/udmabuf.h at line 1, linux/ultrasound.h at line 1, linux/un.h at line 1, linux/unistd.h at line 1, linux/unix_diag.h at line 1, linux/usb/audio.h at line 1, linux/usb/cdc-wdm.h at line 1, linux/usb/cdc.h at line 1, linux/usb/ch11.h at line 1, linux/usb/ch9.h at line 1, linux/usb/functionfs.h at line 1, linux/usb/gadgetfs.h at line 1, linux/usb/midi.h at line 1, linux/usb/raw_gadget.h at line 1, linux/usb/tmc.h at line 1, linux/usb/video.h at line 1, linux/usbip.h at line 1, linux/user_events.h at line 1, linux/userfaultfd.h at line 1, linux/utime.h at line 1, linux/utsname.h at line 1, linux/uvcvideo.h at line 1, linux/v4l2-dv-timings.h at line 1, linux/v4l2-mediabus.h at line 1, linux/v4l2-subdev.h at line 1, linux/vduse.h at line 1, linux/veth.h at line 1, linux/vfio.h at line 1, linux/vfio_ccw.h at line 1, linux/vfio_zdev.h at line 1, linux/vhost.h at line 1, linux/vhost_types.h at line 1, linux/virtio_gpio.h at line 1, linux/vm_sockets.h at line 1, linux/vm_sockets_diag.h at line 1, linux/vmcore.h at line 1, linux/vsockmon.h at line 1, linux/vt.h at line 1, linux/vtpm_proxy.h at line 1, linux/wait.h at line 1, linux/watch_queue.h at line 1, linux/watchdog.h at line 1, linux/wireless.h at line 1, linux/x25.h at line 1, linux/xattr.h at line 1, linux/xdp_diag.h at line 1, linux/xfrm.h at line 1, linux/xilinx-v4l2-controls.h at line 1, linux/zorro.h at line 1, linux/zorro_ids.h at line 1, misc/fastrpc.h at line 1, misc/pvpanic.h at line 1, mtd/inftl-user.h at line 1, rdma/rdma_netlink.h at line 1, scsi/fc/fc_els.h at line 1, scsi/fc/fc_fs.h at line 1, scsi/fc/fc_gs.h at line 1, scsi/fc/fc_ns.h at line 1, scsi/scsi_bsg_ufs.h at line 1, sound/asoc.h at line 1, sound/compress_offload.h at line 1, sound/firewire.h at line 1, sound/intel/avs/tokens.h at line 1, sound/skl-tplg-interface.h at line 1, sound/snd_ar_tokens.h at line 1, sound/snd_sst_tokens.h at line 1, video/edid.h at line 1, video/uvesafb.h at line 1 +FILE_INCLUDE LICENSES/preferred/GPL-2.0 found in files: _nf/linux/netfilter/xt_CONNMARK.h at line 1, _nf/linux/netfilter/xt_DSCP.h at line 1, _nf/linux/netfilter/xt_MARK.h at line 1, _nf/linux/netfilter/xt_RATEEST.h at line 1, _nf/linux/netfilter/xt_TCPMSS.h at line 1, _nf/linux/netfilter_ipv4/ipt_ECN.h at line 1, _nf/linux/netfilter_ipv4/ipt_TTL.h at line 1, _nf/linux/netfilter_ipv6/ip6t_HL.h at line 1, asm-generic/bitsperlong.h at line 1, asm-generic/errno-base.h at line 1, asm-generic/errno.h at line 1, asm-generic/fcntl.h at line 1, asm-generic/int-l64.h at line 1, asm-generic/int-ll64.h at line 1, asm-generic/ioctl.h at line 1, asm-generic/ioctls.h at line 1, asm-generic/ipcbuf.h at line 1, asm-generic/mman-common.h at line 1, asm-generic/mman.h at line 1, asm-generic/msgbuf.h at line 1, asm-generic/param.h at line 1, asm-generic/poll.h at line 1, asm-generic/posix_types.h at line 1, asm-generic/resource.h at line 1, asm-generic/sembuf.h at line 1, asm-generic/setup.h at line 1, asm-generic/shmbuf.h at line 1, asm-generic/siginfo.h at line 1, asm-generic/signal-defs.h at line 1, asm-generic/signal.h at line 1, asm-generic/socket.h at line 1, asm-generic/sockios.h at line 1, asm-generic/stat.h at line 1, asm-generic/statfs.h at line 1, asm-generic/swab.h at line 1, asm-generic/termbits-common.h at line 1, asm-generic/termbits.h at line 1, asm-generic/termios.h at line 1, asm-generic/types.h at line 1, asm-generic/ucontext.h at line 1, asm-generic/unistd.h at line 1, asm/a.out_x86.h at line 1, asm/amd_hsmp_x86.h at line 1, asm/auxvec_arm.h at line 1, asm/auxvec_arm64.h at line 1, asm/auxvec_powerpc.h at line 1, asm/auxvec_x86.h at line 1, asm/bitsperlong_arm64.h at line 1, asm/bitsperlong_powerpc.h at line 1, asm/bitsperlong_x86.h at line 1, asm/boot_x86.h at line 1, asm/bootparam_x86.h at line 1, asm/bootx_powerpc.h at line 1, asm/bpf_perf_event_arm64.h at line 1, asm/byteorder_arm.h at line 1, asm/byteorder_arm64.h at line 1, asm/byteorder_x86.h at line 1, asm/cputable_powerpc.h at line 1, asm/debugreg_x86.h at line 1, asm/e820_x86.h at line 1, asm/eeh_powerpc.h at line 1, asm/errno_powerpc.h at line 1, asm/fcntl_arm.h at line 1, asm/fcntl_arm64.h at line 1, asm/fcntl_powerpc.h at line 1, asm/hw_breakpoint_x86.h at line 1, asm/hwcap2_x86.h at line 1, asm/hwcap_arm.h at line 1, asm/hwcap_arm64.h at line 1, asm/ioctl_powerpc.h at line 1, asm/ioctls_arm.h at line 1, asm/ioctls_powerpc.h at line 1, asm/kvm_arm64.h at line 1, asm/kvm_para_powerpc.h at line 1, asm/kvm_para_x86.h at line 1, asm/kvm_perf_x86.h at line 1, asm/kvm_powerpc.h at line 1, asm/kvm_x86.h at line 1, asm/ldt_x86.h at line 1, asm/mce_x86.h at line 1, asm/mman_arm64.h at line 1, asm/mman_x86.h at line 1, asm/msgbuf_powerpc.h at line 1, asm/msgbuf_x86.h at line 1, asm/msr_x86.h at line 1, asm/papr_pdsm_powerpc.h at line 1, asm/param_arm64.h at line 1, asm/perf_event_powerpc.h at line 1, asm/perf_regs_arm.h at line 1, asm/perf_regs_arm64.h at line 1, asm/perf_regs_powerpc.h at line 1, asm/perf_regs_x86.h at line 1, asm/posix_types_32_x86.h at line 1, asm/posix_types_64_x86.h at line 1, asm/posix_types_arm.h at line 1, asm/posix_types_arm64.h at line 1, asm/posix_types_powerpc.h at line 1, asm/posix_types_x32_x86.h at line 1, asm/posix_types_x86.h at line 1, asm/prctl_x86.h at line 1, asm/processor-flags_x86.h at line 1, asm/ps3fb_powerpc.h at line 1, asm/ptrace-abi_x86.h at line 1, asm/ptrace_arm.h at line 1, asm/ptrace_arm64.h at line 1, asm/ptrace_x86.h at line 1, asm/sembuf_x86.h at line 1, asm/setup_arm.h at line 1, asm/setup_arm64.h at line 1, asm/setup_powerpc.h at line 1, asm/sgx_x86.h at line 1, asm/shmbuf_x86.h at line 1, asm/sigcontext32_x86.h at line 1, asm/sigcontext_arm.h at line 1, asm/sigcontext_arm64.h at line 1, asm/sigcontext_x86.h at line 1, asm/siginfo_x86.h at line 1, asm/signal_arm.h at line 1, asm/signal_arm64.h at line 1, asm/signal_powerpc.h at line 1, asm/signal_x86.h at line 1, asm/stat_arm.h at line 1, asm/stat_x86.h at line 1, asm/statfs_arm.h at line 1, asm/statfs_arm64.h at line 1, asm/statfs_x86.h at line 1, asm/sve_context_arm64.h at line 1, asm/svm_x86.h at line 1, asm/swab_arm.h at line 1, asm/swab_x86.h at line 1, asm/tm_powerpc.h at line 1, asm/types_arm.h at line 1, asm/ucontext_arm64.h at line 1, asm/ucontext_powerpc.h at line 1, asm/ucontext_x86.h at line 1, asm/unistd_arm.h at line 1, asm/unistd_arm64.h at line 1, asm/unistd_x86.h at line 1, asm/vm86_x86.h at line 1, asm/vmx_x86.h at line 1, asm/vsyscall_x86.h at line 1, drm/armada_drm.h at line 1, drm/etnaviv_drm.h at line 1, drm/omap_drm.h at line 1, linux/a.out_x86.h at line 1, linux/acct.h at line 1, linux/acrn.h at line 1, linux/adb.h at line 1, linux/adfs_fs.h at line 1, linux/affs_hardblocks.h at line 1, linux/am437x-vpfe.h at line 1, linux/android/binder.h at line 1, linux/android/binderfs.h at line 1, linux/arcfb.h at line 1, linux/arm_sdei.h at line 1, linux/atalk.h at line 1, linux/atm.h at line 1, linux/atm_eni.h at line 1, linux/atm_he.h at line 1, linux/atm_idt77105.h at line 1, linux/atm_nicstar.h at line 1, linux/atm_tcp.h at line 1, linux/atm_zatm.h at line 1, linux/atmapi.h at line 1, linux/atmarp.h at line 1, linux/atmbr2684.h at line 1, linux/atmclip.h at line 1, linux/atmdev.h at line 1, linux/atmioc.h at line 1, linux/atmlec.h at line 1, linux/atmmpc.h at line 1, linux/atmppp.h at line 1, linux/atmsap.h at line 1, linux/atmsvc.h at line 1, linux/auxvec.h at line 1, linux/ax25.h at line 1, linux/baycom.h at line 1, linux/bcm933xx_hcs.h at line 1, linux/bfs_fs.h at line 1, linux/binfmts.h at line 1, linux/blkpg.h at line 1, linux/blktrace_api.h at line 1, linux/blkzoned.h at line 1, linux/bpf.h at line 1, linux/bpf_common.h at line 1, linux/bpf_perf_event.h at line 1, linux/bpfilter.h at line 1, linux/bpqether.h at line 1, linux/bsg.h at line 1, linux/btf.h at line 1, linux/btrfs.h at line 1, linux/btrfs_tree.h at line 1, linux/byteorder/big_endian.h at line 1, linux/byteorder/little_endian.h at line 1, linux/cachefiles.h at line 1, linux/caif/caif_socket.h at line 1, linux/caif/if_caif.h at line 1, linux/capability.h at line 1, linux/capi.h at line 1, linux/cciss_defs.h at line 1, linux/cciss_ioctl.h at line 1, linux/cdrom.h at line 1, linux/chio.h at line 1, linux/close_range.h at line 1, linux/coff.h at line 1, linux/const.h at line 1, linux/coresight-stm.h at line 1, linux/counter.h at line 1, linux/cramfs_fs.h at line 1, linux/cryptouser.h at line 1, linux/cuda.h at line 1, linux/cxl_mem.h at line 1, linux/cyclades.h at line 1, linux/dcbnl.h at line 1, linux/dccp.h at line 1, linux/dlm.h at line 1, linux/dlm_device.h at line 1, linux/dlm_plock.h at line 1, linux/dlmconstants.h at line 1, linux/dma-buf.h at line 1, linux/dma-heap.h at line 1, linux/edd.h at line 1, linux/efs_fs_sb.h at line 1, linux/elf-em.h at line 1, linux/elf.h at line 1, linux/errqueue.h at line 1, linux/erspan.h at line 1, linux/ethtool.h at line 1, linux/eventfd.h at line 1, linux/ext4.h at line 1, linux/f2fs.h at line 1, linux/fadvise.h at line 1, linux/falloc.h at line 1, linux/fanotify.h at line 1, linux/fb.h at line 1, linux/fcntl.h at line 1, linux/fd.h at line 1, linux/fdreg.h at line 1, linux/fib_rules.h at line 1, linux/fiemap.h at line 1, linux/filter.h at line 1, linux/fpga-dfl.h at line 1, linux/fs.h at line 1, linux/fscrypt.h at line 1, linux/fsl_mc.h at line 1, linux/fsmap.h at line 1, linux/fsverity.h at line 1, linux/futex.h at line 1, linux/gameport.h at line 1, linux/gen_stats.h at line 1, linux/genetlink.h at line 1, linux/genwqe/genwqe_card.h at line 1, linux/gfs2_ondisk.h at line 1, linux/gsmmux.h at line 1, linux/gtp.h at line 1, linux/hdlc.h at line 1, linux/hdlc/ioctl.h at line 1, linux/hdlcdrv.h at line 1, linux/hdreg.h at line 1, linux/hidraw.h at line 1, linux/hpet.h at line 1, linux/hsi/cs-protocol.h at line 1, linux/hsi/hsi_char.h at line 1, linux/hw_breakpoint.h at line 1, linux/hyperv.h at line 1, linux/icmpv6.h at line 1, linux/if_addr.h at line 1, linux/if_addrlabel.h at line 1, linux/if_eql.h at line 1, linux/if_link.h at line 1, linux/if_ltalk.h at line 1, linux/if_packet.h at line 1, linux/if_phonet.h at line 1, linux/if_slip.h at line 1, linux/if_tunnel.h at line 1, linux/if_xdp.h at line 1, linux/ife.h at line 1, linux/iio/buffer.h at line 1, linux/iio/events.h at line 1, linux/iio/types.h at line 1, linux/ila.h at line 1, linux/in_route.h at line 1, linux/inet_diag.h at line 1, linux/inotify.h at line 1, linux/input.h at line 1, linux/ioctl.h at line 1, linux/iommu.h at line 1, linux/iommufd.h at line 1, linux/ioprio.h at line 1, linux/ip6_tunnel.h at line 1, linux/ip_vs.h at line 1, linux/ipc.h at line 1, linux/ipmi_bmc.h at line 1, linux/ipsec.h at line 1, linux/ipv6.h at line 1, linux/isdn/capicmd.h at line 1, linux/iso_fs.h at line 1, linux/isst_if.h at line 1, linux/kcm.h at line 1, linux/kcmp.h at line 1, linux/kcov.h at line 1, linux/kd.h at line 1, linux/kdev_t.h at line 1, linux/kernel-page-flags.h at line 1, linux/kernel.h at line 1, linux/kernelcapi.h at line 1, linux/kexec.h at line 1, linux/keyboard.h at line 1, linux/kvm_arm64.h at line 1, linux/kvm_para.h at line 1, linux/kvm_powerpc.h at line 1, linux/kvm_x86.h at line 1, linux/l2tp.h at line 1, linux/landlock.h at line 1, linux/libc-compat.h at line 1, linux/limits.h at line 1, linux/lirc.h at line 1, linux/loadpin.h at line 1, linux/lp.h at line 1, linux/lwtunnel.h at line 1, linux/magic.h at line 1, linux/major.h at line 1, linux/matroxfb.h at line 1, linux/max2175.h at line 1, linux/mctp.h at line 1, linux/mdio.h at line 1, linux/media-bus-format.h at line 1, linux/media.h at line 1, linux/mei_uuid.h at line 1, linux/memfd.h at line 1, linux/mempolicy.h at line 1, linux/mii.h at line 1, linux/minix_fs.h at line 1, linux/misc/bcm_vk.h at line 1, linux/mman.h at line 1, linux/mmc/ioctl.h at line 1, linux/mmtimer.h at line 1, linux/module.h at line 1, linux/mpls.h at line 1, linux/mroute.h at line 1, linux/mroute6.h at line 1, linux/msdos_fs.h at line 1, linux/msg.h at line 1, linux/mtio.h at line 1, linux/nbd-netlink.h at line 1, linux/neighbour.h at line 1, linux/net_dropmon.h at line 1, linux/net_namespace.h at line 1, linux/net_tstamp.h at line 1, linux/netconf.h at line 1, linux/netfilter.h at line 1, linux/netfilter/ipset/ip_set.h at line 1, linux/netfilter/ipset/ip_set_bitmap.h at line 1, linux/netfilter/ipset/ip_set_hash.h at line 1, linux/netfilter/ipset/ip_set_list.h at line 1, linux/netfilter/nf_conntrack_common.h at line 1, linux/netfilter/nf_conntrack_ftp.h at line 1, linux/netfilter/nf_conntrack_sctp.h at line 1, linux/netfilter/nf_conntrack_tcp.h at line 1, linux/netfilter/nf_conntrack_tuple_common.h at line 1, linux/netfilter/nf_log.h at line 1, linux/netfilter/nf_nat.h at line 1, linux/netfilter/nf_synproxy.h at line 1, linux/netfilter/nf_tables.h at line 1, linux/netfilter/nf_tables_compat.h at line 1, linux/netfilter/nfnetlink.h at line 1, linux/netfilter/nfnetlink_acct.h at line 1, linux/netfilter/nfnetlink_compat.h at line 1, linux/netfilter/nfnetlink_conntrack.h at line 1, linux/netfilter/nfnetlink_cthelper.h at line 1, linux/netfilter/nfnetlink_cttimeout.h at line 1, linux/netfilter/nfnetlink_hook.h at line 1, linux/netfilter/nfnetlink_log.h at line 1, linux/netfilter/nfnetlink_queue.h at line 1, linux/netfilter/x_tables.h at line 1, linux/netfilter/xt_AUDIT.h at line 1, linux/netfilter/xt_CHECKSUM.h at line 1, linux/netfilter/xt_CLASSIFY.h at line 1, linux/netfilter/xt_CONNSECMARK.h at line 1, linux/netfilter/xt_CT.h at line 1, linux/netfilter/xt_HMARK.h at line 1, linux/netfilter/xt_LED.h at line 1, linux/netfilter/xt_LOG.h at line 1, linux/netfilter/xt_NFLOG.h at line 1, linux/netfilter/xt_NFQUEUE.h at line 1, linux/netfilter/xt_SECMARK.h at line 1, linux/netfilter/xt_SYNPROXY.h at line 1, linux/netfilter/xt_TCPOPTSTRIP.h at line 1, linux/netfilter/xt_TEE.h at line 1, linux/netfilter/xt_TPROXY.h at line 1, linux/netfilter/xt_addrtype.h at line 1, linux/netfilter/xt_bpf.h at line 1, linux/netfilter/xt_cgroup.h at line 1, linux/netfilter/xt_cluster.h at line 1, linux/netfilter/xt_comment.h at line 1, linux/netfilter/xt_connbytes.h at line 1, linux/netfilter/xt_connlabel.h at line 1, linux/netfilter/xt_connlimit.h at line 1, linux/netfilter/xt_cpu.h at line 1, linux/netfilter/xt_dccp.h at line 1, linux/netfilter/xt_devgroup.h at line 1, linux/netfilter/xt_dscp.h at line 1, linux/netfilter/xt_ecn.h at line 1, linux/netfilter/xt_esp.h at line 1, linux/netfilter/xt_hashlimit.h at line 1, linux/netfilter/xt_helper.h at line 1, linux/netfilter/xt_ipcomp.h at line 1, linux/netfilter/xt_iprange.h at line 1, linux/netfilter/xt_ipvs.h at line 1, linux/netfilter/xt_l2tp.h at line 1, linux/netfilter/xt_length.h at line 1, linux/netfilter/xt_limit.h at line 1, linux/netfilter/xt_mac.h at line 1, linux/netfilter/xt_mark.h at line 1, linux/netfilter/xt_multiport.h at line 1, linux/netfilter/xt_nfacct.h at line 1, linux/netfilter/xt_owner.h at line 1, linux/netfilter/xt_physdev.h at line 1, linux/netfilter/xt_pkttype.h at line 1, linux/netfilter/xt_policy.h at line 1, linux/netfilter/xt_quota.h at line 1, linux/netfilter/xt_rateest.h at line 1, linux/netfilter/xt_realm.h at line 1, linux/netfilter/xt_recent.h at line 1, linux/netfilter/xt_rpfilter.h at line 1, linux/netfilter/xt_sctp.h at line 1, linux/netfilter/xt_set.h at line 1, linux/netfilter/xt_socket.h at line 1, linux/netfilter/xt_state.h at line 1, linux/netfilter/xt_statistic.h at line 1, linux/netfilter/xt_string.h at line 1, linux/netfilter/xt_tcpmss.h at line 1, linux/netfilter/xt_tcpudp.h at line 1, linux/netfilter/xt_time.h at line 1, linux/netfilter/xt_u32.h at line 1, linux/netfilter_arp/arp_tables.h at line 1, linux/netfilter_arp/arpt_mangle.h at line 1, linux/netfilter_bridge.h at line 1, linux/netfilter_bridge/ebt_802_3.h at line 1, linux/netfilter_bridge/ebt_among.h at line 1, linux/netfilter_bridge/ebt_arp.h at line 1, linux/netfilter_bridge/ebt_arpreply.h at line 1, linux/netfilter_bridge/ebt_ip.h at line 1, linux/netfilter_bridge/ebt_ip6.h at line 1, linux/netfilter_bridge/ebt_limit.h at line 1, linux/netfilter_bridge/ebt_log.h at line 1, linux/netfilter_bridge/ebt_mark_m.h at line 1, linux/netfilter_bridge/ebt_mark_t.h at line 1, linux/netfilter_bridge/ebt_nat.h at line 1, linux/netfilter_bridge/ebt_nflog.h at line 1, linux/netfilter_bridge/ebt_pkttype.h at line 1, linux/netfilter_bridge/ebt_redirect.h at line 1, linux/netfilter_bridge/ebt_stp.h at line 1, linux/netfilter_bridge/ebt_vlan.h at line 1, linux/netfilter_bridge/ebtables.h at line 1, linux/netfilter_ipv4.h at line 1, linux/netfilter_ipv4/ip_tables.h at line 1, linux/netfilter_ipv4/ipt_CLUSTERIP.h at line 1, linux/netfilter_ipv4/ipt_LOG.h at line 1, linux/netfilter_ipv4/ipt_REJECT.h at line 1, linux/netfilter_ipv4/ipt_ah.h at line 1, linux/netfilter_ipv4/ipt_ecn.h at line 1, linux/netfilter_ipv4/ipt_ttl.h at line 1, linux/netfilter_ipv6.h at line 1, linux/netfilter_ipv6/ip6_tables.h at line 1, linux/netfilter_ipv6/ip6t_LOG.h at line 1, linux/netfilter_ipv6/ip6t_NPT.h at line 1, linux/netfilter_ipv6/ip6t_REJECT.h at line 1, linux/netfilter_ipv6/ip6t_ah.h at line 1, linux/netfilter_ipv6/ip6t_frag.h at line 1, linux/netfilter_ipv6/ip6t_hl.h at line 1, linux/netfilter_ipv6/ip6t_ipv6header.h at line 1, linux/netfilter_ipv6/ip6t_mh.h at line 1, linux/netfilter_ipv6/ip6t_opts.h at line 1, linux/netfilter_ipv6/ip6t_rt.h at line 1, linux/netfilter_ipv6/ip6t_srh.h at line 1, linux/netlink.h at line 1, linux/netlink_diag.h at line 1, linux/netrom.h at line 1, linux/nexthop.h at line 1, linux/nfs.h at line 1, linux/nfs2.h at line 1, linux/nfs3.h at line 1, linux/nfs4.h at line 1, linux/nfs4_mount.h at line 1, linux/nfs_fs.h at line 1, linux/nfs_mount.h at line 1, linux/nfsacl.h at line 1, linux/nfsd/debug.h at line 1, linux/nfsd/export.h at line 1, linux/nfsd/stats.h at line 1, linux/nitro_enclaves.h at line 1, linux/nl80211-vnd-intel.h at line 1, linux/nsfs.h at line 1, linux/nubus.h at line 1, linux/nvme_ioctl.h at line 1, linux/nvram.h at line 1, linux/omap3isp.h at line 1, linux/oom.h at line 1, linux/openat2.h at line 1, linux/openvswitch.h at line 1, linux/packet_diag.h at line 1, linux/param.h at line 1, linux/patchkey.h at line 1, linux/pci.h at line 1, linux/pci_regs.h at line 1, linux/pcitest.h at line 1, linux/perf_event.h at line 1, linux/personality.h at line 1, linux/pfkeyv2.h at line 1, linux/pfrut.h at line 1, linux/phonet.h at line 1, linux/pidfd.h at line 1, linux/pkt_cls.h at line 1, linux/pkt_sched.h at line 1, linux/pktcdvd.h at line 1, linux/pmu.h at line 1, linux/posix_types.h at line 1, linux/ppp-comp.h at line 1, linux/ppp-ioctl.h at line 1, linux/ppp_defs.h at line 1, linux/pr.h at line 1, linux/prctl.h at line 1, linux/psample.h at line 1, linux/psci.h at line 1, linux/ptrace.h at line 1, linux/qnx4_fs.h at line 1, linux/qnxtypes.h at line 1, linux/qrtr.h at line 1, linux/radeonfb.h at line 1, linux/random.h at line 1, linux/reboot.h at line 1, linux/reiserfs_fs.h at line 1, linux/reiserfs_xattr.h at line 1, linux/resource.h at line 1, linux/romfs_fs.h at line 1, linux/rose.h at line 1, linux/rpmsg.h at line 1, linux/rpmsg_types.h at line 1, linux/rtc.h at line 1, linux/rtnetlink.h at line 1, linux/scc.h at line 1, linux/sched.h at line 1, linux/sched/types.h at line 1, linux/screen_info.h at line 1, linux/seccomp.h at line 1, linux/securebits.h at line 1, linux/sed-opal.h at line 1, linux/seg6_genl.h at line 1, linux/seg6_hmac.h at line 1, linux/selinux_netlink.h at line 1, linux/sem.h at line 1, linux/serio.h at line 1, linux/shm.h at line 1, linux/signal.h at line 1, linux/signalfd.h at line 1, linux/smc.h at line 1, linux/smc_diag.h at line 1, linux/smiapp.h at line 1, linux/snmp.h at line 1, linux/sock_diag.h at line 1, linux/socket.h at line 1, linux/sonet.h at line 1, linux/sound.h at line 1, linux/stat.h at line 1, linux/stddef.h at line 1, linux/stm.h at line 1, linux/string.h at line 1, linux/sunrpc/debug.h at line 1, linux/suspend_ioctls.h at line 1, linux/swab.h at line 1, linux/switchtec_ioctl.h at line 1, linux/sysctl.h at line 1, linux/sysinfo.h at line 1, linux/target_core_user.h at line 1, linux/tc_act/tc_connmark.h at line 1, linux/tc_act/tc_csum.h at line 1, linux/tc_act/tc_ct.h at line 1, linux/tc_act/tc_ctinfo.h at line 1, linux/tc_act/tc_defact.h at line 1, linux/tc_act/tc_gact.h at line 1, linux/tc_act/tc_ife.h at line 1, linux/tc_act/tc_ipt.h at line 1, linux/tc_act/tc_mirred.h at line 1, linux/tc_act/tc_mpls.h at line 1, linux/tc_act/tc_nat.h at line 1, linux/tc_act/tc_pedit.h at line 1, linux/tc_act/tc_sample.h at line 1, linux/tc_act/tc_skbedit.h at line 1, linux/tc_ematch/tc_em_cmp.h at line 1, linux/tc_ematch/tc_em_ipt.h at line 1, linux/tc_ematch/tc_em_meta.h at line 1, linux/tc_ematch/tc_em_nbyte.h at line 1, linux/tc_ematch/tc_em_text.h at line 1, linux/tcp_metrics.h at line 1, linux/tdx-guest.h at line 1, linux/termios.h at line 1, linux/thermal.h at line 1, linux/time.h at line 1, linux/time_types.h at line 1, linux/timerfd.h at line 1, linux/times.h at line 1, linux/tiocl.h at line 1, linux/tipc_sockets_diag.h at line 1, linux/tps6594_pfsm.h at line 1, linux/tty.h at line 1, linux/tty_flags.h at line 1, linux/types.h at line 1, linux/ublk_cmd.h at line 1, linux/udf_fs_i.h at line 1, linux/udmabuf.h at line 1, linux/ultrasound.h at line 1, linux/un.h at line 1, linux/unistd.h at line 1, linux/unix_diag.h at line 1, linux/usb/audio.h at line 1, linux/usb/cdc-wdm.h at line 1, linux/usb/cdc.h at line 1, linux/usb/ch11.h at line 1, linux/usb/ch9.h at line 1, linux/usb/functionfs.h at line 1, linux/usb/gadgetfs.h at line 1, linux/usb/midi.h at line 1, linux/usb/raw_gadget.h at line 1, linux/usb/tmc.h at line 1, linux/usb/video.h at line 1, linux/usbip.h at line 1, linux/user_events.h at line 1, linux/userfaultfd.h at line 1, linux/utime.h at line 1, linux/utsname.h at line 1, linux/uvcvideo.h at line 1, linux/v4l2-dv-timings.h at line 1, linux/v4l2-mediabus.h at line 1, linux/v4l2-subdev.h at line 1, linux/vduse.h at line 1, linux/veth.h at line 1, linux/vfio.h at line 1, linux/vfio_ccw.h at line 1, linux/vfio_zdev.h at line 1, linux/vhost.h at line 1, linux/vhost_types.h at line 1, linux/virtio_gpio.h at line 1, linux/vm_sockets.h at line 1, linux/vm_sockets_diag.h at line 1, linux/vmcore.h at line 1, linux/vsockmon.h at line 1, linux/vt.h at line 1, linux/vtpm_proxy.h at line 1, linux/wait.h at line 1, linux/watch_queue.h at line 1, linux/watchdog.h at line 1, linux/wireless.h at line 1, linux/x25.h at line 1, linux/xattr.h at line 1, linux/xdp_diag.h at line 1, linux/xfrm.h at line 1, linux/xilinx-v4l2-controls.h at line 1, linux/zorro.h at line 1, linux/zorro_ids.h at line 1, misc/fastrpc.h at line 1, misc/pvpanic.h at line 1, mtd/inftl-user.h at line 1, rdma/rdma_netlink.h at line 1, scsi/fc/fc_els.h at line 1, scsi/fc/fc_fs.h at line 1, scsi/fc/fc_gs.h at line 1, scsi/fc/fc_ns.h at line 1, scsi/scsi_bsg_ufs.h at line 1, sound/asoc.h at line 1, sound/compress_offload.h at line 1, sound/firewire.h at line 1, sound/intel/avs/tokens.h at line 1, sound/skl-tplg-interface.h at line 1, sound/snd_ar_tokens.h at line 1, sound/snd_sst_tokens.h at line 1, video/edid.h at line 1, video/uvesafb.h at line 1 License text: /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ Scancode info: @@ -401,6 +401,7 @@ FILE_INCLUDE LICENSES/preferred/GPL-2.0 found in files: _nf/linux/netfilter/xt_C linux/errqueue.h [1:1] linux/erspan.h [1:1] linux/ethtool.h [1:1] + linux/eventfd.h [1:1] linux/ext4.h [1:1] linux/f2fs.h [1:1] linux/fadvise.h [1:1] @@ -776,6 +777,7 @@ FILE_INCLUDE LICENSES/preferred/GPL-2.0 found in files: _nf/linux/netfilter/xt_C linux/times.h [1:1] linux/tiocl.h [1:1] linux/tipc_sockets_diag.h [1:1] + linux/tps6594_pfsm.h [1:1] linux/tty.h [1:1] linux/tty_flags.h [1:1] linux/types.h [1:1] @@ -1083,6 +1085,7 @@ FILE_INCLUDE LICENSES/preferred/GPL-2.0 found in files: _nf/linux/netfilter/xt_C linux/errqueue.h [1:1] linux/erspan.h [1:1] linux/ethtool.h [1:1] + linux/eventfd.h [1:1] linux/ext4.h [1:1] linux/f2fs.h [1:1] linux/fadvise.h [1:1] @@ -1458,6 +1461,7 @@ FILE_INCLUDE LICENSES/preferred/GPL-2.0 found in files: _nf/linux/netfilter/xt_C linux/times.h [1:1] linux/tiocl.h [1:1] linux/tipc_sockets_diag.h [1:1] + linux/tps6594_pfsm.h [1:1] linux/tty.h [1:1] linux/tty_flags.h [1:1] linux/types.h [1:1] @@ -2629,7 +2633,7 @@ BELONGS ya.make Match type : REFERENCE Links : https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/other-copyleft.LICENSE Files with this license: - linux/bpf.h [6314:6314] + linux/bpf.h [6330:6330] KEEP GPL-2.0-or-later WITH Linux-syscall-note 534ccb3153742b07bce86782a49733fc BELONGS ya.make @@ -4197,7 +4201,7 @@ BELONGS ya.make Match type : REFERENCE Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause Files with this license: - linux/fuse.h [335:335] + linux/fuse.h [336:336] KEEP GPL-2.0-or-later WITH Linux-syscall-note c196f33d1f74889d4f98f65f6f70ea8f BELONGS ya.make diff --git a/contrib/libs/linux-headers/.yandex_meta/licenses.list.txt b/contrib/libs/linux-headers/.yandex_meta/licenses.list.txt index 18e00b8f19..196d290404 100644 --- a/contrib/libs/linux-headers/.yandex_meta/licenses.list.txt +++ b/contrib/libs/linux-headers/.yandex_meta/licenses.list.txt @@ -2025,6 +2025,10 @@ ====================COPYRIGHT==================== + * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ + + +====================COPYRIGHT==================== * Copyright (C) Matt Helsley, IBM Corp. 2005 * Based on cn_fork.h by Nguyen Anh Quynh and Guillaume Thouvenin * Copyright (C) 2005 Nguyen Anh Quynh <aquynh@gmail.com> @@ -2566,7 +2570,7 @@ * Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com> * Copyright 2008 Colin McCabe <colin@cozybit.com> * Copyright 2015-2017 Intel Deutschland GmbH - * Copyright (C) 2018-2022 Intel Corporation + * Copyright (C) 2018-2023 Intel Corporation ====================COPYRIGHT==================== diff --git a/contrib/libs/linux-headers/asm-generic/bitsperlong.h b/contrib/libs/linux-headers/asm-generic/bitsperlong.h index 0aac245b6b..75f320fa91 100644 --- a/contrib/libs/linux-headers/asm-generic/bitsperlong.h +++ b/contrib/libs/linux-headers/asm-generic/bitsperlong.h @@ -2,6 +2,17 @@ #ifndef __ASM_GENERIC_BITS_PER_LONG #define __ASM_GENERIC_BITS_PER_LONG +#ifndef __BITS_PER_LONG +/* + * In order to keep safe and avoid regression, only unify uapi + * bitsperlong.h for some archs which are using newer toolchains + * that have the definitions of __CHAR_BIT__ and __SIZEOF_LONG__. + * See the following link for more info: + * https://lore.kernel.org/linux-arch/b9624545-2c80-49a1-ac3c-39264a591f7b@app.fastmail.com/ + */ +#if defined(__CHAR_BIT__) && defined(__SIZEOF_LONG__) +#define __BITS_PER_LONG (__CHAR_BIT__ * __SIZEOF_LONG__) +#else /* * There seems to be no way of detecting this automatically from user * space, so 64 bit architectures should override this in their @@ -9,8 +20,8 @@ * both 32 and 64 bit user space must not rely on CONFIG_64BIT * to decide it, but rather check a compiler provided macro. */ -#ifndef __BITS_PER_LONG #define __BITS_PER_LONG 32 #endif +#endif #endif /* __ASM_GENERIC_BITS_PER_LONG */ diff --git a/contrib/libs/linux-headers/asm-generic/socket.h b/contrib/libs/linux-headers/asm-generic/socket.h index 95cb0f9c43..70bd55060b 100644 --- a/contrib/libs/linux-headers/asm-generic/socket.h +++ b/contrib/libs/linux-headers/asm-generic/socket.h @@ -132,6 +132,9 @@ #define SO_RCVMARK 75 +#define SO_PASSPIDFD 76 +#define SO_PEERPIDFD 77 + #if __BITS_PER_LONG == 64 || (defined(__x86_64__) && defined(__ILP32__)) /* on 64-bit and x32, avoid the ?: operator */ diff --git a/contrib/libs/linux-headers/asm-generic/unistd.h b/contrib/libs/linux-headers/asm-generic/unistd.h index 45fa180cc5..fd6c1cb585 100644 --- a/contrib/libs/linux-headers/asm-generic/unistd.h +++ b/contrib/libs/linux-headers/asm-generic/unistd.h @@ -38,12 +38,12 @@ __SYSCALL(__NR_io_destroy, sys_io_destroy) __SC_COMP(__NR_io_submit, sys_io_submit, compat_sys_io_submit) #define __NR_io_cancel 3 __SYSCALL(__NR_io_cancel, sys_io_cancel) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_io_getevents 4 __SC_3264(__NR_io_getevents, sys_io_getevents_time32, sys_io_getevents) #endif -/* fs/xattr.c */ #define __NR_setxattr 5 __SYSCALL(__NR_setxattr, sys_setxattr) #define __NR_lsetxattr 6 @@ -68,58 +68,38 @@ __SYSCALL(__NR_removexattr, sys_removexattr) __SYSCALL(__NR_lremovexattr, sys_lremovexattr) #define __NR_fremovexattr 16 __SYSCALL(__NR_fremovexattr, sys_fremovexattr) - -/* fs/dcache.c */ #define __NR_getcwd 17 __SYSCALL(__NR_getcwd, sys_getcwd) - -/* fs/cookies.c */ #define __NR_lookup_dcookie 18 __SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie) - -/* fs/eventfd.c */ #define __NR_eventfd2 19 __SYSCALL(__NR_eventfd2, sys_eventfd2) - -/* fs/eventpoll.c */ #define __NR_epoll_create1 20 __SYSCALL(__NR_epoll_create1, sys_epoll_create1) #define __NR_epoll_ctl 21 __SYSCALL(__NR_epoll_ctl, sys_epoll_ctl) #define __NR_epoll_pwait 22 __SC_COMP(__NR_epoll_pwait, sys_epoll_pwait, compat_sys_epoll_pwait) - -/* fs/fcntl.c */ #define __NR_dup 23 __SYSCALL(__NR_dup, sys_dup) #define __NR_dup3 24 __SYSCALL(__NR_dup3, sys_dup3) #define __NR3264_fcntl 25 __SC_COMP_3264(__NR3264_fcntl, sys_fcntl64, sys_fcntl, compat_sys_fcntl64) - -/* fs/inotify_user.c */ #define __NR_inotify_init1 26 __SYSCALL(__NR_inotify_init1, sys_inotify_init1) #define __NR_inotify_add_watch 27 __SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch) #define __NR_inotify_rm_watch 28 __SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch) - -/* fs/ioctl.c */ #define __NR_ioctl 29 __SC_COMP(__NR_ioctl, sys_ioctl, compat_sys_ioctl) - -/* fs/ioprio.c */ #define __NR_ioprio_set 30 __SYSCALL(__NR_ioprio_set, sys_ioprio_set) #define __NR_ioprio_get 31 __SYSCALL(__NR_ioprio_get, sys_ioprio_get) - -/* fs/locks.c */ #define __NR_flock 32 __SYSCALL(__NR_flock, sys_flock) - -/* fs/namei.c */ #define __NR_mknodat 33 __SYSCALL(__NR_mknodat, sys_mknodat) #define __NR_mkdirat 34 @@ -130,25 +110,21 @@ __SYSCALL(__NR_unlinkat, sys_unlinkat) __SYSCALL(__NR_symlinkat, sys_symlinkat) #define __NR_linkat 37 __SYSCALL(__NR_linkat, sys_linkat) + #ifdef __ARCH_WANT_RENAMEAT /* renameat is superseded with flags by renameat2 */ #define __NR_renameat 38 __SYSCALL(__NR_renameat, sys_renameat) #endif /* __ARCH_WANT_RENAMEAT */ -/* fs/namespace.c */ #define __NR_umount2 39 __SYSCALL(__NR_umount2, sys_umount) #define __NR_mount 40 __SYSCALL(__NR_mount, sys_mount) #define __NR_pivot_root 41 __SYSCALL(__NR_pivot_root, sys_pivot_root) - -/* fs/nfsctl.c */ #define __NR_nfsservctl 42 __SYSCALL(__NR_nfsservctl, sys_ni_syscall) - -/* fs/open.c */ #define __NR3264_statfs 43 __SC_COMP_3264(__NR3264_statfs, sys_statfs64, sys_statfs, \ compat_sys_statfs64) @@ -161,7 +137,6 @@ __SC_COMP_3264(__NR3264_truncate, sys_truncate64, sys_truncate, \ #define __NR3264_ftruncate 46 __SC_COMP_3264(__NR3264_ftruncate, sys_ftruncate64, sys_ftruncate, \ compat_sys_ftruncate64) - #define __NR_fallocate 47 __SC_COMP(__NR_fallocate, sys_fallocate, compat_sys_fallocate) #define __NR_faccessat 48 @@ -186,20 +161,12 @@ __SYSCALL(__NR_openat, sys_openat) __SYSCALL(__NR_close, sys_close) #define __NR_vhangup 58 __SYSCALL(__NR_vhangup, sys_vhangup) - -/* fs/pipe.c */ #define __NR_pipe2 59 __SYSCALL(__NR_pipe2, sys_pipe2) - -/* fs/quota.c */ #define __NR_quotactl 60 __SYSCALL(__NR_quotactl, sys_quotactl) - -/* fs/readdir.c */ #define __NR_getdents64 61 __SYSCALL(__NR_getdents64, sys_getdents64) - -/* fs/read_write.c */ #define __NR3264_lseek 62 __SC_3264(__NR3264_lseek, sys_llseek, sys_lseek) #define __NR_read 63 @@ -218,12 +185,9 @@ __SC_COMP(__NR_pwrite64, sys_pwrite64, compat_sys_pwrite64) __SC_COMP(__NR_preadv, sys_preadv, compat_sys_preadv) #define __NR_pwritev 70 __SC_COMP(__NR_pwritev, sys_pwritev, compat_sys_pwritev) - -/* fs/sendfile.c */ #define __NR3264_sendfile 71 __SYSCALL(__NR3264_sendfile, sys_sendfile64) -/* fs/select.c */ #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_pselect6 72 __SC_COMP_3264(__NR_pselect6, sys_pselect6_time32, sys_pselect6, compat_sys_pselect6_time32) @@ -231,21 +195,17 @@ __SC_COMP_3264(__NR_pselect6, sys_pselect6_time32, sys_pselect6, compat_sys_psel __SC_COMP_3264(__NR_ppoll, sys_ppoll_time32, sys_ppoll, compat_sys_ppoll_time32) #endif -/* fs/signalfd.c */ #define __NR_signalfd4 74 __SC_COMP(__NR_signalfd4, sys_signalfd4, compat_sys_signalfd4) - -/* fs/splice.c */ #define __NR_vmsplice 75 __SYSCALL(__NR_vmsplice, sys_vmsplice) #define __NR_splice 76 __SYSCALL(__NR_splice, sys_splice) #define __NR_tee 77 __SYSCALL(__NR_tee, sys_tee) - -/* fs/stat.c */ #define __NR_readlinkat 78 __SYSCALL(__NR_readlinkat, sys_readlinkat) + #if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) #define __NR3264_fstatat 79 __SC_3264(__NR3264_fstatat, sys_fstatat64, sys_newfstatat) @@ -253,13 +213,13 @@ __SC_3264(__NR3264_fstatat, sys_fstatat64, sys_newfstatat) __SC_3264(__NR3264_fstat, sys_fstat64, sys_newfstat) #endif -/* fs/sync.c */ #define __NR_sync 81 __SYSCALL(__NR_sync, sys_sync) #define __NR_fsync 82 __SYSCALL(__NR_fsync, sys_fsync) #define __NR_fdatasync 83 __SYSCALL(__NR_fdatasync, sys_fdatasync) + #ifdef __ARCH_WANT_SYNC_FILE_RANGE2 #define __NR_sync_file_range2 84 __SC_COMP(__NR_sync_file_range2, sys_sync_file_range2, \ @@ -270,9 +230,9 @@ __SC_COMP(__NR_sync_file_range, sys_sync_file_range, \ compat_sys_sync_file_range) #endif -/* fs/timerfd.c */ #define __NR_timerfd_create 85 __SYSCALL(__NR_timerfd_create, sys_timerfd_create) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_timerfd_settime 86 __SC_3264(__NR_timerfd_settime, sys_timerfd_settime32, \ @@ -282,45 +242,35 @@ __SC_3264(__NR_timerfd_gettime, sys_timerfd_gettime32, \ sys_timerfd_gettime) #endif -/* fs/utimes.c */ #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_utimensat 88 __SC_3264(__NR_utimensat, sys_utimensat_time32, sys_utimensat) #endif -/* kernel/acct.c */ #define __NR_acct 89 __SYSCALL(__NR_acct, sys_acct) - -/* kernel/capability.c */ #define __NR_capget 90 __SYSCALL(__NR_capget, sys_capget) #define __NR_capset 91 __SYSCALL(__NR_capset, sys_capset) - -/* kernel/exec_domain.c */ #define __NR_personality 92 __SYSCALL(__NR_personality, sys_personality) - -/* kernel/exit.c */ #define __NR_exit 93 __SYSCALL(__NR_exit, sys_exit) #define __NR_exit_group 94 __SYSCALL(__NR_exit_group, sys_exit_group) #define __NR_waitid 95 __SC_COMP(__NR_waitid, sys_waitid, compat_sys_waitid) - -/* kernel/fork.c */ #define __NR_set_tid_address 96 __SYSCALL(__NR_set_tid_address, sys_set_tid_address) #define __NR_unshare 97 __SYSCALL(__NR_unshare, sys_unshare) -/* kernel/futex.c */ #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_futex 98 __SC_3264(__NR_futex, sys_futex_time32, sys_futex) #endif + #define __NR_set_robust_list 99 __SC_COMP(__NR_set_robust_list, sys_set_robust_list, \ compat_sys_set_robust_list) @@ -328,43 +278,40 @@ __SC_COMP(__NR_set_robust_list, sys_set_robust_list, \ __SC_COMP(__NR_get_robust_list, sys_get_robust_list, \ compat_sys_get_robust_list) -/* kernel/hrtimer.c */ #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_nanosleep 101 __SC_3264(__NR_nanosleep, sys_nanosleep_time32, sys_nanosleep) #endif -/* kernel/itimer.c */ #define __NR_getitimer 102 __SC_COMP(__NR_getitimer, sys_getitimer, compat_sys_getitimer) #define __NR_setitimer 103 __SC_COMP(__NR_setitimer, sys_setitimer, compat_sys_setitimer) - -/* kernel/kexec.c */ #define __NR_kexec_load 104 __SC_COMP(__NR_kexec_load, sys_kexec_load, compat_sys_kexec_load) - -/* kernel/module.c */ #define __NR_init_module 105 __SYSCALL(__NR_init_module, sys_init_module) #define __NR_delete_module 106 __SYSCALL(__NR_delete_module, sys_delete_module) - -/* kernel/posix-timers.c */ #define __NR_timer_create 107 __SC_COMP(__NR_timer_create, sys_timer_create, compat_sys_timer_create) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_timer_gettime 108 __SC_3264(__NR_timer_gettime, sys_timer_gettime32, sys_timer_gettime) #endif + #define __NR_timer_getoverrun 109 __SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_timer_settime 110 __SC_3264(__NR_timer_settime, sys_timer_settime32, sys_timer_settime) #endif + #define __NR_timer_delete 111 __SYSCALL(__NR_timer_delete, sys_timer_delete) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_clock_settime 112 __SC_3264(__NR_clock_settime, sys_clock_settime32, sys_clock_settime) @@ -377,15 +324,10 @@ __SC_3264(__NR_clock_nanosleep, sys_clock_nanosleep_time32, \ sys_clock_nanosleep) #endif -/* kernel/printk.c */ #define __NR_syslog 116 __SYSCALL(__NR_syslog, sys_syslog) - -/* kernel/ptrace.c */ #define __NR_ptrace 117 __SC_COMP(__NR_ptrace, sys_ptrace, compat_sys_ptrace) - -/* kernel/sched/core.c */ #define __NR_sched_setparam 118 __SYSCALL(__NR_sched_setparam, sys_sched_setparam) #define __NR_sched_setscheduler 119 @@ -406,13 +348,13 @@ __SYSCALL(__NR_sched_yield, sys_sched_yield) __SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max) #define __NR_sched_get_priority_min 126 __SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_sched_rr_get_interval 127 __SC_3264(__NR_sched_rr_get_interval, sys_sched_rr_get_interval_time32, \ sys_sched_rr_get_interval) #endif -/* kernel/signal.c */ #define __NR_restart_syscall 128 __SYSCALL(__NR_restart_syscall, sys_restart_syscall) #define __NR_kill 129 @@ -431,18 +373,18 @@ __SC_COMP(__NR_rt_sigaction, sys_rt_sigaction, compat_sys_rt_sigaction) __SC_COMP(__NR_rt_sigprocmask, sys_rt_sigprocmask, compat_sys_rt_sigprocmask) #define __NR_rt_sigpending 136 __SC_COMP(__NR_rt_sigpending, sys_rt_sigpending, compat_sys_rt_sigpending) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_rt_sigtimedwait 137 __SC_COMP_3264(__NR_rt_sigtimedwait, sys_rt_sigtimedwait_time32, \ sys_rt_sigtimedwait, compat_sys_rt_sigtimedwait_time32) #endif + #define __NR_rt_sigqueueinfo 138 __SC_COMP(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo, \ compat_sys_rt_sigqueueinfo) #define __NR_rt_sigreturn 139 __SC_COMP(__NR_rt_sigreturn, sys_rt_sigreturn, compat_sys_rt_sigreturn) - -/* kernel/sys.c */ #define __NR_setpriority 140 __SYSCALL(__NR_setpriority, sys_setpriority) #define __NR_getpriority 141 @@ -507,7 +449,6 @@ __SYSCALL(__NR_prctl, sys_prctl) #define __NR_getcpu 168 __SYSCALL(__NR_getcpu, sys_getcpu) -/* kernel/time.c */ #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_gettimeofday 169 __SC_COMP(__NR_gettimeofday, sys_gettimeofday, compat_sys_gettimeofday) @@ -517,7 +458,6 @@ __SC_COMP(__NR_settimeofday, sys_settimeofday, compat_sys_settimeofday) __SC_3264(__NR_adjtimex, sys_adjtimex_time32, sys_adjtimex) #endif -/* kernel/sys.c */ #define __NR_getpid 172 __SYSCALL(__NR_getpid, sys_getpid) #define __NR_getppid 173 @@ -534,12 +474,11 @@ __SYSCALL(__NR_getegid, sys_getegid) __SYSCALL(__NR_gettid, sys_gettid) #define __NR_sysinfo 179 __SC_COMP(__NR_sysinfo, sys_sysinfo, compat_sys_sysinfo) - -/* ipc/mqueue.c */ #define __NR_mq_open 180 __SC_COMP(__NR_mq_open, sys_mq_open, compat_sys_mq_open) #define __NR_mq_unlink 181 __SYSCALL(__NR_mq_unlink, sys_mq_unlink) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_mq_timedsend 182 __SC_3264(__NR_mq_timedsend, sys_mq_timedsend_time32, sys_mq_timedsend) @@ -547,12 +486,11 @@ __SC_3264(__NR_mq_timedsend, sys_mq_timedsend_time32, sys_mq_timedsend) __SC_3264(__NR_mq_timedreceive, sys_mq_timedreceive_time32, \ sys_mq_timedreceive) #endif + #define __NR_mq_notify 184 __SC_COMP(__NR_mq_notify, sys_mq_notify, compat_sys_mq_notify) #define __NR_mq_getsetattr 185 __SC_COMP(__NR_mq_getsetattr, sys_mq_getsetattr, compat_sys_mq_getsetattr) - -/* ipc/msg.c */ #define __NR_msgget 186 __SYSCALL(__NR_msgget, sys_msgget) #define __NR_msgctl 187 @@ -561,20 +499,18 @@ __SC_COMP(__NR_msgctl, sys_msgctl, compat_sys_msgctl) __SC_COMP(__NR_msgrcv, sys_msgrcv, compat_sys_msgrcv) #define __NR_msgsnd 189 __SC_COMP(__NR_msgsnd, sys_msgsnd, compat_sys_msgsnd) - -/* ipc/sem.c */ #define __NR_semget 190 __SYSCALL(__NR_semget, sys_semget) #define __NR_semctl 191 __SC_COMP(__NR_semctl, sys_semctl, compat_sys_semctl) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_semtimedop 192 __SC_3264(__NR_semtimedop, sys_semtimedop_time32, sys_semtimedop) #endif + #define __NR_semop 193 __SYSCALL(__NR_semop, sys_semop) - -/* ipc/shm.c */ #define __NR_shmget 194 __SYSCALL(__NR_shmget, sys_shmget) #define __NR_shmctl 195 @@ -583,8 +519,6 @@ __SC_COMP(__NR_shmctl, sys_shmctl, compat_sys_shmctl) __SC_COMP(__NR_shmat, sys_shmat, compat_sys_shmat) #define __NR_shmdt 197 __SYSCALL(__NR_shmdt, sys_shmdt) - -/* net/socket.c */ #define __NR_socket 198 __SYSCALL(__NR_socket, sys_socket) #define __NR_socketpair 199 @@ -615,40 +549,30 @@ __SYSCALL(__NR_shutdown, sys_shutdown) __SC_COMP(__NR_sendmsg, sys_sendmsg, compat_sys_sendmsg) #define __NR_recvmsg 212 __SC_COMP(__NR_recvmsg, sys_recvmsg, compat_sys_recvmsg) - -/* mm/filemap.c */ #define __NR_readahead 213 __SC_COMP(__NR_readahead, sys_readahead, compat_sys_readahead) - -/* mm/nommu.c, also with MMU */ #define __NR_brk 214 __SYSCALL(__NR_brk, sys_brk) #define __NR_munmap 215 __SYSCALL(__NR_munmap, sys_munmap) #define __NR_mremap 216 __SYSCALL(__NR_mremap, sys_mremap) - -/* security/keys/keyctl.c */ #define __NR_add_key 217 __SYSCALL(__NR_add_key, sys_add_key) #define __NR_request_key 218 __SYSCALL(__NR_request_key, sys_request_key) #define __NR_keyctl 219 __SC_COMP(__NR_keyctl, sys_keyctl, compat_sys_keyctl) - -/* arch/example/kernel/sys_example.c */ #define __NR_clone 220 __SYSCALL(__NR_clone, sys_clone) #define __NR_execve 221 __SC_COMP(__NR_execve, sys_execve, compat_sys_execve) - #define __NR3264_mmap 222 __SC_3264(__NR3264_mmap, sys_mmap2, sys_mmap) -/* mm/fadvise.c */ #define __NR3264_fadvise64 223 __SC_COMP(__NR3264_fadvise64, sys_fadvise64_64, compat_sys_fadvise64_64) -/* mm/, CONFIG_MMU only */ +/* CONFIG_MMU only */ #ifndef __ARCH_NOMMU #define __NR_swapon 224 __SYSCALL(__NR_swapon, sys_swapon) @@ -691,6 +615,7 @@ __SC_COMP(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo, \ __SYSCALL(__NR_perf_event_open, sys_perf_event_open) #define __NR_accept4 242 __SYSCALL(__NR_accept4, sys_accept4) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_recvmmsg 243 __SC_COMP_3264(__NR_recvmmsg, sys_recvmmsg_time32, sys_recvmmsg, compat_sys_recvmmsg_time32) @@ -706,6 +631,7 @@ __SC_COMP_3264(__NR_recvmmsg, sys_recvmmsg_time32, sys_recvmmsg, compat_sys_recv #define __NR_wait4 260 __SC_COMP(__NR_wait4, sys_wait4, compat_sys_wait4) #endif + #define __NR_prlimit64 261 __SYSCALL(__NR_prlimit64, sys_prlimit64) #define __NR_fanotify_init 262 @@ -716,10 +642,12 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark) __SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) #define __NR_open_by_handle_at 265 __SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_clock_adjtime 266 __SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime) #endif + #define __NR_syncfs 267 __SYSCALL(__NR_syncfs, sys_syncfs) #define __NR_setns 268 @@ -770,15 +698,19 @@ __SYSCALL(__NR_pkey_alloc, sys_pkey_alloc) __SYSCALL(__NR_pkey_free, sys_pkey_free) #define __NR_statx 291 __SYSCALL(__NR_statx, sys_statx) + #if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 #define __NR_io_pgetevents 292 __SC_COMP_3264(__NR_io_pgetevents, sys_io_pgetevents_time32, sys_io_pgetevents, compat_sys_io_pgetevents) #endif + #define __NR_rseq 293 __SYSCALL(__NR_rseq, sys_rseq) #define __NR_kexec_file_load 294 __SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) + /* 295 through 402 are unassigned to sync up with generic numbers, don't use */ + #if defined(__SYSCALL_COMPAT) || __BITS_PER_LONG == 32 #define __NR_clock_gettime64 403 __SYSCALL(__NR_clock_gettime64, sys_clock_gettime) @@ -844,13 +776,14 @@ __SYSCALL(__NR_fsmount, sys_fsmount) __SYSCALL(__NR_fspick, sys_fspick) #define __NR_pidfd_open 434 __SYSCALL(__NR_pidfd_open, sys_pidfd_open) + #ifdef __ARCH_WANT_SYS_CLONE3 #define __NR_clone3 435 __SYSCALL(__NR_clone3, sys_clone3) #endif + #define __NR_close_range 436 __SYSCALL(__NR_close_range, sys_close_range) - #define __NR_openat2 437 __SYSCALL(__NR_openat2, sys_openat2) #define __NR_pidfd_getfd 438 @@ -865,7 +798,6 @@ __SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2) __SYSCALL(__NR_mount_setattr, sys_mount_setattr) #define __NR_quotactl_fd 443 __SYSCALL(__NR_quotactl_fd, sys_quotactl_fd) - #define __NR_landlock_create_ruleset 444 __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset) #define __NR_landlock_add_rule 445 @@ -877,17 +809,19 @@ __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self) #define __NR_memfd_secret 447 __SYSCALL(__NR_memfd_secret, sys_memfd_secret) #endif + #define __NR_process_mrelease 448 __SYSCALL(__NR_process_mrelease, sys_process_mrelease) - #define __NR_futex_waitv 449 __SYSCALL(__NR_futex_waitv, sys_futex_waitv) - #define __NR_set_mempolicy_home_node 450 __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node) +#define __NR_cachestat 451 +__SYSCALL(__NR_cachestat, sys_cachestat) + #undef __NR_syscalls -#define __NR_syscalls 451 +#define __NR_syscalls 452 /* * 32 bit systems traditionally used different diff --git a/contrib/libs/linux-headers/asm/elf_powerpc.h b/contrib/libs/linux-headers/asm/elf_powerpc.h index 79a8a4b28d..e75071717e 100644 --- a/contrib/libs/linux-headers/asm/elf_powerpc.h +++ b/contrib/libs/linux-headers/asm/elf_powerpc.h @@ -98,6 +98,8 @@ #define ELF_NEBB 3 /* includes ebbrr, ebbhr, bescr */ #define ELF_NPMU 5 /* includes siar, sdar, sier, mmcr2, mmcr0 */ #define ELF_NPKEY 3 /* includes amr, iamr, uamor */ +#define ELF_NDEXCR 2 /* includes dexcr, hdexcr */ +#define ELF_NHASHKEYR 1 /* includes hashkeyr */ typedef unsigned long elf_greg_t64; typedef elf_greg_t64 elf_gregset_t64[ELF_NGREG]; diff --git a/contrib/libs/linux-headers/asm/hwcap_arm64.h b/contrib/libs/linux-headers/asm/hwcap_arm64.h index 972e38a064..509c990c13 100644 --- a/contrib/libs/linux-headers/asm/hwcap_arm64.h +++ b/contrib/libs/linux-headers/asm/hwcap_arm64.h @@ -102,5 +102,7 @@ #define HWCAP2_SME_BI32I32 (1UL << 40) #define HWCAP2_SME_B16B16 (1UL << 41) #define HWCAP2_SME_F16F16 (1UL << 42) +#define HWCAP2_MOPS (1UL << 43) +#define HWCAP2_HBC (1UL << 44) #endif /* __ASM_HWCAP_H */ diff --git a/contrib/libs/linux-headers/asm/mtrr_x86.h b/contrib/libs/linux-headers/asm/mtrr_x86.h index eba0bcfb3d..34b8dd425e 100644 --- a/contrib/libs/linux-headers/asm/mtrr_x86.h +++ b/contrib/libs/linux-headers/asm/mtrr_x86.h @@ -107,9 +107,9 @@ typedef __u8 mtrr_type; #define MTRR_NUM_TYPES 7 /* - * Invalid MTRR memory type. mtrr_type_lookup() returns this value when - * MTRRs are disabled. Note, this value is allocated from the reserved - * values (0x7-0xff) of the MTRR memory types. + * Invalid MTRR memory type. No longer used outside of MTRR code. + * Note, this value is allocated from the reserved values (0x7-0xff) of + * the MTRR memory types. */ #define MTRR_TYPE_INVALID 0xff diff --git a/contrib/libs/linux-headers/asm/setup_arm.h b/contrib/libs/linux-headers/asm/setup_arm.h index 4a0fab0aae..60d5ee88fd 100644 --- a/contrib/libs/linux-headers/asm/setup_arm.h +++ b/contrib/libs/linux-headers/asm/setup_arm.h @@ -9,7 +9,7 @@ * published by the Free Software Foundation. * * Structure passed to kernel to tell it about the - * hardware it's running on. See Documentation/arm/setup.rst + * hardware it's running on. See Documentation/arch/arm/setup.rst * for more info. */ #ifndef __ASMARM_SETUP_H diff --git a/contrib/libs/linux-headers/asm/sigcontext_arm64.h b/contrib/libs/linux-headers/asm/sigcontext_arm64.h index e207b0d79d..3c899cc884 100644 --- a/contrib/libs/linux-headers/asm/sigcontext_arm64.h +++ b/contrib/libs/linux-headers/asm/sigcontext_arm64.h @@ -177,7 +177,7 @@ struct zt_context { * vector length beyond its initial architectural limit of 2048 bits * (16 quadwords). * - * See linux/Documentation/arm64/sve.rst for a description of the VL/VQ + * See linux/Documentation/arch/arm64/sve.rst for a description of the VL/VQ * terminology. */ #define SVE_VQ_BYTES __SVE_VQ_BYTES /* bytes per quadword */ diff --git a/contrib/libs/linux-headers/asm/unistd-eabi_arm.h b/contrib/libs/linux-headers/asm/unistd-eabi_arm.h index b23ff9a129..de7a6f7dd9 100644 --- a/contrib/libs/linux-headers/asm/unistd-eabi_arm.h +++ b/contrib/libs/linux-headers/asm/unistd-eabi_arm.h @@ -404,5 +404,6 @@ #define __NR_process_mrelease (__NR_SYSCALL_BASE + 448) #define __NR_futex_waitv (__NR_SYSCALL_BASE + 449) #define __NR_set_mempolicy_home_node (__NR_SYSCALL_BASE + 450) +#define __NR_cachestat (__NR_SYSCALL_BASE + 451) #endif /* _ASM_UNISTD_EABI_H */ diff --git a/contrib/libs/linux-headers/asm/unistd-oabi_arm.h b/contrib/libs/linux-headers/asm/unistd-oabi_arm.h index c68115cee6..c99c445653 100644 --- a/contrib/libs/linux-headers/asm/unistd-oabi_arm.h +++ b/contrib/libs/linux-headers/asm/unistd-oabi_arm.h @@ -416,5 +416,6 @@ #define __NR_process_mrelease (__NR_SYSCALL_BASE + 448) #define __NR_futex_waitv (__NR_SYSCALL_BASE + 449) #define __NR_set_mempolicy_home_node (__NR_SYSCALL_BASE + 450) +#define __NR_cachestat (__NR_SYSCALL_BASE + 451) #endif /* _ASM_UNISTD_OABI_H */ diff --git a/contrib/libs/linux-headers/asm/unistd_32_powerpc.h b/contrib/libs/linux-headers/asm/unistd_32_powerpc.h index 585c7fefbc..8206758691 100644 --- a/contrib/libs/linux-headers/asm/unistd_32_powerpc.h +++ b/contrib/libs/linux-headers/asm/unistd_32_powerpc.h @@ -432,6 +432,7 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 #endif /* _ASM_UNISTD_32_H */ diff --git a/contrib/libs/linux-headers/asm/unistd_32_x86.h b/contrib/libs/linux-headers/asm/unistd_32_x86.h index 87e1e977af..37b32d8139 100644 --- a/contrib/libs/linux-headers/asm/unistd_32_x86.h +++ b/contrib/libs/linux-headers/asm/unistd_32_x86.h @@ -441,6 +441,7 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 #endif /* _ASM_UNISTD_32_H */ diff --git a/contrib/libs/linux-headers/asm/unistd_64_powerpc.h b/contrib/libs/linux-headers/asm/unistd_64_powerpc.h index 350f7ec0ac..7be98c15f0 100644 --- a/contrib/libs/linux-headers/asm/unistd_64_powerpc.h +++ b/contrib/libs/linux-headers/asm/unistd_64_powerpc.h @@ -404,6 +404,7 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 #endif /* _ASM_UNISTD_64_H */ diff --git a/contrib/libs/linux-headers/asm/unistd_64_x86.h b/contrib/libs/linux-headers/asm/unistd_64_x86.h index 147a78d623..5b55d6729a 100644 --- a/contrib/libs/linux-headers/asm/unistd_64_x86.h +++ b/contrib/libs/linux-headers/asm/unistd_64_x86.h @@ -363,6 +363,7 @@ #define __NR_process_mrelease 448 #define __NR_futex_waitv 449 #define __NR_set_mempolicy_home_node 450 +#define __NR_cachestat 451 #endif /* _ASM_UNISTD_64_H */ diff --git a/contrib/libs/linux-headers/asm/unistd_x32_x86.h b/contrib/libs/linux-headers/asm/unistd_x32_x86.h index 27098db7fb..e8a007543d 100644 --- a/contrib/libs/linux-headers/asm/unistd_x32_x86.h +++ b/contrib/libs/linux-headers/asm/unistd_x32_x86.h @@ -316,6 +316,7 @@ #define __NR_process_mrelease (__X32_SYSCALL_BIT + 448) #define __NR_futex_waitv (__X32_SYSCALL_BIT + 449) #define __NR_set_mempolicy_home_node (__X32_SYSCALL_BIT + 450) +#define __NR_cachestat (__X32_SYSCALL_BIT + 451) #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512) #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513) #define __NR_ioctl (__X32_SYSCALL_BIT + 514) diff --git a/contrib/libs/linux-headers/drm/amdgpu_drm.h b/contrib/libs/linux-headers/drm/amdgpu_drm.h index b6eb90df5d..79b14828d5 100644 --- a/contrib/libs/linux-headers/drm/amdgpu_drm.h +++ b/contrib/libs/linux-headers/drm/amdgpu_drm.h @@ -245,6 +245,8 @@ union drm_amdgpu_bo_list { /* indicate some errors are detected by RAS */ #define AMDGPU_CTX_QUERY2_FLAGS_RAS_CE (1<<3) #define AMDGPU_CTX_QUERY2_FLAGS_RAS_UE (1<<4) +/* indicate that the reset hasn't completed yet */ +#define AMDGPU_CTX_QUERY2_FLAGS_RESET_IN_PROGRESS (1<<5) /* Context priority level */ #define AMDGPU_CTX_PRIORITY_UNSET -2048 @@ -592,6 +594,7 @@ struct drm_amdgpu_gem_va { #define AMDGPU_CHUNK_ID_SCHEDULED_DEPENDENCIES 0x07 #define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_WAIT 0x08 #define AMDGPU_CHUNK_ID_SYNCOBJ_TIMELINE_SIGNAL 0x09 +#define AMDGPU_CHUNK_ID_CP_GFX_SHADOW 0x0a struct drm_amdgpu_cs_chunk { __u32 chunk_id; @@ -708,6 +711,15 @@ struct drm_amdgpu_cs_chunk_data { }; }; +#define AMDGPU_CS_CHUNK_CP_GFX_SHADOW_FLAGS_INIT_SHADOW 0x1 + +struct drm_amdgpu_cs_chunk_cp_gfx_shadow { + __u64 shadow_va; + __u64 csa_va; + __u64 gds_va; + __u64 flags; +}; + /* * Query h/w info: Flag that this is integrated (a.h.a. fusion) GPU * @@ -876,6 +888,8 @@ struct drm_amdgpu_cs_chunk_data { #define AMDGPU_INFO_VIDEO_CAPS_DECODE 0 /* Subquery id: Encode */ #define AMDGPU_INFO_VIDEO_CAPS_ENCODE 1 +/* Query the max number of IBs per gang per submission */ +#define AMDGPU_INFO_MAX_IBS 0x22 #define AMDGPU_INFO_MMR_SE_INDEX_SHIFT 0 #define AMDGPU_INFO_MMR_SE_INDEX_MASK 0xff @@ -1126,6 +1140,14 @@ struct drm_amdgpu_info_device { __u64 mall_size; /* AKA infinity cache */ /* high 32 bits of the rb pipes mask */ __u32 enabled_rb_pipes_mask_hi; + /* shadow area size for gfx11 */ + __u32 shadow_size; + /* shadow area base virtual alignment for gfx11 */ + __u32 shadow_alignment; + /* context save area size for gfx11 */ + __u32 csa_size; + /* context save area base virtual alignment for gfx11 */ + __u32 csa_alignment; }; struct drm_amdgpu_info_hw_ip { diff --git a/contrib/libs/linux-headers/drm/drm_fourcc.h b/contrib/libs/linux-headers/drm/drm_fourcc.h index e766b176a0..6b6235f7a7 100644 --- a/contrib/libs/linux-headers/drm/drm_fourcc.h +++ b/contrib/libs/linux-headers/drm/drm_fourcc.h @@ -658,6 +658,49 @@ extern "C" { #define I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC fourcc_mod_code(INTEL, 12) /* + * Intel Color Control Surfaces (CCS) for display ver. 14 render compression. + * + * The main surface is tile4 and at plane index 0, the CCS is linear and + * at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in + * main surface. In other words, 4 bits in CCS map to a main surface cache + * line pair. The main surface pitch is required to be a multiple of four + * tile4 widths. + */ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS fourcc_mod_code(INTEL, 13) + +/* + * Intel Color Control Surfaces (CCS) for display ver. 14 media compression + * + * The main surface is tile4 and at plane index 0, the CCS is linear and + * at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in + * main surface. In other words, 4 bits in CCS map to a main surface cache + * line pair. The main surface pitch is required to be a multiple of four + * tile4 widths. For semi-planar formats like NV12, CCS planes follow the + * Y and UV planes i.e., planes 0 and 1 are used for Y and UV surfaces, + * planes 2 and 3 for the respective CCS. + */ +#define I915_FORMAT_MOD_4_TILED_MTL_MC_CCS fourcc_mod_code(INTEL, 14) + +/* + * Intel Color Control Surface with Clear Color (CCS) for display ver. 14 render + * compression. + * + * The main surface is tile4 and is at plane index 0 whereas CCS is linear + * and at index 1. The clear color is stored at index 2, and the pitch should + * be ignored. The clear color structure is 256 bits. The first 128 bits + * represents Raw Clear Color Red, Green, Blue and Alpha color each represented + * by 32 bits. The raw clear color is consumed by the 3d engine and generates + * the converted clear color of size 64 bits. The first 32 bits store the Lower + * Converted Clear Color value and the next 32 bits store the Higher Converted + * Clear Color value when applicable. The Converted Clear Color values are + * consumed by the DE. The last 64 bits are used to store Color Discard Enable + * and Depth Clear Value Valid which are ignored by the DE. A CCS cache line + * corresponds to an area of 4x1 tiles in the main surface. The main surface + * pitch is required to be a multiple of 4 tile widths. + */ +#define I915_FORMAT_MOD_4_TILED_MTL_RC_CCS_CC fourcc_mod_code(INTEL, 15) + +/* * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks * * Macroblocks are laid in a Z-shape, and each pixel data is following the diff --git a/contrib/libs/linux-headers/drm/drm_mode.h b/contrib/libs/linux-headers/drm/drm_mode.h index 46becedf5b..43691058d2 100644 --- a/contrib/libs/linux-headers/drm/drm_mode.h +++ b/contrib/libs/linux-headers/drm/drm_mode.h @@ -834,6 +834,11 @@ struct drm_color_ctm { /* * Conversion matrix in S31.32 sign-magnitude * (not two's complement!) format. + * + * out matrix in + * |R| |0 1 2| |R| + * |G| = |3 4 5| x |G| + * |B| |6 7 8| |B| */ __u64 matrix[9]; }; diff --git a/contrib/libs/linux-headers/drm/habanalabs_accel.h b/contrib/libs/linux-headers/drm/habanalabs_accel.h index d9ef1b151d..e6436f3e8e 100644 --- a/contrib/libs/linux-headers/drm/habanalabs_accel.h +++ b/contrib/libs/linux-headers/drm/habanalabs_accel.h @@ -787,18 +787,28 @@ enum hl_server_type { * The address which accessing it caused the razwi. * Razwi initiator. * Razwi cause, was it a page fault or MMU access error. + * May return 0 even though no new data is available, in that case + * timestamp will be 0. * HL_INFO_DEV_MEM_ALLOC_PAGE_SIZES - Retrieve valid page sizes for device memory allocation * HL_INFO_SECURED_ATTESTATION - Retrieve attestation report of the boot. * HL_INFO_REGISTER_EVENTFD - Register eventfd for event notifications. * HL_INFO_UNREGISTER_EVENTFD - Unregister eventfd * HL_INFO_GET_EVENTS - Retrieve the last occurred events * HL_INFO_UNDEFINED_OPCODE_EVENT - Retrieve last undefined opcode error information. + * May return 0 even though no new data is available, in that case + * timestamp will be 0. * HL_INFO_ENGINE_STATUS - Retrieve the status of all the h/w engines in the asic. * HL_INFO_PAGE_FAULT_EVENT - Retrieve parameters of captured page fault. + * May return 0 even though no new data is available, in that case + * timestamp will be 0. * HL_INFO_USER_MAPPINGS - Retrieve user mappings, captured after page fault event. * HL_INFO_FW_GENERIC_REQ - Send generic request to FW. * HL_INFO_HW_ERR_EVENT - Retrieve information on the reported HW error. + * May return 0 even though no new data is available, in that case + * timestamp will be 0. * HL_INFO_FW_ERR_EVENT - Retrieve information on the reported FW error. + * May return 0 even though no new data is available, in that case + * timestamp will be 0. */ #define HL_INFO_HW_IP_INFO 0 #define HL_INFO_HW_EVENTS 1 diff --git a/contrib/libs/linux-headers/drm/i915_drm.h b/contrib/libs/linux-headers/drm/i915_drm.h index 6878a7a827..0a5c814455 100644 --- a/contrib/libs/linux-headers/drm/i915_drm.h +++ b/contrib/libs/linux-headers/drm/i915_drm.h @@ -280,7 +280,16 @@ enum drm_i915_pmu_engine_sample { #define I915_PMU_ENGINE_SEMA(class, instance) \ __I915_PMU_ENGINE(class, instance, I915_SAMPLE_SEMA) -#define __I915_PMU_OTHER(x) (__I915_PMU_ENGINE(0xff, 0xff, 0xf) + 1 + (x)) +/* + * Top 4 bits of every non-engine counter are GT id. + */ +#define __I915_PMU_GT_SHIFT (60) + +#define ___I915_PMU_OTHER(gt, x) \ + (((__u64)__I915_PMU_ENGINE(0xff, 0xff, 0xf) + 1 + (x)) | \ + ((__u64)(gt) << __I915_PMU_GT_SHIFT)) + +#define __I915_PMU_OTHER(x) ___I915_PMU_OTHER(0, x) #define I915_PMU_ACTUAL_FREQUENCY __I915_PMU_OTHER(0) #define I915_PMU_REQUESTED_FREQUENCY __I915_PMU_OTHER(1) @@ -290,6 +299,12 @@ enum drm_i915_pmu_engine_sample { #define I915_PMU_LAST /* Deprecated - do not use */ I915_PMU_RC6_RESIDENCY +#define __I915_PMU_ACTUAL_FREQUENCY(gt) ___I915_PMU_OTHER(gt, 0) +#define __I915_PMU_REQUESTED_FREQUENCY(gt) ___I915_PMU_OTHER(gt, 1) +#define __I915_PMU_INTERRUPTS(gt) ___I915_PMU_OTHER(gt, 2) +#define __I915_PMU_RC6_RESIDENCY(gt) ___I915_PMU_OTHER(gt, 3) +#define __I915_PMU_SOFTWARE_GT_AWAKE_TIME(gt) ___I915_PMU_OTHER(gt, 4) + /* Each region is a minimum of 16k, and there are at most 255 of them. */ #define I915_NR_TEX_REGIONS 255 /* table size 2k - maximum due to use @@ -659,7 +674,8 @@ typedef struct drm_i915_irq_wait { * If the IOCTL is successful, the returned parameter will be set to one of the * following values: * * 0 if HuC firmware load is not complete, - * * 1 if HuC firmware is authenticated and running. + * * 1 if HuC firmware is loaded and fully authenticated, + * * 2 if HuC firmware is loaded and authenticated for clear media only */ #define I915_PARAM_HUC_STATUS 42 @@ -771,6 +787,25 @@ typedef struct drm_i915_irq_wait { */ #define I915_PARAM_OA_TIMESTAMP_FREQUENCY 57 +/* + * Query the status of PXP support in i915. + * + * The query can fail in the following scenarios with the listed error codes: + * -ENODEV = PXP support is not available on the GPU device or in the + * kernel due to missing component drivers or kernel configs. + * + * If the IOCTL is successful, the returned parameter will be set to one of + * the following values: + * 1 = PXP feature is supported and is ready for use. + * 2 = PXP feature is supported but should be ready soon (pending + * initialization of non-i915 system dependencies). + * + * NOTE: When param is supported (positive return values), user space should + * still refer to the GEM PXP context-creation UAPI header specs to be + * aware of possible failure due to system state machine at the time. + */ +#define I915_PARAM_PXP_STATUS 58 + /* Must be kept compact -- no holes and well documented */ /** @@ -2096,6 +2131,21 @@ struct drm_i915_gem_context_param { * * -ENODEV: feature not available * -EPERM: trying to mark a recoverable or not bannable context as protected + * -ENXIO: A dependency such as a component driver or firmware is not yet + * loaded so user space may need to attempt again. Depending on the + * device, this error may be reported if protected context creation is + * attempted very early after kernel start because the internal timeout + * waiting for such dependencies is not guaranteed to be larger than + * required (numbers differ depending on system and kernel config): + * - ADL/RPL: dependencies may take up to 3 seconds from kernel start + * while context creation internal timeout is 250 milisecs + * - MTL: dependencies may take up to 8 seconds from kernel start + * while context creation internal timeout is 250 milisecs + * NOTE: such dependencies happen once, so a subsequent call to create a + * protected context after a prior successful call will not experience + * such timeouts and will not return -ENXIO (unless the driver is reloaded, + * or, depending on the device, resumes from a suspended state). + * -EIO: The firmware did not succeed in creating the protected context. */ #define I915_CONTEXT_PARAM_PROTECTED_CONTENT 0xd /* Must be kept compact -- no holes and well documented */ @@ -3630,9 +3680,13 @@ struct drm_i915_gem_create_ext { * * For I915_GEM_CREATE_EXT_PROTECTED_CONTENT usage see * struct drm_i915_gem_create_ext_protected_content. + * + * For I915_GEM_CREATE_EXT_SET_PAT usage see + * struct drm_i915_gem_create_ext_set_pat. */ #define I915_GEM_CREATE_EXT_MEMORY_REGIONS 0 #define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_GEM_CREATE_EXT_SET_PAT 2 __u64 extensions; }; @@ -3747,6 +3801,43 @@ struct drm_i915_gem_create_ext_protected_content { __u32 flags; }; +/** + * struct drm_i915_gem_create_ext_set_pat - The + * I915_GEM_CREATE_EXT_SET_PAT extension. + * + * If this extension is provided, the specified caching policy (PAT index) is + * applied to the buffer object. + * + * Below is an example on how to create an object with specific caching policy: + * + * .. code-block:: C + * + * struct drm_i915_gem_create_ext_set_pat set_pat_ext = { + * .base = { .name = I915_GEM_CREATE_EXT_SET_PAT }, + * .pat_index = 0, + * }; + * struct drm_i915_gem_create_ext create_ext = { + * .size = PAGE_SIZE, + * .extensions = (uintptr_t)&set_pat_ext, + * }; + * + * int err = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE_EXT, &create_ext); + * if (err) ... + */ +struct drm_i915_gem_create_ext_set_pat { + /** @base: Extension link. See struct i915_user_extension. */ + struct i915_user_extension base; + /** + * @pat_index: PAT index to be set + * PAT index is a bit field in Page Table Entry to control caching + * behaviors for GPU accesses. The definition of PAT index is + * platform dependent and can be found in hardware specifications, + */ + __u32 pat_index; + /** @rsvd: reserved for future use */ + __u32 rsvd; +}; + /* ID of the protected content session managed by i915 when PXP is active */ #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf diff --git a/contrib/libs/linux-headers/linux/blkzoned.h b/contrib/libs/linux-headers/linux/blkzoned.h index 357b1789e8..5347e40d2e 100644 --- a/contrib/libs/linux-headers/linux/blkzoned.h +++ b/contrib/libs/linux-headers/linux/blkzoned.h @@ -51,13 +51,13 @@ enum blk_zone_type { * * The Zone Condition state machine in the ZBC/ZAC standards maps the above * deinitions as: - * - ZC1: Empty | BLK_ZONE_EMPTY + * - ZC1: Empty | BLK_ZONE_COND_EMPTY * - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN * - ZC3: Explicit Open | BLK_ZONE_COND_EXP_OPEN - * - ZC4: Closed | BLK_ZONE_CLOSED - * - ZC5: Full | BLK_ZONE_FULL - * - ZC6: Read Only | BLK_ZONE_READONLY - * - ZC7: Offline | BLK_ZONE_OFFLINE + * - ZC4: Closed | BLK_ZONE_COND_CLOSED + * - ZC5: Full | BLK_ZONE_COND_FULL + * - ZC6: Read Only | BLK_ZONE_COND_READONLY + * - ZC7: Offline | BLK_ZONE_COND_OFFLINE * * Conditions 0x5 to 0xC are reserved by the current ZBC/ZAC spec and should * be considered invalid. diff --git a/contrib/libs/linux-headers/linux/bpf.h b/contrib/libs/linux-headers/linux/bpf.h index d93f46eefa..14674d2fe9 100644 --- a/contrib/libs/linux-headers/linux/bpf.h +++ b/contrib/libs/linux-headers/linux/bpf.h @@ -1273,6 +1273,9 @@ enum { /* Create a map that will be registered/unregesitered by the backed bpf_link */ BPF_F_LINK = (1U << 13), + +/* Get path from provided FD in BPF_OBJ_PIN/BPF_OBJ_GET commands */ + BPF_F_PATH_FD = (1U << 14), }; /* Flags for BPF_PROG_QUERY. */ @@ -1421,6 +1424,13 @@ union bpf_attr { __aligned_u64 pathname; __u32 bpf_fd; __u32 file_flags; + /* Same as dirfd in openat() syscall; see openat(2) + * manpage for details of path FD and pathname semantics; + * path_fd should accompanied by BPF_F_PATH_FD flag set in + * file_flags field, otherwise it should be set to zero; + * if BPF_F_PATH_FD flag is not set, AT_FDCWD is assumed. + */ + __s32 path_fd; }; struct { /* anonymous struct used by BPF_PROG_ATTACH/DETACH commands */ @@ -1887,7 +1897,9 @@ union bpf_attr { * performed again, if the helper is used in combination with * direct packet access. * Return - * 0 on success, or a negative error in case of failure. + * 0 on success, or a negative error in case of failure. Positive + * error indicates a potential drop or congestion in the target + * device. The particular positive error codes are not defined. * * u64 bpf_get_current_pid_tgid(void) * Description @@ -3168,6 +3180,10 @@ union bpf_attr { * **BPF_FIB_LOOKUP_DIRECT** * Do a direct table lookup vs full lookup using FIB * rules. + * **BPF_FIB_LOOKUP_TBID** + * Used with BPF_FIB_LOOKUP_DIRECT. + * Use the routing table ID present in *params*->tbid + * for the fib lookup. * **BPF_FIB_LOOKUP_OUTPUT** * Perform lookup from an egress perspective (default is * ingress). @@ -6822,6 +6838,7 @@ enum { BPF_FIB_LOOKUP_DIRECT = (1U << 0), BPF_FIB_LOOKUP_OUTPUT = (1U << 1), BPF_FIB_LOOKUP_SKIP_NEIGH = (1U << 2), + BPF_FIB_LOOKUP_TBID = (1U << 3), }; enum { @@ -6882,9 +6899,19 @@ struct bpf_fib_lookup { __u32 ipv6_dst[4]; /* in6_addr; network order */ }; - /* output */ - __be16 h_vlan_proto; - __be16 h_vlan_TCI; + union { + struct { + /* output */ + __be16 h_vlan_proto; + __be16 h_vlan_TCI; + }; + /* input: when accompanied with the + * 'BPF_FIB_LOOKUP_DIRECT | BPF_FIB_LOOKUP_TBID` flags, a + * specific routing table to use for the fib lookup. + */ + __u32 tbid; + }; + __u8 smac[6]; /* ETH_ALEN */ __u8 dmac[6]; /* ETH_ALEN */ }; diff --git a/contrib/libs/linux-headers/linux/can.h b/contrib/libs/linux-headers/linux/can.h index 892c53b0f9..23d5bf4a56 100644 --- a/contrib/libs/linux-headers/linux/can.h +++ b/contrib/libs/linux-headers/linux/can.h @@ -285,6 +285,5 @@ struct can_filter { }; #define CAN_INV_FILTER 0x20000000U /* to be set in can_filter.can_id */ -#define CAN_RAW_FILTER_MAX 512 /* maximum number of can_filter set via setsockopt() */ #endif /* !_UAPI_CAN_H */ diff --git a/contrib/libs/linux-headers/linux/can/raw.h b/contrib/libs/linux-headers/linux/can/raw.h index f919ecaa77..54f21fab3f 100644 --- a/contrib/libs/linux-headers/linux/can/raw.h +++ b/contrib/libs/linux-headers/linux/can/raw.h @@ -49,6 +49,8 @@ #include <linux/can.h> #define SOL_CAN_RAW (SOL_CAN_BASE + CAN_RAW) +#define CAN_RAW_FILTER_MAX 512 /* maximum number of can_filter set via setsockopt() */ + enum { SCM_CAN_RAW_ERRQUEUE = 1, }; diff --git a/contrib/libs/linux-headers/linux/capability.h b/contrib/libs/linux-headers/linux/capability.h index efce9435b5..e48f039ec0 100644 --- a/contrib/libs/linux-headers/linux/capability.h +++ b/contrib/libs/linux-headers/linux/capability.h @@ -41,11 +41,12 @@ typedef struct __user_cap_header_struct { int pid; } *cap_user_header_t; -typedef struct __user_cap_data_struct { +struct __user_cap_data_struct { __u32 effective; __u32 permitted; __u32 inheritable; -} *cap_user_data_t; +}; +typedef struct __user_cap_data_struct *cap_user_data_t; #define VFS_CAP_REVISION_MASK 0xFF000000 diff --git a/contrib/libs/linux-headers/linux/counter.h b/contrib/libs/linux-headers/linux/counter.h index b1b9e3930d..2d9befeb96 100644 --- a/contrib/libs/linux-headers/linux/counter.h +++ b/contrib/libs/linux-headers/linux/counter.h @@ -127,6 +127,12 @@ enum counter_count_mode { COUNTER_COUNT_MODE_RANGE_LIMIT, COUNTER_COUNT_MODE_NON_RECYCLE, COUNTER_COUNT_MODE_MODULO_N, + COUNTER_COUNT_MODE_INTERRUPT_ON_TERMINAL_COUNT, + COUNTER_COUNT_MODE_HARDWARE_RETRIGGERABLE_ONESHOT, + COUNTER_COUNT_MODE_RATE_GENERATOR, + COUNTER_COUNT_MODE_SQUARE_WAVE_MODE, + COUNTER_COUNT_MODE_SOFTWARE_TRIGGERED_STROBE, + COUNTER_COUNT_MODE_HARDWARE_TRIGGERED_STROBE, }; /* Count function values */ diff --git a/contrib/libs/linux-headers/linux/dvb/frontend.h b/contrib/libs/linux-headers/linux/dvb/frontend.h index ffe7b579dd..392171a7d6 100644 --- a/contrib/libs/linux-headers/linux/dvb/frontend.h +++ b/contrib/libs/linux-headers/linux/dvb/frontend.h @@ -296,6 +296,10 @@ enum fe_spectral_inversion { * @FEC_28_45: Forward Error Correction Code 28/45 * @FEC_32_45: Forward Error Correction Code 32/45 * @FEC_77_90: Forward Error Correction Code 77/90 + * @FEC_11_45: Forward Error Correction Code 11/45 + * @FEC_4_15: Forward Error Correction Code 4/15 + * @FEC_14_45: Forward Error Correction Code 14/45 + * @FEC_7_15: Forward Error Correction Code 7/15 * * Please note that not all FEC types are supported by a given standard. */ @@ -329,6 +333,10 @@ enum fe_code_rate { FEC_28_45, FEC_32_45, FEC_77_90, + FEC_11_45, + FEC_4_15, + FEC_14_45, + FEC_7_15, }; /** diff --git a/contrib/libs/linux-headers/linux/dvb/version.h b/contrib/libs/linux-headers/linux/dvb/version.h index 1a8cd038aa..20bc874de3 100644 --- a/contrib/libs/linux-headers/linux/dvb/version.h +++ b/contrib/libs/linux-headers/linux/dvb/version.h @@ -10,6 +10,6 @@ #define _DVBVERSION_H_ #define DVB_API_VERSION 5 -#define DVB_API_VERSION_MINOR 11 +#define DVB_API_VERSION_MINOR 12 #endif /*_DVBVERSION_H_*/ diff --git a/contrib/libs/linux-headers/linux/elf.h b/contrib/libs/linux-headers/linux/elf.h index a1ed8bb028..0b23445430 100644 --- a/contrib/libs/linux-headers/linux/elf.h +++ b/contrib/libs/linux-headers/linux/elf.h @@ -372,7 +372,8 @@ typedef struct elf64_shdr { * Notes used in ET_CORE. Architectures export some of the arch register sets * using the corresponding note types via the PTRACE_GETREGSET and * PTRACE_SETREGSET requests. - * The note name for all these is "LINUX". + * The note name for these types is "LINUX", except NT_PRFPREG that is named + * "CORE". */ #define NT_PRSTATUS 1 #define NT_PRFPREG 2 @@ -403,6 +404,8 @@ typedef struct elf64_shdr { #define NT_PPC_TM_CPPR 0x10e /* TM checkpointed Program Priority Register */ #define NT_PPC_TM_CDSCR 0x10f /* TM checkpointed Data Stream Control Register */ #define NT_PPC_PKEY 0x110 /* Memory Protection Keys registers */ +#define NT_PPC_DEXCR 0x111 /* PowerPC DEXCR registers */ +#define NT_PPC_HASHKEYR 0x112 /* PowerPC HASHKEYR register */ #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */ #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */ #define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */ @@ -440,6 +443,8 @@ typedef struct elf64_shdr { #define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers */ #define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode */ #define NT_MIPS_MSA 0x802 /* MIPS SIMD registers */ +#define NT_RISCV_CSR 0x900 /* RISC-V Control and Status Registers */ +#define NT_RISCV_VECTOR 0x901 /* RISC-V vector registers */ #define NT_LOONGARCH_CPUCFG 0xa00 /* LoongArch CPU config registers */ #define NT_LOONGARCH_CSR 0xa01 /* LoongArch control and status registers */ #define NT_LOONGARCH_LSX 0xa02 /* LoongArch Loongson SIMD Extension registers */ diff --git a/contrib/libs/linux-headers/linux/eventfd.h b/contrib/libs/linux-headers/linux/eventfd.h new file mode 100644 index 0000000000..b823f9d9a3 --- /dev/null +++ b/contrib/libs/linux-headers/linux/eventfd.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_EVENTFD_H +#define _LINUX_EVENTFD_H + +#include <linux/fcntl.h> + +#define EFD_SEMAPHORE (1 << 0) +#define EFD_CLOEXEC O_CLOEXEC +#define EFD_NONBLOCK O_NONBLOCK + +#endif /* _LINUX_EVENTFD_H */ diff --git a/contrib/libs/linux-headers/linux/fcntl.h b/contrib/libs/linux-headers/linux/fcntl.h index 41fc49a7b6..7ca41fd4a7 100644 --- a/contrib/libs/linux-headers/linux/fcntl.h +++ b/contrib/libs/linux-headers/linux/fcntl.h @@ -112,4 +112,9 @@ #define AT_RECURSIVE 0x8000 /* Apply to the entire subtree */ +/* Flags for name_to_handle_at(2). We reuse AT_ flag space to save bits... */ +#define AT_HANDLE_FID AT_REMOVEDIR /* file handle is needed to + compare object identity and may not + be usable to open_by_handle_at(2) */ + #endif /* _LINUX_FCNTL_H */ diff --git a/contrib/libs/linux-headers/linux/firewire-cdev.h b/contrib/libs/linux-headers/linux/firewire-cdev.h index 92be3ea3c6..1f2c9469f9 100644 --- a/contrib/libs/linux-headers/linux/firewire-cdev.h +++ b/contrib/libs/linux-headers/linux/firewire-cdev.h @@ -46,6 +46,12 @@ #define FW_CDEV_EVENT_PHY_PACKET_RECEIVED 0x08 #define FW_CDEV_EVENT_ISO_INTERRUPT_MULTICHANNEL 0x09 +/* available since kernel version 6.5 */ +#define FW_CDEV_EVENT_REQUEST3 0x0a +#define FW_CDEV_EVENT_RESPONSE2 0x0b +#define FW_CDEV_EVENT_PHY_PACKET_SENT2 0x0c +#define FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 0x0d + /** * struct fw_cdev_event_common - Common part of all fw_cdev_event_* types * @closure: For arbitrary use by userspace @@ -103,6 +109,32 @@ struct fw_cdev_event_bus_reset { * @length: Data length, i.e. the response's payload size in bytes * @data: Payload data, if any * + * This event is sent instead of &fw_cdev_event_response if the kernel or the client implements + * ABI version <= 5. It has the lack of time stamp field comparing to &fw_cdev_event_response2. + */ +struct fw_cdev_event_response { + __u64 closure; + __u32 type; + __u32 rcode; + __u32 length; + __u32 data[]; +}; + +/** + * struct fw_cdev_event_response2 - Sent when a response packet was received + * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_SEND_REQUEST + * or %FW_CDEV_IOC_SEND_BROADCAST_REQUEST + * or %FW_CDEV_IOC_SEND_STREAM_PACKET ioctl + * @type: See &fw_cdev_event_common; always %FW_CDEV_EVENT_RESPONSE + * @rcode: Response code returned by the remote node + * @length: Data length, i.e. the response's payload size in bytes + * @request_tstamp: The time stamp of isochronous cycle at which the request was sent. + * @response_tstamp: The time stamp of isochronous cycle at which the response was sent. + * @padding: Padding to keep the size of structure as multiples of 8 in various architectures + * since 4 byte alignment is used for 8 byte of object type in System V ABI for i386 + * architecture. + * @data: Payload data, if any + * * This event is sent when the stack receives a response to an outgoing request * sent by %FW_CDEV_IOC_SEND_REQUEST ioctl. The payload data for responses * carrying data (read and lock responses) follows immediately and can be @@ -112,12 +144,21 @@ struct fw_cdev_event_bus_reset { * involve response packets. This includes unified write transactions, * broadcast write transactions, and transmission of asynchronous stream * packets. @rcode indicates success or failure of such transmissions. + * + * The value of @request_tstamp expresses the isochronous cycle at which the request was sent to + * initiate the transaction. The value of @response_tstamp expresses the isochronous cycle at which + * the response arrived to complete the transaction. Each value is unsigned 16 bit integer + * containing three low order bits of second field and all 13 bits of cycle field in format of + * CYCLE_TIMER register. */ -struct fw_cdev_event_response { +struct fw_cdev_event_response2 { __u64 closure; __u32 type; __u32 rcode; __u32 length; + __u32 request_tstamp; + __u32 response_tstamp; + __u32 padding; __u32 data[]; }; @@ -159,6 +200,41 @@ struct fw_cdev_event_request { * @length: Data length, i.e. the request's payload size in bytes * @data: Incoming data, if any * + * This event is sent instead of &fw_cdev_event_request3 if the kernel or the client implements + * ABI version <= 5. It has the lack of time stamp field comparing to &fw_cdev_event_request3. + */ +struct fw_cdev_event_request2 { + __u64 closure; + __u32 type; + __u32 tcode; + __u64 offset; + __u32 source_node_id; + __u32 destination_node_id; + __u32 card; + __u32 generation; + __u32 handle; + __u32 length; + __u32 data[]; +}; + +/** + * struct fw_cdev_event_request3 - Sent on incoming request to an address region + * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_ALLOCATE ioctl + * @type: See &fw_cdev_event_common; always %FW_CDEV_EVENT_REQUEST2 + * @tcode: Transaction code of the incoming request + * @offset: The offset into the 48-bit per-node address space + * @source_node_id: Sender node ID + * @destination_node_id: Destination node ID + * @card: The index of the card from which the request came + * @generation: Bus generation in which the request is valid + * @handle: Reference to the kernel-side pending request + * @length: Data length, i.e. the request's payload size in bytes + * @tstamp: The time stamp of isochronous cycle at which the request arrived. + * @padding: Padding to keep the size of structure as multiples of 8 in various architectures + * since 4 byte alignment is used for 8 byte of object type in System V ABI for i386 + * architecture. + * @data: Incoming data, if any + * * This event is sent when the stack receives an incoming request to an address * region registered using the %FW_CDEV_IOC_ALLOCATE ioctl. The request is * guaranteed to be completely contained in the specified region. Userspace is @@ -191,10 +267,14 @@ struct fw_cdev_event_request { * sent. * * If the client subsequently needs to initiate requests to the sender node of - * an &fw_cdev_event_request2, it needs to use a device file with matching + * an &fw_cdev_event_request3, it needs to use a device file with matching * card index, node ID, and generation for outbound requests. + * + * @tstamp is isochronous cycle at which the request arrived. It is 16 bit integer value and the + * higher 3 bits expresses three low order bits of second field in the format of CYCLE_TIME + * register and the rest 13 bits expresses cycle field. */ -struct fw_cdev_event_request2 { +struct fw_cdev_event_request3 { __u64 closure; __u32 type; __u32 tcode; @@ -205,6 +285,8 @@ struct fw_cdev_event_request2 { __u32 generation; __u32 handle; __u32 length; + __u32 tstamp; + __u32 padding; __u32 data[]; }; @@ -341,20 +423,59 @@ struct fw_cdev_event_iso_resource { * @type: %FW_CDEV_EVENT_PHY_PACKET_SENT or %..._RECEIVED * @rcode: %RCODE_..., indicates success or failure of transmission * @length: Data length in bytes + * @data: Incoming data for %FW_CDEV_IOC_RECEIVE_PHY_PACKETS. For %FW_CDEV_IOC_SEND_PHY_PACKET + * the field has the same data in the request, thus the length of 8 bytes. + * + * This event is sent instead of &fw_cdev_event_phy_packet2 if the kernel or + * the client implements ABI version <= 5. It has the lack of time stamp field comparing to + * &fw_cdev_event_phy_packet2. + */ +struct fw_cdev_event_phy_packet { + __u64 closure; + __u32 type; + __u32 rcode; + __u32 length; + __u32 data[]; +}; + +/** + * struct fw_cdev_event_phy_packet2 - A PHY packet was transmitted or received with time stamp. + * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_SEND_PHY_PACKET + * or %FW_CDEV_IOC_RECEIVE_PHY_PACKETS ioctl + * @type: %FW_CDEV_EVENT_PHY_PACKET_SENT2 or %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 + * @rcode: %RCODE_..., indicates success or failure of transmission + * @length: Data length in bytes + * @tstamp: For %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2, the time stamp of isochronous cycle at + * which the packet arrived. For %FW_CDEV_EVENT_PHY_PACKET_SENT2 and non-ping packet, + * the time stamp of isochronous cycle at which the packet was sent. For ping packet, + * the tick count for round-trip time measured by 1394 OHCI controller. + * The time stamp of isochronous cycle at which either the response was sent for + * %FW_CDEV_EVENT_PHY_PACKET_SENT2 or the request arrived for + * %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2. * @data: Incoming data * - * If @type is %FW_CDEV_EVENT_PHY_PACKET_SENT, @length is 0 and @data empty, - * except in case of a ping packet: Then, @length is 4, and @data[0] is the - * ping time in 49.152MHz clocks if @rcode is %RCODE_COMPLETE. + * If @type is %FW_CDEV_EVENT_PHY_PACKET_SENT2, @length is 8 and @data consists of the two PHY + * packet quadlets to be sent, in host byte order, * - * If @type is %FW_CDEV_EVENT_PHY_PACKET_RECEIVED, @length is 8 and @data - * consists of the two PHY packet quadlets, in host byte order. + * If @type is %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2, @length is 8 and @data consists of the two PHY + * packet quadlets, in host byte order. + * + * For %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2, the @tstamp is the isochronous cycle at which the + * packet arrived. It is 16 bit integer value and the higher 3 bits expresses three low order bits + * of second field and the rest 13 bits expresses cycle field in the format of CYCLE_TIME register. + * + * For %FW_CDEV_EVENT_PHY_PACKET_SENT2, the @tstamp has different meanings whether to sent the + * packet for ping or not. If it's not for ping, the @tstamp is the isochronous cycle at which the + * packet was sent, and use the same format as the case of %FW_CDEV_EVENT_PHY_PACKET_SENT2. If it's + * for ping, the @tstamp is for round-trip time measured by 1394 OHCI controller with 42.195 MHz + * resolution. */ -struct fw_cdev_event_phy_packet { +struct fw_cdev_event_phy_packet2 { __u64 closure; __u32 type; __u32 rcode; __u32 length; + __u32 tstamp; __u32 data[]; }; @@ -375,6 +496,11 @@ struct fw_cdev_event_phy_packet { * %FW_CDEV_EVENT_PHY_PACKET_SENT or * %FW_CDEV_EVENT_PHY_PACKET_RECEIVED * + * @request3: Valid if @common.type == %FW_CDEV_EVENT_REQUEST3 + * @response2: Valid if @common.type == %FW_CDEV_EVENT_RESPONSE2 + * @phy_packet2: Valid if @common.type == %FW_CDEV_EVENT_PHY_PACKET_SENT2 or + * %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 + * * Convenience union for userspace use. Events could be read(2) into an * appropriately aligned char buffer and then cast to this union for further * processing. Note that for a request, response or iso_interrupt event, @@ -393,6 +519,9 @@ union fw_cdev_event { struct fw_cdev_event_iso_interrupt_mc iso_interrupt_mc; /* added in 2.6.36 */ struct fw_cdev_event_iso_resource iso_resource; /* added in 2.6.30 */ struct fw_cdev_event_phy_packet phy_packet; /* added in 2.6.36 */ + struct fw_cdev_event_request3 request3; /* added in 6.5 */ + struct fw_cdev_event_response2 response2; /* added in 6.5 */ + struct fw_cdev_event_phy_packet2 phy_packet2; /* added in 6.5 */ }; /* available since kernel version 2.6.22 */ @@ -457,6 +586,11 @@ union fw_cdev_event { * 5 (3.4) - send %FW_CDEV_EVENT_ISO_INTERRUPT events when needed to * avoid dropping data * - added %FW_CDEV_IOC_FLUSH_ISO + * 6 (6.5) - added some event for subactions of asynchronous transaction with time stamp + * - %FW_CDEV_EVENT_REQUEST3 + * - %FW_CDEV_EVENT_RESPONSE2 + * - %FW_CDEV_EVENT_PHY_PACKET_SENT2 + * - %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 */ /** @@ -502,11 +636,11 @@ struct fw_cdev_get_info { * @data: Userspace pointer to payload * @generation: The bus generation where packet is valid * - * Send a request to the device. This ioctl implements all outgoing requests. - * Both quadlet and block request specify the payload as a pointer to the data - * in the @data field. Once the transaction completes, the kernel writes an - * &fw_cdev_event_response event back. The @closure field is passed back to - * user space in the response event. + * Send a request to the device. This ioctl implements all outgoing requests. Both quadlet and + * block request specify the payload as a pointer to the data in the @data field. Once the + * transaction completes, the kernel writes either &fw_cdev_event_response event or + * &fw_cdev_event_response event back. The @closure field is passed back to user space in the + * response event. */ struct fw_cdev_send_request { __u32 tcode; @@ -989,10 +1123,9 @@ struct fw_cdev_allocate_iso_resource { * @generation: The bus generation where packet is valid * @speed: Speed to transmit at * - * The %FW_CDEV_IOC_SEND_STREAM_PACKET ioctl sends an asynchronous stream packet - * to every device which is listening to the specified channel. The kernel - * writes an &fw_cdev_event_response event which indicates success or failure of - * the transmission. + * The %FW_CDEV_IOC_SEND_STREAM_PACKET ioctl sends an asynchronous stream packet to every device + * which is listening to the specified channel. The kernel writes either &fw_cdev_event_response + * event or &fw_cdev_event_response2 event which indicates success or failure of the transmission. */ struct fw_cdev_send_stream_packet { __u32 length; @@ -1011,8 +1144,8 @@ struct fw_cdev_send_stream_packet { * @data: First and second quadlet of the PHY packet * @generation: The bus generation where packet is valid * - * The %FW_CDEV_IOC_SEND_PHY_PACKET ioctl sends a PHY packet to all nodes - * on the same card as this device. After transmission, an + * The %FW_CDEV_IOC_SEND_PHY_PACKET ioctl sends a PHY packet to all nodes on the same card as this + * device. After transmission, either %FW_CDEV_EVENT_PHY_PACKET_SENT event or * %FW_CDEV_EVENT_PHY_PACKET_SENT event is generated. * * The payload @data\[\] shall be specified in host byte order. Usually, @@ -1031,8 +1164,9 @@ struct fw_cdev_send_phy_packet { * struct fw_cdev_receive_phy_packets - start reception of PHY packets * @closure: Passed back to userspace in phy packet events * - * This ioctl activates issuing of %FW_CDEV_EVENT_PHY_PACKET_RECEIVED due to - * incoming PHY packets from any node on the same bus as the device. + * This ioctl activates issuing of either %FW_CDEV_EVENT_PHY_PACKET_RECEIVED or + * %FW_CDEV_EVENT_PHY_PACKET_RECEIVED2 due to incoming PHY packets from any node on the same bus + * as the device. * * The ioctl is only permitted on device files which represent a local node. */ diff --git a/contrib/libs/linux-headers/linux/fuse.h b/contrib/libs/linux-headers/linux/fuse.h index 35c131a107..2c8b8de9c2 100644 --- a/contrib/libs/linux-headers/linux/fuse.h +++ b/contrib/libs/linux-headers/linux/fuse.h @@ -206,6 +206,7 @@ * - add extension header * - add FUSE_EXT_GROUPS * - add FUSE_CREATE_SUPP_GROUP + * - add FUSE_HAS_EXPIRE_ONLY */ #ifndef _LINUX_FUSE_H @@ -365,6 +366,7 @@ struct fuse_file_lock { * FUSE_HAS_INODE_DAX: use per inode DAX * FUSE_CREATE_SUPP_GROUP: add supplementary group info to create, mkdir, * symlink and mknod (single group that matches parent) + * FUSE_HAS_EXPIRE_ONLY: kernel supports expiry-only entry invalidation */ #define FUSE_ASYNC_READ (1 << 0) #define FUSE_POSIX_LOCKS (1 << 1) @@ -402,6 +404,7 @@ struct fuse_file_lock { #define FUSE_SECURITY_CTX (1ULL << 32) #define FUSE_HAS_INODE_DAX (1ULL << 33) #define FUSE_CREATE_SUPP_GROUP (1ULL << 34) +#define FUSE_HAS_EXPIRE_ONLY (1ULL << 35) /** * CUSE INIT request/reply flags diff --git a/contrib/libs/linux-headers/linux/if_link.h b/contrib/libs/linux-headers/linux/if_link.h index 94fb7ef9e2..02af33ceb3 100644 --- a/contrib/libs/linux-headers/linux/if_link.h +++ b/contrib/libs/linux-headers/linux/if_link.h @@ -826,6 +826,7 @@ enum { IFLA_VXLAN_TTL_INHERIT, IFLA_VXLAN_DF, IFLA_VXLAN_VNIFILTER, /* only applicable with COLLECT_METADATA mode */ + IFLA_VXLAN_LOCALBYPASS, __IFLA_VXLAN_MAX }; #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) diff --git a/contrib/libs/linux-headers/linux/io_uring.h b/contrib/libs/linux-headers/linux/io_uring.h index 0716cb17e4..08720c7bd9 100644 --- a/contrib/libs/linux-headers/linux/io_uring.h +++ b/contrib/libs/linux-headers/linux/io_uring.h @@ -173,6 +173,18 @@ enum { */ #define IORING_SETUP_DEFER_TASKRUN (1U << 13) +/* + * Application provides the memory for the rings + */ +#define IORING_SETUP_NO_MMAP (1U << 14) + +/* + * Register the ring fd in itself for use with + * IORING_REGISTER_USE_REGISTERED_RING; return a registered fd index rather + * than an fd. + */ +#define IORING_SETUP_REGISTERED_FD_ONLY (1U << 15) + enum io_uring_op { IORING_OP_NOP, IORING_OP_READV, @@ -232,8 +244,10 @@ enum io_uring_op { * sqe->uring_cmd_flags * IORING_URING_CMD_FIXED use registered buffer; pass this flag * along with setting sqe->buf_index. + * IORING_URING_CMD_POLLED driver use only */ #define IORING_URING_CMD_FIXED (1U << 0) +#define IORING_URING_CMD_POLLED (1U << 31) /* @@ -406,7 +420,7 @@ struct io_sqring_offsets { __u32 dropped; __u32 array; __u32 resv1; - __u64 resv2; + __u64 user_addr; }; /* @@ -425,7 +439,7 @@ struct io_cqring_offsets { __u32 cqes; __u32 flags; __u32 resv1; - __u64 resv2; + __u64 user_addr; }; /* diff --git a/contrib/libs/linux-headers/linux/ioprio.h b/contrib/libs/linux-headers/linux/ioprio.h index a470483148..9a51dd0c9b 100644 --- a/contrib/libs/linux-headers/linux/ioprio.h +++ b/contrib/libs/linux-headers/linux/ioprio.h @@ -2,22 +2,23 @@ #ifndef _LINUX_IOPRIO_H #define _LINUX_IOPRIO_H +#include <linux/stddef.h> +#include <linux/types.h> + /* * Gives us 8 prio classes with 13-bits of data for each class */ #define IOPRIO_CLASS_SHIFT 13 -#define IOPRIO_CLASS_MASK 0x07 +#define IOPRIO_NR_CLASSES 8 +#define IOPRIO_CLASS_MASK (IOPRIO_NR_CLASSES - 1) #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1) #define IOPRIO_PRIO_CLASS(ioprio) \ (((ioprio) >> IOPRIO_CLASS_SHIFT) & IOPRIO_CLASS_MASK) #define IOPRIO_PRIO_DATA(ioprio) ((ioprio) & IOPRIO_PRIO_MASK) -#define IOPRIO_PRIO_VALUE(class, data) \ - ((((class) & IOPRIO_CLASS_MASK) << IOPRIO_CLASS_SHIFT) | \ - ((data) & IOPRIO_PRIO_MASK)) /* - * These are the io priority groups as implemented by the BFQ and mq-deadline + * These are the io priority classes as implemented by the BFQ and mq-deadline * schedulers. RT is the realtime class, it always gets premium service. For * ATA disks supporting NCQ IO priority, RT class IOs will be processed using * high priority NCQ commands. BE is the best-effort scheduling class, the @@ -25,18 +26,30 @@ * served when no one else is using the disk. */ enum { - IOPRIO_CLASS_NONE, - IOPRIO_CLASS_RT, - IOPRIO_CLASS_BE, - IOPRIO_CLASS_IDLE, + IOPRIO_CLASS_NONE = 0, + IOPRIO_CLASS_RT = 1, + IOPRIO_CLASS_BE = 2, + IOPRIO_CLASS_IDLE = 3, + + /* Special class to indicate an invalid ioprio value */ + IOPRIO_CLASS_INVALID = 7, }; /* - * The RT and BE priority classes both support up to 8 priority levels. + * The RT and BE priority classes both support up to 8 priority levels that + * can be specified using the lower 3-bits of the priority data. */ -#define IOPRIO_NR_LEVELS 8 -#define IOPRIO_BE_NR IOPRIO_NR_LEVELS +#define IOPRIO_LEVEL_NR_BITS 3 +#define IOPRIO_NR_LEVELS (1 << IOPRIO_LEVEL_NR_BITS) +#define IOPRIO_LEVEL_MASK (IOPRIO_NR_LEVELS - 1) +#define IOPRIO_PRIO_LEVEL(ioprio) ((ioprio) & IOPRIO_LEVEL_MASK) + +#define IOPRIO_BE_NR IOPRIO_NR_LEVELS +/* + * Possible values for the "which" argument of the ioprio_get() and + * ioprio_set() system calls (see "man ioprio_set"). + */ enum { IOPRIO_WHO_PROCESS = 1, IOPRIO_WHO_PGRP, @@ -44,9 +57,71 @@ enum { }; /* - * Fallback BE priority level. + * Fallback BE class priority level. */ #define IOPRIO_NORM 4 #define IOPRIO_BE_NORM IOPRIO_NORM +/* + * The 10 bits between the priority class and the priority level are used to + * optionally define I/O hints for any combination of I/O priority class and + * level. Depending on the kernel configuration, I/O scheduler being used and + * the target I/O device being used, hints can influence how I/Os are processed + * without affecting the I/O scheduling ordering defined by the I/O priority + * class and level. + */ +#define IOPRIO_HINT_SHIFT IOPRIO_LEVEL_NR_BITS +#define IOPRIO_HINT_NR_BITS 10 +#define IOPRIO_NR_HINTS (1 << IOPRIO_HINT_NR_BITS) +#define IOPRIO_HINT_MASK (IOPRIO_NR_HINTS - 1) +#define IOPRIO_PRIO_HINT(ioprio) \ + (((ioprio) >> IOPRIO_HINT_SHIFT) & IOPRIO_HINT_MASK) + +/* + * I/O hints. + */ +enum { + /* No hint */ + IOPRIO_HINT_NONE = 0, + + /* + * Device command duration limits: indicate to the device a desired + * duration limit for the commands that will be used to process an I/O. + * These will currently only be effective for SCSI and ATA devices that + * support the command duration limits feature. If this feature is + * enabled, then the commands issued to the device to process an I/O with + * one of these hints set will have the duration limit index (dld field) + * set to the value of the hint. + */ + IOPRIO_HINT_DEV_DURATION_LIMIT_1 = 1, + IOPRIO_HINT_DEV_DURATION_LIMIT_2 = 2, + IOPRIO_HINT_DEV_DURATION_LIMIT_3 = 3, + IOPRIO_HINT_DEV_DURATION_LIMIT_4 = 4, + IOPRIO_HINT_DEV_DURATION_LIMIT_5 = 5, + IOPRIO_HINT_DEV_DURATION_LIMIT_6 = 6, + IOPRIO_HINT_DEV_DURATION_LIMIT_7 = 7, +}; + +#define IOPRIO_BAD_VALUE(val, max) ((val) < 0 || (val) >= (max)) + +/* + * Return an I/O priority value based on a class, a level and a hint. + */ +static __always_inline __u16 ioprio_value(int prioclass, int priolevel, + int priohint) +{ + if (IOPRIO_BAD_VALUE(prioclass, IOPRIO_NR_CLASSES) || + IOPRIO_BAD_VALUE(priolevel, IOPRIO_NR_LEVELS) || + IOPRIO_BAD_VALUE(priohint, IOPRIO_NR_HINTS)) + return IOPRIO_CLASS_INVALID << IOPRIO_CLASS_SHIFT; + + return (prioclass << IOPRIO_CLASS_SHIFT) | + (priohint << IOPRIO_HINT_SHIFT) | priolevel; +} + +#define IOPRIO_PRIO_VALUE(prioclass, priolevel) \ + ioprio_value(prioclass, priolevel, IOPRIO_HINT_NONE) +#define IOPRIO_PRIO_VALUE_HINT(prioclass, priolevel, priohint) \ + ioprio_value(prioclass, priolevel, priohint) + #endif /* _LINUX_IOPRIO_H */ diff --git a/contrib/libs/linux-headers/linux/ipv6.h b/contrib/libs/linux-headers/linux/ipv6.h index fcf05a67b8..4724bbb2b7 100644 --- a/contrib/libs/linux-headers/linux/ipv6.h +++ b/contrib/libs/linux-headers/linux/ipv6.h @@ -198,6 +198,7 @@ enum { DEVCONF_IOAM6_ID_WIDE, DEVCONF_NDISC_EVICT_NOCARRIER, DEVCONF_ACCEPT_UNTRACKED_NA, + DEVCONF_ACCEPT_RA_MIN_LFT, DEVCONF_MAX }; diff --git a/contrib/libs/linux-headers/linux/kfd_ioctl.h b/contrib/libs/linux-headers/linux/kfd_ioctl.h index 2da5c3ad71..eeb2fdcbdc 100644 --- a/contrib/libs/linux-headers/linux/kfd_ioctl.h +++ b/contrib/libs/linux-headers/linux/kfd_ioctl.h @@ -38,9 +38,11 @@ * - 1.10 - Add SMI profiler event log * - 1.11 - Add unified memory for ctx save/restore area * - 1.12 - Add DMA buf export ioctl + * - 1.13 - Add debugger API + * - 1.14 - Update kfd_event_data */ #define KFD_IOCTL_MAJOR_VERSION 1 -#define KFD_IOCTL_MINOR_VERSION 12 +#define KFD_IOCTL_MINOR_VERSION 14 struct kfd_ioctl_get_version_args { __u32 major_version; /* from KFD */ @@ -110,6 +112,32 @@ struct kfd_ioctl_get_available_memory_args { __u32 pad; }; +struct kfd_dbg_device_info_entry { + __u64 exception_status; + __u64 lds_base; + __u64 lds_limit; + __u64 scratch_base; + __u64 scratch_limit; + __u64 gpuvm_base; + __u64 gpuvm_limit; + __u32 gpu_id; + __u32 location_id; + __u32 vendor_id; + __u32 device_id; + __u32 revision_id; + __u32 subsystem_vendor_id; + __u32 subsystem_device_id; + __u32 fw_version; + __u32 gfx_target_version; + __u32 simd_count; + __u32 max_waves_per_simd; + __u32 array_count; + __u32 simd_arrays_per_engine; + __u32 num_xcc; + __u32 capability; + __u32 debug_prop; +}; + /* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */ #define KFD_IOC_CACHE_POLICY_COHERENT 0 #define KFD_IOC_CACHE_POLICY_NONCOHERENT 1 @@ -293,12 +321,20 @@ struct kfd_hsa_hw_exception_data { __u32 gpu_id; }; +/* hsa signal event data */ +struct kfd_hsa_signal_event_data { + __u64 last_event_age; /* to and from KFD */ +}; + /* Event data */ struct kfd_event_data { union { + /* From KFD */ struct kfd_hsa_memory_exception_data memory_exception_data; struct kfd_hsa_hw_exception_data hw_exception_data; - }; /* From KFD */ + /* To and From KFD */ + struct kfd_hsa_signal_event_data signal_event_data; + }; __u64 kfd_event_data_ext; /* pointer to an extension structure for future exception types */ __u32 event_id; /* to KFD */ @@ -773,6 +809,640 @@ struct kfd_ioctl_set_xnack_mode_args { __s32 xnack_enabled; }; +/* Wave launch override modes */ +enum kfd_dbg_trap_override_mode { + KFD_DBG_TRAP_OVERRIDE_OR = 0, + KFD_DBG_TRAP_OVERRIDE_REPLACE = 1 +}; + +/* Wave launch overrides */ +enum kfd_dbg_trap_mask { + KFD_DBG_TRAP_MASK_FP_INVALID = 1, + KFD_DBG_TRAP_MASK_FP_INPUT_DENORMAL = 2, + KFD_DBG_TRAP_MASK_FP_DIVIDE_BY_ZERO = 4, + KFD_DBG_TRAP_MASK_FP_OVERFLOW = 8, + KFD_DBG_TRAP_MASK_FP_UNDERFLOW = 16, + KFD_DBG_TRAP_MASK_FP_INEXACT = 32, + KFD_DBG_TRAP_MASK_INT_DIVIDE_BY_ZERO = 64, + KFD_DBG_TRAP_MASK_DBG_ADDRESS_WATCH = 128, + KFD_DBG_TRAP_MASK_DBG_MEMORY_VIOLATION = 256, + KFD_DBG_TRAP_MASK_TRAP_ON_WAVE_START = (1 << 30), + KFD_DBG_TRAP_MASK_TRAP_ON_WAVE_END = (1 << 31) +}; + +/* Wave launch modes */ +enum kfd_dbg_trap_wave_launch_mode { + KFD_DBG_TRAP_WAVE_LAUNCH_MODE_NORMAL = 0, + KFD_DBG_TRAP_WAVE_LAUNCH_MODE_HALT = 1, + KFD_DBG_TRAP_WAVE_LAUNCH_MODE_DEBUG = 3 +}; + +/* Address watch modes */ +enum kfd_dbg_trap_address_watch_mode { + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_READ = 0, + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_NONREAD = 1, + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_ATOMIC = 2, + KFD_DBG_TRAP_ADDRESS_WATCH_MODE_ALL = 3 +}; + +/* Additional wave settings */ +enum kfd_dbg_trap_flags { + KFD_DBG_TRAP_FLAG_SINGLE_MEM_OP = 1, +}; + +/* Trap exceptions */ +enum kfd_dbg_trap_exception_code { + EC_NONE = 0, + /* per queue */ + EC_QUEUE_WAVE_ABORT = 1, + EC_QUEUE_WAVE_TRAP = 2, + EC_QUEUE_WAVE_MATH_ERROR = 3, + EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION = 4, + EC_QUEUE_WAVE_MEMORY_VIOLATION = 5, + EC_QUEUE_WAVE_APERTURE_VIOLATION = 6, + EC_QUEUE_PACKET_DISPATCH_DIM_INVALID = 16, + EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID = 17, + EC_QUEUE_PACKET_DISPATCH_CODE_INVALID = 18, + EC_QUEUE_PACKET_RESERVED = 19, + EC_QUEUE_PACKET_UNSUPPORTED = 20, + EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID = 21, + EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID = 22, + EC_QUEUE_PACKET_VENDOR_UNSUPPORTED = 23, + EC_QUEUE_PREEMPTION_ERROR = 30, + EC_QUEUE_NEW = 31, + /* per device */ + EC_DEVICE_QUEUE_DELETE = 32, + EC_DEVICE_MEMORY_VIOLATION = 33, + EC_DEVICE_RAS_ERROR = 34, + EC_DEVICE_FATAL_HALT = 35, + EC_DEVICE_NEW = 36, + /* per process */ + EC_PROCESS_RUNTIME = 48, + EC_PROCESS_DEVICE_REMOVE = 49, + EC_MAX +}; + +/* Mask generated by ecode in kfd_dbg_trap_exception_code */ +#define KFD_EC_MASK(ecode) (1ULL << (ecode - 1)) + +/* Masks for exception code type checks below */ +#define KFD_EC_MASK_QUEUE (KFD_EC_MASK(EC_QUEUE_WAVE_ABORT) | \ + KFD_EC_MASK(EC_QUEUE_WAVE_TRAP) | \ + KFD_EC_MASK(EC_QUEUE_WAVE_MATH_ERROR) | \ + KFD_EC_MASK(EC_QUEUE_WAVE_ILLEGAL_INSTRUCTION) | \ + KFD_EC_MASK(EC_QUEUE_WAVE_MEMORY_VIOLATION) | \ + KFD_EC_MASK(EC_QUEUE_WAVE_APERTURE_VIOLATION) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_DIM_INVALID) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_GROUP_SEGMENT_SIZE_INVALID) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_CODE_INVALID) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_RESERVED) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_UNSUPPORTED) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_WORK_GROUP_SIZE_INVALID) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_DISPATCH_REGISTER_INVALID) | \ + KFD_EC_MASK(EC_QUEUE_PACKET_VENDOR_UNSUPPORTED) | \ + KFD_EC_MASK(EC_QUEUE_PREEMPTION_ERROR) | \ + KFD_EC_MASK(EC_QUEUE_NEW)) +#define KFD_EC_MASK_DEVICE (KFD_EC_MASK(EC_DEVICE_QUEUE_DELETE) | \ + KFD_EC_MASK(EC_DEVICE_RAS_ERROR) | \ + KFD_EC_MASK(EC_DEVICE_FATAL_HALT) | \ + KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION) | \ + KFD_EC_MASK(EC_DEVICE_NEW)) +#define KFD_EC_MASK_PROCESS (KFD_EC_MASK(EC_PROCESS_RUNTIME) | \ + KFD_EC_MASK(EC_PROCESS_DEVICE_REMOVE)) + +/* Checks for exception code types for KFD search */ +#define KFD_DBG_EC_TYPE_IS_QUEUE(ecode) \ + (!!(KFD_EC_MASK(ecode) & KFD_EC_MASK_QUEUE)) +#define KFD_DBG_EC_TYPE_IS_DEVICE(ecode) \ + (!!(KFD_EC_MASK(ecode) & KFD_EC_MASK_DEVICE)) +#define KFD_DBG_EC_TYPE_IS_PROCESS(ecode) \ + (!!(KFD_EC_MASK(ecode) & KFD_EC_MASK_PROCESS)) + + +/* Runtime enable states */ +enum kfd_dbg_runtime_state { + DEBUG_RUNTIME_STATE_DISABLED = 0, + DEBUG_RUNTIME_STATE_ENABLED = 1, + DEBUG_RUNTIME_STATE_ENABLED_BUSY = 2, + DEBUG_RUNTIME_STATE_ENABLED_ERROR = 3 +}; + +/* Runtime enable status */ +struct kfd_runtime_info { + __u64 r_debug; + __u32 runtime_state; + __u32 ttmp_setup; +}; + +/* Enable modes for runtime enable */ +#define KFD_RUNTIME_ENABLE_MODE_ENABLE_MASK 1 +#define KFD_RUNTIME_ENABLE_MODE_TTMP_SAVE_MASK 2 + +/** + * kfd_ioctl_runtime_enable_args - Arguments for runtime enable + * + * Coordinates debug exception signalling and debug device enablement with runtime. + * + * @r_debug - pointer to user struct for sharing information between ROCr and the debuggger + * @mode_mask - mask to set mode + * KFD_RUNTIME_ENABLE_MODE_ENABLE_MASK - enable runtime for debugging, otherwise disable + * KFD_RUNTIME_ENABLE_MODE_TTMP_SAVE_MASK - enable trap temporary setup (ignore on disable) + * @capabilities_mask - mask to notify runtime on what KFD supports + * + * Return - 0 on SUCCESS. + * - EBUSY if runtime enable call already pending. + * - EEXIST if user queues already active prior to call. + * If process is debug enabled, runtime enable will enable debug devices and + * wait for debugger process to send runtime exception EC_PROCESS_RUNTIME + * to unblock - see kfd_ioctl_dbg_trap_args. + * + */ +struct kfd_ioctl_runtime_enable_args { + __u64 r_debug; + __u32 mode_mask; + __u32 capabilities_mask; +}; + +/* Queue information */ +struct kfd_queue_snapshot_entry { + __u64 exception_status; + __u64 ring_base_address; + __u64 write_pointer_address; + __u64 read_pointer_address; + __u64 ctx_save_restore_address; + __u32 queue_id; + __u32 gpu_id; + __u32 ring_size; + __u32 queue_type; + __u32 ctx_save_restore_area_size; + __u32 reserved; +}; + +/* Queue status return for suspend/resume */ +#define KFD_DBG_QUEUE_ERROR_BIT 30 +#define KFD_DBG_QUEUE_INVALID_BIT 31 +#define KFD_DBG_QUEUE_ERROR_MASK (1 << KFD_DBG_QUEUE_ERROR_BIT) +#define KFD_DBG_QUEUE_INVALID_MASK (1 << KFD_DBG_QUEUE_INVALID_BIT) + +/* Context save area header information */ +struct kfd_context_save_area_header { + struct { + __u32 control_stack_offset; + __u32 control_stack_size; + __u32 wave_state_offset; + __u32 wave_state_size; + } wave_state; + __u32 debug_offset; + __u32 debug_size; + __u64 err_payload_addr; + __u32 err_event_id; + __u32 reserved1; +}; + +/* + * Debug operations + * + * For specifics on usage and return values, see documentation per operation + * below. Otherwise, generic error returns apply: + * - ESRCH if the process to debug does not exist. + * + * - EINVAL (with KFD_IOC_DBG_TRAP_ENABLE exempt) if operation + * KFD_IOC_DBG_TRAP_ENABLE has not succeeded prior. + * Also returns this error if GPU hardware scheduling is not supported. + * + * - EPERM (with KFD_IOC_DBG_TRAP_DISABLE exempt) if target process is not + * PTRACE_ATTACHED. KFD_IOC_DBG_TRAP_DISABLE is exempt to allow + * clean up of debug mode as long as process is debug enabled. + * + * - EACCES if any DBG_HW_OP (debug hardware operation) is requested when + * AMDKFD_IOC_RUNTIME_ENABLE has not succeeded prior. + * + * - ENODEV if any GPU does not support debugging on a DBG_HW_OP call. + * + * - Other errors may be returned when a DBG_HW_OP occurs while the GPU + * is in a fatal state. + * + */ +enum kfd_dbg_trap_operations { + KFD_IOC_DBG_TRAP_ENABLE = 0, + KFD_IOC_DBG_TRAP_DISABLE = 1, + KFD_IOC_DBG_TRAP_SEND_RUNTIME_EVENT = 2, + KFD_IOC_DBG_TRAP_SET_EXCEPTIONS_ENABLED = 3, + KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_OVERRIDE = 4, /* DBG_HW_OP */ + KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_MODE = 5, /* DBG_HW_OP */ + KFD_IOC_DBG_TRAP_SUSPEND_QUEUES = 6, /* DBG_HW_OP */ + KFD_IOC_DBG_TRAP_RESUME_QUEUES = 7, /* DBG_HW_OP */ + KFD_IOC_DBG_TRAP_SET_NODE_ADDRESS_WATCH = 8, /* DBG_HW_OP */ + KFD_IOC_DBG_TRAP_CLEAR_NODE_ADDRESS_WATCH = 9, /* DBG_HW_OP */ + KFD_IOC_DBG_TRAP_SET_FLAGS = 10, + KFD_IOC_DBG_TRAP_QUERY_DEBUG_EVENT = 11, + KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO = 12, + KFD_IOC_DBG_TRAP_GET_QUEUE_SNAPSHOT = 13, + KFD_IOC_DBG_TRAP_GET_DEVICE_SNAPSHOT = 14 +}; + +/** + * kfd_ioctl_dbg_trap_enable_args + * + * Arguments for KFD_IOC_DBG_TRAP_ENABLE. + * + * Enables debug session for target process. Call @op KFD_IOC_DBG_TRAP_DISABLE in + * kfd_ioctl_dbg_trap_args to disable debug session. + * + * @exception_mask (IN) - exceptions to raise to the debugger + * @rinfo_ptr (IN) - pointer to runtime info buffer (see kfd_runtime_info) + * @rinfo_size (IN/OUT) - size of runtime info buffer in bytes + * @dbg_fd (IN) - fd the KFD will nofify the debugger with of raised + * exceptions set in exception_mask. + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * Copies KFD saved kfd_runtime_info to @rinfo_ptr on enable. + * Size of kfd_runtime saved by the KFD returned to @rinfo_size. + * - EBADF if KFD cannot get a reference to dbg_fd. + * - EFAULT if KFD cannot copy runtime info to rinfo_ptr. + * - EINVAL if target process is already debug enabled. + * + */ +struct kfd_ioctl_dbg_trap_enable_args { + __u64 exception_mask; + __u64 rinfo_ptr; + __u32 rinfo_size; + __u32 dbg_fd; +}; + +/** + * kfd_ioctl_dbg_trap_send_runtime_event_args + * + * + * Arguments for KFD_IOC_DBG_TRAP_SEND_RUNTIME_EVENT. + * Raises exceptions to runtime. + * + * @exception_mask (IN) - exceptions to raise to runtime + * @gpu_id (IN) - target device id + * @queue_id (IN) - target queue id + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * - ENODEV if gpu_id not found. + * If exception_mask contains EC_PROCESS_RUNTIME, unblocks pending + * AMDKFD_IOC_RUNTIME_ENABLE call - see kfd_ioctl_runtime_enable_args. + * All other exceptions are raised to runtime through err_payload_addr. + * See kfd_context_save_area_header. + */ +struct kfd_ioctl_dbg_trap_send_runtime_event_args { + __u64 exception_mask; + __u32 gpu_id; + __u32 queue_id; +}; + +/** + * kfd_ioctl_dbg_trap_set_exceptions_enabled_args + * + * Arguments for KFD_IOC_SET_EXCEPTIONS_ENABLED + * Set new exceptions to be raised to the debugger. + * + * @exception_mask (IN) - new exceptions to raise the debugger + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + */ +struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args { + __u64 exception_mask; +}; + +/** + * kfd_ioctl_dbg_trap_set_wave_launch_override_args + * + * Arguments for KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_OVERRIDE + * Enable HW exceptions to raise trap. + * + * @override_mode (IN) - see kfd_dbg_trap_override_mode + * @enable_mask (IN/OUT) - reference kfd_dbg_trap_mask. + * IN is the override modes requested to be enabled. + * OUT is referenced in Return below. + * @support_request_mask (IN/OUT) - reference kfd_dbg_trap_mask. + * IN is the override modes requested for support check. + * OUT is referenced in Return below. + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * Previous enablement is returned in @enable_mask. + * Actual override support is returned in @support_request_mask. + * - EINVAL if override mode is not supported. + * - EACCES if trap support requested is not actually supported. + * i.e. enable_mask (IN) is not a subset of support_request_mask (OUT). + * Otherwise it is considered a generic error (see kfd_dbg_trap_operations). + */ +struct kfd_ioctl_dbg_trap_set_wave_launch_override_args { + __u32 override_mode; + __u32 enable_mask; + __u32 support_request_mask; + __u32 pad; +}; + +/** + * kfd_ioctl_dbg_trap_set_wave_launch_mode_args + * + * Arguments for KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_MODE + * Set wave launch mode. + * + * @mode (IN) - see kfd_dbg_trap_wave_launch_mode + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + */ +struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args { + __u32 launch_mode; + __u32 pad; +}; + +/** + * kfd_ioctl_dbg_trap_suspend_queues_ags + * + * Arguments for KFD_IOC_DBG_TRAP_SUSPEND_QUEUES + * Suspend queues. + * + * @exception_mask (IN) - raised exceptions to clear + * @queue_array_ptr (IN) - pointer to array of queue ids (u32 per queue id) + * to suspend + * @num_queues (IN) - number of queues to suspend in @queue_array_ptr + * @grace_period (IN) - wave time allowance before preemption + * per 1K GPU clock cycle unit + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Destruction of a suspended queue is blocked until the queue is + * resumed. This allows the debugger to access queue information and + * the its context save area without running into a race condition on + * queue destruction. + * Automatically copies per queue context save area header information + * into the save area base + * (see kfd_queue_snapshot_entry and kfd_context_save_area_header). + * + * Return - Number of queues suspended on SUCCESS. + * . KFD_DBG_QUEUE_ERROR_MASK and KFD_DBG_QUEUE_INVALID_MASK masked + * for each queue id in @queue_array_ptr array reports unsuccessful + * suspend reason. + * KFD_DBG_QUEUE_ERROR_MASK = HW failure. + * KFD_DBG_QUEUE_INVALID_MASK = queue does not exist, is new or + * is being destroyed. + */ +struct kfd_ioctl_dbg_trap_suspend_queues_args { + __u64 exception_mask; + __u64 queue_array_ptr; + __u32 num_queues; + __u32 grace_period; +}; + +/** + * kfd_ioctl_dbg_trap_resume_queues_args + * + * Arguments for KFD_IOC_DBG_TRAP_RESUME_QUEUES + * Resume queues. + * + * @queue_array_ptr (IN) - pointer to array of queue ids (u32 per queue id) + * to resume + * @num_queues (IN) - number of queues to resume in @queue_array_ptr + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - Number of queues resumed on SUCCESS. + * KFD_DBG_QUEUE_ERROR_MASK and KFD_DBG_QUEUE_INVALID_MASK mask + * for each queue id in @queue_array_ptr array reports unsuccessful + * resume reason. + * KFD_DBG_QUEUE_ERROR_MASK = HW failure. + * KFD_DBG_QUEUE_INVALID_MASK = queue does not exist. + */ +struct kfd_ioctl_dbg_trap_resume_queues_args { + __u64 queue_array_ptr; + __u32 num_queues; + __u32 pad; +}; + +/** + * kfd_ioctl_dbg_trap_set_node_address_watch_args + * + * Arguments for KFD_IOC_DBG_TRAP_SET_NODE_ADDRESS_WATCH + * Sets address watch for device. + * + * @address (IN) - watch address to set + * @mode (IN) - see kfd_dbg_trap_address_watch_mode + * @mask (IN) - watch address mask + * @gpu_id (IN) - target gpu to set watch point + * @id (OUT) - watch id allocated + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * Allocated watch ID returned to @id. + * - ENODEV if gpu_id not found. + * - ENOMEM if watch IDs can be allocated + */ +struct kfd_ioctl_dbg_trap_set_node_address_watch_args { + __u64 address; + __u32 mode; + __u32 mask; + __u32 gpu_id; + __u32 id; +}; + +/** + * kfd_ioctl_dbg_trap_clear_node_address_watch_args + * + * Arguments for KFD_IOC_DBG_TRAP_CLEAR_NODE_ADDRESS_WATCH + * Clear address watch for device. + * + * @gpu_id (IN) - target device to clear watch point + * @id (IN) - allocated watch id to clear + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * - ENODEV if gpu_id not found. + * - EINVAL if watch ID has not been allocated. + */ +struct kfd_ioctl_dbg_trap_clear_node_address_watch_args { + __u32 gpu_id; + __u32 id; +}; + +/** + * kfd_ioctl_dbg_trap_set_flags_args + * + * Arguments for KFD_IOC_DBG_TRAP_SET_FLAGS + * Sets flags for wave behaviour. + * + * @flags (IN/OUT) - IN = flags to enable, OUT = flags previously enabled + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * - EACCESS if any debug device does not allow flag options. + */ +struct kfd_ioctl_dbg_trap_set_flags_args { + __u32 flags; + __u32 pad; +}; + +/** + * kfd_ioctl_dbg_trap_query_debug_event_args + * + * Arguments for KFD_IOC_DBG_TRAP_QUERY_DEBUG_EVENT + * + * Find one or more raised exceptions. This function can return multiple + * exceptions from a single queue or a single device with one call. To find + * all raised exceptions, this function must be called repeatedly until it + * returns -EAGAIN. Returned exceptions can optionally be cleared by + * setting the corresponding bit in the @exception_mask input parameter. + * However, clearing an exception prevents retrieving further information + * about it with KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO. + * + * @exception_mask (IN/OUT) - exception to clear (IN) and raised (OUT) + * @gpu_id (OUT) - gpu id of exceptions raised + * @queue_id (OUT) - queue id of exceptions raised + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on raised exception found + * Raised exceptions found are returned in @exception mask + * with reported source id returned in @gpu_id or @queue_id. + * - EAGAIN if no raised exception has been found + */ +struct kfd_ioctl_dbg_trap_query_debug_event_args { + __u64 exception_mask; + __u32 gpu_id; + __u32 queue_id; +}; + +/** + * kfd_ioctl_dbg_trap_query_exception_info_args + * + * Arguments KFD_IOC_DBG_TRAP_QUERY_EXCEPTION_INFO + * Get additional info on raised exception. + * + * @info_ptr (IN) - pointer to exception info buffer to copy to + * @info_size (IN/OUT) - exception info buffer size (bytes) + * @source_id (IN) - target gpu or queue id + * @exception_code (IN) - target exception + * @clear_exception (IN) - clear raised @exception_code exception + * (0 = false, 1 = true) + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * If @exception_code is EC_DEVICE_MEMORY_VIOLATION, copy @info_size(OUT) + * bytes of memory exception data to @info_ptr. + * If @exception_code is EC_PROCESS_RUNTIME, copy saved + * kfd_runtime_info to @info_ptr. + * Actual required @info_ptr size (bytes) is returned in @info_size. + */ +struct kfd_ioctl_dbg_trap_query_exception_info_args { + __u64 info_ptr; + __u32 info_size; + __u32 source_id; + __u32 exception_code; + __u32 clear_exception; +}; + +/** + * kfd_ioctl_dbg_trap_get_queue_snapshot_args + * + * Arguments KFD_IOC_DBG_TRAP_GET_QUEUE_SNAPSHOT + * Get queue information. + * + * @exception_mask (IN) - exceptions raised to clear + * @snapshot_buf_ptr (IN) - queue snapshot entry buffer (see kfd_queue_snapshot_entry) + * @num_queues (IN/OUT) - number of queue snapshot entries + * The debugger specifies the size of the array allocated in @num_queues. + * KFD returns the number of queues that actually existed. If this is + * larger than the size specified by the debugger, KFD will not overflow + * the array allocated by the debugger. + * + * @entry_size (IN/OUT) - size per entry in bytes + * The debugger specifies sizeof(struct kfd_queue_snapshot_entry) in + * @entry_size. KFD returns the number of bytes actually populated per + * entry. The debugger should use the KFD_IOCTL_MINOR_VERSION to determine, + * which fields in struct kfd_queue_snapshot_entry are valid. This allows + * growing the ABI in a backwards compatible manner. + * Note that entry_size(IN) should still be used to stride the snapshot buffer in the + * event that it's larger than actual kfd_queue_snapshot_entry. + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * Copies @num_queues(IN) queue snapshot entries of size @entry_size(IN) + * into @snapshot_buf_ptr if @num_queues(IN) > 0. + * Otherwise return @num_queues(OUT) queue snapshot entries that exist. + */ +struct kfd_ioctl_dbg_trap_queue_snapshot_args { + __u64 exception_mask; + __u64 snapshot_buf_ptr; + __u32 num_queues; + __u32 entry_size; +}; + +/** + * kfd_ioctl_dbg_trap_get_device_snapshot_args + * + * Arguments for KFD_IOC_DBG_TRAP_GET_DEVICE_SNAPSHOT + * Get device information. + * + * @exception_mask (IN) - exceptions raised to clear + * @snapshot_buf_ptr (IN) - pointer to snapshot buffer (see kfd_dbg_device_info_entry) + * @num_devices (IN/OUT) - number of debug devices to snapshot + * The debugger specifies the size of the array allocated in @num_devices. + * KFD returns the number of devices that actually existed. If this is + * larger than the size specified by the debugger, KFD will not overflow + * the array allocated by the debugger. + * + * @entry_size (IN/OUT) - size per entry in bytes + * The debugger specifies sizeof(struct kfd_dbg_device_info_entry) in + * @entry_size. KFD returns the number of bytes actually populated. The + * debugger should use KFD_IOCTL_MINOR_VERSION to determine, which fields + * in struct kfd_dbg_device_info_entry are valid. This allows growing the + * ABI in a backwards compatible manner. + * Note that entry_size(IN) should still be used to stride the snapshot buffer in the + * event that it's larger than actual kfd_dbg_device_info_entry. + * + * Generic errors apply (see kfd_dbg_trap_operations). + * Return - 0 on SUCCESS. + * Copies @num_devices(IN) device snapshot entries of size @entry_size(IN) + * into @snapshot_buf_ptr if @num_devices(IN) > 0. + * Otherwise return @num_devices(OUT) queue snapshot entries that exist. + */ +struct kfd_ioctl_dbg_trap_device_snapshot_args { + __u64 exception_mask; + __u64 snapshot_buf_ptr; + __u32 num_devices; + __u32 entry_size; +}; + +/** + * kfd_ioctl_dbg_trap_args + * + * Arguments to debug target process. + * + * @pid - target process to debug + * @op - debug operation (see kfd_dbg_trap_operations) + * + * @op determines which union struct args to use. + * Refer to kern docs for each kfd_ioctl_dbg_trap_*_args struct. + */ +struct kfd_ioctl_dbg_trap_args { + __u32 pid; + __u32 op; + + union { + struct kfd_ioctl_dbg_trap_enable_args enable; + struct kfd_ioctl_dbg_trap_send_runtime_event_args send_runtime_event; + struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args set_exceptions_enabled; + struct kfd_ioctl_dbg_trap_set_wave_launch_override_args launch_override; + struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args launch_mode; + struct kfd_ioctl_dbg_trap_suspend_queues_args suspend_queues; + struct kfd_ioctl_dbg_trap_resume_queues_args resume_queues; + struct kfd_ioctl_dbg_trap_set_node_address_watch_args set_node_address_watch; + struct kfd_ioctl_dbg_trap_clear_node_address_watch_args clear_node_address_watch; + struct kfd_ioctl_dbg_trap_set_flags_args set_flags; + struct kfd_ioctl_dbg_trap_query_debug_event_args query_debug_event; + struct kfd_ioctl_dbg_trap_query_exception_info_args query_exception_info; + struct kfd_ioctl_dbg_trap_queue_snapshot_args queue_snapshot; + struct kfd_ioctl_dbg_trap_device_snapshot_args device_snapshot; + }; +}; + #define AMDKFD_IOCTL_BASE 'K' #define AMDKFD_IO(nr) _IO(AMDKFD_IOCTL_BASE, nr) #define AMDKFD_IOR(nr, type) _IOR(AMDKFD_IOCTL_BASE, nr, type) @@ -887,7 +1557,13 @@ struct kfd_ioctl_set_xnack_mode_args { #define AMDKFD_IOC_EXPORT_DMABUF \ AMDKFD_IOWR(0x24, struct kfd_ioctl_export_dmabuf_args) +#define AMDKFD_IOC_RUNTIME_ENABLE \ + AMDKFD_IOWR(0x25, struct kfd_ioctl_runtime_enable_args) + +#define AMDKFD_IOC_DBG_TRAP \ + AMDKFD_IOWR(0x26, struct kfd_ioctl_dbg_trap_args) + #define AMDKFD_COMMAND_START 0x01 -#define AMDKFD_COMMAND_END 0x25 +#define AMDKFD_COMMAND_END 0x27 #endif diff --git a/contrib/libs/linux-headers/linux/kfd_sysfs.h b/contrib/libs/linux-headers/linux/kfd_sysfs.h index 3e330f3689..a51b7331e0 100644 --- a/contrib/libs/linux-headers/linux/kfd_sysfs.h +++ b/contrib/libs/linux-headers/linux/kfd_sysfs.h @@ -43,6 +43,11 @@ #define HSA_CAP_DOORBELL_TYPE_2_0 0x2 #define HSA_CAP_AQL_QUEUE_DOUBLE_MAP 0x00004000 +#define HSA_CAP_TRAP_DEBUG_SUPPORT 0x00008000 +#define HSA_CAP_TRAP_DEBUG_WAVE_LAUNCH_TRAP_OVERRIDE_SUPPORTED 0x00010000 +#define HSA_CAP_TRAP_DEBUG_WAVE_LAUNCH_MODE_SUPPORTED 0x00020000 +#define HSA_CAP_TRAP_DEBUG_PRECISE_MEMORY_OPERATIONS_SUPPORTED 0x00040000 + /* Old buggy user mode depends on this being 0 */ #define HSA_CAP_RESERVED_WAS_SRAM_EDCSUPPORTED 0x00080000 @@ -53,8 +58,18 @@ #define HSA_CAP_SRAM_EDCSUPPORTED 0x04000000 #define HSA_CAP_SVMAPI_SUPPORTED 0x08000000 #define HSA_CAP_FLAGS_COHERENTHOSTACCESS 0x10000000 +#define HSA_CAP_TRAP_DEBUG_FIRMWARE_SUPPORTED 0x20000000 #define HSA_CAP_RESERVED 0xe00f8000 +/* debug_prop bits in node properties */ +#define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_MASK 0x0000000f +#define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_SHIFT 0 +#define HSA_DBG_WATCH_ADDR_MASK_HI_BIT_MASK 0x000003f0 +#define HSA_DBG_WATCH_ADDR_MASK_HI_BIT_SHIFT 4 +#define HSA_DBG_DISPATCH_INFO_ALWAYS_VALID 0x00000400 +#define HSA_DBG_WATCHPOINTS_EXCLUSIVE 0x00000800 +#define HSA_DBG_RESERVED 0xfffffffffffff000ull + /* Heap types in memory properties */ #define HSA_MEM_HEAP_TYPE_SYSTEM 0 #define HSA_MEM_HEAP_TYPE_FB_PUBLIC 1 diff --git a/contrib/libs/linux-headers/linux/kvm_arm64.h b/contrib/libs/linux-headers/linux/kvm_arm64.h index 65b145b317..1f3f3333a4 100644 --- a/contrib/libs/linux-headers/linux/kvm_arm64.h +++ b/contrib/libs/linux-headers/linux/kvm_arm64.h @@ -1186,6 +1186,8 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP 225 #define KVM_CAP_PMU_EVENT_MASKED_EVENTS 226 #define KVM_CAP_COUNTER_OFFSET 227 +#define KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE 228 +#define KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES 229 #ifdef KVM_CAP_IRQ_ROUTING @@ -1438,6 +1440,8 @@ enum kvm_device_type { #define KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_ARM_PV_TIME, #define KVM_DEV_TYPE_ARM_PV_TIME KVM_DEV_TYPE_ARM_PV_TIME + KVM_DEV_TYPE_RISCV_AIA, +#define KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_MAX, }; @@ -1609,7 +1613,7 @@ struct kvm_s390_ucas_mapping { #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs) #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs) /* - * vcpu version available with KVM_ENABLE_CAP + * vcpu version available with KVM_CAP_ENABLE_CAP * vm version available with KVM_CAP_ENABLE_CAP_VM */ #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap) diff --git a/contrib/libs/linux-headers/linux/kvm_powerpc.h b/contrib/libs/linux-headers/linux/kvm_powerpc.h index 65b145b317..1f3f3333a4 100644 --- a/contrib/libs/linux-headers/linux/kvm_powerpc.h +++ b/contrib/libs/linux-headers/linux/kvm_powerpc.h @@ -1186,6 +1186,8 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP 225 #define KVM_CAP_PMU_EVENT_MASKED_EVENTS 226 #define KVM_CAP_COUNTER_OFFSET 227 +#define KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE 228 +#define KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES 229 #ifdef KVM_CAP_IRQ_ROUTING @@ -1438,6 +1440,8 @@ enum kvm_device_type { #define KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_ARM_PV_TIME, #define KVM_DEV_TYPE_ARM_PV_TIME KVM_DEV_TYPE_ARM_PV_TIME + KVM_DEV_TYPE_RISCV_AIA, +#define KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_MAX, }; @@ -1609,7 +1613,7 @@ struct kvm_s390_ucas_mapping { #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs) #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs) /* - * vcpu version available with KVM_ENABLE_CAP + * vcpu version available with KVM_CAP_ENABLE_CAP * vm version available with KVM_CAP_ENABLE_CAP_VM */ #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap) diff --git a/contrib/libs/linux-headers/linux/kvm_x86.h b/contrib/libs/linux-headers/linux/kvm_x86.h index 65b145b317..1f3f3333a4 100644 --- a/contrib/libs/linux-headers/linux/kvm_x86.h +++ b/contrib/libs/linux-headers/linux/kvm_x86.h @@ -1186,6 +1186,8 @@ struct kvm_ppc_resize_hpt { #define KVM_CAP_DIRTY_LOG_RING_WITH_BITMAP 225 #define KVM_CAP_PMU_EVENT_MASKED_EVENTS 226 #define KVM_CAP_COUNTER_OFFSET 227 +#define KVM_CAP_ARM_EAGER_SPLIT_CHUNK_SIZE 228 +#define KVM_CAP_ARM_SUPPORTED_BLOCK_SIZES 229 #ifdef KVM_CAP_IRQ_ROUTING @@ -1438,6 +1440,8 @@ enum kvm_device_type { #define KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_XIVE KVM_DEV_TYPE_ARM_PV_TIME, #define KVM_DEV_TYPE_ARM_PV_TIME KVM_DEV_TYPE_ARM_PV_TIME + KVM_DEV_TYPE_RISCV_AIA, +#define KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_RISCV_AIA KVM_DEV_TYPE_MAX, }; @@ -1609,7 +1613,7 @@ struct kvm_s390_ucas_mapping { #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs) #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs) /* - * vcpu version available with KVM_ENABLE_CAP + * vcpu version available with KVM_CAP_ENABLE_CAP * vm version available with KVM_CAP_ENABLE_CAP_VM */ #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap) diff --git a/contrib/libs/linux-headers/linux/mdio.h b/contrib/libs/linux-headers/linux/mdio.h index f9afcd7a59..1178e90635 100644 --- a/contrib/libs/linux-headers/linux/mdio.h +++ b/contrib/libs/linux-headers/linux/mdio.h @@ -231,6 +231,30 @@ #define MDIO_PMA_EXTABLE_BT1 0x0800 /* BASE-T1 ability */ #define MDIO_PMA_EXTABLE_NBT 0x4000 /* 2.5/5GBASE-T ability */ +/* AN Clause 73 linkword */ +#define MDIO_AN_C73_0_S_MASK GENMASK(4, 0) +#define MDIO_AN_C73_0_E_MASK GENMASK(9, 5) +#define MDIO_AN_C73_0_PAUSE BIT(10) +#define MDIO_AN_C73_0_ASM_DIR BIT(11) +#define MDIO_AN_C73_0_C2 BIT(12) +#define MDIO_AN_C73_0_RF BIT(13) +#define MDIO_AN_C73_0_ACK BIT(14) +#define MDIO_AN_C73_0_NP BIT(15) +#define MDIO_AN_C73_1_T_MASK GENMASK(4, 0) +#define MDIO_AN_C73_1_1000BASE_KX BIT(5) +#define MDIO_AN_C73_1_10GBASE_KX4 BIT(6) +#define MDIO_AN_C73_1_10GBASE_KR BIT(7) +#define MDIO_AN_C73_1_40GBASE_KR4 BIT(8) +#define MDIO_AN_C73_1_40GBASE_CR4 BIT(9) +#define MDIO_AN_C73_1_100GBASE_CR10 BIT(10) +#define MDIO_AN_C73_1_100GBASE_KP4 BIT(11) +#define MDIO_AN_C73_1_100GBASE_KR4 BIT(12) +#define MDIO_AN_C73_1_100GBASE_CR4 BIT(13) +#define MDIO_AN_C73_1_25GBASE_R_S BIT(14) +#define MDIO_AN_C73_1_25GBASE_R BIT(15) +#define MDIO_AN_C73_2_2500BASE_KX BIT(0) +#define MDIO_AN_C73_2_5GBASE_KR BIT(1) + /* PHY XGXS lane state register. */ #define MDIO_PHYXS_LNSTAT_SYNC0 0x0001 #define MDIO_PHYXS_LNSTAT_SYNC1 0x0002 diff --git a/contrib/libs/linux-headers/linux/media.h b/contrib/libs/linux-headers/linux/media.h index e0da619eb5..b5a77bbf40 100644 --- a/contrib/libs/linux-headers/linux/media.h +++ b/contrib/libs/linux-headers/linux/media.h @@ -140,8 +140,8 @@ struct media_device_info { #define MEDIA_ENT_F_DV_ENCODER (MEDIA_ENT_F_BASE + 0x6002) /* Entity flags */ -#define MEDIA_ENT_FL_DEFAULT (1 << 0) -#define MEDIA_ENT_FL_CONNECTOR (1 << 1) +#define MEDIA_ENT_FL_DEFAULT (1U << 0) +#define MEDIA_ENT_FL_CONNECTOR (1U << 1) /* OR with the entity id value to find the next entity */ #define MEDIA_ENT_ID_FLAG_NEXT (1U << 31) @@ -203,9 +203,9 @@ struct media_entity_desc { }; }; -#define MEDIA_PAD_FL_SINK (1 << 0) -#define MEDIA_PAD_FL_SOURCE (1 << 1) -#define MEDIA_PAD_FL_MUST_CONNECT (1 << 2) +#define MEDIA_PAD_FL_SINK (1U << 0) +#define MEDIA_PAD_FL_SOURCE (1U << 1) +#define MEDIA_PAD_FL_MUST_CONNECT (1U << 2) struct media_pad_desc { __u32 entity; /* entity ID */ @@ -214,14 +214,14 @@ struct media_pad_desc { __u32 reserved[2]; }; -#define MEDIA_LNK_FL_ENABLED (1 << 0) -#define MEDIA_LNK_FL_IMMUTABLE (1 << 1) -#define MEDIA_LNK_FL_DYNAMIC (1 << 2) +#define MEDIA_LNK_FL_ENABLED (1U << 0) +#define MEDIA_LNK_FL_IMMUTABLE (1U << 1) +#define MEDIA_LNK_FL_DYNAMIC (1U << 2) #define MEDIA_LNK_FL_LINK_TYPE (0xf << 28) -# define MEDIA_LNK_FL_DATA_LINK (0 << 28) -# define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28) -# define MEDIA_LNK_FL_ANCILLARY_LINK (2 << 28) +# define MEDIA_LNK_FL_DATA_LINK (0U << 28) +# define MEDIA_LNK_FL_INTERFACE_LINK (1U << 28) +# define MEDIA_LNK_FL_ANCILLARY_LINK (2U << 28) struct media_link_desc { struct media_pad_desc source; @@ -276,7 +276,7 @@ struct media_links_enum { * struct media_device_info. */ #define MEDIA_V2_ENTITY_HAS_FLAGS(media_version) \ - ((media_version) >= ((4 << 16) | (19 << 8) | 0)) + ((media_version) >= ((4U << 16) | (19U << 8) | 0U)) struct media_v2_entity { __u32 id; @@ -311,7 +311,7 @@ struct media_v2_interface { * struct media_device_info. */ #define MEDIA_V2_PAD_HAS_INDEX(media_version) \ - ((media_version) >= ((4 << 16) | (19 << 8) | 0)) + ((media_version) >= ((4U << 16) | (19U << 8) | 0U)) struct media_v2_pad { __u32 id; @@ -414,7 +414,7 @@ struct media_v2_topology { #define MEDIA_INTF_T_ALSA_TIMER (MEDIA_INTF_T_ALSA_BASE + 7) /* Obsolete symbol for media_version, no longer used in the kernel */ -#define MEDIA_API_VERSION ((0 << 16) | (1 << 8) | 0) +#define MEDIA_API_VERSION ((0U << 16) | (1U << 8) | 0U) #endif /* __LINUX_MEDIA_H */ diff --git a/contrib/libs/linux-headers/linux/mman.h b/contrib/libs/linux-headers/linux/mman.h index 434986fbe3..4e8cb60780 100644 --- a/contrib/libs/linux-headers/linux/mman.h +++ b/contrib/libs/linux-headers/linux/mman.h @@ -4,6 +4,7 @@ #include <asm/mman.h> #include <asm-generic/hugetlb_encode.h> +#include <linux/types.h> #define MREMAP_MAYMOVE 1 #define MREMAP_FIXED 2 @@ -41,4 +42,17 @@ #define MAP_HUGE_2GB HUGETLB_FLAG_ENCODE_2GB #define MAP_HUGE_16GB HUGETLB_FLAG_ENCODE_16GB +struct cachestat_range { + __u64 off; + __u64 len; +}; + +struct cachestat { + __u64 nr_cache; + __u64 nr_dirty; + __u64 nr_writeback; + __u64 nr_evicted; + __u64 nr_recently_evicted; +}; + #endif /* _LINUX_MMAN_H */ diff --git a/contrib/libs/linux-headers/linux/mount.h b/contrib/libs/linux-headers/linux/mount.h index d2cef07fb3..56062aaa15 100644 --- a/contrib/libs/linux-headers/linux/mount.h +++ b/contrib/libs/linux-headers/linux/mount.h @@ -74,7 +74,8 @@ #define MOVE_MOUNT_T_AUTOMOUNTS 0x00000020 /* Follow automounts on to path */ #define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 /* Empty to path permitted */ #define MOVE_MOUNT_SET_GROUP 0x00000100 /* Set sharing group instead */ -#define MOVE_MOUNT__MASK 0x00000177 +#define MOVE_MOUNT_BENEATH 0x00000200 /* Mount beneath top mount */ +#define MOVE_MOUNT__MASK 0x00000377 /* * fsopen() flags. diff --git a/contrib/libs/linux-headers/linux/mptcp.h b/contrib/libs/linux-headers/linux/mptcp.h index 5e7e0553f6..159d32f04c 100644 --- a/contrib/libs/linux-headers/linux/mptcp.h +++ b/contrib/libs/linux-headers/linux/mptcp.h @@ -121,6 +121,11 @@ struct mptcp_info { __u8 mptcpi_local_addr_used; __u8 mptcpi_local_addr_max; __u8 mptcpi_csum_enabled; + __u32 mptcpi_retransmits; + __u64 mptcpi_bytes_retrans; + __u64 mptcpi_bytes_sent; + __u64 mptcpi_bytes_received; + __u64 mptcpi_bytes_acked; }; /* @@ -242,9 +247,33 @@ struct mptcp_subflow_addrs { }; }; +struct mptcp_subflow_info { + __u32 id; + struct mptcp_subflow_addrs addrs; +}; + +struct mptcp_full_info { + __u32 size_tcpinfo_kernel; /* must be 0, set by kernel */ + __u32 size_tcpinfo_user; + __u32 size_sfinfo_kernel; /* must be 0, set by kernel */ + __u32 size_sfinfo_user; + __u32 num_subflows; /* must be 0, set by kernel (real subflow count) */ + __u32 size_arrays_user; /* max subflows that userspace is interested in; + * the buffers at subflow_info/tcp_info + * are respectively at least: + * size_arrays * size_sfinfo_user + * size_arrays * size_tcpinfo_user + * bytes wide + */ + __aligned_u64 subflow_info; + __aligned_u64 tcp_info; + struct mptcp_info mptcp_info; +}; + /* MPTCP socket options */ #define MPTCP_INFO 1 #define MPTCP_TCPINFO 2 #define MPTCP_SUBFLOW_ADDRS 3 +#define MPTCP_FULL_INFO 4 #endif /* _MPTCP_H */ diff --git a/contrib/libs/linux-headers/linux/netfilter/nf_tables.h b/contrib/libs/linux-headers/linux/netfilter/nf_tables.h index c4d4d8e42d..8466c2a993 100644 --- a/contrib/libs/linux-headers/linux/netfilter/nf_tables.h +++ b/contrib/libs/linux-headers/linux/netfilter/nf_tables.h @@ -105,6 +105,7 @@ enum nft_verdicts { * @NFT_MSG_DESTROYSETELEM: destroy a set element (enum nft_set_elem_attributes) * @NFT_MSG_DESTROYOBJ: destroy a stateful object (enum nft_object_attributes) * @NFT_MSG_DESTROYFLOWTABLE: destroy flow table (enum nft_flowtable_attributes) + * @NFT_MSG_GETSETELEM_RESET: get set elements and reset attached stateful expressions (enum nft_set_elem_attributes) */ enum nf_tables_msg_types { NFT_MSG_NEWTABLE, @@ -140,6 +141,7 @@ enum nf_tables_msg_types { NFT_MSG_DESTROYSETELEM, NFT_MSG_DESTROYOBJ, NFT_MSG_DESTROYFLOWTABLE, + NFT_MSG_GETSETELEM_RESET, NFT_MSG_MAX, }; @@ -859,12 +861,14 @@ enum nft_exthdr_flags { * @NFT_EXTHDR_OP_TCP: match against tcp options * @NFT_EXTHDR_OP_IPV4: match against ipv4 options * @NFT_EXTHDR_OP_SCTP: match against sctp chunks + * @NFT_EXTHDR_OP_DCCP: match against dccp otions */ enum nft_exthdr_op { NFT_EXTHDR_OP_IPV6, NFT_EXTHDR_OP_TCPOPT, NFT_EXTHDR_OP_IPV4, NFT_EXTHDR_OP_SCTP, + NFT_EXTHDR_OP_DCCP, __NFT_EXTHDR_OP_MAX }; #define NFT_EXTHDR_OP_MAX (__NFT_EXTHDR_OP_MAX - 1) diff --git a/contrib/libs/linux-headers/linux/netfilter_bridge/ebtables.h b/contrib/libs/linux-headers/linux/netfilter_bridge/ebtables.h index d1c6b8f9f9..1e3545de44 100644 --- a/contrib/libs/linux-headers/linux/netfilter_bridge/ebtables.h +++ b/contrib/libs/linux-headers/linux/netfilter_bridge/ebtables.h @@ -182,12 +182,14 @@ struct ebt_entry { unsigned char sourcemsk[ETH_ALEN]; unsigned char destmac[ETH_ALEN]; unsigned char destmsk[ETH_ALEN]; - /* sizeof ebt_entry + matches */ - unsigned int watchers_offset; - /* sizeof ebt_entry + matches + watchers */ - unsigned int target_offset; - /* sizeof ebt_entry + matches + watchers + target */ - unsigned int next_offset; + __struct_group(/* no tag */, offsets, /* no attrs */, + /* sizeof ebt_entry + matches */ + unsigned int watchers_offset; + /* sizeof ebt_entry + matches + watchers */ + unsigned int target_offset; + /* sizeof ebt_entry + matches + watchers + target */ + unsigned int next_offset; + ); unsigned char elems[0] __attribute__ ((aligned (__alignof__(struct ebt_replace)))); }; diff --git a/contrib/libs/linux-headers/linux/nl80211.h b/contrib/libs/linux-headers/linux/nl80211.h index c59fec406d..88eb85c630 100644 --- a/contrib/libs/linux-headers/linux/nl80211.h +++ b/contrib/libs/linux-headers/linux/nl80211.h @@ -11,7 +11,7 @@ * Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com> * Copyright 2008 Colin McCabe <colin@cozybit.com> * Copyright 2015-2017 Intel Deutschland GmbH - * Copyright (C) 2018-2022 Intel Corporation + * Copyright (C) 2018-2023 Intel Corporation * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -1309,6 +1309,11 @@ * The number of peers that HW timestamping can be enabled for concurrently * is indicated by %NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS. * + * @NL80211_CMD_LINKS_REMOVED: Notify userspace about the removal of STA MLD + * setup links due to AP MLD removing the corresponding affiliated APs with + * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide + * information about the removed STA MLD setup links. + * * @NL80211_CMD_MAX: highest used command number * @__NL80211_CMD_AFTER_LAST: internal use */ @@ -1562,6 +1567,8 @@ enum nl80211_commands { NL80211_CMD_SET_HW_TIMESTAMP, + NL80211_CMD_LINKS_REMOVED, + /* add new commands above here */ /* used to define NL80211_CMD_MAX below */ @@ -2805,6 +2812,9 @@ enum nl80211_commands { * index. If the userspace includes more RNR elements than number of * MBSSID elements then these will be added in every EMA beacon. * + * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is + * disabled. + * * @NUM_NL80211_ATTR: total number of nl80211_attrs available * @NL80211_ATTR_MAX: highest attribute number currently defined * @__NL80211_ATTR_AFTER_LAST: internal use @@ -3341,6 +3351,8 @@ enum nl80211_attrs { NL80211_ATTR_EMA_RNR_ELEMS, + NL80211_ATTR_MLO_LINK_DISABLED, + /* add attributes here, update the policy in nl80211.c */ __NL80211_ATTR_AFTER_LAST, @@ -3667,6 +3679,13 @@ enum nl80211_eht_ru_alloc { * (u8, see &enum nl80211_eht_gi) * @NL80211_RATE_INFO_EHT_RU_ALLOC: EHT RU allocation, if not present then * non-OFDMA was used (u8, see &enum nl80211_eht_ru_alloc) + * @NL80211_RATE_INFO_S1G_MCS: S1G MCS index (u8, 0-10) + * @NL80211_RATE_INFO_S1G_NSS: S1G NSS value (u8, 1-4) + * @NL80211_RATE_INFO_1_MHZ_WIDTH: 1 MHz S1G rate + * @NL80211_RATE_INFO_2_MHZ_WIDTH: 2 MHz S1G rate + * @NL80211_RATE_INFO_4_MHZ_WIDTH: 4 MHz S1G rate + * @NL80211_RATE_INFO_8_MHZ_WIDTH: 8 MHz S1G rate + * @NL80211_RATE_INFO_16_MHZ_WIDTH: 16 MHz S1G rate * @__NL80211_RATE_INFO_AFTER_LAST: internal use */ enum nl80211_rate_info { @@ -3693,6 +3712,13 @@ enum nl80211_rate_info { NL80211_RATE_INFO_EHT_NSS, NL80211_RATE_INFO_EHT_GI, NL80211_RATE_INFO_EHT_RU_ALLOC, + NL80211_RATE_INFO_S1G_MCS, + NL80211_RATE_INFO_S1G_NSS, + NL80211_RATE_INFO_1_MHZ_WIDTH, + NL80211_RATE_INFO_2_MHZ_WIDTH, + NL80211_RATE_INFO_4_MHZ_WIDTH, + NL80211_RATE_INFO_8_MHZ_WIDTH, + NL80211_RATE_INFO_16_MHZ_WIDTH, /* keep last */ __NL80211_RATE_INFO_AFTER_LAST, @@ -4424,6 +4450,7 @@ enum nl80211_sched_scan_match_attr { * @NL80211_RRF_NO_160MHZ: 160MHz operation not allowed * @NL80211_RRF_NO_HE: HE operation not allowed * @NL80211_RRF_NO_320MHZ: 320MHz operation not allowed + * @NL80211_RRF_NO_EHT: EHT operation not allowed */ enum nl80211_reg_rule_flags { NL80211_RRF_NO_OFDM = 1<<0, @@ -4443,6 +4470,7 @@ enum nl80211_reg_rule_flags { NL80211_RRF_NO_160MHZ = 1<<16, NL80211_RRF_NO_HE = 1<<17, NL80211_RRF_NO_320MHZ = 1<<18, + NL80211_RRF_NO_EHT = 1<<19, }; #define NL80211_RRF_PASSIVE_SCAN NL80211_RRF_NO_IR diff --git a/contrib/libs/linux-headers/linux/openvswitch.h b/contrib/libs/linux-headers/linux/openvswitch.h index 3eef4887ac..72f3aac935 100644 --- a/contrib/libs/linux-headers/linux/openvswitch.h +++ b/contrib/libs/linux-headers/linux/openvswitch.h @@ -752,6 +752,7 @@ struct ovs_action_push_vlan { */ enum ovs_hash_alg { OVS_HASH_ALG_L4, + OVS_HASH_ALG_SYM_L4, }; /* diff --git a/contrib/libs/linux-headers/linux/pci_regs.h b/contrib/libs/linux-headers/linux/pci_regs.h index dc2000e0fe..e5f558d964 100644 --- a/contrib/libs/linux-headers/linux/pci_regs.h +++ b/contrib/libs/linux-headers/linux/pci_regs.h @@ -738,6 +738,7 @@ #define PCI_EXT_CAP_ID_DVSEC 0x23 /* Designated Vendor-Specific */ #define PCI_EXT_CAP_ID_DLF 0x25 /* Data Link Feature */ #define PCI_EXT_CAP_ID_PL_16GT 0x26 /* Physical Layer 16.0 GT/s */ +#define PCI_EXT_CAP_ID_PL_32GT 0x2A /* Physical Layer 32.0 GT/s */ #define PCI_EXT_CAP_ID_DOE 0x2E /* Data Object Exchange */ #define PCI_EXT_CAP_ID_MAX PCI_EXT_CAP_ID_DOE diff --git a/contrib/libs/linux-headers/linux/pkt_cls.h b/contrib/libs/linux-headers/linux/pkt_cls.h index 648a82f326..4f3932bb71 100644 --- a/contrib/libs/linux-headers/linux/pkt_cls.h +++ b/contrib/libs/linux-headers/linux/pkt_cls.h @@ -594,6 +594,10 @@ enum { TCA_FLOWER_KEY_L2TPV3_SID, /* be32 */ + TCA_FLOWER_L2_MISS, /* u8 */ + + TCA_FLOWER_KEY_CFM, /* nested */ + __TCA_FLOWER_MAX, }; @@ -702,6 +706,15 @@ enum { TCA_FLOWER_KEY_FLAGS_FRAG_IS_FIRST = (1 << 1), }; +enum { + TCA_FLOWER_KEY_CFM_OPT_UNSPEC, + TCA_FLOWER_KEY_CFM_MD_LEVEL, + TCA_FLOWER_KEY_CFM_OPCODE, + __TCA_FLOWER_KEY_CFM_OPT_MAX, +}; + +#define TCA_FLOWER_KEY_CFM_OPT_MAX (__TCA_FLOWER_KEY_CFM_OPT_MAX - 1) + #define TCA_FLOWER_MASK_FLAGS_RANGE (1 << 0) /* Range-based match */ /* Match-all classifier */ diff --git a/contrib/libs/linux-headers/linux/pkt_sched.h b/contrib/libs/linux-headers/linux/pkt_sched.h index 51a7addc56..00f6ff0aff 100644 --- a/contrib/libs/linux-headers/linux/pkt_sched.h +++ b/contrib/libs/linux-headers/linux/pkt_sched.h @@ -1260,6 +1260,16 @@ enum { }; enum { + TCA_TAPRIO_OFFLOAD_STATS_PAD = 1, /* u64 */ + TCA_TAPRIO_OFFLOAD_STATS_WINDOW_DROPS, /* u64 */ + TCA_TAPRIO_OFFLOAD_STATS_TX_OVERRUNS, /* u64 */ + + /* add new constants above here */ + __TCA_TAPRIO_OFFLOAD_STATS_CNT, + TCA_TAPRIO_OFFLOAD_STATS_MAX = (__TCA_TAPRIO_OFFLOAD_STATS_CNT - 1) +}; + +enum { TCA_TAPRIO_ATTR_UNSPEC, TCA_TAPRIO_ATTR_PRIOMAP, /* struct tc_mqprio_qopt */ TCA_TAPRIO_ATTR_SCHED_ENTRY_LIST, /* nested of entry */ diff --git a/contrib/libs/linux-headers/linux/pktcdvd.h b/contrib/libs/linux-headers/linux/pktcdvd.h index 944277b6ea..effb55e7e8 100644 --- a/contrib/libs/linux-headers/linux/pktcdvd.h +++ b/contrib/libs/linux-headers/linux/pktcdvd.h @@ -16,6 +16,7 @@ #include <linux/types.h> /* + * UNUSED: * 1 for normal debug messages, 2 is very verbose. 0 to turn it off. */ #define PACKET_DEBUG 1 diff --git a/contrib/libs/linux-headers/linux/prctl.h b/contrib/libs/linux-headers/linux/prctl.h index f23d9a1650..3c36aeade9 100644 --- a/contrib/libs/linux-headers/linux/prctl.h +++ b/contrib/libs/linux-headers/linux/prctl.h @@ -294,4 +294,15 @@ struct prctl_mm_map { #define PR_SET_MEMORY_MERGE 67 #define PR_GET_MEMORY_MERGE 68 + +#define PR_RISCV_V_SET_CONTROL 69 +#define PR_RISCV_V_GET_CONTROL 70 +# define PR_RISCV_V_VSTATE_CTRL_DEFAULT 0 +# define PR_RISCV_V_VSTATE_CTRL_OFF 1 +# define PR_RISCV_V_VSTATE_CTRL_ON 2 +# define PR_RISCV_V_VSTATE_CTRL_INHERIT (1 << 4) +# define PR_RISCV_V_VSTATE_CTRL_CUR_MASK 0x3 +# define PR_RISCV_V_VSTATE_CTRL_NEXT_MASK 0xc +# define PR_RISCV_V_VSTATE_CTRL_MASK 0x1f + #endif /* _LINUX_PRCTL_H */ diff --git a/contrib/libs/linux-headers/linux/ptp_clock.h b/contrib/libs/linux-headers/linux/ptp_clock.h index 1d108d597f..05cc35fc94 100644 --- a/contrib/libs/linux-headers/linux/ptp_clock.h +++ b/contrib/libs/linux-headers/linux/ptp_clock.h @@ -95,7 +95,8 @@ struct ptp_clock_caps { int cross_timestamping; /* Whether the clock supports adjust phase */ int adjust_phase; - int rsv[12]; /* Reserved for future use. */ + int max_phase_adj; /* Maximum phase adjustment in nanoseconds. */ + int rsv[11]; /* Reserved for future use. */ }; struct ptp_extts_request { diff --git a/contrib/libs/linux-headers/linux/spi/spi.h b/contrib/libs/linux-headers/linux/spi/spi.h index 14a055c495..0381bd3a88 100644 --- a/contrib/libs/linux-headers/linux/spi/spi.h +++ b/contrib/libs/linux-headers/linux/spi/spi.h @@ -28,6 +28,7 @@ #define SPI_RX_OCTAL _BITUL(14) /* receive with 8 wires */ #define SPI_3WIRE_HIZ _BITUL(15) /* high impedance turnaround */ #define SPI_RX_CPHA_FLIP _BITUL(16) /* flip CPHA on Rx only xfer */ +#define SPI_MOSI_IDLE_LOW _BITUL(17) /* leave mosi line low when idle */ /* * All the bits defined above should be covered by SPI_MODE_USER_MASK. @@ -37,6 +38,6 @@ * These bits must not overlap. A static assert check should make sure of that. * If adding extra bits, make sure to increase the bit index below as well. */ -#define SPI_MODE_USER_MASK (_BITUL(17) - 1) +#define SPI_MODE_USER_MASK (_BITUL(18) - 1) #endif /* _SPI_H */ diff --git a/contrib/libs/linux-headers/linux/stddef.h b/contrib/libs/linux-headers/linux/stddef.h index bb6ea517ef..b3d4a9c170 100644 --- a/contrib/libs/linux-headers/linux/stddef.h +++ b/contrib/libs/linux-headers/linux/stddef.h @@ -29,6 +29,11 @@ struct TAG { MEMBERS } ATTRS NAME; \ } +#ifdef __cplusplus +/* sizeof(struct{}) is 1 in C++, not 0, can't use C version of the macro. */ +#define __DECLARE_FLEX_ARRAY(T, member) \ + T member[0] +#else /** * __DECLARE_FLEX_ARRAY() - Declare a flexible array usable in a union * @@ -45,3 +50,9 @@ TYPE NAME[]; \ } #endif + +#ifndef __counted_by +#define __counted_by(m) +#endif + +#endif /* _LINUX_STDDEF_H */ diff --git a/contrib/libs/linux-headers/linux/sync_file.h b/contrib/libs/linux-headers/linux/sync_file.h index 48fd099f92..831974ae60 100644 --- a/contrib/libs/linux-headers/linux/sync_file.h +++ b/contrib/libs/linux-headers/linux/sync_file.h @@ -56,7 +56,7 @@ struct sync_fence_info { * @name: name of fence * @status: status of fence. 1: signaled 0:active <0:error * @flags: sync_file_info flags - * @num_fences number of fences in the sync_file + * @num_fences: number of fences in the sync_file * @pad: padding for 64-bit alignment, should always be zero * @sync_fence_info: pointer to array of struct &sync_fence_info with all * fences in the sync_file diff --git a/contrib/libs/linux-headers/linux/tps6594_pfsm.h b/contrib/libs/linux-headers/linux/tps6594_pfsm.h new file mode 100644 index 0000000000..c69569e0a7 --- /dev/null +++ b/contrib/libs/linux-headers/linux/tps6594_pfsm.h @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Userspace ABI for TPS6594 PMIC Pre-configurable Finite State Machine + * + * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ + */ + +#ifndef __TPS6594_PFSM_H +#define __TPS6594_PFSM_H + +#include <linux/const.h> +#include <linux/ioctl.h> +#include <linux/types.h> + +/** + * struct pmic_state_opt - PMIC state options + * @gpio_retention: if enabled, power rails associated with GPIO retention remain active + * @ddr_retention: if enabled, power rails associated with DDR retention remain active + * @mcu_only_startup_dest: if enabled, startup destination state is MCU_ONLY + */ +struct pmic_state_opt { + __u8 gpio_retention; + __u8 ddr_retention; + __u8 mcu_only_startup_dest; +}; + +/* Commands */ +#define PMIC_BASE 'P' + +#define PMIC_GOTO_STANDBY _IO(PMIC_BASE, 0) +#define PMIC_GOTO_LP_STANDBY _IO(PMIC_BASE, 1) +#define PMIC_UPDATE_PGM _IO(PMIC_BASE, 2) +#define PMIC_SET_ACTIVE_STATE _IO(PMIC_BASE, 3) +#define PMIC_SET_MCU_ONLY_STATE _IOW(PMIC_BASE, 4, struct pmic_state_opt) +#define PMIC_SET_RETENTION_STATE _IOW(PMIC_BASE, 5, struct pmic_state_opt) + +#endif /* __TPS6594_PFSM_H */ diff --git a/contrib/libs/linux-headers/linux/types.h b/contrib/libs/linux-headers/linux/types.h index 6546100a69..e6700138c2 100644 --- a/contrib/libs/linux-headers/linux/types.h +++ b/contrib/libs/linux-headers/linux/types.h @@ -8,6 +8,10 @@ #include <linux/posix_types.h> +#ifdef __SIZEOF_INT128__ +typedef __signed__ __int128 __s128 __attribute__((aligned(16))); +typedef unsigned __int128 __u128 __attribute__((aligned(16))); +#endif /* * Below are truly Linux-specific types that should never collide with diff --git a/contrib/libs/linux-headers/linux/ublk_cmd.h b/contrib/libs/linux-headers/linux/ublk_cmd.h index 76b2de2451..f11097744e 100644 --- a/contrib/libs/linux-headers/linux/ublk_cmd.h +++ b/contrib/libs/linux-headers/linux/ublk_cmd.h @@ -47,6 +47,14 @@ _IOWR('u', UBLK_CMD_END_USER_RECOVERY, struct ublksrv_ctrl_cmd) #define UBLK_U_CMD_GET_DEV_INFO2 \ _IOR('u', UBLK_CMD_GET_DEV_INFO2, struct ublksrv_ctrl_cmd) +#define UBLK_U_CMD_GET_FEATURES \ + _IOR('u', 0x13, struct ublksrv_ctrl_cmd) + +/* + * 64bits are enough now, and it should be easy to extend in case of + * running out of feature flags + */ +#define UBLK_FEATURES_LEN 8 /* * IO commands, issued by ublk server, and handled by ublk driver. @@ -93,9 +101,29 @@ #define UBLKSRV_CMD_BUF_OFFSET 0 #define UBLKSRV_IO_BUF_OFFSET 0x80000000 -/* tag bit is 12bit, so at most 4096 IOs for each queue */ +/* tag bit is 16bit, so far limit at most 4096 IOs for each queue */ #define UBLK_MAX_QUEUE_DEPTH 4096 +/* single IO buffer max size is 32MB */ +#define UBLK_IO_BUF_OFF 0 +#define UBLK_IO_BUF_BITS 25 +#define UBLK_IO_BUF_BITS_MASK ((1ULL << UBLK_IO_BUF_BITS) - 1) + +/* so at most 64K IOs for each queue */ +#define UBLK_TAG_OFF UBLK_IO_BUF_BITS +#define UBLK_TAG_BITS 16 +#define UBLK_TAG_BITS_MASK ((1ULL << UBLK_TAG_BITS) - 1) + +/* max 4096 queues */ +#define UBLK_QID_OFF (UBLK_TAG_OFF + UBLK_TAG_BITS) +#define UBLK_QID_BITS 12 +#define UBLK_QID_BITS_MASK ((1ULL << UBLK_QID_BITS) - 1) + +#define UBLK_MAX_NR_QUEUES (1U << UBLK_QID_BITS) + +#define UBLKSRV_IO_BUF_TOTAL_BITS (UBLK_QID_OFF + UBLK_QID_BITS) +#define UBLKSRV_IO_BUF_TOTAL_SIZE (1ULL << UBLKSRV_IO_BUF_TOTAL_BITS) + /* * zero copy requires 4k block size, and can remap ublk driver's io * request into ublksrv's vm space @@ -145,6 +173,9 @@ /* use ioctl encoding for uring command */ #define UBLK_F_CMD_IOCTL_ENCODE (1UL << 6) +/* Copy between request and user buffer by pread()/pwrite() */ +#define UBLK_F_USER_COPY (1UL << 7) + /* device state */ #define UBLK_S_DEV_DEAD 0 #define UBLK_S_DEV_LIVE 1 diff --git a/contrib/libs/linux-headers/linux/usb/ch9.h b/contrib/libs/linux-headers/linux/usb/ch9.h index 8bd8cc1080..6e3e07142a 100644 --- a/contrib/libs/linux-headers/linux/usb/ch9.h +++ b/contrib/libs/linux-headers/linux/usb/ch9.h @@ -376,7 +376,10 @@ struct usb_string_descriptor { __u8 bLength; __u8 bDescriptorType; - __le16 wData[1]; /* UTF-16LE encoded */ + union { + __le16 legacy_padding; + __DECLARE_FLEX_ARRAY(__le16, wData); /* UTF-16LE encoded */ + }; } __attribute__ ((packed)); /* note that "string" zero is special, it holds language codes that @@ -981,7 +984,11 @@ struct usb_ssp_cap_descriptor { #define USB_SSP_MIN_RX_LANE_COUNT (0xf << 8) #define USB_SSP_MIN_TX_LANE_COUNT (0xf << 12) __le16 wReserved; - __le32 bmSublinkSpeedAttr[1]; /* list of sublink speed attrib entries */ + union { + __le32 legacy_padding; + /* list of sublink speed attrib entries */ + __DECLARE_FLEX_ARRAY(__le32, bmSublinkSpeedAttr); + }; #define USB_SSP_SUBLINK_SPEED_SSID (0xf) /* sublink speed ID */ #define USB_SSP_SUBLINK_SPEED_LSE (0x3 << 4) /* Lanespeed exponent */ #define USB_SSP_SUBLINK_SPEED_LSE_BPS 0 diff --git a/contrib/libs/linux-headers/linux/v4l2-controls.h b/contrib/libs/linux-headers/linux/v4l2-controls.h index 26c87f9fee..63516691ce 100644 --- a/contrib/libs/linux-headers/linux/v4l2-controls.h +++ b/contrib/libs/linux-headers/linux/v4l2-controls.h @@ -800,6 +800,88 @@ enum v4l2_mpeg_video_frame_skip_mode { #define V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY (V4L2_CID_CODEC_BASE + 653) #define V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE (V4L2_CID_CODEC_BASE + 654) +#define V4L2_CID_MPEG_VIDEO_AV1_PROFILE (V4L2_CID_CODEC_BASE + 655) +/** + * enum v4l2_mpeg_video_av1_profile - AV1 profiles + * + * @V4L2_MPEG_VIDEO_AV1_PROFILE_MAIN: compliant decoders must be able to decode + * streams with seq_profile equal to 0. + * @V4L2_MPEG_VIDEO_AV1_PROFILE_HIGH: compliant decoders must be able to decode + * streams with seq_profile equal less than or equal to 1. + * @V4L2_MPEG_VIDEO_AV1_PROFILE_PROFESSIONAL: compliant decoders must be able to + * decode streams with seq_profile less than or equal to 2. + * + * Conveys the highest profile a decoder can work with. + */ +enum v4l2_mpeg_video_av1_profile { + V4L2_MPEG_VIDEO_AV1_PROFILE_MAIN = 0, + V4L2_MPEG_VIDEO_AV1_PROFILE_HIGH = 1, + V4L2_MPEG_VIDEO_AV1_PROFILE_PROFESSIONAL = 2, +}; + +#define V4L2_CID_MPEG_VIDEO_AV1_LEVEL (V4L2_CID_CODEC_BASE + 656) +/** + * enum v4l2_mpeg_video_av1_level - AV1 levels + * + * @V4L2_MPEG_VIDEO_AV1_LEVEL_2_0: Level 2.0. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_2_1: Level 2.1. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_2_2: Level 2.2. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_2_3: Level 2.3. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_3_0: Level 3.0. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_3_1: Level 3.1. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_3_2: Level 3.2. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_3_3: Level 3.3. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_4_0: Level 4.0. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_4_1: Level 4.1. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_4_2: Level 4.2. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_4_3: Level 4.3. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_5_0: Level 5.0. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_5_1: Level 5.1. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_5_2: Level 5.2. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_5_3: Level 5.3. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_6_0: Level 6.0. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_6_1: Level 6.1. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_6_2: Level 6.2. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_6_3: Level 6.3. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_7_0: Level 7.0. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_7_1: Level 7.1. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_7_2: Level 7.2. + * @V4L2_MPEG_VIDEO_AV1_LEVEL_7_3: Level 7.3. + * + * Conveys the highest level a decoder can work with. + */ +enum v4l2_mpeg_video_av1_level { + V4L2_MPEG_VIDEO_AV1_LEVEL_2_0 = 0, + V4L2_MPEG_VIDEO_AV1_LEVEL_2_1 = 1, + V4L2_MPEG_VIDEO_AV1_LEVEL_2_2 = 2, + V4L2_MPEG_VIDEO_AV1_LEVEL_2_3 = 3, + + V4L2_MPEG_VIDEO_AV1_LEVEL_3_0 = 4, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_1 = 5, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_2 = 6, + V4L2_MPEG_VIDEO_AV1_LEVEL_3_3 = 7, + + V4L2_MPEG_VIDEO_AV1_LEVEL_4_0 = 8, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_1 = 9, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_2 = 10, + V4L2_MPEG_VIDEO_AV1_LEVEL_4_3 = 11, + + V4L2_MPEG_VIDEO_AV1_LEVEL_5_0 = 12, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_1 = 13, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_2 = 14, + V4L2_MPEG_VIDEO_AV1_LEVEL_5_3 = 15, + + V4L2_MPEG_VIDEO_AV1_LEVEL_6_0 = 16, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_1 = 17, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_2 = 18, + V4L2_MPEG_VIDEO_AV1_LEVEL_6_3 = 19, + + V4L2_MPEG_VIDEO_AV1_LEVEL_7_0 = 20, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_1 = 21, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_2 = 22, + V4L2_MPEG_VIDEO_AV1_LEVEL_7_3 = 23 +}; + /* MPEG-class control IDs specific to the CX2341x driver as defined by V4L2 */ #define V4L2_CID_CODEC_CX2341X_BASE (V4L2_CTRL_CLASS_CODEC | 0x1000) #define V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE (V4L2_CID_CODEC_CX2341X_BASE+0) @@ -2381,6 +2463,9 @@ struct v4l2_ctrl_hevc_slice_params { * @poc_st_curr_after: provides the index of the short term after references * in DPB array * @poc_lt_curr: provides the index of the long term references in DPB array + * @num_delta_pocs_of_ref_rps_idx: same as the derived value NumDeltaPocs[RefRpsIdx], + * can be used to parse the RPS data in slice headers + * instead of skipping it with @short_term_ref_pic_set_size. * @reserved: padding field. Should be zeroed by applications. * @dpb: the decoded picture buffer, for meta-data about reference frames * @flags: see V4L2_HEVC_DECODE_PARAM_FLAG_{} @@ -2396,7 +2481,8 @@ struct v4l2_ctrl_hevc_decode_params { __u8 poc_st_curr_before[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; __u8 poc_st_curr_after[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; __u8 poc_lt_curr[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; - __u8 reserved[4]; + __u8 num_delta_pocs_of_ref_rps_idx; + __u8 reserved[3]; struct v4l2_hevc_dpb_entry dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]; __u64 flags; }; @@ -2750,6 +2836,645 @@ struct v4l2_ctrl_vp9_compressed_hdr { struct v4l2_vp9_mv_probs mv; }; +/* Stateless AV1 controls */ + +#define V4L2_AV1_TOTAL_REFS_PER_FRAME 8 +#define V4L2_AV1_CDEF_MAX 8 +#define V4L2_AV1_NUM_PLANES_MAX 3 /* 1 if monochrome, 3 otherwise */ +#define V4L2_AV1_MAX_SEGMENTS 8 +#define V4L2_AV1_MAX_OPERATING_POINTS (1 << 5) /* 5 bits to encode */ +#define V4L2_AV1_REFS_PER_FRAME 7 +#define V4L2_AV1_MAX_NUM_Y_POINTS (1 << 4) /* 4 bits to encode */ +#define V4L2_AV1_MAX_NUM_CB_POINTS (1 << 4) /* 4 bits to encode */ +#define V4L2_AV1_MAX_NUM_CR_POINTS (1 << 4) /* 4 bits to encode */ +#define V4L2_AV1_AR_COEFFS_SIZE 25 /* (2 * 3 * (3 + 1)) + 1 */ +#define V4L2_AV1_MAX_NUM_PLANES 3 +#define V4L2_AV1_MAX_TILE_COLS 64 +#define V4L2_AV1_MAX_TILE_ROWS 64 +#define V4L2_AV1_MAX_TILE_COUNT 512 + +#define V4L2_AV1_SEQUENCE_FLAG_STILL_PICTURE 0x00000001 +#define V4L2_AV1_SEQUENCE_FLAG_USE_128X128_SUPERBLOCK 0x00000002 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_FILTER_INTRA 0x00000004 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_INTRA_EDGE_FILTER 0x00000008 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_INTERINTRA_COMPOUND 0x00000010 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_MASKED_COMPOUND 0x00000020 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_WARPED_MOTION 0x00000040 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_DUAL_FILTER 0x00000080 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_ORDER_HINT 0x00000100 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_JNT_COMP 0x00000200 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_REF_FRAME_MVS 0x00000400 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_SUPERRES 0x00000800 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_CDEF 0x00001000 +#define V4L2_AV1_SEQUENCE_FLAG_ENABLE_RESTORATION 0x00002000 +#define V4L2_AV1_SEQUENCE_FLAG_MONO_CHROME 0x00004000 +#define V4L2_AV1_SEQUENCE_FLAG_COLOR_RANGE 0x00008000 +#define V4L2_AV1_SEQUENCE_FLAG_SUBSAMPLING_X 0x00010000 +#define V4L2_AV1_SEQUENCE_FLAG_SUBSAMPLING_Y 0x00020000 +#define V4L2_AV1_SEQUENCE_FLAG_FILM_GRAIN_PARAMS_PRESENT 0x00040000 +#define V4L2_AV1_SEQUENCE_FLAG_SEPARATE_UV_DELTA_Q 0x00080000 + +#define V4L2_CID_STATELESS_AV1_SEQUENCE (V4L2_CID_CODEC_STATELESS_BASE + 500) +/** + * struct v4l2_ctrl_av1_sequence - AV1 Sequence + * + * Represents an AV1 Sequence OBU. See section 5.5 "Sequence header OBU syntax" + * for more details. + * + * @flags: See V4L2_AV1_SEQUENCE_FLAG_{}. + * @seq_profile: specifies the features that can be used in the coded video + * sequence. + * @order_hint_bits: specifies the number of bits used for the order_hint field + * at each frame. + * @bit_depth: the bitdepth to use for the sequence as described in section + * 5.5.2 "Color config syntax". + * @reserved: padding field. Should be zeroed by applications. + * @max_frame_width_minus_1: specifies the maximum frame width minus 1 for the + * frames represented by this sequence header. + * @max_frame_height_minus_1: specifies the maximum frame height minus 1 for the + * frames represented by this sequence header. + */ +struct v4l2_ctrl_av1_sequence { + __u32 flags; + __u8 seq_profile; + __u8 order_hint_bits; + __u8 bit_depth; + __u8 reserved; + __u16 max_frame_width_minus_1; + __u16 max_frame_height_minus_1; +}; + +#define V4L2_CID_STATELESS_AV1_TILE_GROUP_ENTRY (V4L2_CID_CODEC_STATELESS_BASE + 501) +/** + * struct v4l2_ctrl_av1_tile_group_entry - AV1 Tile Group entry + * + * Represents a single AV1 tile inside an AV1 Tile Group. Note that MiRowStart, + * MiRowEnd, MiColStart and MiColEnd can be retrieved from struct + * v4l2_av1_tile_info in struct v4l2_ctrl_av1_frame using tile_row and + * tile_col. See section 6.10.1 "General tile group OBU semantics" for more + * details. + * + * @tile_offset: offset from the OBU data, i.e. where the coded tile data + * actually starts. + * @tile_size: specifies the size in bytes of the coded tile. Equivalent to + * "TileSize" in the AV1 Specification. + * @tile_row: specifies the row of the current tile. Equivalent to "TileRow" in + * the AV1 Specification. + * @tile_col: specifies the col of the current tile. Equivalent to "TileCol" in + * the AV1 Specification. + */ +struct v4l2_ctrl_av1_tile_group_entry { + __u32 tile_offset; + __u32 tile_size; + __u32 tile_row; + __u32 tile_col; +}; + +/** + * enum v4l2_av1_warp_model - AV1 Warp Model as described in section 3 + * "Symbols and abbreviated terms" of the AV1 Specification. + * + * @V4L2_AV1_WARP_MODEL_IDENTITY: Warp model is just an identity transform. + * @V4L2_AV1_WARP_MODEL_TRANSLATION: Warp model is a pure translation. + * @V4L2_AV1_WARP_MODEL_ROTZOOM: Warp model is a rotation + symmetric zoom + + * translation. + * @V4L2_AV1_WARP_MODEL_AFFINE: Warp model is a general affine transform. + */ +enum v4l2_av1_warp_model { + V4L2_AV1_WARP_MODEL_IDENTITY = 0, + V4L2_AV1_WARP_MODEL_TRANSLATION = 1, + V4L2_AV1_WARP_MODEL_ROTZOOM = 2, + V4L2_AV1_WARP_MODEL_AFFINE = 3, +}; + +/** + * enum v4l2_av1_reference_frame - AV1 reference frames + * + * @V4L2_AV1_REF_INTRA_FRAME: Intra Frame Reference + * @V4L2_AV1_REF_LAST_FRAME: Last Reference Frame + * @V4L2_AV1_REF_LAST2_FRAME: Last2 Reference Frame + * @V4L2_AV1_REF_LAST3_FRAME: Last3 Reference Frame + * @V4L2_AV1_REF_GOLDEN_FRAME: Golden Reference Frame + * @V4L2_AV1_REF_BWDREF_FRAME: BWD Reference Frame + * @V4L2_AV1_REF_ALTREF2_FRAME: Alternative2 Reference Frame + * @V4L2_AV1_REF_ALTREF_FRAME: Alternative Reference Frame + */ +enum v4l2_av1_reference_frame { + V4L2_AV1_REF_INTRA_FRAME = 0, + V4L2_AV1_REF_LAST_FRAME = 1, + V4L2_AV1_REF_LAST2_FRAME = 2, + V4L2_AV1_REF_LAST3_FRAME = 3, + V4L2_AV1_REF_GOLDEN_FRAME = 4, + V4L2_AV1_REF_BWDREF_FRAME = 5, + V4L2_AV1_REF_ALTREF2_FRAME = 6, + V4L2_AV1_REF_ALTREF_FRAME = 7, +}; + +#define V4L2_AV1_GLOBAL_MOTION_IS_INVALID(ref) (1 << (ref)) + +#define V4L2_AV1_GLOBAL_MOTION_FLAG_IS_GLOBAL 0x1 +#define V4L2_AV1_GLOBAL_MOTION_FLAG_IS_ROT_ZOOM 0x2 +#define V4L2_AV1_GLOBAL_MOTION_FLAG_IS_TRANSLATION 0x4 +/** + * struct v4l2_av1_global_motion - AV1 Global Motion parameters as described in + * section 6.8.17 "Global motion params semantics" of the AV1 specification. + * + * @flags: A bitfield containing the flags per reference frame. See + * V4L2_AV1_GLOBAL_MOTION_FLAG_{} + * @type: The type of global motion transform used. + * @params: this field has the same meaning as "gm_params" in the AV1 + * specification. + * @invalid: bitfield indicating whether the global motion params are invalid + * for a given reference frame. See section 7.11.3.6 Setup shear process and + * the variable "warpValid". Use V4L2_AV1_GLOBAL_MOTION_IS_INVALID(ref) to + * create a suitable mask. + * @reserved: padding field. Should be zeroed by applications. + */ + +struct v4l2_av1_global_motion { + __u8 flags[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + enum v4l2_av1_warp_model type[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __s32 params[V4L2_AV1_TOTAL_REFS_PER_FRAME][6]; + __u8 invalid; + __u8 reserved[3]; +}; + +/** + * enum v4l2_av1_frame_restoration_type - AV1 Frame Restoration Type + * @V4L2_AV1_FRAME_RESTORE_NONE: no filtering is applied. + * @V4L2_AV1_FRAME_RESTORE_WIENER: Wiener filter process is invoked. + * @V4L2_AV1_FRAME_RESTORE_SGRPROJ: self guided filter process is invoked. + * @V4L2_AV1_FRAME_RESTORE_SWITCHABLE: restoration filter is swichtable. + */ +enum v4l2_av1_frame_restoration_type { + V4L2_AV1_FRAME_RESTORE_NONE = 0, + V4L2_AV1_FRAME_RESTORE_WIENER = 1, + V4L2_AV1_FRAME_RESTORE_SGRPROJ = 2, + V4L2_AV1_FRAME_RESTORE_SWITCHABLE = 3, +}; + +#define V4L2_AV1_LOOP_RESTORATION_FLAG_USES_LR 0x1 +#define V4L2_AV1_LOOP_RESTORATION_FLAG_USES_CHROMA_LR 0x2 + +/** + * struct v4l2_av1_loop_restoration - AV1 Loop Restauration as described in + * section 6.10.15 "Loop restoration params semantics" of the AV1 specification. + * + * @flags: See V4L2_AV1_LOOP_RESTORATION_FLAG_{}. + * @lr_unit_shift: specifies if the luma restoration size should be halved. + * @lr_uv_shift: specifies if the chroma size should be half the luma size. + * @reserved: padding field. Should be zeroed by applications. + * @frame_restoration_type: specifies the type of restoration used for each + * plane. See enum v4l2_av1_frame_restoration_type. + * @loop_restoration_size: specifies the size of loop restoration units in units + * of samples in the current plane. + */ +struct v4l2_av1_loop_restoration { + __u8 flags; + __u8 lr_unit_shift; + __u8 lr_uv_shift; + __u8 reserved; + enum v4l2_av1_frame_restoration_type frame_restoration_type[V4L2_AV1_NUM_PLANES_MAX]; + __u32 loop_restoration_size[V4L2_AV1_MAX_NUM_PLANES]; +}; + +/** + * struct v4l2_av1_cdef - AV1 CDEF params semantics as described in section + * 6.10.14 "CDEF params semantics" of the AV1 specification + * + * @damping_minus_3: controls the amount of damping in the deringing filter. + * @bits: specifies the number of bits needed to specify which CDEF filter to + * apply. + * @y_pri_strength: specifies the strength of the primary filter. + * @y_sec_strength: specifies the strength of the secondary filter. + * @uv_pri_strength: specifies the strength of the primary filter. + * @uv_sec_strength: specifies the strength of the secondary filter. + */ +struct v4l2_av1_cdef { + __u8 damping_minus_3; + __u8 bits; + __u8 y_pri_strength[V4L2_AV1_CDEF_MAX]; + __u8 y_sec_strength[V4L2_AV1_CDEF_MAX]; + __u8 uv_pri_strength[V4L2_AV1_CDEF_MAX]; + __u8 uv_sec_strength[V4L2_AV1_CDEF_MAX]; +}; + +#define V4L2_AV1_SEGMENTATION_FLAG_ENABLED 0x1 +#define V4L2_AV1_SEGMENTATION_FLAG_UPDATE_MAP 0x2 +#define V4L2_AV1_SEGMENTATION_FLAG_TEMPORAL_UPDATE 0x4 +#define V4L2_AV1_SEGMENTATION_FLAG_UPDATE_DATA 0x8 +#define V4L2_AV1_SEGMENTATION_FLAG_SEG_ID_PRE_SKIP 0x10 + +/** + * enum v4l2_av1_segment_feature - AV1 segment features as described in section + * 3 "Symbols and abbreviated terms" of the AV1 specification. + * + * @V4L2_AV1_SEG_LVL_ALT_Q: Index for quantizer segment feature. + * @V4L2_AV1_SEG_LVL_ALT_LF_Y_V: Index for vertical luma loop filter segment + * feature. + * @V4L2_AV1_SEG_LVL_REF_FRAME: Index for reference frame segment feature. + * @V4L2_AV1_SEG_LVL_REF_SKIP: Index for skip segment feature. + * @V4L2_AV1_SEG_LVL_REF_GLOBALMV: Index for global mv feature. + * @V4L2_AV1_SEG_LVL_MAX: Number of segment features. + */ +enum v4l2_av1_segment_feature { + V4L2_AV1_SEG_LVL_ALT_Q = 0, + V4L2_AV1_SEG_LVL_ALT_LF_Y_V = 1, + V4L2_AV1_SEG_LVL_REF_FRAME = 5, + V4L2_AV1_SEG_LVL_REF_SKIP = 6, + V4L2_AV1_SEG_LVL_REF_GLOBALMV = 7, + V4L2_AV1_SEG_LVL_MAX = 8 +}; + +#define V4L2_AV1_SEGMENT_FEATURE_ENABLED(id) (1 << (id)) + +/** + * struct v4l2_av1_segmentation - AV1 Segmentation params as defined in section + * 6.8.13 "Segmentation params semantics" of the AV1 specification. + * + * @flags: see V4L2_AV1_SEGMENTATION_FLAG_{}. + * @last_active_seg_id: indicates the highest numbered segment id that has some + * enabled feature. This is used when decoding the segment id to only decode + * choices corresponding to used segments. + * @feature_enabled: bitmask defining which features are enabled in each + * segment. Use V4L2_AV1_SEGMENT_FEATURE_ENABLED to build a suitable mask. + * @feature_data: data attached to each feature. Data entry is only valid if the + * feature is enabled + */ +struct v4l2_av1_segmentation { + __u8 flags; + __u8 last_active_seg_id; + __u8 feature_enabled[V4L2_AV1_MAX_SEGMENTS]; + __s16 feature_data[V4L2_AV1_MAX_SEGMENTS][V4L2_AV1_SEG_LVL_MAX]; +}; + +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_ENABLED 0x1 +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_UPDATE 0x2 +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_LF_PRESENT 0x4 +#define V4L2_AV1_LOOP_FILTER_FLAG_DELTA_LF_MULTI 0x8 + +/** + * struct v4l2_av1_loop_filter - AV1 Loop filter params as defined in section + * 6.8.10 "Loop filter semantics" and 6.8.16 "Loop filter delta parameters + * semantics" of the AV1 specification. + * + * @flags: see V4L2_AV1_LOOP_FILTER_FLAG_{} + * @level: an array containing loop filter strength values. Different loop + * filter strength values from the array are used depending on the image plane + * being filtered, and the edge direction (vertical or horizontal) being + * filtered. + * @sharpness: indicates the sharpness level. The loop_filter_level and + * loop_filter_sharpness together determine when a block edge is filtered, and + * by how much the filtering can change the sample values. The loop filter + * process is described in section 7.14 of the AV1 specification. + * @ref_deltas: contains the adjustment needed for the filter level based on the + * chosen reference frame. If this syntax element is not present, it maintains + * its previous value. + * @mode_deltas: contains the adjustment needed for the filter level based on + * the chosen mode. If this syntax element is not present, it maintains its + * previous value. + * @delta_lf_res: specifies the left shift which should be applied to decoded + * loop filter delta values. + */ +struct v4l2_av1_loop_filter { + __u8 flags; + __u8 level[4]; + __u8 sharpness; + __s8 ref_deltas[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __s8 mode_deltas[2]; + __u8 delta_lf_res; +}; + +#define V4L2_AV1_QUANTIZATION_FLAG_DIFF_UV_DELTA 0x1 +#define V4L2_AV1_QUANTIZATION_FLAG_USING_QMATRIX 0x2 +#define V4L2_AV1_QUANTIZATION_FLAG_DELTA_Q_PRESENT 0x4 + +/** + * struct v4l2_av1_quantization - AV1 Quantization params as defined in section + * 6.8.11 "Quantization params semantics" of the AV1 specification. + * + * @flags: see V4L2_AV1_QUANTIZATION_FLAG_{} + * @base_q_idx: indicates the base frame qindex. This is used for Y AC + * coefficients and as the base value for the other quantizers. + * @delta_q_y_dc: indicates the Y DC quantizer relative to base_q_idx. + * @delta_q_u_dc: indicates the U DC quantizer relative to base_q_idx. + * @delta_q_u_ac: indicates the U AC quantizer relative to base_q_idx. + * @delta_q_v_dc: indicates the V DC quantizer relative to base_q_idx. + * @delta_q_v_ac: indicates the V AC quantizer relative to base_q_idx. + * @qm_y: specifies the level in the quantizer matrix that should be used for + * luma plane decoding. + * @qm_u: specifies the level in the quantizer matrix that should be used for + * chroma U plane decoding. + * @qm_v: specifies the level in the quantizer matrix that should be used for + * chroma V plane decoding. + * @delta_q_res: specifies the left shift which should be applied to decoded + * quantizer index delta values. + */ +struct v4l2_av1_quantization { + __u8 flags; + __u8 base_q_idx; + __s8 delta_q_y_dc; + __s8 delta_q_u_dc; + __s8 delta_q_u_ac; + __s8 delta_q_v_dc; + __s8 delta_q_v_ac; + __u8 qm_y; + __u8 qm_u; + __u8 qm_v; + __u8 delta_q_res; +}; + +#define V4L2_AV1_TILE_INFO_FLAG_UNIFORM_TILE_SPACING 0x1 + +/** + * struct v4l2_av1_tile_info - AV1 Tile info as defined in section 6.8.14 "Tile + * info semantics" of the AV1 specification. + * + * @flags: see V4L2_AV1_TILE_INFO_FLAG_{} + * @context_update_tile_id: specifies which tile to use for the CDF update. + * @tile_rows: specifies the number of tiles down the frame. + * @tile_cols: specifies the number of tiles across the frame. + * @mi_col_starts: an array specifying the start column (in units of 4x4 luma + * samples) for each tile across the image. + * @mi_row_starts: an array specifying the start row (in units of 4x4 luma + * samples) for each tile down the image. + * @width_in_sbs_minus_1: specifies the width of a tile minus 1 in units of + * superblocks. + * @height_in_sbs_minus_1: specifies the height of a tile minus 1 in units of + * superblocks. + * @tile_size_bytes: specifies the number of bytes needed to code each tile + * size. + * @reserved: padding field. Should be zeroed by applications. + */ +struct v4l2_av1_tile_info { + __u8 flags; + __u8 context_update_tile_id; + __u8 tile_cols; + __u8 tile_rows; + __u32 mi_col_starts[V4L2_AV1_MAX_TILE_COLS + 1]; + __u32 mi_row_starts[V4L2_AV1_MAX_TILE_ROWS + 1]; + __u32 width_in_sbs_minus_1[V4L2_AV1_MAX_TILE_COLS]; + __u32 height_in_sbs_minus_1[V4L2_AV1_MAX_TILE_ROWS]; + __u8 tile_size_bytes; + __u8 reserved[3]; +}; + +/** + * enum v4l2_av1_frame_type - AV1 Frame Type + * + * @V4L2_AV1_KEY_FRAME: Key frame + * @V4L2_AV1_INTER_FRAME: Inter frame + * @V4L2_AV1_INTRA_ONLY_FRAME: Intra-only frame + * @V4L2_AV1_SWITCH_FRAME: Switch frame + */ +enum v4l2_av1_frame_type { + V4L2_AV1_KEY_FRAME = 0, + V4L2_AV1_INTER_FRAME = 1, + V4L2_AV1_INTRA_ONLY_FRAME = 2, + V4L2_AV1_SWITCH_FRAME = 3 +}; + +/** + * enum v4l2_av1_interpolation_filter - AV1 interpolation filter types + * + * @V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP: eight tap filter + * @V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH: eight tap smooth filter + * @V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP_SHARP: eight tap sharp filter + * @V4L2_AV1_INTERPOLATION_FILTER_BILINEAR: bilinear filter + * @V4L2_AV1_INTERPOLATION_FILTER_SWITCHABLE: filter selection is signaled at + * the block level + * + * See section 6.8.9 "Interpolation filter semantics" of the AV1 specification + * for more details. + */ +enum v4l2_av1_interpolation_filter { + V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP = 0, + V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH = 1, + V4L2_AV1_INTERPOLATION_FILTER_EIGHTTAP_SHARP = 2, + V4L2_AV1_INTERPOLATION_FILTER_BILINEAR = 3, + V4L2_AV1_INTERPOLATION_FILTER_SWITCHABLE = 4, +}; + +/** + * enum v4l2_av1_tx_mode - AV1 Tx mode as described in section 6.8.21 "TX mode + * semantics" of the AV1 specification. + * @V4L2_AV1_TX_MODE_ONLY_4X4: the inverse transform will use only 4x4 + * transforms + * @V4L2_AV1_TX_MODE_LARGEST: the inverse transform will use the largest + * transform size that fits inside the block + * @V4L2_AV1_TX_MODE_SELECT: the choice of transform size is specified + * explicitly for each block. + */ +enum v4l2_av1_tx_mode { + V4L2_AV1_TX_MODE_ONLY_4X4 = 0, + V4L2_AV1_TX_MODE_LARGEST = 1, + V4L2_AV1_TX_MODE_SELECT = 2 +}; + +#define V4L2_AV1_FRAME_FLAG_SHOW_FRAME 0x00000001 +#define V4L2_AV1_FRAME_FLAG_SHOWABLE_FRAME 0x00000002 +#define V4L2_AV1_FRAME_FLAG_ERROR_RESILIENT_MODE 0x00000004 +#define V4L2_AV1_FRAME_FLAG_DISABLE_CDF_UPDATE 0x00000008 +#define V4L2_AV1_FRAME_FLAG_ALLOW_SCREEN_CONTENT_TOOLS 0x00000010 +#define V4L2_AV1_FRAME_FLAG_FORCE_INTEGER_MV 0x00000020 +#define V4L2_AV1_FRAME_FLAG_ALLOW_INTRABC 0x00000040 +#define V4L2_AV1_FRAME_FLAG_USE_SUPERRES 0x00000080 +#define V4L2_AV1_FRAME_FLAG_ALLOW_HIGH_PRECISION_MV 0x00000100 +#define V4L2_AV1_FRAME_FLAG_IS_MOTION_MODE_SWITCHABLE 0x00000200 +#define V4L2_AV1_FRAME_FLAG_USE_REF_FRAME_MVS 0x00000400 +#define V4L2_AV1_FRAME_FLAG_DISABLE_FRAME_END_UPDATE_CDF 0x00000800 +#define V4L2_AV1_FRAME_FLAG_ALLOW_WARPED_MOTION 0x00001000 +#define V4L2_AV1_FRAME_FLAG_REFERENCE_SELECT 0x00002000 +#define V4L2_AV1_FRAME_FLAG_REDUCED_TX_SET 0x00004000 +#define V4L2_AV1_FRAME_FLAG_SKIP_MODE_ALLOWED 0x00008000 +#define V4L2_AV1_FRAME_FLAG_SKIP_MODE_PRESENT 0x00010000 +#define V4L2_AV1_FRAME_FLAG_FRAME_SIZE_OVERRIDE 0x00020000 +#define V4L2_AV1_FRAME_FLAG_BUFFER_REMOVAL_TIME_PRESENT 0x00040000 +#define V4L2_AV1_FRAME_FLAG_FRAME_REFS_SHORT_SIGNALING 0x00080000 + +#define V4L2_CID_STATELESS_AV1_FRAME (V4L2_CID_CODEC_STATELESS_BASE + 502) +/** + * struct v4l2_ctrl_av1_frame - Represents an AV1 Frame Header OBU. + * + * @tile_info: tile info + * @quantization: quantization params + * @segmentation: segmentation params + * @superres_denom: the denominator for the upscaling ratio. + * @loop_filter: loop filter params + * @cdef: cdef params + * @skip_mode_frame: specifies the frames to use for compound prediction when + * skip_mode is equal to 1. + * @primary_ref_frame: specifies which reference frame contains the CDF values + * and other state that should be loaded at the start of the frame. + * @loop_restoration: loop restoration params + * @global_motion: global motion params + * @flags: see V4L2_AV1_FRAME_FLAG_{} + * @frame_type: specifies the AV1 frame type + * @order_hint: specifies OrderHintBits least significant bits of the expected + * output order for this frame. + * @upscaled_width: the upscaled width. + * @interpolation_filter: specifies the filter selection used for performing + * inter prediction. + * @tx_mode: specifies how the transform size is determined. + * @frame_width_minus_1: add 1 to get the frame's width. + * @frame_height_minus_1: add 1 to get the frame's height + * @render_width_minus_1: add 1 to get the render width of the frame in luma + * samples. + * @render_height_minus_1: add 1 to get the render height of the frame in luma + * samples. + * @current_frame_id: specifies the frame id number for the current frame. Frame + * id numbers are additional information that do not affect the decoding + * process, but provide decoders with a way of detecting missing reference + * frames so that appropriate action can be taken. + * @buffer_removal_time: specifies the frame removal time in units of DecCT clock + * ticks counted from the removal time of the last random access point for + * operating point opNum. + * @reserved: padding field. Should be zeroed by applications. + * @order_hints: specifies the expected output order hint for each reference + * frame. This field corresponds to the OrderHints variable from the + * specification (section 5.9.2 "Uncompressed header syntax"). As such, this is + * only used for non-intra frames and ignored otherwise. order_hints[0] is + * always ignored. + * @reference_frame_ts: the V4L2 timestamp of the reference frame slots. + * @ref_frame_idx: used to index into @reference_frame_ts when decoding + * inter-frames. The meaning of this array is the same as in the specification. + * The timestamp refers to the timestamp field in struct v4l2_buffer. Use + * v4l2_timeval_to_ns() to convert the struct timeval to a __u64. + * @refresh_frame_flags: contains a bitmask that specifies which reference frame + * slots will be updated with the current frame after it is decoded. + */ +struct v4l2_ctrl_av1_frame { + struct v4l2_av1_tile_info tile_info; + struct v4l2_av1_quantization quantization; + __u8 superres_denom; + struct v4l2_av1_segmentation segmentation; + struct v4l2_av1_loop_filter loop_filter; + struct v4l2_av1_cdef cdef; + __u8 skip_mode_frame[2]; + __u8 primary_ref_frame; + struct v4l2_av1_loop_restoration loop_restoration; + struct v4l2_av1_global_motion global_motion; + __u32 flags; + enum v4l2_av1_frame_type frame_type; + __u32 order_hint; + __u32 upscaled_width; + enum v4l2_av1_interpolation_filter interpolation_filter; + enum v4l2_av1_tx_mode tx_mode; + __u32 frame_width_minus_1; + __u32 frame_height_minus_1; + __u16 render_width_minus_1; + __u16 render_height_minus_1; + + __u32 current_frame_id; + __u32 buffer_removal_time[V4L2_AV1_MAX_OPERATING_POINTS]; + __u8 reserved[4]; + __u32 order_hints[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __u64 reference_frame_ts[V4L2_AV1_TOTAL_REFS_PER_FRAME]; + __s8 ref_frame_idx[V4L2_AV1_REFS_PER_FRAME]; + __u8 refresh_frame_flags; +}; + +#define V4L2_AV1_FILM_GRAIN_FLAG_APPLY_GRAIN 0x1 +#define V4L2_AV1_FILM_GRAIN_FLAG_UPDATE_GRAIN 0x2 +#define V4L2_AV1_FILM_GRAIN_FLAG_CHROMA_SCALING_FROM_LUMA 0x4 +#define V4L2_AV1_FILM_GRAIN_FLAG_OVERLAP 0x8 +#define V4L2_AV1_FILM_GRAIN_FLAG_CLIP_TO_RESTRICTED_RANGE 0x10 + +#define V4L2_CID_STATELESS_AV1_FILM_GRAIN (V4L2_CID_CODEC_STATELESS_BASE + 505) +/** + * struct v4l2_ctrl_av1_film_grain - AV1 Film Grain parameters. + * + * Film grain parameters as specified by section 6.8.20 of the AV1 Specification. + * + * @flags: see V4L2_AV1_FILM_GRAIN_{}. + * @cr_mult: represents a multiplier for the cr component used in derivation of + * the input index to the cr component scaling function. + * @grain_seed: specifies the starting value for the pseudo-random numbers used + * during film grain synthesis. + * @film_grain_params_ref_idx: indicates which reference frame contains the + * film grain parameters to be used for this frame. + * @num_y_points: specifies the number of points for the piece-wise linear + * scaling function of the luma component. + * @point_y_value: represents the x (luma value) coordinate for the i-th point + * of the piecewise linear scaling function for luma component. The values are + * signaled on the scale of 0..255. In case of 10 bit video, these values + * correspond to luma values divided by 4. In case of 12 bit video, these values + * correspond to luma values divided by 16. + * @point_y_scaling: represents the scaling (output) value for the i-th point + * of the piecewise linear scaling function for luma component. + * @num_cb_points: specifies the number of points for the piece-wise linear + * scaling function of the cb component. + * @point_cb_value: represents the x coordinate for the i-th point of the + * piece-wise linear scaling function for cb component. The values are signaled + * on the scale of 0..255. + * @point_cb_scaling: represents the scaling (output) value for the i-th point + * of the piecewise linear scaling function for cb component. + * @num_cr_points: specifies represents the number of points for the piece-wise + * linear scaling function of the cr component. + * @point_cr_value: represents the x coordinate for the i-th point of the + * piece-wise linear scaling function for cr component. The values are signaled + * on the scale of 0..255. + * @point_cr_scaling: represents the scaling (output) value for the i-th point + * of the piecewise linear scaling function for cr component. + * @grain_scaling_minus_8: represents the shift – 8 applied to the values of the + * chroma component. The grain_scaling_minus_8 can take values of 0..3 and + * determines the range and quantization step of the standard deviation of film + * grain. + * @ar_coeff_lag: specifies the number of auto-regressive coefficients for luma + * and chroma. + * @ar_coeffs_y_plus_128: specifies auto-regressive coefficients used for the Y + * plane. + * @ar_coeffs_cb_plus_128: specifies auto-regressive coefficients used for the U + * plane. + * @ar_coeffs_cr_plus_128: specifies auto-regressive coefficients used for the V + * plane. + * @ar_coeff_shift_minus_6: specifies the range of the auto-regressive + * coefficients. Values of 0, 1, 2, and 3 correspond to the ranges for + * auto-regressive coefficients of [-2, 2), [-1, 1), [-0.5, 0.5) and [-0.25, + * 0.25) respectively. + * @grain_scale_shift: specifies how much the Gaussian random numbers should be + * scaled down during the grain synthesis process. + * @cb_mult: represents a multiplier for the cb component used in derivation of + * the input index to the cb component scaling function. + * @cb_luma_mult: represents a multiplier for the average luma component used in + * derivation of the input index to the cb component scaling function. + * @cr_luma_mult: represents a multiplier for the average luma component used in + * derivation of the input index to the cr component scaling function. + * @cb_offset: represents an offset used in derivation of the input index to the + * cb component scaling function. + * @cr_offset: represents an offset used in derivation of the input index to the + * cr component scaling function. + * @reserved: padding field. Should be zeroed by applications. + */ +struct v4l2_ctrl_av1_film_grain { + __u8 flags; + __u8 cr_mult; + __u16 grain_seed; + __u8 film_grain_params_ref_idx; + __u8 num_y_points; + __u8 point_y_value[V4L2_AV1_MAX_NUM_Y_POINTS]; + __u8 point_y_scaling[V4L2_AV1_MAX_NUM_Y_POINTS]; + __u8 num_cb_points; + __u8 point_cb_value[V4L2_AV1_MAX_NUM_CB_POINTS]; + __u8 point_cb_scaling[V4L2_AV1_MAX_NUM_CB_POINTS]; + __u8 num_cr_points; + __u8 point_cr_value[V4L2_AV1_MAX_NUM_CR_POINTS]; + __u8 point_cr_scaling[V4L2_AV1_MAX_NUM_CR_POINTS]; + __u8 grain_scaling_minus_8; + __u8 ar_coeff_lag; + __u8 ar_coeffs_y_plus_128[V4L2_AV1_AR_COEFFS_SIZE]; + __u8 ar_coeffs_cb_plus_128[V4L2_AV1_AR_COEFFS_SIZE]; + __u8 ar_coeffs_cr_plus_128[V4L2_AV1_AR_COEFFS_SIZE]; + __u8 ar_coeff_shift_minus_6; + __u8 grain_scale_shift; + __u8 cb_mult; + __u8 cb_luma_mult; + __u8 cr_luma_mult; + __u16 cb_offset; + __u16 cr_offset; + __u8 reserved[4]; +}; + /* MPEG-compression definitions kept for backwards compatibility */ #define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC #define V4L2_CID_MPEG_CLASS V4L2_CID_CODEC_CLASS diff --git a/contrib/libs/linux-headers/linux/version.h b/contrib/libs/linux-headers/linux/version.h index 67ebd52366..23253fbb7c 100644 --- a/contrib/libs/linux-headers/linux/version.h +++ b/contrib/libs/linux-headers/linux/version.h @@ -1,5 +1,5 @@ -#define LINUX_VERSION_CODE 394245 +#define LINUX_VERSION_CODE 394505 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c))) #define LINUX_VERSION_MAJOR 6 -#define LINUX_VERSION_PATCHLEVEL 4 -#define LINUX_VERSION_SUBLEVEL 5 +#define LINUX_VERSION_PATCHLEVEL 5 +#define LINUX_VERSION_SUBLEVEL 9 diff --git a/contrib/libs/linux-headers/linux/vfio.h b/contrib/libs/linux-headers/linux/vfio.h index 4a534edbdc..16db89071e 100644 --- a/contrib/libs/linux-headers/linux/vfio.h +++ b/contrib/libs/linux-headers/linux/vfio.h @@ -213,6 +213,7 @@ struct vfio_device_info { #define VFIO_DEVICE_FLAGS_AP (1 << 5) /* vfio-ap device */ #define VFIO_DEVICE_FLAGS_FSL_MC (1 << 6) /* vfio-fsl-mc device */ #define VFIO_DEVICE_FLAGS_CAPS (1 << 7) /* Info supports caps */ +#define VFIO_DEVICE_FLAGS_CDX (1 << 8) /* vfio-cdx device */ __u32 num_regions; /* Max region index + 1 */ __u32 num_irqs; /* Max IRQ index + 1 */ __u32 cap_offset; /* Offset within info struct of first cap */ @@ -240,6 +241,20 @@ struct vfio_device_info { #define VFIO_DEVICE_INFO_CAP_ZPCI_UTIL 3 #define VFIO_DEVICE_INFO_CAP_ZPCI_PFIP 4 +/* + * The following VFIO_DEVICE_INFO capability reports support for PCIe AtomicOp + * completion to the root bus with supported widths provided via flags. + */ +#define VFIO_DEVICE_INFO_CAP_PCI_ATOMIC_COMP 5 +struct vfio_device_info_cap_pci_atomic_comp { + struct vfio_info_cap_header header; + __u32 flags; +#define VFIO_PCI_ATOMIC_COMP32 (1 << 0) +#define VFIO_PCI_ATOMIC_COMP64 (1 << 1) +#define VFIO_PCI_ATOMIC_COMP128 (1 << 2) + __u32 reserved; +}; + /** * VFIO_DEVICE_GET_REGION_INFO - _IOWR(VFIO_TYPE, VFIO_BASE + 8, * struct vfio_region_info) @@ -511,6 +526,9 @@ struct vfio_region_info_cap_nvlink2_lnkspd { * then add and unmask vectors, it's up to userspace to make the decision * whether to allocate the maximum supported number of vectors or tear * down setup and incrementally increase the vectors as each is enabled. + * Absence of the NORESIZE flag indicates that vectors can be enabled + * and disabled dynamically without impacting other vectors within the + * index. */ struct vfio_irq_info { __u32 argsz; @@ -646,6 +664,15 @@ enum { VFIO_CCW_NUM_IRQS }; +/* + * The vfio-ap bus driver makes use of the following IRQ index mapping. + * Unimplemented IRQ types return a count of zero. + */ +enum { + VFIO_AP_REQ_IRQ_INDEX, + VFIO_AP_NUM_IRQS +}; + /** * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IOWR(VFIO_TYPE, VFIO_BASE + 12, * struct vfio_pci_hot_reset_info) diff --git a/contrib/libs/linux-headers/linux/vhost.h b/contrib/libs/linux-headers/linux/vhost.h index 92e1b700b5..f5c48b61ab 100644 --- a/contrib/libs/linux-headers/linux/vhost.h +++ b/contrib/libs/linux-headers/linux/vhost.h @@ -45,6 +45,25 @@ #define VHOST_SET_LOG_BASE _IOW(VHOST_VIRTIO, 0x04, __u64) /* Specify an eventfd file descriptor to signal on log write. */ #define VHOST_SET_LOG_FD _IOW(VHOST_VIRTIO, 0x07, int) +/* By default, a device gets one vhost_worker that its virtqueues share. This + * command allows the owner of the device to create an additional vhost_worker + * for the device. It can later be bound to 1 or more of its virtqueues using + * the VHOST_ATTACH_VRING_WORKER command. + * + * This must be called after VHOST_SET_OWNER and the caller must be the owner + * of the device. The new thread will inherit caller's cgroups and namespaces, + * and will share the caller's memory space. The new thread will also be + * counted against the caller's RLIMIT_NPROC value. + * + * The worker's ID used in other commands will be returned in + * vhost_worker_state. + */ +#define VHOST_NEW_WORKER _IOR(VHOST_VIRTIO, 0x8, struct vhost_worker_state) +/* Free a worker created with VHOST_NEW_WORKER if it's not attached to any + * virtqueue. If userspace is not able to call this for workers its created, + * the kernel will free all the device's workers when the device is closed. + */ +#define VHOST_FREE_WORKER _IOW(VHOST_VIRTIO, 0x9, struct vhost_worker_state) /* Ring setup. */ /* Set number of descriptors in ring. This parameter can not @@ -70,6 +89,18 @@ #define VHOST_VRING_BIG_ENDIAN 1 #define VHOST_SET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x13, struct vhost_vring_state) #define VHOST_GET_VRING_ENDIAN _IOW(VHOST_VIRTIO, 0x14, struct vhost_vring_state) +/* Attach a vhost_worker created with VHOST_NEW_WORKER to one of the device's + * virtqueues. + * + * This will replace the virtqueue's existing worker. If the replaced worker + * is no longer attached to any virtqueues, it can be freed with + * VHOST_FREE_WORKER. + */ +#define VHOST_ATTACH_VRING_WORKER _IOW(VHOST_VIRTIO, 0x15, \ + struct vhost_vring_worker) +/* Return the vring worker's ID */ +#define VHOST_GET_VRING_WORKER _IOWR(VHOST_VIRTIO, 0x16, \ + struct vhost_vring_worker) /* The following ioctls use eventfd file descriptors to signal and poll * for events. */ diff --git a/contrib/libs/linux-headers/linux/vhost_types.h b/contrib/libs/linux-headers/linux/vhost_types.h index 6ade318a0a..157db48379 100644 --- a/contrib/libs/linux-headers/linux/vhost_types.h +++ b/contrib/libs/linux-headers/linux/vhost_types.h @@ -47,6 +47,22 @@ struct vhost_vring_addr { __u64 log_guest_addr; }; +struct vhost_worker_state { + /* + * For VHOST_NEW_WORKER the kernel will return the new vhost_worker id. + * For VHOST_FREE_WORKER this must be set to the id of the vhost_worker + * to free. + */ + unsigned int worker_id; +}; + +struct vhost_vring_worker { + /* vring index */ + unsigned int index; + /* The id of the vhost_worker returned from VHOST_NEW_WORKER */ + unsigned int worker_id; +}; + /* no alignment requirement */ struct vhost_iotlb_msg { __u64 iova; diff --git a/contrib/libs/linux-headers/linux/videodev2.h b/contrib/libs/linux-headers/linux/videodev2.h index c19441a185..d4044ea9d7 100644 --- a/contrib/libs/linux-headers/linux/videodev2.h +++ b/contrib/libs/linux-headers/linux/videodev2.h @@ -645,6 +645,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_NV12_4L4 v4l2_fourcc('V', 'T', '1', '2') /* 12 Y/CbCr 4:2:0 4x4 tiles */ #define V4L2_PIX_FMT_NV12_16L16 v4l2_fourcc('H', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 16x16 tiles */ #define V4L2_PIX_FMT_NV12_32L32 v4l2_fourcc('S', 'T', '1', '2') /* 12 Y/CbCr 4:2:0 32x32 tiles */ +#define V4L2_PIX_FMT_NV15_4L4 v4l2_fourcc('V', 'T', '1', '5') /* 15 Y/CbCr 4:2:0 10-bit 4x4 tiles */ #define V4L2_PIX_FMT_P010_4L4 v4l2_fourcc('T', '0', '1', '0') /* 12 Y/CbCr 4:2:0 10-bit 4x4 macroblocks */ #define V4L2_PIX_FMT_NV12_8L128 v4l2_fourcc('A', 'T', '1', '2') /* Y/CbCr 4:2:0 8x128 tiles */ #define V4L2_PIX_FMT_NV12_10BE_8L128 v4l2_fourcc_be('A', 'X', '1', '2') /* Y/CbCr 4:2:0 10-bit 8x128 tiles */ @@ -731,6 +732,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_FWHT_STATELESS v4l2_fourcc('S', 'F', 'W', 'H') /* Stateless FWHT (vicodec) */ #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H264 parsed slices */ #define V4L2_PIX_FMT_HEVC_SLICE v4l2_fourcc('S', '2', '6', '5') /* HEVC parsed slices */ +#define V4L2_PIX_FMT_AV1_FRAME v4l2_fourcc('A', 'V', '1', 'F') /* AV1 parsed frame */ #define V4L2_PIX_FMT_SPK v4l2_fourcc('S', 'P', 'K', '0') /* Sorenson Spark */ #define V4L2_PIX_FMT_RV30 v4l2_fourcc('R', 'V', '3', '0') /* RealVideo 8 */ #define V4L2_PIX_FMT_RV40 v4l2_fourcc('R', 'V', '4', '0') /* RealVideo 9 & 10 */ @@ -1776,6 +1778,10 @@ struct v4l2_ext_control { struct v4l2_ctrl_hevc_slice_params *p_hevc_slice_params; struct v4l2_ctrl_hevc_scaling_matrix *p_hevc_scaling_matrix; struct v4l2_ctrl_hevc_decode_params *p_hevc_decode_params; + struct v4l2_ctrl_av1_sequence *p_av1_sequence; + struct v4l2_ctrl_av1_tile_group_entry *p_av1_tile_group_entry; + struct v4l2_ctrl_av1_frame *p_av1_frame; + struct v4l2_ctrl_av1_film_grain *p_av1_film_grain; void *ptr; }; } __attribute__ ((packed)); @@ -1845,6 +1851,11 @@ enum v4l2_ctrl_type { V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS = 0x0272, V4L2_CTRL_TYPE_HEVC_SCALING_MATRIX = 0x0273, V4L2_CTRL_TYPE_HEVC_DECODE_PARAMS = 0x0274, + + V4L2_CTRL_TYPE_AV1_SEQUENCE = 0x280, + V4L2_CTRL_TYPE_AV1_TILE_GROUP_ENTRY = 0x281, + V4L2_CTRL_TYPE_AV1_FRAME = 0x282, + V4L2_CTRL_TYPE_AV1_FILM_GRAIN = 0x283, }; /* Used in the VIDIOC_QUERYCTRL ioctl for querying controls */ diff --git a/contrib/libs/linux-headers/linux/wireless.h b/contrib/libs/linux-headers/linux/wireless.h index dc692c94ec..ad31d14806 100644 --- a/contrib/libs/linux-headers/linux/wireless.h +++ b/contrib/libs/linux-headers/linux/wireless.h @@ -831,7 +831,7 @@ struct iw_encode_ext { * individual keys */ __u16 alg; /* IW_ENCODE_ALG_* */ __u16 key_len; - __u8 key[0]; + __u8 key[]; }; /* SIOCSIWMLME data */ diff --git a/contrib/libs/linux-headers/rdma/bnxt_re-abi.h b/contrib/libs/linux-headers/rdma/bnxt_re-abi.h index c4e90775da..8a2a1d4f6b 100644 --- a/contrib/libs/linux-headers/rdma/bnxt_re-abi.h +++ b/contrib/libs/linux-headers/rdma/bnxt_re-abi.h @@ -41,6 +41,7 @@ #define __BNXT_RE_UVERBS_ABI_H__ #include <linux/types.h> +#include <rdma/ib_user_ioctl_cmds.h> #define BNXT_RE_ABI_VERSION 1 @@ -51,6 +52,7 @@ enum { BNXT_RE_UCNTX_CMASK_HAVE_CCTX = 0x1ULL, BNXT_RE_UCNTX_CMASK_HAVE_MODE = 0x02ULL, + BNXT_RE_UCNTX_CMASK_WC_DPI_ENABLED = 0x04ULL, }; enum bnxt_re_wqe_mode { @@ -127,4 +129,29 @@ enum bnxt_re_shpg_offt { BNXT_RE_END_RESV_OFFT = 0xFF0 }; +enum bnxt_re_objects { + BNXT_RE_OBJECT_ALLOC_PAGE = (1U << UVERBS_ID_NS_SHIFT), +}; + +enum bnxt_re_alloc_page_type { + BNXT_RE_ALLOC_WC_PAGE = 0, +}; + +enum bnxt_re_var_alloc_page_attrs { + BNXT_RE_ALLOC_PAGE_HANDLE = (1U << UVERBS_ID_NS_SHIFT), + BNXT_RE_ALLOC_PAGE_TYPE, + BNXT_RE_ALLOC_PAGE_DPI, + BNXT_RE_ALLOC_PAGE_MMAP_OFFSET, + BNXT_RE_ALLOC_PAGE_MMAP_LENGTH, +}; + +enum bnxt_re_alloc_page_attrs { + BNXT_RE_DESTROY_PAGE_HANDLE = (1U << UVERBS_ID_NS_SHIFT), +}; + +enum bnxt_re_alloc_page_methods { + BNXT_RE_METHOD_ALLOC_PAGE = (1U << UVERBS_ID_NS_SHIFT), + BNXT_RE_METHOD_DESTROY_PAGE, +}; + #endif /* __BNXT_RE_UVERBS_ABI_H__*/ diff --git a/contrib/libs/linux-headers/scsi/scsi_bsg_ufs.h b/contrib/libs/linux-headers/scsi/scsi_bsg_ufs.h index 2801b65299..fd3f9e5ee2 100644 --- a/contrib/libs/linux-headers/scsi/scsi_bsg_ufs.h +++ b/contrib/libs/linux-headers/scsi/scsi_bsg_ufs.h @@ -71,6 +71,31 @@ struct utp_upiu_query { }; /** + * struct utp_upiu_query_v4_0 - upiu request buffer structure for + * query request >= UFS 4.0 spec. + * @opcode: command to perform B-0 + * @idn: a value that indicates the particular type of data B-1 + * @index: Index to further identify data B-2 + * @selector: Index to further identify data B-3 + * @osf4: spec field B-5 + * @osf5: spec field B 6,7 + * @osf6: spec field DW 8,9 + * @osf7: spec field DW 10,11 + */ +struct utp_upiu_query_v4_0 { + __u8 opcode; + __u8 idn; + __u8 index; + __u8 selector; + __u8 osf3; + __u8 osf4; + __be16 osf5; + __be32 osf6; + __be32 osf7; + __be32 reserved; +}; + +/** * struct utp_upiu_cmd - Command UPIU structure * @data_transfer_len: Data Transfer Length DW-3 * @cdb: Command Descriptor Block CDB DW-4 to DW-7 diff --git a/contrib/libs/linux-headers/sound/asequencer.h b/contrib/libs/linux-headers/sound/asequencer.h index d3498633fc..b96d99f736 100644 --- a/contrib/libs/linux-headers/sound/asequencer.h +++ b/contrib/libs/linux-headers/sound/asequencer.h @@ -10,7 +10,7 @@ #include <sound/asound.h> /** version of the sequencer */ -#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 2) +#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 3) /** * definition of sequencer event types @@ -174,6 +174,7 @@ struct snd_seq_connect { #define SNDRV_SEQ_PRIORITY_HIGH (1<<4) /* event should be processed before others */ #define SNDRV_SEQ_PRIORITY_MASK (1<<4) +#define SNDRV_SEQ_EVENT_UMP (1<<5) /* event holds a UMP packet */ /* note event */ struct snd_seq_ev_note { @@ -252,6 +253,19 @@ struct snd_seq_ev_quote { struct snd_seq_event *event; /* quoted event */ } __attribute__((packed)); +union snd_seq_event_data { /* event data... */ + struct snd_seq_ev_note note; + struct snd_seq_ev_ctrl control; + struct snd_seq_ev_raw8 raw8; + struct snd_seq_ev_raw32 raw32; + struct snd_seq_ev_ext ext; + struct snd_seq_ev_queue_control queue; + union snd_seq_timestamp time; + struct snd_seq_addr addr; + struct snd_seq_connect connect; + struct snd_seq_result result; + struct snd_seq_ev_quote quote; +}; /* sequencer event */ struct snd_seq_event { @@ -262,25 +276,27 @@ struct snd_seq_event { unsigned char queue; /* schedule queue */ union snd_seq_timestamp time; /* schedule time */ - struct snd_seq_addr source; /* source address */ struct snd_seq_addr dest; /* destination address */ - union { /* event data... */ - struct snd_seq_ev_note note; - struct snd_seq_ev_ctrl control; - struct snd_seq_ev_raw8 raw8; - struct snd_seq_ev_raw32 raw32; - struct snd_seq_ev_ext ext; - struct snd_seq_ev_queue_control queue; - union snd_seq_timestamp time; - struct snd_seq_addr addr; - struct snd_seq_connect connect; - struct snd_seq_result result; - struct snd_seq_ev_quote quote; - } data; + union snd_seq_event_data data; }; + /* (compatible) event for UMP-capable clients */ +struct snd_seq_ump_event { + snd_seq_event_type_t type; /* event type */ + unsigned char flags; /* event flags */ + char tag; + unsigned char queue; /* schedule queue */ + union snd_seq_timestamp time; /* schedule time */ + struct snd_seq_addr source; /* source address */ + struct snd_seq_addr dest; /* destination address */ + + union { + union snd_seq_event_data data; + unsigned int ump[4]; + }; +}; /* * bounce event - stored as variable size data @@ -331,6 +347,7 @@ typedef int __bitwise snd_seq_client_type_t; #define SNDRV_SEQ_FILTER_BROADCAST (1U<<0) /* accept broadcast messages */ #define SNDRV_SEQ_FILTER_MULTICAST (1U<<1) /* accept multicast messages */ #define SNDRV_SEQ_FILTER_BOUNCE (1U<<2) /* accept bounce event in error */ +#define SNDRV_SEQ_FILTER_NO_CONVERT (1U<<30) /* don't convert UMP events */ #define SNDRV_SEQ_FILTER_USE_EVENT (1U<<31) /* use event filter */ struct snd_seq_client_info { @@ -344,9 +361,18 @@ struct snd_seq_client_info { int event_lost; /* number of lost events */ int card; /* RO: card number[kernel] */ int pid; /* RO: pid[user] */ - char reserved[56]; /* for future use */ + unsigned int midi_version; /* MIDI version */ + unsigned int group_filter; /* UMP group filter bitmap + * (bit 0 = groupless messages, + * bit 1-16 = messages for groups 1-16) + */ + char reserved[48]; /* for future use */ }; +/* MIDI version numbers in client info */ +#define SNDRV_SEQ_CLIENT_LEGACY_MIDI 0 /* Legacy client */ +#define SNDRV_SEQ_CLIENT_UMP_MIDI_1_0 1 /* UMP MIDI 1.0 */ +#define SNDRV_SEQ_CLIENT_UMP_MIDI_2_0 2 /* UMP MIDI 2.0 */ /* client pool size */ struct snd_seq_client_pool { @@ -406,6 +432,8 @@ struct snd_seq_remove_events { #define SNDRV_SEQ_PORT_CAP_SUBS_READ (1<<5) /* allow read subscription */ #define SNDRV_SEQ_PORT_CAP_SUBS_WRITE (1<<6) /* allow write subscription */ #define SNDRV_SEQ_PORT_CAP_NO_EXPORT (1<<7) /* routing not allowed */ +#define SNDRV_SEQ_PORT_CAP_INACTIVE (1<<8) /* inactive port */ +#define SNDRV_SEQ_PORT_CAP_UMP_ENDPOINT (1<<9) /* MIDI 2.0 UMP Endpoint port */ /* port type */ #define SNDRV_SEQ_PORT_TYPE_SPECIFIC (1<<0) /* hardware specific */ @@ -415,6 +443,7 @@ struct snd_seq_remove_events { #define SNDRV_SEQ_PORT_TYPE_MIDI_XG (1<<4) /* XG compatible device */ #define SNDRV_SEQ_PORT_TYPE_MIDI_MT32 (1<<5) /* MT-32 compatible device */ #define SNDRV_SEQ_PORT_TYPE_MIDI_GM2 (1<<6) /* General MIDI 2 compatible device */ +#define SNDRV_SEQ_PORT_TYPE_MIDI_UMP (1<<7) /* UMP */ /* other standards...*/ #define SNDRV_SEQ_PORT_TYPE_SYNTH (1<<10) /* Synth device (no MIDI compatible - direct wavetable) */ @@ -432,6 +461,12 @@ struct snd_seq_remove_events { #define SNDRV_SEQ_PORT_FLG_TIMESTAMP (1<<1) #define SNDRV_SEQ_PORT_FLG_TIME_REAL (1<<2) +/* port direction */ +#define SNDRV_SEQ_PORT_DIR_UNKNOWN 0 +#define SNDRV_SEQ_PORT_DIR_INPUT 1 +#define SNDRV_SEQ_PORT_DIR_OUTPUT 2 +#define SNDRV_SEQ_PORT_DIR_BIDIRECTION 3 + struct snd_seq_port_info { struct snd_seq_addr addr; /* client/port numbers */ char name[64]; /* port name */ @@ -448,7 +483,9 @@ struct snd_seq_port_info { void *kernel; /* reserved for kernel use (must be NULL) */ unsigned int flags; /* misc. conditioning */ unsigned char time_queue; /* queue # for timestamping */ - char reserved[59]; /* for future use */ + unsigned char direction; /* port usage direction (r/w/bidir) */ + unsigned char ump_group; /* 0 = UMP EP (no conversion), 1-16 = UMP group number */ + char reserved[57]; /* for future use */ }; @@ -552,6 +589,18 @@ struct snd_seq_query_subs { char reserved[64]; /* for future use */ }; +/* + * UMP-specific information + */ +/* type of UMP info query */ +#define SNDRV_SEQ_CLIENT_UMP_INFO_ENDPOINT 0 +#define SNDRV_SEQ_CLIENT_UMP_INFO_BLOCK 1 + +struct snd_seq_client_ump_info { + int client; /* client number to inquire/set */ + int type; /* type to inquire/set */ + unsigned char info[512]; /* info (either UMP ep or block info) */ +} __attribute__((packed)); /* * IOCTL commands @@ -561,9 +610,12 @@ struct snd_seq_query_subs { #define SNDRV_SEQ_IOCTL_CLIENT_ID _IOR ('S', 0x01, int) #define SNDRV_SEQ_IOCTL_SYSTEM_INFO _IOWR('S', 0x02, struct snd_seq_system_info) #define SNDRV_SEQ_IOCTL_RUNNING_MODE _IOWR('S', 0x03, struct snd_seq_running_info) +#define SNDRV_SEQ_IOCTL_USER_PVERSION _IOW('S', 0x04, int) #define SNDRV_SEQ_IOCTL_GET_CLIENT_INFO _IOWR('S', 0x10, struct snd_seq_client_info) #define SNDRV_SEQ_IOCTL_SET_CLIENT_INFO _IOW ('S', 0x11, struct snd_seq_client_info) +#define SNDRV_SEQ_IOCTL_GET_CLIENT_UMP_INFO _IOWR('S', 0x12, struct snd_seq_client_ump_info) +#define SNDRV_SEQ_IOCTL_SET_CLIENT_UMP_INFO _IOWR('S', 0x13, struct snd_seq_client_ump_info) #define SNDRV_SEQ_IOCTL_CREATE_PORT _IOWR('S', 0x20, struct snd_seq_port_info) #define SNDRV_SEQ_IOCTL_DELETE_PORT _IOW ('S', 0x21, struct snd_seq_port_info) diff --git a/contrib/libs/linux-headers/sound/asound.h b/contrib/libs/linux-headers/sound/asound.h index b7e0df9498..08e63dac8d 100644 --- a/contrib/libs/linux-headers/sound/asound.h +++ b/contrib/libs/linux-headers/sound/asound.h @@ -272,6 +272,7 @@ typedef int __bitwise snd_pcm_subformat_t; #define SNDRV_PCM_INFO_DOUBLE 0x00000004 /* Double buffering needed for PCM start/stop */ #define SNDRV_PCM_INFO_BATCH 0x00000010 /* double buffering */ #define SNDRV_PCM_INFO_SYNC_APPLPTR 0x00000020 /* need the explicit sync of appl_ptr update */ +#define SNDRV_PCM_INFO_PERFECT_DRAIN 0x00000040 /* silencing at the end of stream is not required */ #define SNDRV_PCM_INFO_INTERLEAVED 0x00000100 /* channels are interleaved */ #define SNDRV_PCM_INFO_NONINTERLEAVED 0x00000200 /* channels are not interleaved */ #define SNDRV_PCM_INFO_COMPLEX 0x00000400 /* complex frame organization (mmap only) */ @@ -381,6 +382,9 @@ typedef int snd_pcm_hw_param_t; #define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1<<0) /* avoid rate resampling */ #define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1<<1) /* export buffer */ #define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1<<2) /* disable period wakeups */ +#define SNDRV_PCM_HW_PARAMS_NO_DRAIN_SILENCE (1<<3) /* suppress drain with the filling + * of the silence samples + */ struct snd_interval { unsigned int min, max; @@ -700,7 +704,7 @@ enum { * Raw MIDI section - /dev/snd/midi?? */ -#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 2) +#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 4) enum { SNDRV_RAWMIDI_STREAM_OUTPUT = 0, @@ -711,6 +715,7 @@ enum { #define SNDRV_RAWMIDI_INFO_OUTPUT 0x00000001 #define SNDRV_RAWMIDI_INFO_INPUT 0x00000002 #define SNDRV_RAWMIDI_INFO_DUPLEX 0x00000004 +#define SNDRV_RAWMIDI_INFO_UMP 0x00000008 struct snd_rawmidi_info { unsigned int device; /* RO/WR (control): device number */ @@ -769,6 +774,72 @@ struct snd_rawmidi_status { unsigned char reserved[16]; /* reserved for future use */ }; +/* UMP EP info flags */ +#define SNDRV_UMP_EP_INFO_STATIC_BLOCKS 0x01 + +/* UMP EP Protocol / JRTS capability bits */ +#define SNDRV_UMP_EP_INFO_PROTO_MIDI_MASK 0x0300 +#define SNDRV_UMP_EP_INFO_PROTO_MIDI1 0x0100 /* MIDI 1.0 */ +#define SNDRV_UMP_EP_INFO_PROTO_MIDI2 0x0200 /* MIDI 2.0 */ +#define SNDRV_UMP_EP_INFO_PROTO_JRTS_MASK 0x0003 +#define SNDRV_UMP_EP_INFO_PROTO_JRTS_TX 0x0001 /* JRTS Transmit */ +#define SNDRV_UMP_EP_INFO_PROTO_JRTS_RX 0x0002 /* JRTS Receive */ + +/* UMP Endpoint information */ +struct snd_ump_endpoint_info { + int card; /* card number */ + int device; /* device number */ + unsigned int flags; /* additional info */ + unsigned int protocol_caps; /* protocol capabilities */ + unsigned int protocol; /* current protocol */ + unsigned int num_blocks; /* # of function blocks */ + unsigned short version; /* UMP major/minor version */ + unsigned short family_id; /* MIDI device family ID */ + unsigned short model_id; /* MIDI family model ID */ + unsigned int manufacturer_id; /* MIDI manufacturer ID */ + unsigned char sw_revision[4]; /* software revision */ + unsigned short padding; + unsigned char name[128]; /* endpoint name string */ + unsigned char product_id[128]; /* unique product id string */ + unsigned char reserved[32]; +} __attribute__((packed)); + +/* UMP direction */ +#define SNDRV_UMP_DIR_INPUT 0x01 +#define SNDRV_UMP_DIR_OUTPUT 0x02 +#define SNDRV_UMP_DIR_BIDIRECTION 0x03 + +/* UMP block info flags */ +#define SNDRV_UMP_BLOCK_IS_MIDI1 (1U << 0) /* MIDI 1.0 port w/o restrict */ +#define SNDRV_UMP_BLOCK_IS_LOWSPEED (1U << 1) /* 31.25Kbps B/W MIDI1 port */ + +/* UMP block user-interface hint */ +#define SNDRV_UMP_BLOCK_UI_HINT_UNKNOWN 0x00 +#define SNDRV_UMP_BLOCK_UI_HINT_RECEIVER 0x01 +#define SNDRV_UMP_BLOCK_UI_HINT_SENDER 0x02 +#define SNDRV_UMP_BLOCK_UI_HINT_BOTH 0x03 + +/* UMP groups and blocks */ +#define SNDRV_UMP_MAX_GROUPS 16 +#define SNDRV_UMP_MAX_BLOCKS 32 + +/* UMP Block information */ +struct snd_ump_block_info { + int card; /* card number */ + int device; /* device number */ + unsigned char block_id; /* block ID (R/W) */ + unsigned char direction; /* UMP direction */ + unsigned char active; /* Activeness */ + unsigned char first_group; /* first group ID */ + unsigned char num_groups; /* number of groups */ + unsigned char midi_ci_version; /* MIDI-CI support version */ + unsigned char sysex8_streams; /* max number of sysex8 streams */ + unsigned char ui_hint; /* user interface hint */ + unsigned int flags; /* various info flags */ + unsigned char name[128]; /* block name string */ + unsigned char reserved[32]; +} __attribute__((packed)); + #define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int) #define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info) #define SNDRV_RAWMIDI_IOCTL_USER_PVERSION _IOW('W', 0x02, int) @@ -776,6 +847,9 @@ struct snd_rawmidi_status { #define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status) #define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int) #define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int) +/* Additional ioctls for UMP rawmidi devices */ +#define SNDRV_UMP_IOCTL_ENDPOINT_INFO _IOR('W', 0x40, struct snd_ump_endpoint_info) +#define SNDRV_UMP_IOCTL_BLOCK_INFO _IOR('W', 0x41, struct snd_ump_block_info) /* * Timer section - /dev/snd/timer @@ -947,7 +1021,7 @@ struct snd_timer_tread { * * ****************************************************************************/ -#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 8) +#define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 9) struct snd_ctl_card_info { int card; /* card number */ @@ -1108,6 +1182,9 @@ struct snd_ctl_tlv { #define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int) #define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info) #define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int) +#define SNDRV_CTL_IOCTL_UMP_NEXT_DEVICE _IOWR('U', 0x43, int) +#define SNDRV_CTL_IOCTL_UMP_ENDPOINT_INFO _IOWR('U', 0x44, struct snd_ump_endpoint_info) +#define SNDRV_CTL_IOCTL_UMP_BLOCK_INFO _IOWR('U', 0x45, struct snd_ump_block_info) #define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int) #define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int) diff --git a/contrib/libs/linux-headers/sound/emu10k1.h b/contrib/libs/linux-headers/sound/emu10k1.h index d421cf6713..8ef6525218 100644 --- a/contrib/libs/linux-headers/sound/emu10k1.h +++ b/contrib/libs/linux-headers/sound/emu10k1.h @@ -308,6 +308,8 @@ struct snd_emu10k1_fx8010_info { #define EMU10K1_GPR_TRANSLATION_BASS 2 #define EMU10K1_GPR_TRANSLATION_TREBLE 3 #define EMU10K1_GPR_TRANSLATION_ONOFF 4 +#define EMU10K1_GPR_TRANSLATION_NEGATE 5 +#define EMU10K1_GPR_TRANSLATION_NEG_TABLE100 6 enum emu10k1_ctl_elem_iface { EMU10K1_CTL_ELEM_IFACE_MIXER = 2, /* virtual mixer device */ @@ -328,9 +330,9 @@ struct snd_emu10k1_fx8010_control_gpr { unsigned int vcount; /* visible count */ unsigned int count; /* count of GPR (1..16) */ unsigned short gpr[32]; /* GPR number(s) */ - unsigned int value[32]; /* initial values */ - unsigned int min; /* minimum range */ - unsigned int max; /* maximum range */ + int value[32]; /* initial values */ + int min; /* minimum range */ + int max; /* maximum range */ unsigned int translation; /* translation type (EMU10K1_GPR_TRANSLATION*) */ const unsigned int *tlv; }; diff --git a/contrib/libs/linux-headers/xen/evtchn.h b/contrib/libs/linux-headers/xen/evtchn.h index 7fbf732f16..aef2b75f34 100644 --- a/contrib/libs/linux-headers/xen/evtchn.h +++ b/contrib/libs/linux-headers/xen/evtchn.h @@ -101,4 +101,13 @@ struct ioctl_evtchn_restrict_domid { domid_t domid; }; +/* + * Bind statically allocated @port. + */ +#define IOCTL_EVTCHN_BIND_STATIC \ + _IOC(_IOC_NONE, 'E', 7, sizeof(struct ioctl_evtchn_bind)) +struct ioctl_evtchn_bind { + unsigned int port; +}; + #endif /* __LINUX_PUBLIC_EVTCHN_H__ */ diff --git a/contrib/libs/linux-headers/ya.make b/contrib/libs/linux-headers/ya.make index 5f6590d69c..e4e748f7ae 100644 --- a/contrib/libs/linux-headers/ya.make +++ b/contrib/libs/linux-headers/ya.make @@ -28,9 +28,9 @@ LICENSE( LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(6.4.5) +VERSION(6.5.9) -ORIGINAL_SOURCE(mirror://kernel/linux/kernel/v6.x/linux-6.4.5.tar.xz) +ORIGINAL_SOURCE(mirror://kernel/linux/kernel/v6.x/linux-6.5.9.tar.xz) DISABLE(NEED_PLATFORM_PEERDIRS) |