Re: [PATCH 4.19 078/271] perf/x86/intel/uncore: Handle invalid event coding for free-running counter

2019-07-26 Thread Pavel Machek
On Wed 2019-07-24 21:19:07, Greg Kroah-Hartman wrote: > [ Upstream commit 543ac280b3576c0009e8c0fcd4d6bfc9978d7bd0 ] > > Counting with invalid event coding for free-running counter may cause > OOPs, e.g. uncore_iio_free_running_0/event=1/. > > Current code only validate the event with

[PATCH 4.19 078/271] perf/x86/intel/uncore: Handle invalid event coding for free-running counter

2019-07-24 Thread Greg Kroah-Hartman
[ Upstream commit 543ac280b3576c0009e8c0fcd4d6bfc9978d7bd0 ] Counting with invalid event coding for free-running counter may cause OOPs, e.g. uncore_iio_free_running_0/event=1/. Current code only validate the event with free-running event format, event=0xff,umask=0xXY. Non-free-running event