On Wed, Jun 11, 2025 at 7:52 PM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote: > > There exists the following build error for bpf-next tree on LoongArch: > > CC drivers/acpi/numa/srat.o > drivers/acpi/numa/srat.c: In function ‘acpi_parse_cfmws’: > drivers/acpi/numa/srat.c:467:13: error: implicit declaration of function > ‘numa_add_reserved_memblk’ [-Wimplicit-function-declaration] > 467 | if (numa_add_reserved_memblk(node, start, end) < 0) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > make[5]: *** [scripts/Makefile.build:203: drivers/acpi/numa/srat.o] Error 1 > make[4]: *** [scripts/Makefile.build:470: drivers/acpi/numa] Error 2 > make[3]: *** [scripts/Makefile.build:470: drivers/acpi] Error 2 > make[2]: *** [scripts/Makefile.build:470: drivers] Error 2 > > This is because the following two commits are not in bpf-next tree: > > commit 9559d5806319 ("LoongArch: Increase max supported CPUs up to 2048") > commit a24f2fb70cb6 ("LoongArch: Introduce the numa_memblks conversion") > > Is it possible to update bpf-next tree based on 6.16-rc1 or at least > apply the above two commits to avoid the build error? perf_event-s are broken in Linus's tree. There is a fix in tip.git. We're waiting for the fix to land through. Then we will merge perf_event fix and all other fixes into bpf and bpf-next. Hopefully in a day or two.