Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-20 Thread Joshua Clayton
On Tuesday, January 20, 2015 10:18:10 AM Daniel Thompson wrote: > On 19/01/15 16:35, Joshua Clayton wrote: > > On Tuesday, January 13, 2015 04:35:31 PM Daniel Thompson wrote: > >> Using FIQ (if it is available) gives perf a better insight into the > >> system by allowing code run with interrupts di

Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-20 Thread Daniel Thompson
On 19/01/15 16:35, Joshua Clayton wrote: > On Tuesday, January 13, 2015 04:35:31 PM Daniel Thompson wrote: >> Using FIQ (if it is available) gives perf a better insight into the >> system by allowing code run with interrupts disabled to be profiled. >> >> Signed-off-by: Daniel Thompson >> --- >>

Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-20 Thread Daniel Thompson
On 19/01/15 17:48, Russell King - ARM Linux wrote: > On Tue, Jan 13, 2015 at 04:35:31PM +, Daniel Thompson wrote: >> +/* >> + * This handler is called *unconditionally* from the default NMI/FIQ >> + * handler. The irq may not be anything to do with us so the main >> + * job of this function is

Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-19 Thread Russell King - ARM Linux
On Tue, Jan 13, 2015 at 04:35:31PM +, Daniel Thompson wrote: > +/* > + * This handler is called *unconditionally* from the default NMI/FIQ > + * handler. The irq may not be anything to do with us so the main > + * job of this function is to figure out if the irq passed in is ours > + * or not.

Re: [RFC PATCH 5/5] arm: perf: Use FIQ to handle PMU events.

2015-01-19 Thread Joshua Clayton
On Tuesday, January 13, 2015 04:35:31 PM Daniel Thompson wrote: > Using FIQ (if it is available) gives perf a better insight into the > system by allowing code run with interrupts disabled to be profiled. > > Signed-off-by: Daniel Thompson > --- > arch/arm/include/asm/pmu.h | 4 > ar