Re: [PATCH] mm: move phys_mem_access_prot_allowed to header

From: Arnd Bergmann

Date: Tue May 05 2026 - 05:23:10 EST


On Tue, May 5, 2026, at 10:54, Rosen Penev wrote:
> On Tue, May 5, 2026 at 1:29 AM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>>
>> Does this happen with both ld.bfd and ld.lld? Which version of clang
>> and lld are you using?
> clang version 22.1.3
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
>
> lld the same.

Ok. I've tried to reproduce this with Nathan's llvm-22.1.3 build
from https://mirrors.edge.kernel.org/pub/tools/llvm/, but don't
see this problem on mips defconfig. Are you using a particular
configuration, or do you see this on every build?

> I don't specify lld explicitly. I assume LLVM=1 does that.

Yes, by default it will use ld.lld. For cross-checking, you
can try passing LD=mips-linux-ld.bfd (or whereever you have
installed your cross or multiarch binutils), which should
still work just fine.

Arnd