Re: powerpc/modules: If mprofile-kernel is enabled add it to vermagic

2017-05-17 Thread Michael Ellerman
On Wed, 2017-05-10 at 06:57:49 UTC, Michael Ellerman wrote: > On powerpc we can build the kernel with two different ABIs for mcount(), which > is used by ftrace. Kernels built with one ABI do not know how to load modules > built with the other ABI. The new style ABI is called "mprofile-kernel", for

Re: [PATCH] powerpc/modules: If mprofile-kernel is enabled add it to vermagic

2017-05-15 Thread Michael Ellerman
Jessica Yu writes: > +++ Michael Ellerman [10/05/17 16:57 +1000]: >>On powerpc we can build the kernel with two different ABIs for mcount(), which >>is used by ftrace. Kernels built with one ABI do not know how to load modules >>built with the other ABI. The new style ABI is called "mprofile-kern

Re: [PATCH] powerpc/modules: If mprofile-kernel is enabled add it to vermagic

2017-05-12 Thread Jessica Yu
+++ Michael Ellerman [10/05/17 16:57 +1000]: On powerpc we can build the kernel with two different ABIs for mcount(), which is used by ftrace. Kernels built with one ABI do not know how to load modules built with the other ABI. The new style ABI is called "mprofile-kernel", for want of a better n

Re: [PATCH] powerpc/modules: If mprofile-kernel is enabled add it to vermagic

2017-05-10 Thread Balbir Singh
On Wed, May 10, 2017 at 4:57 PM, Michael Ellerman wrote: > On powerpc we can build the kernel with two different ABIs for mcount(), which > is used by ftrace. Kernels built with one ABI do not know how to load modules > built with the other ABI. The new style ABI is called "mprofile-kernel", for >

[PATCH] powerpc/modules: If mprofile-kernel is enabled add it to vermagic

2017-05-09 Thread Michael Ellerman
On powerpc we can build the kernel with two different ABIs for mcount(), which is used by ftrace. Kernels built with one ABI do not know how to load modules built with the other ABI. The new style ABI is called "mprofile-kernel", for want of a better name. Currently if we build a module using the