Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-04-20 Thread Mark Rutland
> >> > -static noinline int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 > >> > arg1, > >> > +static noinline notrace int __invoke_psci_fn_hvc(u64 function_id, u64 > >> > arg0, u64 arg1, > >> > u64 arg2) [...] > >> > -static noinline int

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-04-20 Thread Mark Rutland
-static noinline int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1, +static noinline notrace int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1, u64 arg2) [...] -static noinline int __invoke_psci_fn_smc(u64

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-04-19 Thread Vinicius Tinti
On Tue, Feb 24, 2015 at 3:11 PM, Mark Rutland wrote: > On Tue, Feb 24, 2015 at 05:59:50PM +, Richard W.M. Jones wrote: >> On Wed, Feb 18, 2015 at 12:26:38PM -0500, Kyle McMartin wrote: >> > Using GCC 5 to build the kernel with ftrace enabled, we encounter the >> > following error as a result

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-04-19 Thread Vinicius Tinti
On Tue, Feb 24, 2015 at 3:11 PM, Mark Rutland mark.rutl...@arm.com wrote: On Tue, Feb 24, 2015 at 05:59:50PM +, Richard W.M. Jones wrote: On Wed, Feb 18, 2015 at 12:26:38PM -0500, Kyle McMartin wrote: Using GCC 5 to build the kernel with ftrace enabled, we encounter the following error

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-02-24 Thread Mark Rutland
On Tue, Feb 24, 2015 at 05:59:50PM +, Richard W.M. Jones wrote: > On Wed, Feb 18, 2015 at 12:26:38PM -0500, Kyle McMartin wrote: > > Using GCC 5 to build the kernel with ftrace enabled, we encounter the > > following error as a result of the mcount prologue changing the expected > > register

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-02-24 Thread Richard W.M. Jones
On Wed, Feb 18, 2015 at 12:26:38PM -0500, Kyle McMartin wrote: > Using GCC 5 to build the kernel with ftrace enabled, we encounter the > following error as a result of the mcount prologue changing the expected > register use of the function parameters, > > /tmp/cc8Kpn7A.s: Assembler messages: >

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-02-24 Thread Richard W.M. Jones
On Wed, Feb 18, 2015 at 12:26:38PM -0500, Kyle McMartin wrote: Using GCC 5 to build the kernel with ftrace enabled, we encounter the following error as a result of the mcount prologue changing the expected register use of the function parameters, /tmp/cc8Kpn7A.s: Assembler messages:

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-02-24 Thread Mark Rutland
On Tue, Feb 24, 2015 at 05:59:50PM +, Richard W.M. Jones wrote: On Wed, Feb 18, 2015 at 12:26:38PM -0500, Kyle McMartin wrote: Using GCC 5 to build the kernel with ftrace enabled, we encounter the following error as a result of the mcount prologue changing the expected register use of

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-02-18 Thread Mark Rutland
Hi Kyle, On Wed, Feb 18, 2015 at 05:26:38PM +, Kyle McMartin wrote: > Using GCC 5 to build the kernel with ftrace enabled, we encounter the > following error as a result of the mcount prologue changing the expected > register use of the function parameters, > > /tmp/cc8Kpn7A.s: Assembler

[PATCH] arm64: annotate psci invoke functions as notrace

2015-02-18 Thread Kyle McMartin
Using GCC 5 to build the kernel with ftrace enabled, we encounter the following error as a result of the mcount prologue changing the expected register use of the function parameters, /tmp/cc8Kpn7A.s: Assembler messages: /tmp/cc8Kpn7A.s:41: Error: .err encountered /tmp/cc8Kpn7A.s:42: Error: .err

Re: [PATCH] arm64: annotate psci invoke functions as notrace

2015-02-18 Thread Mark Rutland
Hi Kyle, On Wed, Feb 18, 2015 at 05:26:38PM +, Kyle McMartin wrote: Using GCC 5 to build the kernel with ftrace enabled, we encounter the following error as a result of the mcount prologue changing the expected register use of the function parameters, /tmp/cc8Kpn7A.s: Assembler

[PATCH] arm64: annotate psci invoke functions as notrace

2015-02-18 Thread Kyle McMartin
Using GCC 5 to build the kernel with ftrace enabled, we encounter the following error as a result of the mcount prologue changing the expected register use of the function parameters, /tmp/cc8Kpn7A.s: Assembler messages: /tmp/cc8Kpn7A.s:41: Error: .err encountered /tmp/cc8Kpn7A.s:42: Error: .err