diff options
author | Alexander Antonov | 2021-07-06 12:07:23 +0300 |
---|---|---|
committer | Peter Zijlstra | 2021-07-16 18:46:48 +0200 |
commit | 3f2cbe3810a60111a33f5f6267bd5a237b826fc9 (patch) | |
tree | 622391160a89017a2f11acb0cca51e45c2459ce3 /arch/x86/kernel | |
parent | c76826a65f50038f050424365dbf3f97203f8710 (diff) |
perf/x86/intel/uncore: Fix IIO cleanup mapping procedure for SNR/ICX
skx_iio_cleanup_mapping() is re-used for snr and icx, but in those
cases it fails to use the appropriate XXX_iio_mapping_group and as
such fails to free previously allocated resources, leading to memory
leaks.
Fixes: 10337e95e04c ("perf/x86/intel/uncore: Enable I/O stacks to IIO PMON mapping on ICX")
Signed-off-by: Alexander Antonov <alexander.antonov@linux.intel.com>
[peterz: Changelog]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210706090723.41850-1-alexander.antonov@linux.intel.com
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions