Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-03-02 Thread Vince Weaver
On Mon, 1 Mar 2021, Liang, Kan wrote: > https://lore.kernel.org/lkml/tip-01330d7288e0050c5aaabc558059ff91589e6...@git.kernel.org/ > The patch is an SW workaround for some old CPUs (HSW and earlier), which may > set 0 to the PEBS status. It adds a check in the intel_pmu_drain_pebs_nhm(). > It tries

Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-03-01 Thread Liang, Kan
On 2/11/2021 9:53 AM, Peter Zijlstra wrote: Kan, do you have time to look at this? On Thu, Jan 28, 2021 at 02:49:47PM -0500, Vince Weaver wrote: On Thu, 28 Jan 2021, Vince Weaver wrote: the perf_fuzzer has turned up a repeatable crash on my haswell system. addr2line is not being very hel

Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-02-25 Thread Liang, Kan
On 2/11/2021 5:14 PM, Vince Weaver wrote: On Thu, 11 Feb 2021, Liang, Kan wrote: On Thu, Jan 28, 2021 at 02:49:47PM -0500, Vince Weaver wrote: I'd like to reproduce it on my machine. Is this issue only found in a Haswell client machine? To reproduce the issue, can I use ./perf_fuzzer under

Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-02-11 Thread Vince Weaver
On Thu, 11 Feb 2021, Liang, Kan wrote: > > On Thu, Jan 28, 2021 at 02:49:47PM -0500, Vince Weaver wrote: > I'd like to reproduce it on my machine. > Is this issue only found in a Haswell client machine? > > To reproduce the issue, can I use ./perf_fuzzer under perf_event_tests/fuzzer? > Do I need

Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-02-11 Thread Liang, Kan
On 2/11/2021 9:53 AM, Peter Zijlstra wrote: Kan, do you have time to look at this? On Thu, Jan 28, 2021 at 02:49:47PM -0500, Vince Weaver wrote: On Thu, 28 Jan 2021, Vince Weaver wrote: the perf_fuzzer has turned up a repeatable crash on my haswell system. addr2line is not being very hel

Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-02-11 Thread Peter Zijlstra
Kan, do you have time to look at this? On Thu, Jan 28, 2021 at 02:49:47PM -0500, Vince Weaver wrote: > On Thu, 28 Jan 2021, Vince Weaver wrote: > > > the perf_fuzzer has turned up a repeatable crash on my haswell system. > > > > addr2line is not being very helpful, it points to DECLARE_PER_CPU

Re: [perf] perf_fuzzer causes crash in intel_pmu_drain_pebs_nhm()

2021-01-28 Thread Vince Weaver
On Thu, 28 Jan 2021, Vince Weaver wrote: > the perf_fuzzer has turned up a repeatable crash on my haswell system. > > addr2line is not being very helpful, it points to DECLARE_PER_CPU_FIRST. > I'll investigate more when I have the chance. so I poked around some more. This seems to be caused in