linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [BUG] sleeping function called from invalid context in perf_pmu_register()
       [not found] <20171229085904.GC18393@Red>
@ 2018-01-10 10:52 ` Jiri Olsa
  0 siblings, 0 replies; only message in thread
From: Jiri Olsa @ 2018-01-10 10:52 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Dec 29, 2017 at 09:59:04AM +0100, Corentin Labbe wrote:

SNIP

> [    1.494884] Exception stack(0xee845fb0 to 0xee845ff8)
> [    1.499933] 5fa0:                                     00000000 00000000 00000000 00000000
> [    1.508100] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [    1.516267] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [    1.522871]  r5:c06c2528 r4:00000000
> 
> This is due to get_cpu() in cci_pmu_probe() in drivers/bus/arm-cci.c which disable preemption.
> But now I do not know how to fix it.
> My .config is below.

yep, looks like cci_pmu_probe needs to be fixed.. can't
call perf_pmu_register with preemption disabled

jirka

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-10 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20171229085904.GC18393@Red>
2018-01-10 10:52 ` [BUG] sleeping function called from invalid context in perf_pmu_register() Jiri Olsa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).