bpf, docs: Move sentence about returning R0 to abi.rst
authorDave Thaler <dthaler1968@googlemail.com>
Fri, 17 May 2024 15:34:45 +0000 (08:34 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 25 May 2024 17:37:49 +0000 (10:37 -0700)
commit4652072e7b9d643edc9ebb04e3e2c021461b7af0
tree19ee76f42e4dd42c51b0fed02ab269c0d4053c60
parent2c1713a8f1c94033a6e00aae4693ab03e8a3b9f1
bpf, docs: Move sentence about returning R0 to abi.rst

As discussed at LSF/MM/BPF, the sentence about using R0 for returning
values from calls is part of the calling convention and belongs in
abi.rst.  Any further additions or clarifications to this text are left
for future patches on abi.rst.  The current patch is simply to unblock
progression of instruction-set.rst to a standard.

In contrast, the restriction of register numbers to the range 0-10
is untouched, left in the instruction-set.rst definition of the
src_reg and dst_reg fields.

Signed-off-by: Dave Thaler <dthaler1968@googlemail.com>
Link: https://lore.kernel.org/r/20240517153445.3914-1-dthaler1968@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/standardization/abi.rst
Documentation/bpf/standardization/instruction-set.rst