diff options
| author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2026-09-10 06:59:55 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-09-25 14:46:47 +0300 |
| commit | 0d4cd92b41dd33a3112959f9be86002ff309de73 (patch) | |
| tree | 2e4942e3ed361453d71735a9814ee287d682a2e9 /tools/perf/scripts/python | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-next-0d4cd92b41dd33a3112959f9be86002ff309de73.tar.gz linux-next-0d4cd92b41dd33a3112959f9be86002ff309de73.zip | |
platform/x86/intel/pmt: Block mmap when callback is present
With the introduction of the .read_telem() callback, control
for access to a devices data area must be done by the callback
owner.
This means that an area cannot be mmap-ed with the default PMT
handler.
If the .read_telem() callback is present, do not support mmap.
Fixes: 045a513040cc ("platform/x86/intel/pmt: Use PMT callbacks")
Cc: stable@vger.kernel.org
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patch.msgid.link/20260910135954.1586360-2-michael.j.ruhl@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
