mbox series

[bpf-next,v3,0/1] docs/bpf: Add description for CO-RE relocations

Message ID 20230826222912.2560865-1-eddyz87@gmail.com (mailing list archive)
Headers show
Series docs/bpf: Add description for CO-RE relocations | expand

Message

Eduard Zingerman Aug. 26, 2023, 10:29 p.m. UTC
Add a section on CO-RE relocations to llvm_relo.rst.
Based on doc-strings from include/uapi/linux/bpf.h and
tools/lib/bpf/relo_core.c

Changelog:
V2 -> V3:
 - Small fixes suggested by Yonghong;
 - Added ack from Yonghong;
V1 -> V2:
 - Small fixes suggested by Yonghong and Andrii;
 - C example extended to include all 13 relocation kinds (Yonghong);
 - Description of which fields are patched for which instruction
   classes (Andrii);
 - Details for BPF_CORE_TYPE_MATCHES relocation kind;
 - Details for BPF_CORE_FIELD_{LR}SHIFT_U64 relocation kinds.

[V1] https://lore.kernel.org/bpf/20230824230102.2117902-1-eddyz87@gmail.com/
[V2] https://lore.kernel.org/bpf/20230825224527.2465062-1-eddyz87@gmail.com/

*** BLURB HERE ***

Eduard Zingerman (1):
  docs/bpf: Add description for CO-RE relocations

 Documentation/bpf/btf.rst        |  31 +++-
 Documentation/bpf/llvm_reloc.rst | 304 +++++++++++++++++++++++++++++++
 2 files changed, 329 insertions(+), 6 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 30, 2023, 8 a.m. UTC | #1
Hello:

This patch was applied to bpf/bpf.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Sun, 27 Aug 2023 01:29:11 +0300 you wrote:
> Add a section on CO-RE relocations to llvm_relo.rst.
> Based on doc-strings from include/uapi/linux/bpf.h and
> tools/lib/bpf/relo_core.c
> 
> Changelog:
> V2 -> V3:
>  - Small fixes suggested by Yonghong;
>  - Added ack from Yonghong;
> V1 -> V2:
>  - Small fixes suggested by Yonghong and Andrii;
>  - C example extended to include all 13 relocation kinds (Yonghong);
>  - Description of which fields are patched for which instruction
>    classes (Andrii);
>  - Details for BPF_CORE_TYPE_MATCHES relocation kind;
>  - Details for BPF_CORE_FIELD_{LR}SHIFT_U64 relocation kinds.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/1] docs/bpf: Add description for CO-RE relocations
    https://git.kernel.org/bpf/bpf/c/be4033d36070

You are awesome, thank you!