<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/Documentation/bpf/standardization, branch v6.6.132</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2023-08-30T14:36:10+00:00</updated>
<entry>
<title>bpf, docs: s/eBPF/BPF in standards documents</title>
<updated>2023-08-30T14:36:10+00:00</updated>
<author>
<name>David Vernet</name>
<email>void@manifault.com</email>
</author>
<published>2023-08-28T15:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7d35eb1a184a3f0759ad9e9cde4669b5c55b2063'/>
<id>urn:sha1:7d35eb1a184a3f0759ad9e9cde4669b5c55b2063</id>
<content type='text'>
There isn't really anything other than just "BPF" at this point,
so referring to it as "eBPF" in our standards document just causes
unnecessary confusion. Let's just be consistent and use "BPF".

Suggested-by: Will Hawkins &lt;hawkinsw@obs.cr&gt;
Signed-off-by: David Vernet &lt;void@manifault.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Link: https://lore.kernel.org/bpf/20230828155948.123405-4-void@manifault.com
</content>
</entry>
<entry>
<title>bpf, docs: Add abi.rst document to standardization subdirectory</title>
<updated>2023-08-30T14:35:58+00:00</updated>
<author>
<name>David Vernet</name>
<email>void@manifault.com</email>
</author>
<published>2023-08-28T15:59:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=deb88407254621bf926658cff49a7ba01b59dec6'/>
<id>urn:sha1:deb88407254621bf926658cff49a7ba01b59dec6</id>
<content type='text'>
As specified in the IETF BPF charter, the BPF working group has plans to
add one or more informational documents that recommend conventions and
guidelines for producing portable BPF program binaries. The
instruction-set.rst document currently contains a "Registers and calling
convention" subsection which dictates a calling convention that belongs
in an ABI document, rather than an instruction set document. Let's move
it to a new abi.rst document so we can clean it up. The abi.rst document
will of course be significantly changed and expanded upon over time. For
now, it's really just a placeholder which will contain ABI-specific
language that doesn't belong in other documents.

