Re: [PATCH bpf-next 0/2] BPF kselftest cross-build/RISC-V fixes

From: Daniel Borkmann
Date: Wed Jul 05 2023 - 08:39:00 EST


On 7/5/23 1:39 PM, Björn Töpel wrote:
From: Björn Töpel <bjorn@xxxxxxxxxxxx>

This series has two minor fixes, found when cross-compiling for the
RISC-V architecture.

Some RISC-V systems do not define HAVE_EFFICIENT_UNALIGNED_ACCESS,
which made some of tests bail out. Fix the failing tests by adding
F_NEEDS_EFFICIENT_UNALIGNED_ACCESS.

...and some RISC-V systems *do* define
HAVE_EFFICIENT_UNALIGNED_ACCESS. In this case the autoconf.h was not
correctly picked up by the build system.

Looks good, applied thanks! Any plans on working towards integrating riscv
into upstream BPF CI? Would love to see that happening. :)

Thanks,
Daniel