On Thu, 4 Mar 2021 at 15:40, Marco Elver <[email protected]> wrote:
> Some architectures prefix all functions with a constant string ('.' on
> ppc64). Add ARCH_FUNC_PREFIX, which may optionally be defined in
> <asm/kfence.h>, so that get_stack_skipnr() can work properly.
>
> Link: 
> https://lkml.kernel.org/r/[email protected]
> Reported-by: Christophe Leroy <[email protected]>
> Tested-by: Christophe Leroy <[email protected]>
> Signed-off-by: Marco Elver <[email protected]>
> ---

For further context, the corresponding ppc64-enablement patch is was
just sent by Christophe:

  
https://lkml.kernel.org/r/afaec81a551ef15345cb7d7563b3fac3d7041c3a.1614868445.git.christophe.le...@csgroup.eu

But there is no strict dependency between the patches, only that the
stack traces that KFENCE prints aren't as pretty without the
ARCH_FUNC_PREFIX patch.

So it should be fine to take them through different trees, as long as
they both make the next merge window.

Thanks,
-- Marco

Reply via email to