On 2024/3/26 4:31, Björn Töpel wrote:
Puranjay Mohan <puranjay12@xxxxxxxxx> writes:
Is there a separate CI for RISCV related stuff? is it public?
I would be interested in adding RISC-V support in
https://github.com/kernel-patches/bpf
Is someone already working on this?
+Cc Manu/Mykola/Nico who's doing all of the awesome BPF CI work at Meta,
and can keep me honest. ;-)
I did some early hacks for to add RISC-V support for the BPF CI, but
haven't had time to work on it recently. :-(
[1] https://github.com/libbpf/ci/pull/87
[2] https://github.com/kernel-patches/vmtest/pull/194
I've been talking recently to Lehui about it as well.
Two major things are missing:
1. Cross-compilation support (expand on [1])
2. Align the rootfs with what the other arch are using, to run the tests
on Qemu/TCG (and proper HW at some point!). RISC-V does not have
Debian Stable support, and would probably need Ubuntu or Debian Sid
snapshop. Manu outlines some issues here:
https://github.com/libbpf/ci/pull/83
yeah, the current issue below is fixed and I think we can move forward.
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=443574b033876c85a35de4c65c14f7fe092222b2
Having to manually run BPF tests ("non-official RISC-V BPF CI") is a
mess!
Björn