RE: GPF in intel_pmu_lbr_reset() with qemu -cpu host
From: Wu, Feng
Date: Wed Mar 26 2014 - 03:23:20 EST
> -----Original Message-----
> From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On
> Behalf Of Peter Wu
> Sent: Sunday, March 23, 2014 6:00 AM
> To: Gleb Natapov
> Cc: Venkatesh Srinivas; Peter Zijlstra; Ingo Molnar; Andi Kleen; Linux Kernel
> Developers List; H. Peter Anvin; kvm@xxxxxxxxxxxxxxx; Paolo Bonzini
> Subject: Re: GPF in intel_pmu_lbr_reset() with qemu -cpu host
>
> On Saturday 22 March 2014 14:27:59 Gleb Natapov wrote:
> > > but now I have a NULL dereference (in rapl_pmu_init). Previously, when
> > > `-cpu SandyBridge` was passed to qemu, it would show this:
> > >
> > > [ 0.016995] Performance Events: unsupported p6 CPU model 42
> no PMU driver, software events only.
> > >
> > > The same NULL pointer deref would be visible (slightly different
> > > addresses, but the Code lines are equal). With `-host`, the NULL deref
> > > with `-cpu host` contains:
> > >
> > > [ 0.016445] Performance Events: 16-deep LBR, IvyBridge events,
> Intel PMU driver.
> > >
> > > Full dmesg below.
> > >
> > I am confused. Do you see crash now with -cpu SandyBridge and -cpu host, or
> -cpu host only?
>
> The RAPL crash is seen with both SandyBridge and host, I mentioned SB
> because that environment should be more constant than "host" (which
> depends on the CPU you have on, well, the host).
>
> Peter
Is there a solution for this issue right now? I also met this GPF crash.
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks,
Feng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/