Centos-kernel-stream-9/Documentation
Jerome Marchand 263d0837b3 docs/bpf: Improve documentation of 64-bit immediate instructions
JIRA: https://issues.redhat.com/browse/RHEL-23649

commit ced33f2cfa21a14a292a00e31dc9f85c1bfbda1c
Author: Yonghong Song <yonghong.song@linux.dev>
Date:   Sat Jan 27 11:46:29 2024 -0800

    docs/bpf: Improve documentation of 64-bit immediate instructions

    For 64-bit immediate instruction, 'BPF_IMM | BPF_DW | BPF_LD' and
    src_reg=[0-6], the current documentation describes the 64-bit
    immediate is constructed by:

      imm64 = (next_imm << 32) | imm

    But actually imm64 is only used when src_reg=0. For all other
    variants (src_reg != 0), 'imm' and 'next_imm' have separate special
    encoding requirement and imm64 cannot be easily used to describe
    instruction semantics.

    This patch clarifies that 64-bit immediate instructions use
    two 32-bit immediate values instead of a 64-bit immediate value,
    so later describing individual 64-bit immediate instructions
    becomes less confusing.

    Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
    Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
    Acked-by: Dave Thaler <dthaler1968@gmail.com>
    Link: https://lore.kernel.org/bpf/20240127194629.737589-1-yonghong.song@linux.dev

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2024-10-15 10:49:05 +02:00
..
ABI driver core: auxiliary bus: show auxiliary device IRQs 2024-10-02 15:24:56 +02:00
PCI Documentation: PCI: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY 2024-08-15 15:31:13 -06:00
RCU
accounting delayacct: track delays from IRQ/SOFTIRQ 2024-07-15 11:12:08 -04:00
admin-guide Merge: CIFS: Sync with upstream v6.9+ for RHEL 9.6 2024-10-02 08:57:43 +00:00
arch Merge: Refresh s390x subsystem to upstream kernel 6.7 2024-09-26 17:55:24 +00:00
arm
arm64 Merge: arm64: module: rework module VA range selection 2024-02-13 10:13:31 -05:00
block fscrypt: improve documentation for inline encryption 2024-03-26 08:40:55 +08:00
bpf docs/bpf: Improve documentation of 64-bit immediate instructions 2024-10-15 10:49:05 +02:00
cdrom
core-api mm: Don't pin ZERO_PAGE in pin_user_pages() 2024-09-05 20:36:12 -04:00
cpu-freq
crypto crypto: octeontx2 - add devlink option to set t106 mode 2024-07-04 15:11:10 +02:00
dev-tools kasan: add support for kasan.fault=panic_on_write 2024-09-05 20:37:01 -04:00
devicetree dt-bindings: remoteproc: ti: Add new compatible for AM62 SoC family 2024-09-30 08:51:43 -07:00
doc-guide docs: automarkup: linkify git revs 2024-04-17 16:42:26 -04:00
driver-api docs: move s390 under arch 2024-09-06 17:33:51 +02:00
fault-injection
fb fbdev/intelfb: Remove driver 2024-05-20 11:00:13 +02:00
features s390: enable ARCH_HAS_MEMBARRIER_SYNC_CORE 2024-09-06 17:33:45 +02:00
filesystems Merge: mm: follow up work for the MM v6.4 update and disable CONFIG_PER_VMA_LOCK until it is fixed 2024-08-06 14:21:52 +00:00
firmware-guide Merge: update drivers/platform to match Linux v6.7 2024-06-17 19:46:39 +00:00
firmware_class
fpga
gpu fbdev: Make support for userspace interfaces configurable 2024-05-20 11:00:01 +02:00
hid HID: Add introduction about HID for non-kernel programmers 2024-06-17 14:25:50 +02:00
hwmon
i2c
ia64
ide
iio
infiniband
input
isdn
kbuild Makefile.compiler: replace cc-ifversion with compiler-specific macros 2024-03-20 09:42:51 -04:00
kernel-hacking
leds
litmus-tests
livepatch x86,objtool: Split UNWIND_HINT_EMPTY in two 2024-09-18 15:14:40 +02:00
locking locking/mutex: Document that mutex_unlock() is non-atomic 2024-05-22 19:52:16 -04:00
m68k
maintainer
mhi
mips
misc-devices
mm mm: convert migrate_pages() to work on folios 2024-09-05 20:35:25 -04:00
netlabel
netlink netdev: add queue stat for alloc failures 2024-09-06 12:09:02 +00:00
networking Merge: CNB96: xfrm: get global statistics from the offloaded device 2024-10-10 12:01:53 +00:00
nios2
nvdimm
openrisc
parisc
pcmcia
power Revert "Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8"" 2024-05-18 21:38:20 -04:00
powerpc Documentation: Document PowerPC kernel dynamic DEXCR interface 2024-10-04 01:56:02 -04:00
process tty: synclink_gt: remove MGSL_MAGIC 2024-05-09 11:25:08 -04:00
riscv
rust x86: enable initial Rust support 2024-03-20 09:42:43 -04:00
scheduler Merge: Scheduler: rhel9.5 updates 2024-05-08 20:13:47 +00:00
scsi
security
sh
sound ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS() 2024-07-08 20:54:47 +02:00
sparc
sphinx Merge: livepatch: selected fixes for rhel-9.5 2024-06-05 20:02:22 +00:00
sphinx-static
spi
staging jump_label: make initial NOP patching the special case 2024-03-20 09:43:04 -04:00
target
timers sched/isolation: Prevent boot crash when the boot CPU is nohz_full 2024-07-25 09:48:26 +02:00
tools rtla: Add --trace-buffer-size option 2024-09-09 12:34:29 -03:00
trace rtla/osnoise: set the default threshold to 1us 2024-08-13 20:42:06 -03:00
translations mm: kill frontswap 2024-06-28 12:24:06 -04:00
tty serial: 8250: Add proper clock handling for OxSemi PCIe devices 2024-05-09 11:24:43 -04:00
usb Documentation: usb: Document FunctionFS DMABUF API 2024-06-13 13:57:01 -03:00
userspace-api Merge: CVE-2024-23848: media: cec: use-after-free in cec_queue_msg_fh 2024-07-17 17:21:27 +00:00
virt Merge: AMD updates + SEV-SNP backport for 9.5 2024-07-10 17:45:11 +00:00
w1
watchdog
x86 docs: move x86 documentation into Documentation/arch/ [partial] 2024-08-29 08:19:51 -04:00
xtensa
.gitignore
COPYING-logo
Changes
CodingStyle
Kconfig
Makefile doc/netlink: Regenerate netlink .rst files if ynl-gen-rst changes 2024-04-26 17:16:09 +02:00
SubmittingPatches
asm-annotations.rst
atomic_bitops.txt locking/atomic: Make test_and_*_bit() ordered on failure 2024-06-26 17:02:01 +02:00
atomic_t.txt
conf.py
docutils.conf
dontdiff
index.rst docs: create a top-level arch/ directory 2024-09-06 17:33:51 +02:00
logo.gif
memory-barriers.txt
watch_queue.rst