diff options
| author | Kaushlendra Kumar <kaushlendra.kumar@intel.com> | 2026-10-29 20:02:00 +0530 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-10-31 13:46:33 -0300 |
| commit | cfdb43387f3e6144bc374165ebf6deecb0324470 (patch) | |
| tree | cb76281b8204f046c8b023dc37a648838accca33 /scripts/Makefile.thinlto | |
| parent | 3d6fc92be1feb6436932979e4652174467e7a42a (diff) | |
| download | linux-cfdb43387f3e6144bc374165ebf6deecb0324470.tar.gz linux-cfdb43387f3e6144bc374165ebf6deecb0324470.zip | |
tools/power turbostat: Fix PMT mmap size and bounds check
Remove assert(offset == 0), to allow non-zero PMT offsets.
Fix the pmt_mmio_open() mapping to round-up (offset + size).
Fix the offset bounds check to disallow running past the end of the region.
[lenb: commit message re-write]
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
