diff options
| author | 2026-10-29 20:02:00 +0530 | |
|---|---|---|
| committer | 2026-10-31 13:46:33 -0300 | |
| commit | cfdb43387f3e6144bc374165ebf6deecb0324470 (patch) | |
| tree | cb76281b8204f046c8b023dc37a648838accca33 /scripts/Makefile.thinlto | |
| parent | tools/power turbostat: Fix undefined behavior in pmt_gen_value_mask() (diff) | |
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
