[PATCH bpf-next v5 1/3] btf: allow mmap of vmlinux btf

Lorenz Bauer lmb at isovalent.com
Thu Jul 17 06:17:46 PDT 2025


Hi Breno,

Thanks for reaching out.

On Thu, Jul 17, 2025 at 1:39 PM Breno Leitao <leitao at debian.org> wrote:

> Should __pa_symbol() be used instead of virt_to_phys()?

I'm not really well versed with mm in general. Looking around a bit I
found some explanation in [1]. Your suggested fix does make sense to
me based on that.

Let me run the patch against bpf-ci and see what happens.

1: https://lore.kernel.org/all/90667b2b7f773308318261f96ebefd1a67133c4c.1732464395.git.lukas@wunner.de/

Lorenz



More information about the linux-arm-kernel mailing list