From: Song Liu <songliubraving@meta.com>
To: Eduard Zingerman <eddyz87@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>,
Alan Maguire <alan.maguire@oracle.com>,
"dwarves@vger.kernel.org" <dwarves@vger.kernel.org>,
bpf <bpf@vger.kernel.org>, Andrii Nakryiko <andrii@kernel.org>,
Martin KaFai Lau <martin.lau@linux.dev>,
Song Liu <songliubraving@meta.com>
Subject: Re: FYI: CI regression on big-endian arch (s390) after recent pahole changes
Date: Fri, 30 Aug 2024 02:49:48 +0000 [thread overview]
Message-ID: <442C7AEC-2919-4307-8700-F7A0B60B5565@fb.com> (raw)
In-Reply-To: <6358db36c5f68b07873a0a5be2d062b1af5ea5f8.camel@gmail.com>
Hi Eduard,
Thanks for sending the report!
> On Aug 29, 2024, at 5:05 PM, Eduard Zingerman <eddyz87@gmail.com> wrote:
>
> Hi Arnaldo, Alan,
>
> After recent pahole changes [1] BPF CI fails for s390 [2].
> Song Liu identified that there is a mismatch between endianness of BTF
> in .BTF and .BTF.base sections.
Clarification:
With the regression, _both_ .BTF and .BTF.base sections (or at
least part of these sections) are in little endian for s390:
$ objdump -s -j .BTF bpf_testmod.ko | head
bpf_testmod.ko: file format elf64-big
Contents of section .BTF:
0000 9feb0100 18000000 00000000 301a0000 ............0...
0010 301a0000 80110000 00000000 0000000a 0...............
0020 24000000 00000000 00000003 00000000 $...............
0030 28000000 06000000 2b000000 00000000 (.......+.......
0040 0000000a 29000000 ea010000 03000004 ....)...........
0050 18000000 04020000 1e010000 00000000 ................
$ objdump -s -j .BTF.base bpf_testmod.ko | head
bpf_testmod.ko: file format elf64-big
Contents of section .BTF.base:
0000 9feb0100 18000000 00000000 fc010000 ................
0010 fc010000 ea010000 01000000 00000001 ................
0020 08000000 40000000 13000000 00000001 ....@...........
0030 01000000 08000000 18000000 00000001 ................
0040 04000000 20000000 25000000 00000001 .... ...%.......
0050 01000000 08000001 31000000 00000001 ........1.......
Before the regression, the "9feb" part was "eb9f" for s390:
$ objdump -s -j .BTF bpf_testmod.ko | head
bpf_testmod.ko: file format elf64-big
Contents of section .BTF:
0000 eb9f0100 00000018 00000000 00001560 ...............`
0010 00001560 00000fc2 00000000 0a000000 ...`............
Thanks,
Song
next prev parent reply other threads:[~2024-08-30 2:49 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 0:05 FYI: CI regression on big-endian arch (s390) after recent pahole changes Eduard Zingerman
2024-08-30 1:27 ` Tony Ambardar
2024-08-30 1:40 ` Eduard Zingerman
2024-08-30 6:57 ` Tony Ambardar
2024-08-30 9:13 ` Eduard Zingerman
2024-08-30 9:51 ` [PATCH bpf-next v1] libbpf: ensure new BTF objects inherit input endianness Tony Ambardar
2024-08-30 11:15 ` Eduard Zingerman
2024-08-30 11:25 ` Alan Maguire
2024-08-30 15:58 ` Andrii Nakryiko
2024-08-30 16:00 ` Andrii Nakryiko
2024-08-30 17:51 ` Andrii Nakryiko
2024-08-30 2:49 ` Song Liu [this message]
2024-08-30 9:21 ` FYI: CI regression on big-endian arch (s390) after recent pahole changes Eduard Zingerman
2024-08-30 10:05 ` Alan Maguire
2024-08-30 10:07 ` Eduard Zingerman
2024-08-30 13:19 ` Arnaldo Carvalho de Melo
2024-08-30 15:56 ` Andrii Nakryiko
2024-08-30 20:49 ` Arnaldo Carvalho de Melo
2024-08-30 22:20 ` Andrii Nakryiko
2024-08-30 22:34 ` Alan Maguire
2024-08-30 23:30 ` Andrii Nakryiko
2024-09-02 13:06 ` Alan Maguire
2024-09-02 14:08 ` Arnaldo Carvalho de Melo
2024-09-02 14:59 ` Alan Maguire
2024-09-02 18:44 ` Arnaldo Carvalho de Melo
2024-08-30 22:22 ` Alan Maguire
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=442C7AEC-2919-4307-8700-F7A0B60B5565@fb.com \
--to=songliubraving@meta.com \
--cc=acme@kernel.org \
--cc=alan.maguire@oracle.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=dwarves@vger.kernel.org \
--cc=eddyz87@gmail.com \
--cc=martin.lau@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.