Signed-off-by: David Vernet &lt;void@manifault.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Link: https://lore.kernel.org/bpf/20230828155948.123405-3-void@manifault.com
</content>
</entry>
<entry>
<title>bpf, docs: Move linux-notes.rst to root bpf docs tree</title>
<updated>2023-08-30T14:35:44+00:00</updated>
<author>
<name>David Vernet</name>
<email>void@manifault.com</email>
</author>
<published>2023-08-28T15:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=aee1720eeb87a3adc242eb07e5d4f7ba3eb8c736'/>
<id>urn:sha1:aee1720eeb87a3adc242eb07e5d4f7ba3eb8c736</id>
<content type='text'>
In commit 4d496be9ca05 ("bpf,docs: Create new standardization
subdirectory"), I added a standardization/ directory to the BPF
documentation, which will contain the docs that will be standardized
as part of the effort with the IETF.

I included linux-notes.rst in that directory, but I shouldn't have. It
doesn't contain anything that will be standardized. Let's move it back
to Documentation/bpf.

Signed-off-by: David Vernet &lt;void@manifault.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Link: https://lore.kernel.org/bpf/20230828155948.123405-2-void@manifault.com
</content>
</entry>
<entry>
<title>bpf, docs: Correct source of offset for program-local call</title>
<updated>2023-08-30T07:49:53+00:00</updated>
<author>
<name>Will Hawkins</name>
<email>hawkinsw@obs.cr</email>
</author>
<published>2023-08-26T05:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2d71a90f7e0fa3cd348602a36f6eb1237ab7cebb'/>
<id>urn:sha1:2d71a90f7e0fa3cd348602a36f6eb1237ab7cebb</id>
<content type='text'>
The offset to use when calculating the target of a program-local call is
in the instruction's imm field, not its offset field.

Signed-off-by: Will Hawkins &lt;hawkinsw@obs.cr&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Acked-by: Eduard Zingerman &lt;eddyz87@gmail.com&gt;
Acked-by: David Vernet &lt;void@manifault.com&gt;
Link: https://lore.kernel.org/bpf/20230826053258.1860167-1-hawkinsw@obs.cr
</content>
</entry>
<entry>
<title>bpf, docs: Fix small typo and define semantics of sign extension</title>
<updated>2023-08-08T23:29:20+00:00</updated>
<author>
<name>Will Hawkins</name>
<email>hawkinsw@obs.cr</email>
</author>
<published>2023-08-08T21:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e546a119801f732f5c5c620d59be2e85aa732a8b'/>
<id>urn:sha1:e546a119801f732f5c5c620d59be2e85aa732a8b</id>
<content type='text'>
Add additional precision on the semantics of the sign extension
operations in BPF. In addition, fix a very minor typo.

Signed-off-by: Will Hawkins &lt;hawkinsw@obs.cr&gt;
Acked-by: David Vernet &lt;void@manifault.com&gt;
Link: https://lore.kernel.org/r/20230808212503.197834-1-hawkinsw@obs.cr
Signed-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;
</content>
</entry>
<entry>
<title>bpf, docs: Formalize type notation and function semantics in ISA standard</title>
<updated>2023-08-07T22:13:26+00:00</updated>
<author>
<name>Will Hawkins</name>
<email>hawkinsw@obs.cr</email>
</author>
<published>2023-08-07T14:06:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2369e52657d371c58da0b826f8b87f01611cfc59'/>
<id>urn:sha1:2369e52657d371c58da0b826f8b87f01611cfc59</id>
<content type='text'>
Give a single place where the shorthand for types are defined and the
semantics of helper functions are described.

Signed-off-by: Will Hawkins &lt;hawkinsw@obs.cr&gt;
Acked-by: David Vernet &lt;void@manifault.com&gt;
Link: https://lore.kernel.org/r/20230807140651.122484-1-hawkinsw@obs.cr
Signed-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs/bpf: Fix malformed documentation</title>
<updated>2023-07-30T01:57:51+00:00</updated>
<author>
<name>Yonghong Song</name>
<email>yonghong.song@linux.dev</email>
</author>
<published>2023-07-30T00:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fb213ecbb8ac56b2d5569737f59126e91f87829a'/>
<id>urn:sha1:fb213ecbb8ac56b2d5569737f59126e91f87829a</id>
<content type='text'>
Two issues are fixed:
  1. Malformed table due to newly-introduced BPF_MOVSX
  2. Missing reference link for ``Sign-extension load operations``

Fixes: 245d4c40c09b ("docs/bpf: Add documentation for new instructions")
Cc: bpf@ietf.org
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202307291840.Cqhj7uox-lkp@intel.com/
Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;
Link: https://lore.kernel.org/r/20230730004251.381307-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs/bpf: Improve documentation for cpu=v4 instructions</title>
<updated>2023-07-28T23:50:06+00:00</updated>
<author>
<name>Yonghong Song</name>
<email>yonghong.song@linux.dev</email>
</author>
<published>2023-07-28T22:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ee932bf940d4f624041293fab216cb1783b5df6b'/>
<id>urn:sha1:ee932bf940d4f624041293fab216cb1783b5df6b</id>
<content type='text'>
Improve documentation for cpu=v4 instructions based on
David's suggestions.

Cc: bpf@ietf.org
Suggested-by: David Vernet &lt;void@manifault.com&gt;
Acked-by: David Vernet &lt;void@manifault.com&gt;
Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;
Link: https://lore.kernel.org/r/20230728225105.919595-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs/bpf: Add documentation for new instructions</title>
<updated>2023-07-28T01:54:17+00:00</updated>
<author>
<name>Yonghong Song</name>
<email>yonghong.song@linux.dev</email>
</author>
<published>2023-07-28T01:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=245d4c40c09bd8d5a71640950eeb074880925b9a'/>
<id>urn:sha1:245d4c40c09bd8d5a71640950eeb074880925b9a</id>
<content type='text'>
Add documentation in instruction-set.rst for new instruction encoding
and their corresponding operations. Also removed the question
related to 'no BPF_SDIV' in bpf_design_QA.rst since we have
BPF_SDIV insn now.

Cc: bpf@ietf.org
Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;
Link: https://lore.kernel.org/r/20230728011342.3724411-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>bpf, docs: fix BPF_NEG entry in instruction-set.rst</title>
<updated>2023-07-28T00:31:49+00:00</updated>
<author>
<name>Jose E. Marchesi</name>
<email>jose.marchesi@oracle.com</email>
</author>
<published>2023-07-26T09:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=10d78a66a5f29fbbde1b09b5139c17c436b08c6e'/>
<id>urn:sha1:10d78a66a5f29fbbde1b09b5139c17c436b08c6e</id>
<content type='text'>
This patch fixes the documentation of the BPF_NEG instruction to
denote that it does not use the source register operand.

Signed-off-by: Jose E. Marchesi &lt;jose.marchesi@oracle.com&gt;
Acked-by: Dave Thaler &lt;dthaler@microsoft.com&gt;
Acked-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;
Link: https://lore.kernel.org/r/20230726092543.6362-1-jose.marchesi@oracle.com
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
</feed>
