[PATCH for v4.9 LTS 53/87] perf/x86: Set pmu->module in Intel PMU modules

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: David Carrillo-Cisneros [ Upstream commit 74545f63890e38520eb4d1dbedcadaa9c0dbc824 ] The conversion of Intel PMU drivers into modules did not include reference counting. The machine will crash when attempting to access deleted code if an event from a module PMU is

[PATCH for v4.9 LTS 53/87] perf/x86: Set pmu->module in Intel PMU modules

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: David Carrillo-Cisneros [ Upstream commit 74545f63890e38520eb4d1dbedcadaa9c0dbc824 ] The conversion of Intel PMU drivers into modules did not include reference counting. The machine will crash when attempting to access deleted code if an event from a module PMU is started and the module