Re: [External] : Re: [PATCH v6.11 v5.15 v5.4 v4.19 1/1] selftests: breakpoints: use time passed to check if suspend succeed

2024-09-20 Thread Yifei Liu
Hi Shuah, > On Sep 20, 2024, at 8:07 AM, Shuah Khan wrote: > > On 9/19/24 17:09, Yifei Liu wrote: >> Hi Shuah, >>> On Sep 19, 2024, at 11:36 AM, Shuah Khan wrote: >>> >>> On 9/17/24 16:48, Yifei Liu wrote: We recently notice that the step_after_suspend_test would fail on our plenty d

Re: [PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-09-20 Thread Jason A. Donenfeld
Indeed probably is what's wanted here. Shuah - I was taking patches for this code during the 6.12 development cycle, because it all interacted with the dev work I was doing. But I think that's died down now and things can return to normal. Do you want to take these like you usually do now? Or is

Re: [External] : Re: [PATCH v6.11 v5.15 v5.4 v4.19 1/1] selftests: breakpoints: use time passed to check if suspend succeed

2024-09-20 Thread Shuah Khan
On 9/19/24 17:09, Yifei Liu wrote: Hi Shuah, On Sep 19, 2024, at 11:36 AM, Shuah Khan wrote: On 9/17/24 16:48, Yifei Liu wrote: We recently notice that the step_after_suspend_test would fail on our plenty devices. The test believesit failed to What are "plenty devices" recently noticed?

Re: [PATCH] selftests: vDSO: fix compile error for vdso_test_getrandom

2024-09-20 Thread Christophe Leroy
Le 20/09/2024 à 03:54, Yu Liao a écrit : [Vous ne recevez pas souvent de courriers de liaoy...@huawei.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] On 2024/9/20 0:51, Shuah Khan wrote: diff --git a/tools/testing/selftests/vDSO/vdso_test_getran

[PATCH bpf-next v1 3/3] tools/bpf, selftests/bpf : Sync btf_ids.h to tools

2024-09-20 Thread Tony Ambardar
Update to include latest changes, including BTF_SET8 support and correct alignment of .BTF_ids sections, and remove the now-redundant alignment fix introduced in 3effc06a4dde ("selftests/bpf: Fix alignment of .BTF_ids"). CC: Jean-Philippe Brucker Signed-off-by: Tony Ambardar --- tools/include/l

[PATCH bpf-next v1 2/3] bpf: btf: Ensure natural alignment of .BTF_ids section

2024-09-20 Thread Tony Ambardar
While building of vmlinux employs a linker script to align the .BTF_ids section to 4 bytes, other usage leaves .BTF_ids unaligned and may lead to problems (e.g. [1]). Post-processing and libelf-based endian translation by resolve_btfids may also potentially suffer from misalignment. Update encodin

[PATCH bpf-next v1 1/3] tools/resolve_btfids: Simplify handling cross-endian compilation

2024-09-20 Thread Tony Ambardar
Initially, the .BTF_ids section was created zero-filled and then patched with BTF IDs by resolve_btfids on the build host. Patching was done in native endianness and thus failed to work for cross-endian compile targets. This was fixed in [1] by using libelf-based translation to output patched data

[PATCH bpf-next v1 0/3] Improve .BTF_ids patching and alignment

2024-09-20 Thread Tony Ambardar
Hello all, This patch series offers improvements to the way .BTF_ids section data is created and later patched by resolve_btfids. Patch #1 simplifies the byte-order translation in resolve_btfids while making it more resilient to future .BTF_ids encoding updates. Patch #2 makes sure all BTF ID da