Re: [PATCH] drivers/perf: handle multiple CPUs with single interrupts

2019-01-22 Thread Stefan Agner
On 21.01.2019 18:23, Mark Rutland wrote: > Hi Stefan, > > On Mon, Jan 21, 2019 at 03:41:11PM +0100, Stefan Agner wrote: >> Currently, if only a single interrupt is available, the code assigns >> this single interrupt to the first CPU. All other CPUs are left >> unsupported. This allows to use perf

Re: [PATCH] drivers/perf: handle multiple CPUs with single interrupts

2019-01-21 Thread Mark Rutland
Hi Stefan, On Mon, Jan 21, 2019 at 03:41:11PM +0100, Stefan Agner wrote: > Currently, if only a single interrupt is available, the code assigns > this single interrupt to the first CPU. All other CPUs are left > unsupported. This allows to use perf events only on processes using > the first CPU. T

[PATCH] drivers/perf: handle multiple CPUs with single interrupts

2019-01-21 Thread Stefan Agner
Currently, if only a single interrupt is available, the code assigns this single interrupt to the first CPU. All other CPUs are left unsupported. This allows to use perf events only on processes using the first CPU. This is not obvious to the user. Instead, disable interrupts but support all CPUs.