Re: BUG uncore_assign_events

2014-09-11 Thread Andi Kleen
> hwc->idx is not 64 -- it's 0xd64 > The bt insn is causing a page fault 27 MB past c->idxmsk Ah true. Thanks. However I don't think it changes the conclusion. Likely the box pointer is wrong. -Andi > > -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this li

Re: BUG uncore_assign_events

2014-09-11 Thread Peter Zijlstra
On Wed, Sep 10, 2014 at 11:59:08PM +0200, Andi Kleen wrote: > > # addr2line -i -e ivb-ep-build/vmlinux 81025f18 > > > > arch/x86/include/asm/bitops.h:318 > > arch/x86/kernel/cpu/perf_event_intel_uncore.c:3339 > > i == zero (ok) > c points to some kernel looking address > hwc->idx is 64 >

Re: BUG uncore_assign_events

2014-09-10 Thread Chuck Ebbert
On Wed, 10 Sep 2014 23:59:08 +0200 Andi Kleen wrote: > > # addr2line -i -e ivb-ep-build/vmlinux 81025f18 > > > > arch/x86/include/asm/bitops.h:318 > > arch/x86/kernel/cpu/perf_event_intel_uncore.c:3339 > > i == zero (ok) > c points to some kernel looking address > hwc->idx is 64 > >

Re: BUG uncore_assign_events

2014-09-10 Thread Andi Kleen
> # addr2line -i -e ivb-ep-build/vmlinux 81025f18 > > arch/x86/include/asm/bitops.h:318 > arch/x86/kernel/cpu/perf_event_intel_uncore.c:3339 i == zero (ok) c points to some kernel looking address hwc->idx is 64 /* fastpath, try to reuse previous register */ for (i = 0; i <

BUG uncore_assign_events

2014-09-10 Thread Peter Zijlstra
Hi, While fuzzing on my ivp-ep system I ran into the following: [ 431.802976] BUG: unable to handle kernel paging request at 83223d88 [ 431.810571] IP: [] uncore_assign_events+0x188/0x250 [ 431.817753] PGD 1815067 PUD 1816063 PMD 0 [ 431.822315] Oops: [#1] PREEMPT SMP [ 431.82