lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180110105247.GA25103@krava>
Date:   Wed, 10 Jan 2018 11:52:47 +0100
From:   Jiri Olsa <jolsa@...hat.com>
To:     Corentin Labbe <clabbe.montjoie@...il.com>
Cc:     peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
        alexander.shishkin@...ux.intel.com, namhyung@...nel.org,
        mark.rutland@....com, maxime.ripard@...e-electrons.com,
        arnd@...db.de, marc.zyngier@....com, linux-kernel@...r.kernel.org,
        mylene.josserand@...e-electrons.com,
        linux-arm-kernel@...ts.infradead.org
Subject: Re: [BUG] sleeping function called from invalid context in
 perf_pmu_register()

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