Re: [PATCH kernel] powerpc/perf: Stop crashing with generic_compat_pmu

2021-02-15 Thread Alexey Kardashevskiy
On 03/12/2020 16:27, Madhavan Srinivasan wrote: On 12/2/20 8:31 AM, Alexey Kardashevskiy wrote: Hi Maddy, I just noticed that I still have "powerpc/perf: Add checks for reserved values" in my pile (pushed here https://github.com/aik/linux/commit/61e1bc3f2e19d450e2e2d39174d422160b21957b )

Re: [PATCH kernel] powerpc/perf: Stop crashing with generic_compat_pmu

2020-12-02 Thread Madhavan Srinivasan
On 12/2/20 8:31 AM, Alexey Kardashevskiy wrote: Hi Maddy, I just noticed that I still have "powerpc/perf: Add checks for reserved values" in my pile (pushed here https://github.com/aik/linux/commit/61e1bc3f2e19d450e2e2d39174d422160b21957b ), do we still need it? The lockups I saw were fixed

Re: [PATCH kernel] powerpc/perf: Stop crashing with generic_compat_pmu

2020-12-01 Thread Alexey Kardashevskiy
Hi Maddy, I just noticed that I still have "powerpc/perf: Add checks for reserved values" in my pile (pushed here https://github.com/aik/linux/commit/61e1bc3f2e19d450e2e2d39174d422160b21957b ), do we still need it? The lockups I saw were fixed by https://github.com/aik/linux/commit/17899eaf88

Re: [PATCH kernel] powerpc/perf: Stop crashing with generic_compat_pmu

2020-08-27 Thread Michael Ellerman
On Tue, 2 Jun 2020 12:56:12 +1000, Alexey Kardashevskiy wrote: > The bhrb_filter_map ("The Branch History Rolling Buffer") callback is > only defined in raw CPUs' power_pmu structs. The "architected" CPUs use > generic_compat_pmu which does not have this callback and crashed occur. > > This ad

Re: [PATCH kernel] powerpc/perf: Stop crashing with generic_compat_pmu

2020-06-03 Thread Madhavan Srinivasan
On 6/2/20 8:26 AM, Alexey Kardashevskiy wrote: The bhrb_filter_map ("The Branch History Rolling Buffer") callback is only defined in raw CPUs' power_pmu structs. The "architected" CPUs use generic_compat_pmu which does not have this callback and crashed occur. This add a NULL pointer chec