On Fri, Mar 16, 2018 at 3:31 PM, Mark Rutland <mark.rutl...@arm.com> wrote: > > FWIW, with that same compiler and patch applied atop of v4.16-rc4, and > some bodges around clang not liking the rX register naming in the SMCCC > code, I get a kernel that boots on my Juno, though I immediately hit a > KASAN splat: > > [ 8.476766] > ================================================================== > [ 8.483990] BUG: KASAN: slab-out-of-bounds in __d_lookup_rcu+0x350/0x400 > [ 8.490664] Read of size 8 at addr ffff8009336e2a30 by task init/1
I see this as well, I'm looking into it. It seems that __no_sanitize_address is not defined for clang (defining it doesn't help though, so the issue might be deeper).