Re: [PATCH bpf-next] bpf, selftests: Skip verifier tests that fail to load with ENOTSUPP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 7, 2021 at 12:44 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote:
>
> The verifier tests added in commit c48e51c8b07a ("bpf: selftests: Add
> selftests for module kfunc support") fail on s390, since the JIT does
> not support calling kernel functions. This is most likely an issue for
> all the other non-Intel arches, as well as on Intel with
> !CONFIG_DEBUG_INFO_BTF or !CONFIG_BPF_JIT.
>
> Trying to check for messages from all the possible add_kfunc_call()
> failure cases in test_verifier looks pointless, so do a much simpler
> thing instead: just like it's already done in do_prog_test_run(), skip
> the tests that fail to load with ENOTSUPP.
>
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux