diff options
| author | Patryk Wlazlyn <[email protected]> | 2024-12-20 12:38:34 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2025-01-14 19:50:53 +0000 |
| commit | 2f60f03934a50bc1fb69bb4f47a25cddd6807b0b (patch) | |
| tree | e9cd9ea8598ba3a36ebbdb360be46a304e0d249d /drivers/fpga/versal-fpga.c | |
| parent | tools/power turbostat: Remove SysWatt from DISABLED_BY_DEFAULT (diff) | |
| download | kernel-2f60f03934a50bc1fb69bb4f47a25cddd6807b0b.tar.gz kernel-2f60f03934a50bc1fb69bb4f47a25cddd6807b0b.zip | |
tools/power turbostat: Fix PMT mmaped file size rounding
This (the old code) is just not how you round up to a page size.
Noticed on a recent Intel platform. Previous ones must have been
reporting sizes already aligned to a page and so the bug was missed when
testing.
Fixes: f0e4ed752fda ("tools/power turbostat: Add early support for PMT counters")
Signed-off-by: Patryk Wlazlyn <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
