Re: [PATCH kernel 2/3] powerpc/llvm: Sample config for LLVM LTO

2022-02-15 Thread Alexey Kardashevskiy
On 2/12/22 11:05, Nick Desaulniers wrote: On Thu, Feb 10, 2022 at 6:31 PM Alexey Kardashevskiy wrote: The config is a copy of ppc64_defconfig with a few tweaks. This could be a smaller config to merge into ppc64_defconfig but unfortunately merger does not allow disabling already enabled opt

Re: [PATCH kernel 2/3] powerpc/llvm: Sample config for LLVM LTO

2022-02-11 Thread Naveen N. Rao
Alexey Kardashevskiy wrote: Disables CONFIG_FTRACE_MCOUNT_USE_RECORDMCOUNT as CONFIG_HAS_LTO_CLANG depends on it being disabled. In order to avoid disabling way too many options (like DYNAMIC_FTRACE/FUNCTION_TRACER), this converts FTRACE_MCOUNT_USE_RECORDMCOUNT from def_bool to bool. +CONFI

[PATCH kernel 2/3] powerpc/llvm: Sample config for LLVM LTO

2022-02-10 Thread Alexey Kardashevskiy
The config is a copy of ppc64_defconfig with a few tweaks. This could be a smaller config to merge into ppc64_defconfig but unfortunately merger does not allow disabling already enabled options. This is a command line to compile the kernel using the upstream llvm: make -j64 O=/home/aik/pbuild/ker