[powerpc] ftrace warning kernel/trace/ftrace.c:2068 with code-patching selftests
Sachin Sant
sachinp at linux.ibm.com
Tue Jan 25 15:00:51 AEDT 2022
> On 24-Jan-2022, at 10:15 PM, Steven Rostedt <rostedt at goodmis.org> wrote:
>
> On Mon, 24 Jan 2022 20:15:06 +0800
> Yinan Liu <yinan at linux.alibaba.com> wrote:
>
>> Hi, Steven and Sachin
>>
>> I don't have a powerpc machine for testing, I guess the ppc has a
>> similar problem with the s390. It's not clear to me why the compiler
>> does this. Maybe we can handle ppc like you did with the s390 before,
>> but I'm not sure if other architectures have similar issues. Or limit
>> BUILDTIME_MCOUNT_SORT to a smaller scope and make it only available for
>> x86 and arm?
>>
>> steven, what's your opinion?
>
> Yeah, I think it's time to opt in, instead of opting out.
>
> Something like this:
>
Thanks. This fixes the reported problem.
Tested-by: Sachin Sant <sachinp at linux.ibm.com>
- Sachin
More information about the Linuxppc-dev
mailing list